CN109640157B - Method and apparatus for processing information - Google Patents

Method and apparatus for processing information Download PDF

Info

Publication number
CN109640157B
CN109640157B CN201811625747.0A CN201811625747A CN109640157B CN 109640157 B CN109640157 B CN 109640157B CN 201811625747 A CN201811625747 A CN 201811625747A CN 109640157 B CN109640157 B CN 109640157B
Authority
CN
China
Prior art keywords
video
information
video player
cover picture
screen
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
CN201811625747.0A
Other languages
Chinese (zh)
Other versions
CN109640157A (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.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201811625747.0A priority Critical patent/CN109640157B/en
Publication of CN109640157A publication Critical patent/CN109640157A/en
Application granted granted Critical
Publication of CN109640157B publication Critical patent/CN109640157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • 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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Embodiments of the present disclosure disclose methods and apparatus for processing information. One embodiment of the method comprises: receiving first indication information which is sent by a first information processing terminal and used for indicating the position of a first video cover picture on a screen and the blocked area of the first video cover picture, wherein the first video cover picture is the video cover picture which is covered by a video player and contained in video information in a video information list, and the position and the blocked area are determined by the first information processing terminal in response to the dragging operation of a user on the video information list under the condition that the video player is displayed on the screen; and adjusting the video player based on the first indication information. The embodiment can realize the timely adjustment of the video player, can ensure the synchronous rolling of the video player and the video information list, and effectively avoid the occurrence of the video jitter condition.

Description

Method and apparatus for processing information
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a method and an apparatus for processing information.
Background
Currently, a user may view a list of video information in a video-type application. Wherein, at least one piece of video information in the video information list can comprise a video cover picture. The user may perform a trigger operation (e.g., a click operation) on a video cover picture to play a video related to the video cover picture. In addition, the user may perform a drag operation, such as a left-right drag, an up-down drag, and the like, on the video information list while watching the video.
Disclosure of Invention
Embodiments of the present disclosure propose methods and apparatuses for processing information.
In a first aspect, an embodiment of the present disclosure provides a method for processing information, where the method is applied to a second information processing terminal, and includes: receiving first indication information which is sent by a first information processing terminal and used for indicating the position of a first video cover picture on a screen and the blocked area of the first video cover picture, wherein the first video cover picture is the video cover picture which is covered by a video player and contained in video information in a video information list, and the position and the blocked area are determined by the first information processing terminal in response to the dragging operation of a user on the video information list under the condition that the video player is displayed on the screen; and adjusting the video player based on the first indication information.
In some embodiments, adjusting the video player based on the first indication information includes: and adjusting the position of the video player on the screen based on the position indicated by the first indication information.
In some embodiments, adjusting the video player based on the first indication information further comprises: and adjusting the display area of the video player based on the blocked area indicated by the first indication information.
In some embodiments, adjusting the display area of the video player based on the occluded area indicated by the first indication information comprises: and adjusting the clipping proportion of the canvas of the video player based on the blocked area indicated by the first indication information.
In some embodiments, the above method further comprises: receiving second indication information which is sent by the first information processing terminal and used for indicating and displaying detail information of a video related to the first video cover picture; determining a moving distance based on the current position of the video player on the screen and the target position; determining parameter information for adjustment of a position of the video player based on the movement distance; based on the parameter information, adjusting the position of the video player on the screen until the video player is adjusted to the target position; displaying detail information of the video related to the first video cover picture.
In some embodiments, after receiving second indication information sent by the first information processing terminal for indicating to display detail information of a video related to the first video cover picture, the method further includes: the adjustment to the display area of the video player is undone.
In some embodiments, the parameter information includes all of: adjusting times, interval duration and step length; and determining parameter information for adjustment of the position of the video player based on the movement distance, including: acquiring preset total time and interval time from the local; determining the ratio of the total duration to the interval duration as the adjustment times; and determining the ratio of the moving distance to the adjusting times as the step length.
In some embodiments, adjusting the position of the video player on the screen based on the parameter information until the video player is adjusted to the target position comprises: the following adjustment operations are performed: based on the step length, adjusting the position of the video player on the screen; performing incremental operation on the execution times of the adjustment operation; determining whether the increased execution times are less than the adjustment times; if the execution times after the increment is not less than the adjustment times, finishing the adjustment operation; and if the increased execution times are less than the adjustment times, continuing to execute the adjustment operation after the interval time length.
In some embodiments, the above method further comprises: receiving third indication information which is sent by the first information processing terminal and used for indicating and displaying detail information of a video related to a second video cover picture, wherein the second video cover picture is a video cover picture which is not covered by the video player and is contained in the video information list, and the third indication information comprises the position of the second video cover picture on the screen; adjusting the video player to the position of the second video cover picture on the screen; determining a moving distance based on the current position of the video player on the screen and the target position; determining parameter information for adjustment of a position of the video player based on the determined movement distance; adjusting the position of the video player on the screen based on the determined parameter information until the video player is adjusted to the target position; displaying detail information of the video related to the second video cover picture.
In some embodiments, after adjusting the video player to the position on the screen where the second video cover picture is located, the method further comprises: and controlling the video player to play the video related to the second video cover picture.
In a second aspect, an embodiment of the present disclosure provides a method for processing information, where the method is applied to a first information processing terminal, and includes: under the condition that a video player is displayed on a screen, in response to the dragging operation of a user on a video information list, determining the position of a first video cover picture on the screen and the blocked area of the first video cover picture, wherein the first video cover picture is the video cover picture which is covered by the video player and is contained in the video information list; and sending first indication information for indicating the position and the blocked area to the second information processing terminal so that the second information processing terminal adjusts the video player based on the first indication information.
In some embodiments, the above method further comprises: and sending second indication information for indicating the display of the detail information of the video related to the first video cover picture to the second information processing terminal in response to the preset operation of the user on the video information where the first video cover picture is located.
In some embodiments, the above method further comprises: in response to a preset operation of the user on the video information where the second video cover picture is located, determining the position of the second video cover picture on the screen, and sending third indication information including the determined position and used for indicating that detail information of the video related to the second video cover picture is displayed to the second information processing terminal, wherein the second video cover picture is a video cover picture which is not covered by the video player and is contained in the video information list.
In a third aspect, an embodiment of the present disclosure provides an apparatus for processing information, applied to a second information processing terminal, the apparatus including: a receiving unit configured to receive first indication information which is sent by a first information processing terminal and used for indicating a position of a first video cover picture on a screen and an occluded area of the first video cover picture, wherein the first video cover picture is a video cover picture which is covered by a video player and is contained in video information in a video information list, and the position and the occluded area are determined by the first information processing terminal in response to a dragging operation of a user on the video information list under the condition that the video player is displayed on the screen; and an adjusting unit configured to adjust the video player based on the first indication information.
In some embodiments, the adjusting unit comprises: and the first adjusting subunit is configured to adjust the position of the video player on the screen based on the position indicated by the first indication information.
In some embodiments, the adjusting unit further comprises: and a second adjusting subunit configured to adjust the display area of the video player based on the blocked area indicated by the first indication information.
In some embodiments, the second adjustment subunit is further configured to: and adjusting the clipping proportion of the canvas of the video player based on the blocked area indicated by the first indication information.
In some embodiments, the above apparatus further comprises: a first receiving unit configured to receive second indication information for indicating display of detail information of a video related to a first video cover picture, which is sent by a first information processing terminal; a first determination unit configured to determine a movement distance based on a current position of the video player on the screen and a target position; a second determination unit configured to determine parameter information for adjustment of a position of the video player based on the movement distance; a first adjusting unit configured to adjust a position of the video player on the screen based on the parameter information until the video player is adjusted to a target position; a first display unit configured to display detail information of a video related to the first video cover picture.
In some embodiments, the above apparatus further comprises: and the canceling unit is configured to cancel the adjustment of the display area of the video player after receiving second indication information which is sent by the first information processing terminal and used for indicating the display of the detail information of the video related to the first video cover picture.
In some embodiments, the parameter information includes all of: adjusting times, interval duration and step length; and the second determination unit is further configured to: acquiring preset total time and interval time from the local; determining the ratio of the total duration to the interval duration as the adjustment times; and determining the ratio of the moving distance to the adjusting times as the step length.
In some embodiments, the first adjustment unit is further configured to: the following adjustment operations are performed: based on the step length, adjusting the position of the video player on the screen; performing incremental operation on the execution times of the adjustment operation; determining whether the increased execution times are less than the adjustment times; if the execution times after the increment is not less than the adjustment times, finishing the adjustment operation; and if the increased execution times are less than the adjustment times, continuing to execute the adjustment operation after the interval time length.
In some embodiments, the above apparatus further comprises: a second receiving unit configured to receive third indication information for indicating display of detail information of a video related to a second video cover picture, which is a video cover picture not covered by the video player and included in the video information list, sent by the first information processing terminal, the third indication information including a position on the screen of the second video cover picture; a second adjusting unit configured to adjust the video player to a position on the screen where the second video cover picture is located; a third determination unit configured to determine a movement distance based on a current position of the video player on the screen and the target position; a fourth determination unit configured to determine parameter information for adjustment of the position of the video player based on the determined movement distance; a third adjusting unit configured to adjust a position of the video player on the screen based on the determined parameter information until the video player is adjusted to the target position; a second display unit configured to display detail information of the video related to the second video cover picture.
In some embodiments, the above apparatus further comprises: a control unit configured to control the video player to play the video related to the second video cover picture after adjusting the video player to a position where the second video cover picture is located on the screen.
In a fourth aspect, an embodiment of the present disclosure provides an apparatus for processing information, which is applied to a first information processing terminal, and includes: a determination unit configured to determine, in a case where a video player is displayed on a screen, a position of a first video cover picture on the screen and an area where the first video cover picture is occluded, in response to a drag operation of a user on a video information list, wherein the first video cover picture is a video cover picture that is covered by the video player and included in video information in the video information list; and the sending unit is configured to send first indication information for indicating the position and the blocked area to the second information processing terminal, so that the second information processing terminal adjusts the video player based on the first indication information.
In some embodiments, the above apparatus further comprises: and the first sending unit is configured to respond to the preset operation of the user on the video information where the first video cover picture is located, and send second indication information used for indicating the display of the detail information of the video related to the first video cover picture to the second information processing terminal.
In some embodiments, the above apparatus further comprises: a second sending unit configured to determine a position of the second video cover picture on the screen in response to a preset operation of the user on the video information where the second video cover picture is located, and send third indication information including the determined position for indicating that the detail information of the video related to the second video cover picture is displayed, to the second information processing terminal, wherein the second video cover picture is a video cover picture that is not covered by the video player and is included in the video information list.
In a fifth aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device having one or more programs stored thereon; when executed by the one or more processors, cause the one or more processors to implement a method as described in any one of the implementations of the first and second aspects.
In a sixth aspect, embodiments of the present disclosure provide a computer readable medium, on which a computer program is stored, which when executed by a processor, implements a method as described in any of the implementations of the first and second aspects.
In the method and the apparatus for processing information provided by the above embodiment of the present disclosure, in a case where a video player is displayed on a screen, the first information processing terminal may determine, in response to a drag operation of a user on the video information list, a position of the first video cover picture on the screen and an area where the first video cover picture is blocked. Wherein the first video cover picture may be a video cover picture overlaid by the video player and included in the video information list. Thereafter, the first information processing terminal may transmit first indication information indicating the determined position and the blocked area to the second information processing terminal. And then the second information processing terminal can adjust the video player based on the received first indication information. Therefore, after a dragging event aiming at the video information list occurs, the first information processing terminal can timely inform the second information processing terminal of correspondingly adjusting the position and the display area of the video player so as to realize the timely adjustment of the video player, ensure the synchronous rolling of the video player and the video information list and effectively avoid the occurrence of video jitter.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which some embodiments of the present disclosure may be applied;
FIG. 2 is a flow diagram for one embodiment of a method for processing information, according to the present disclosure;
FIG. 3 is a schematic diagram of one application scenario of a method for processing information according to the present disclosure;
FIG. 4 is a flow diagram of yet another embodiment of a method for processing information according to the present disclosure;
FIG. 5 is a flow diagram of yet another embodiment of a method for processing information according to the present disclosure;
FIG. 6 is a schematic block diagram illustrating one embodiment of an apparatus for processing information according to the present disclosure;
FIG. 7 is a schematic block diagram illustrating yet another embodiment of an apparatus for processing information according to the present disclosure;
FIG. 8 is a schematic block diagram of a computer system suitable for use with an electronic device to implement some embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the disclosed method for processing information or apparatus for processing information may be applied.
As shown in fig. 1, the system architecture 100 may include a first information processing terminal 101, a network 102, and a second information processing terminal 103. The network 102 is a medium for providing a communication link between the first information processing terminal 101 and the second information processing terminal 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The first information processing terminal 101 and the second information processing terminal 103 may be hardware or software. When the first information processing terminal 101 and the second information processing terminal 103 are hardware, they may be different electronic devices, or may be different sub-devices accommodated in the same electronic device. As an example, when the first information processing terminal 101 and the second information processing terminal 103 are different electronic devices, the first information processing terminal 101 may be, for example, a terminal device, which may be, for example, various electronic devices with a display screen, including but not limited to a smart phone, a tablet computer, and the like, installed with a client application such as a video-type application, and the second information processing terminal 103 may be, for example, a server for providing support for the video-type application. When the first information processing terminal 101 and the second information processing terminal 103 are different sub-devices accommodated in the same electronic device, the electronic device may be the terminal device described above.
When the first information processing terminal 101 and the second information processing terminal 103 are software, they may be different software or different software modules in the same software. As an example, when the first information processing terminal 101 and the second information processing terminal 103 are different software modules in the same software, the software may be installed on the terminal device described above. When the first information processing terminal 101 and the second information processing terminal 103 are different software, they may be installed on the same electronic device (for example, the terminal device described above) or may be installed on different electronic devices (for example, the first information processing terminal 101 is installed on the terminal device described above, and the second information processing terminal 103 is installed on the server described above).
The first information processing terminal 101 may perform corresponding processing in response to a user dragging a video information list (for example, a video information list belonging to the above-mentioned video-class application) when a video player is displayed on the screen, and feed back a processing result to the second information processing terminal 103. Wherein, at least one piece of video information in the video information list can comprise a video cover picture. The video player may be displayed on the screen after the user clicks on a picture of a video cover included in the video information list. Subsequently, the second information processing terminal 103 can adjust the video player based on the information received from the first information processing terminal 101.
It should be noted that the method for processing information provided by some embodiments of the present disclosure may be executed by the first information processing terminal 101, and may also be executed by the second information processing terminal 103. Accordingly, the apparatus for processing information may be provided on the first information processing terminal 101, and may also be provided on the second information processing terminal 103.
It should be understood that the numbers of the first information processing side, the network, and the second information processing side in fig. 1 are merely illustrative. There may be any number of first information processing terminals, networks, and second information processing terminals, as needed for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for processing information in accordance with the present disclosure is shown. The flow 200 of the method for processing information comprises the following steps:
step 201, receiving first indication information which is sent by a first information processing terminal and used for indicating the position of the first video cover picture on the screen and the blocked area of the first video cover picture.
In this embodiment, an execution subject (for example, the second information processing terminal 103 shown in fig. 1) of the method for processing information may receive, in real time, first indication information that is sent by the first information processing terminal and that indicates a position of the first video cover picture on the screen and a region where the first video cover picture is blocked. Wherein the first video cover picture may be a video cover picture overlaid by the video player and included in the video information list. The video player may be in a play state, e.g., playing a video related to the first video cover picture. The at least one piece of video information in the list of video information may include a video cover picture. The position of the first video cover picture on the screen and the area where the first video cover picture is blocked may be determined by the first information processing terminal (e.g., the first information processing terminal 101 shown in fig. 1) in response to a drag operation of the video information list by the user with the video player displayed on the screen. The drag operation may include, but is not limited to, an up-down drag operation, a left-right drag operation, and the like.
The first indication information may include a position of the first video cover picture on the screen and information about the blocked area. The location may include, for example, the height, width, and coordinates of any one vertex of the first video cover picture. It should be understood that the present embodiment does not limit the specific contents of the positions in any way.
It is noted that the occluded area is generally an area occluded by a control other than the video player (for example, a toolbar that does not move in response to a drag operation by the user). The occluded area can be an area occluded at the left, right, top, or bottom of the first video cover picture. Taking the top as an example, if the blocked area is an area blocked at the top of the first video cover picture, the information about the blocked area may include, for example, a blocking ratio corresponding to the top. Assuming that the height of the first video cover picture is 200 pixels and the occluded region is a region of 40 pixels in height at the top of the first video cover picture, the ratio of the height of the occluded region to the height of the first video cover picture is 1/5 (or 20%), which can be determined as an occlusion ratio. It should be understood that the information related to the occluded area included in the first indication information may be any information for indicating the occluded area, and is not particularly limited herein.
In practice, the electronic device where the first information processing terminal is located may be installed with a video application. The video information list may be a list attributed to the video-class application. It should be understood that the video-class application of the present embodiment refers to an application having a video-related function, and the video-class application may also have other functions (for example, a social function, etc.) besides the video-related function, and is not particularly limited herein. The user can browse the video information list in the video application by using the electronic equipment, and the user can click on a video cover picture included in the video information list to play a video related to the video cover picture. It should be noted that the video player may be displayed on the screen after the user clicks on the video cover picture included in the video information list. The size of the video player is generally the same as the size of the video cover pictures contained in the video information list described above. In addition, when the video player is displayed on the screen, the position of the video player on the screen is consistent with the position of the picture of the video cover clicked by the user on the screen.
And step 202, adjusting the video player based on the first indication information.
In this embodiment, the executing entity may adjust the video player based on the received first indication information. As an example, if the execution main body determines that there is no blocked area on the first video cover picture based on the first indication information, the execution main body may adjust the position of the video player on the screen based on only the position indicated by the first indication information. Here, the execution body described above may adjust the position of the video player on the screen in the following manner, for example: determining the coordinates of the center point of the first video cover picture based on the position indicated by the first indication information; calculating a moving distance (for example, the distance to be moved on the X axis and the Y axis) based on the center point coordinate and the current center point coordinate of the video player; and adjusting the coordinates of each pixel point on the video player on the screen based on the moving distance. It should be noted that the moving distance may be a positive number or a negative number, and is not limited in particular.
In some optional implementation manners of this embodiment, if the execution main body determines that there is an occluded area on the first video cover picture based on the first indication information, when the execution main body adjusts the position of the video player on the screen, the display area of the video player may also be adjusted based on the occluded area indicated by the first indication information. For example, the execution subject may adjust the display area of the video player by adjusting a clipping ratio of a canvas of the video player. Here, assuming that the first indication information includes information about the above-described occluded area, which includes an occlusion ratio corresponding to the top, the above-described execution subject may adjust a top clipping ratio of a canvas of the video player to the occlusion ratio. In practice, the execution body may call a setClipRect method to perform a clipping operation, for example. setClipRect may be a method for performing region cropping. Since the setClipRect method is a well-known technology which is widely studied and applied at present, it will not be described herein.
It should be noted that, when the video cover picture covered by the video player is blocked by the control except the video player, the display area of the video player is adjusted, and the visual effect that the controls are mutually overlapped and blocked can be simulated.
In this embodiment, when the execution main body and the first information processing terminal are different electronic devices, the execution main body may be, for example, a server for controlling the video player. The server may adjust, for example, a position of the video player on the screen of the first information processing terminal, a display area of the video player, and the like. The server and the first information processing terminal can communicate in a wired connection mode or a wireless connection mode. The server may perform, in response to receiving the first indication information sent by the first information processing terminal in a wired connection manner or a wireless connection manner, the corresponding adjustment on the video player based on the first indication information by using the adjustment method described above.
When the execution main body and the first information processing terminal are different sub-devices accommodated in the same electronic device, the execution main body may be a sub-device for controlling the video player, and the sub-device may adjust, for example, a position of the video player on a screen of the electronic device, a display area of the video player, and the like. The sub-device and the first information processing terminal may communicate via a corresponding communication line (e.g., a bus) through a preset communication protocol. The sub-device may perform, in response to receiving the first indication information sent by the first information processing terminal through the communication protocol, the above-described adjustment method, and perform corresponding adjustment on the video player based on the first indication information.
When the execution main body and the first information processing terminal are different software, the execution main body may be software for controlling the video player, and the software may adjust, for example, a position of the video player on a screen of the electronic device where the first information processing terminal is located, a display area of the video player, and the like. The software may include an interface open to the first information processing terminal. The first information processing terminal may send the first indication information to the software by calling the interface. The software may respond to the received first indication information sent by the first information processing terminal by calling the interface, and perform corresponding adjustment on the video player based on the first indication information by using the adjustment method described above.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for processing information according to the present embodiment. In the application scenario of fig. 3, a video-class application and software related to the video-class application for information processing may be installed on a smartphone of a user with an Android operating system, where the software may include a software module 301 and a software module 302. The screen of the smart phone can display a video information list belonging to the video application and a video player overlaid on a video cover picture A included in one piece of video information in the video information list. Wherein, at least one piece of video information in the video information list can comprise a video cover picture. The size and position of the video player on the screen are consistent with the picture of the video cover covered by the video player. In addition, the video player may be overlaid on the video cover picture a after the user clicks on the video cover picture a. In the present application scenario, the software module 301 may determine the position of the video cover picture a on the screen and the area where the video cover picture a is occluded in response to a user's drag operation on the video information list, and send first indication information indicating the position of the video cover picture a on the screen and the area where the video cover picture a is occluded to the software module 302. Subsequently, the software module 302 may adjust the video player based on the first indication as indicated by reference numeral 303. For example, the video player is moved to the position indicated by the first indication information, and the display area of the video player is adjusted based on the occluded area indicated by the first indication information. Here, the software module 302 may, for example, call the offsetttopandbottom or offsettleftandright method to adjust the position of the video player on the screen to ensure immediate effectiveness of the position adjustment. Among them, the offsetttopandbottom method and the offsettleftandright method are well-known technologies that are widely studied and applied at present, and are not described herein again.
The method provided by the above embodiment of the present disclosure includes receiving first indication information sent by the first information processing terminal and used for indicating a position of the first video cover picture on the screen and a blocked area of the first video cover picture, where the first video cover picture is a video cover picture covered by the video player and included in video information in the video information list, and the position and the blocked area are determined by the first information processing terminal in response to a user dragging operation on the video information list when the video player is displayed on the screen, and then adjusting the video player based on the first indication information.
With further reference to FIG. 4, a flow 400 of yet another embodiment of a method for processing information is shown. The flow 400 of the method for processing information includes the steps of:
step 401, receiving first indication information, which is sent by the first information processing terminal and used for indicating a position of the first video cover picture on the screen and a region where the first video cover picture is blocked.
In this embodiment, an execution subject (for example, the second information processing terminal 103 shown in fig. 1) of the method for processing information may receive, in real time, first indication information for indicating a position of the first video cover picture on the screen and an area where the first video cover picture is blocked, which is sent by the first information processing terminal (for example, the first information processing terminal 101 shown in fig. 1). Wherein the first video cover picture may be a video cover picture overlaid by the video player and included in the video information list. The video player may be in a play state, e.g., playing a video related to the first video cover picture. The at least one piece of video information in the list of video information may include a video cover picture. The position of the first video cover picture on the screen and the area where the first video cover picture is blocked may be determined by the first information processing terminal (e.g., the first information processing terminal 101 shown in fig. 1) in response to a drag operation of the video information list by the user with the video player displayed on the screen. The drag operation may include, but is not limited to, an up-down drag operation, a left-right drag operation, and the like. It should be noted that the occluded area in the present embodiment is generally an area occluded by a control other than the video player.
Step 402, adjusting the position of the video player on the screen based on the position indicated by the first indication information, and adjusting the display area of the video player based on the occluded area indicated by the first indication information.
In this embodiment, after receiving the first indication information, if it is determined that the blocked area does exist on the first video cover picture based on the first indication information, the execution main body may adjust the position of the video player on the screen based on the position indicated by the first indication information, and adjust the display area of the video player based on the blocked area indicated by the first indication information. For the explanation of step 402, refer to the related explanation in the embodiment shown in fig. 2, and the explanation is not repeated here.
And step 403, receiving second indication information which is sent by the first information processing terminal and used for indicating to display detail information of the video related to the first video cover picture.
In this embodiment, after the execution of step 402, the execution main body may further receive, in real time, second instruction information sent by the first information processing terminal and used for instructing to display details of the video related to the first video cover picture. The detailed information may include, but is not limited to, comment information, and the like.
In practice, the second indication information may be sent by the first information processing terminal in response to a preset operation of the user on the video information where the first video cover picture is located, for example. The preset operation may be, for example, a click operation on a specified portion of the video information. The video information may include, among other things, comment information viewing options. The designated portion may include the review information viewing options. It should be understood that the designated portion can be set according to actual needs, and is not specifically limited herein.
In step 404, the adjustment to the display area of the video player is undone.
In this embodiment, after receiving the second indication information, the executing entity may cancel the adjustment of the display area of the video player. I.e. undoing the operation performed in step 402 in relation to the display area of the video player. This allows for subsequent adjustment of the position of the video player on the screen and complete presentation of the video player to the user (cf. step 405- > 407).
Step 405, determining the moving distance based on the current position of the video player on the screen and the target position.
In this embodiment, the executing body may animate the video player to a target position on the screen. Where the target location is typically the top of the screen. In particular, the target location may include center point coordinates. The target position may be pre-stored in the execution main body locally, or may be included in the second indication information, which is not specifically limited herein.
The execution subject can calculate the moving distance based on the current position of the video player on the screen and the target position. Wherein the movement distance may include a movement distance corresponding to the Y-axis. The moving distance in this embodiment may be a positive number or a negative number, and is not particularly limited herein. As an example, assume that the coordinates of the center point of the video player currently on the screen are (250, 400), where 250 is the X-coordinate value and 400 is the Y-coordinate value. The coordinates of the center point of the target position are (250 ), where the left 250 is the X coordinate value and the right 250 is the Y coordinate value. The moving distance corresponding to the Y-axis may be-150, moving from the position where the video player is currently located to the target position.
Based on the movement distance, parameter information for adjustment of the position of the video player is determined, step 406.
In this embodiment, the execution subject may further determine parameter information for adjustment of the position of the video player based on the movement distance determined in step 405. The parameter information may include, for example, all of the following items: adjusting times, interval duration and step length.
As an example, the execution subject may locally acquire a preset total duration (e.g., 250 msec, etc.) and an interval duration (e.g., 15 msec, etc.). Then, the execution subject may determine a ratio of the total time length to the interval time length as the number of times of adjustment. Then, the executing body may determine a ratio of the moving distance to the number of times of adjustment as the step size.
Alternatively, the number of times of adjustment and the interval duration may be set in advance. The execution main body may locally acquire, for example, preset adjustment times and interval durations.
Step 407, based on the parameter information, adjusting the position of the video player on the screen until the video player is adjusted to the target position.
In this embodiment, the execution subject may adjust the position of the video player on the screen based on the parameter information determined in step 406.
As an example, the execution body described above may perform the following adjustment operations: based on the step length, adjusting the position of the video player on the screen, for example, increasing the coordinate value of the Y coordinate of each pixel point of the video player on the screen by the step length; performing incremental operation on the execution times of the adjustment operation; determining whether the increased execution times are less than the adjustment times; if the execution times after the increment is not less than the adjustment times, finishing the adjustment operation; and if the increased execution times are less than the adjustment times, continuing to execute the adjustment operation after the interval time length. The initial value of the number of executions may be 0, for example. The execution main body may increment the execution count by 1 each time the execution count is incremented.
At step 408, details of the video associated with the first video cover picture are displayed.
In this embodiment, the execution main body may display the detail information of the video related to the first video cover picture after adjusting the video player to the target position. For example, the detail information is displayed below the video player.
In some optional implementations of the present embodiment, the parameter information for adjustment of the position of the video player may include, for example, a step size. If the moving distance determined by the executing entity in step 405 is not greater than the distance threshold, the executing entity may determine the moving distance as the step size. The executing body may increment the coordinate value of the Y coordinate of each pixel point of the video player on the screen by the step length, so as to move the video player directly from the current position to the target position.
In some optional implementations of this embodiment, if the moving distance determined by the executing entity in step 405 is greater than the distance threshold, the executing entity may determine parameter information including all of the following items: adjusting times, interval duration and step length. And then based on the parameter information, the above-described adjustment operation is performed.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the flow 400 of the method for processing information in the present embodiment highlights steps of animating the video player from the current position to the target position and displaying the detail information of the video related to the first video cover picture after receiving the second indication information sent by the first information processing terminal for indicating that the detail information of the video related to the first video cover picture is displayed. The scheme described by the embodiment can realize the diversity of information processing, and the video player can smoothly transit to the target position by adjusting the position of the video player, for example, by performing the above-mentioned adjustment operation to adjust the position of the video player.
In some optional implementations of the method for processing information provided in the embodiments respectively corresponding to fig. 2 and fig. 4, an execution main body (for example, the second information processing terminal 103 shown in fig. 1) of the method may receive third indication information sent by the first information processing terminal (for example, the first information processing terminal 101 shown in fig. 1) for indicating to display detail information of a video related to the second video cover picture. Wherein the second video cover picture may be a video cover picture that is not covered by the video player and is included in the video information list. The third indication may include a position of the second video cover picture on the screen. Then, the executing body can adjust the video player to the position of the second video cover picture on the screen. Thereafter, the execution subject may determine the movement distance based on the current position of the video player on the screen and the target position. Then, the execution body may determine parameter information for adjustment of the position of the video player based on the determined movement distance. Then, the execution subject may adjust the position of the video player on the screen based on the determined parameter information until the video player is adjusted to the target position. Finally, the execution body may display the detail information of the video related to the second video cover picture.
In some alternative implementations of the method for processing information provided in the embodiments respectively corresponding to fig. 2 and fig. 4, the executing body may control the video player to play the video related to the second video cover picture after adjusting the video player to a position on the screen where the second video cover picture is located. For example, the execution body may send a play instruction associated with the video related to the second video cover picture to the video player to instruct the video player to play the video.
With further reference to FIG. 5, a flow 500 of yet another embodiment of a method for processing information is shown. The flow 500 of the method for processing information includes the steps of:
step 501, under the condition that a video player is displayed on a screen, in response to a user dragging operation on a video information list, determining a position of a first video cover picture on the screen and a region where the first video cover picture is blocked.
In this embodiment, an execution subject (for example, the first information processing terminal 101 shown in fig. 1) of the method for processing information may determine a position of the first video cover picture on the screen and an area where the first video cover picture is blocked, in response to a drag operation of the video information list by the user, in a case where a video player is displayed on the screen. Wherein the first video cover picture may be a video cover picture overlaid by the video player and included in the video information list. The video player may be in a play state, e.g., playing a video related to the first video cover picture. The at least one piece of video information in the list of video information may include a video cover picture. The drag operation may include, but is not limited to, an up-down drag operation, a left-right drag operation, and the like. It should be noted that the occluded area in the present embodiment is generally an area occluded by a control other than the video player.
Here, the execution body may calculate the position of the first video cover picture after the dragging based on, for example, a dragging direction of the user when the dragging operation is performed, the number of passing pixel points, and the position of the first video cover picture on the screen before the video information list is dragged. In addition, the execution body may determine an area where the first video cover picture is blocked based on the height, the width, and the calculated position of the screen.
Step 502, sending first indication information for indicating the position of the first video cover picture on the screen and the blocked area of the first video cover picture to the second information processing terminal, so that the second information processing terminal adjusts the video player based on the first indication information.
In this embodiment, after determining the position and the blocked area of the first video cover picture on the screen, the execution main body may send first indication information indicating the position and the blocked area to the second information processing terminal, so that the second information processing terminal adjusts the video player based on the first indication information. For explanation of the first indication information and the operation executed by the second information processing terminal, reference may be made to the related explanation of the embodiments shown in fig. 2 and fig. 4, which is not repeated herein.
In some optional implementation manners of this embodiment, the execution main body may send, to the second information processing terminal, second indication information for indicating to display details of the video related to the first video cover picture in response to a preset operation of the user on the video information where the first video cover picture is located. The preset operation may be, for example, a click operation on a designated portion of the video information. The video information may include, among other things, comment information viewing options. The designated portion may include the review information viewing options. It should be understood that the designated portion can be set according to actual needs, and is not specifically limited herein.
In some optional implementations of this embodiment, the execution main body may determine, in response to a preset operation by the user on the video information where the second video cover picture is located, a position of the second video cover picture on the screen, and send, to the second information processing terminal, third instruction information including the determined position for instructing to display details of the video related to the second video cover picture. Wherein the second video cover picture may be a video cover picture that is not covered by the video player and is included in the video information list.
According to the method provided by the above embodiment of the disclosure, in the case that a video player is displayed on a screen, in response to a drag operation of a user on a video information list, a position of a first video cover picture on the screen and an area where the first video cover picture is blocked are determined, where the first video cover picture is a video cover picture that is covered by the video player and included in video information in the video information list, and first indication information for indicating the position and the blocked area is sent to a second information processing terminal, so that the second information processing terminal adjusts the video player based on the first indication information, and therefore, timely adjustment of the video player can be achieved, synchronous scrolling of the video player and the video information list can be ensured, and occurrence of a video shaking situation can be effectively avoided.
With further reference to fig. 6, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an apparatus for processing information, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable in various electronic devices.
As shown in fig. 6, the apparatus 600 for processing information of the present embodiment includes: the receiving unit 601 is configured to receive first indication information sent by the first information processing terminal to indicate a position of the first video cover picture on the screen and an occluded region of the first video cover picture, where the first video cover picture may be a video cover picture that is covered by a video player and included in video information in the video information list, and the position and the occluded region may be determined by the first information processing terminal in response to a drag operation of the video information list by a user in a case where the video player is displayed on the screen; the adjusting unit 602 is configured to adjust the video player based on the first indication information.
In the present embodiment, in the apparatus 600 for processing information: the detailed processing of the receiving unit 601 and the adjusting unit 602 and the technical effects thereof can refer to the related descriptions of step 201 and step 202 in the corresponding embodiment of fig. 2, which are not repeated herein.
In some optional implementations of this embodiment, the adjusting unit 602 may include: and a first adjusting subunit (not shown in the figure) configured to adjust the position of the video player on the screen based on the position indicated by the first indication information.
In some optional implementations of this embodiment, the adjusting unit 602 may further include: and a second adjusting subunit (not shown in the figure) configured to adjust the display area of the video player based on the blocked area indicated by the first indication information.
In some optional implementations of this embodiment, the second adjusting subunit may be further configured to: and adjusting the clipping proportion of the canvas of the video player based on the blocked area indicated by the first indication information.
In some optional implementations of this embodiment, the apparatus 600 may further include: a first receiving unit (not shown in the figure) configured to receive second indication information for indicating display of detail information of a video related to a first video cover picture, which is sent by the first information processing terminal; a first determination unit (not shown in the figure) configured to determine a movement distance based on a current position of the video player on the screen and a target position; a second determination unit (not shown in the drawings) configured to determine parameter information for adjustment of the position of the video player based on the movement distance; a first adjusting unit (not shown in the figure) configured to adjust a position of the video player on the screen based on the parameter information until the video player is adjusted to a target position; a first display unit (not shown in the figure) configured to display detail information of a video related to the first video cover picture.
In some optional implementations of this embodiment, the apparatus 600 may further include: and a revocation unit (not shown in the figure) configured to revoke the adjustment of the display area of the video player after receiving second instruction information for instructing display of the detail information of the video related to the first video cover picture, which is transmitted by the first information processing terminal.
In some optional implementations of this embodiment, the parameter information may include all of the following items: adjusting times, interval duration and step length; and the second determination unit may be further configured to: acquiring preset total time and interval time from the local; determining the ratio of the total duration to the interval duration as the adjustment times; and determining the ratio of the moving distance to the adjusting times as the step length.
In some optional implementations of this embodiment, the first adjusting unit may be further configured to: the following adjustment operations are performed: based on the step length, adjusting the position of the video player on the screen; performing incremental operation on the execution times of the adjustment operation; determining whether the increased execution times are less than the adjustment times; if the execution times after the increment is not less than the adjustment times, finishing the adjustment operation; and if the increased execution times are less than the adjustment times, continuing to execute the adjustment operation after the interval time length.
In some optional implementations of this embodiment, the apparatus 600 may further include: a second receiving unit (not shown in the figure) configured to receive third indication information for indicating to display detail information of a video related to a second video cover picture, which may be a video cover picture that is not covered by the video player and is included in the video information list, sent by the first information processing terminal, the third indication information may include a position of the second video cover picture on the screen; a second adjusting unit (not shown in the figure) configured to adjust the video player to a position on the screen where the second video cover picture is located; a third determination unit (not shown in the figure) configured to determine a movement distance based on the current position of the video player on the screen and the target position; a fourth determination unit (not shown in the drawings) configured to determine parameter information for adjustment of the position of the video player based on the determined movement distance; a third adjusting unit (not shown in the figure) configured to adjust the position of the video player on the screen based on the determined parameter information until the video player is adjusted to the target position; a second display unit (not shown in the figure) configured to display detail information of the video related to the second video cover picture.
In some optional implementations of this embodiment, the apparatus 600 may further include: a control unit (not shown in the figure) configured to control the video player to play the video related to the second video cover picture after adjusting the video player to a position where the second video cover picture is located on the screen.
The apparatus provided by the above embodiment of the present disclosure receives first indication information sent by the first information processing terminal and used for indicating a position of the first video cover picture on the screen and a blocked area of the first video cover picture, where the first video cover picture is a video cover picture covered by the video player and included in the video information list, and the position and the blocked area are determined by the first information processing terminal in response to a user dragging operation on the video information list under a condition that the video player is displayed on the screen, and then adjusts the video player based on the first indication information, so that timely adjustment of the video player can be achieved, synchronous scrolling of the video player and the video information list can be ensured, and occurrence of a video jitter situation can be effectively avoided.
With further reference to fig. 7, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an apparatus for processing information, which corresponds to the method embodiment shown in fig. 5, and which is particularly applicable in various electronic devices.
As shown in fig. 7, the apparatus 700 for processing information of the present embodiment includes: the determining unit 701 is configured to determine, in a case where a video player is displayed on a screen, a position of a first video cover picture on the screen and an area where the first video cover picture is occluded, in response to a drag operation of a user on a video information list, where the first video cover picture may be a video cover picture that is covered by the video player and included in video information in the video information list; the sending unit 702 is configured to send first indication information indicating the position and the blocked area to the second information processing terminal, so that the second information processing terminal adjusts the video player based on the first indication information.
In the present embodiment, in the apparatus for processing information 700: the specific processing of the determining unit 701 and the sending unit 702 and the technical effects thereof can refer to the related descriptions of step 501 and step 502 in the corresponding embodiment of fig. 5, which are not repeated herein.
In some optional implementations of this embodiment, the apparatus 700 may further include: and a first sending unit (not shown in the figure) configured to send second indication information for indicating display of detail information of the video related to the first video cover picture to the second information processing terminal in response to a preset operation of the user on the video information where the first video cover picture is located.
In some optional implementations of this embodiment, the apparatus 700 may further include: and a second sending unit (not shown in the figure) configured to determine a position of the second video cover picture on the screen in response to a preset operation of the user on the video information where the second video cover picture is located, and send third instruction information including the determined position for instructing display of detail information of the video related to the second video cover picture to the second information processing terminal, wherein the second video cover picture may be a video cover picture that is not overlaid by the video player and is included in the video information list.
The apparatus provided by the above embodiment of the present disclosure, in a case where a video player is displayed on a screen, determines a position of a first video cover picture on the screen and a region where the first video cover picture is blocked in response to a drag operation of a user on a video information list, where the first video cover picture is a video cover picture that is covered by the video player and included in video information in the video information list, and sends first indication information indicating the position and the blocked region to a second information processing terminal, so that the second information processing terminal adjusts the video player based on the first indication information, may implement timely adjustment of the video player, may ensure synchronous scrolling between the video player and the video information list, and effectively avoid occurrence of a video shake condition.
Referring now to FIG. 8, a block diagram of a computer system 800 of an electronic device (e.g., the first information processing terminal 101 and the second information processing terminal 103 shown in FIG. 1) suitable for implementing embodiments of the present disclosure is shown. The electronic device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The above-described functions defined in the system of the present disclosure are executed when the computer program is executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a receiving unit and an adjusting unit. It can also be described as: a processor includes a determination unit and a transmission unit. Here, the names of the units do not constitute a limitation to the units themselves in some cases, and for example, the receiving unit may also be described as a "unit that receives first indication information indicating the position of the first video cover picture on the screen and the area where the first video cover picture is blocked, which is sent by the first information processing terminal".
As another aspect, the present disclosure also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to: receiving first indication information which is sent by a first information processing terminal and used for indicating the position of a first video cover picture on a screen and the blocked area of the first video cover picture, wherein the first video cover picture can be the video cover picture covered by a video player and contained in video information in a video information list, and the position and the blocked area can be determined by the first information processing terminal in response to the dragging operation of a user on the video information list under the condition that the video player is displayed on the screen; and adjusting the video player based on the first indication information. The electronic device may also be caused to: in the case that a video player is displayed on a screen, in response to a dragging operation of a user on a video information list, determining a position of a first video cover picture on the screen and an area where the first video cover picture is blocked, wherein the first video cover picture can be a video cover picture which is covered by the video player and is included in video information in the video information list; and sending first indication information for indicating the position and the blocked area to the second information processing terminal so that the second information processing terminal adjusts the video player based on the first indication information.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept as defined above. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (16)

1. A method for processing information, applied to a second information processing terminal, the method comprising:
receiving first indication information which is sent by a first information processing terminal and used for indicating the position of a first video cover picture on a screen and the blocked area of the first video cover picture, wherein the first video cover picture is a video cover picture covered by a video player and contained in video information in a video information list, the position and the blocked area are determined by the first information processing terminal in response to the dragging operation of a user on the video information list under the condition that the video player is displayed on the screen, the video player is used for playing a video, and the size and the position of the video player on the screen are respectively consistent with the size and the position of the first video cover picture covered by the video player on the screen;
adjusting the video player based on the first indication information;
wherein the adjusting the video player based on the first indication information includes: simulating an effect that a video player is occluded by adjusting a display area of the video player based on the occluded area indicated by the first indication information.
2. The method of claim 1, wherein the adjusting the video player based on the first indication information comprises:
adjusting the position of the video player on the screen based on the position indicated by the first indication information.
3. The method of claim 1, wherein the adjusting the display area of the video player based on the occluded area indicated by the first indication information comprises:
adjusting a clipping ratio of a canvas of the video player based on the occluded area indicated by the first indication information.
4. The method of claim 1, wherein the method further comprises:
receiving second indication information which is sent by the first information processing terminal and used for indicating and displaying detail information of a video related to the first video cover picture;
determining a moving distance based on the current position of the video player on the screen and a target position;
determining parameter information for adjustment of a position of the video player based on the movement distance;
based on the parameter information, adjusting the position of the video player on the screen until the video player is adjusted to a target position;
displaying detail information of the video related to the first video cover picture.
5. The method according to claim 4, wherein after receiving second indication information which is sent by the first information processing terminal and used for indicating detail information of the video related to the first video cover picture, the method further comprises:
undoing the adjustment to the display area of the video player.
6. The method of claim 4, wherein the parameter information includes all of: adjusting times, interval duration and step length; and
the determining parameter information for adjustment of the position of the video player based on the movement distance includes:
acquiring a preset total time length and the interval time length from the local;
determining the ratio of the total duration to the interval duration as the adjustment times;
and determining the ratio of the moving distance to the adjusting times as the step length.
7. The method of claim 6, wherein the adjusting the position of the video player on the screen based on the parameter information until the video player is adjusted to a target position comprises:
the following adjustment operations are performed: based on the step size, adjusting the position of the video player on the screen; performing incremental operation on the execution times of the adjustment operation; determining whether the increased execution times are less than the adjustment times; if the execution times after the increment is not less than the adjustment times, finishing the adjustment operation;
and if the increased execution times are less than the adjustment times, continuing to execute the adjustment operation after the interval time length.
8. The method according to one of claims 1-3, wherein the method further comprises:
receiving third indication information which is sent by the first information processing terminal and used for indicating and displaying detail information of a video related to a second video cover picture, wherein the second video cover picture is a video cover picture which is not covered by the video player and is contained in the video information list, and the third indication information comprises the position of the second video cover picture on the screen;
adjusting the video player to the position of the second video cover picture on the screen;
determining a moving distance based on the current position of the video player on the screen and a target position;
determining parameter information for adjustment of a position of the video player based on the determined movement distance;
adjusting the position of the video player on the screen based on the determined parameter information until the video player is adjusted to a target position;
displaying detail information of the video related to the second video cover picture.
9. The method of claim 8, wherein after the adjusting the video player to the position on the screen where the second video cover picture is located, the method further comprises:
and controlling the video player to play the video related to the second video cover picture.
10. A method for processing information, applied to a first information processing terminal, the method comprising:
under the condition that a video player is displayed on a screen, in response to a dragging operation of a user on a video information list, determining the position of a first video cover picture on the screen and an area where the first video cover picture is blocked, wherein the first video cover picture is a video cover picture which is covered by the video player and is contained in video information in the video information list, the video player is used for playing a video, and the size and the position of the video player on the screen are respectively consistent with the size and the position of the first video cover picture covered by the video player on the screen;
sending first indication information used for indicating the position and the blocked area to a second information processing terminal, so that the second information processing terminal adjusts the video player based on the first indication information;
wherein the second information processing terminal adjusting the video player based on the first indication information comprises: and the second information processing terminal simulates the shielded effect of the video player by adjusting the display area of the video player based on the shielded area indicated by the first indication information.
11. The method of claim 10, wherein the method further comprises:
and sending second indication information used for indicating and displaying detail information of the video related to the first video cover picture to the second information processing terminal in response to the preset operation of the user on the video information where the first video cover picture is located.
12. The method of claim 10, wherein the method further comprises:
the method comprises the steps of responding to a preset operation of a user on video information where a second video cover picture is located, determining the position of the second video cover picture on a screen, and sending third indication information which comprises the determined position and is used for indicating and displaying detail information of video related to the second video cover picture to the second information processing terminal, wherein the second video cover picture is a video cover picture which is not covered by the video player and is contained in the video information list.
13. An apparatus for processing information, applied to a second information processing terminal, the apparatus comprising:
a receiving unit configured to receive first indication information sent by a first information processing terminal and used for indicating a position of a first video cover picture on a screen and a blocked area of the first video cover picture, wherein the first video cover picture is a video cover picture in video information covered by a video player and contained in a video information list, the position and the blocked area are determined by the first information processing terminal in response to a user dragging operation on the video information list under the condition that the video player is displayed on the screen, the video player is used for playing a video, and the size and the position of the video player on the screen are respectively consistent with the size and the position of the first video cover picture covered by the video player on the screen;
an adjusting unit configured to adjust the video player based on the first indication information;
the adjustment unit is further configured to: simulating an effect that a video player is occluded by adjusting a display area of the video player based on the occluded area indicated by the first indication information.
14. An apparatus for processing information, applied to a first information processing side, the apparatus comprising:
a determining unit configured to determine, in a case where a video player is displayed on a screen, a position of a first video cover picture on the screen and an area where the first video cover picture is blocked, in response to a drag operation of a user on a video information list, wherein the first video cover picture is a video cover picture that is covered by the video player and included in video information in the video information list, the video player is used to play a video, and the size and the position of the video player on the screen are respectively consistent with the size and the position of the first video cover picture covered by the video player on the screen;
a sending unit configured to send first indication information indicating the position and the blocked area to a second information processing terminal, so that the second information processing terminal adjusts the video player based on the first indication information;
wherein the second information processing terminal adjusting the video player based on the first indication information comprises: and the second information processing terminal simulates the shielded effect of the video player by adjusting the display area of the video player based on the shielded area indicated by the first indication information.
15. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-12.
16. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-12.
CN201811625747.0A 2018-12-28 2018-12-28 Method and apparatus for processing information Active CN109640157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811625747.0A CN109640157B (en) 2018-12-28 2018-12-28 Method and apparatus for processing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811625747.0A CN109640157B (en) 2018-12-28 2018-12-28 Method and apparatus for processing information

Publications (2)

Publication Number Publication Date
CN109640157A CN109640157A (en) 2019-04-16
CN109640157B true CN109640157B (en) 2021-07-27

Family

ID=66079124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811625747.0A Active CN109640157B (en) 2018-12-28 2018-12-28 Method and apparatus for processing information

Country Status (1)

Country Link
CN (1) CN109640157B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113286189A (en) * 2021-04-23 2021-08-20 北京奇艺世纪科技有限公司 Video playing method, device, server and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856495A (en) * 2012-11-29 2014-06-11 中国电信股份有限公司 Method and system for collecting video played by video play device by use of mobile phone terminal
CN104793874A (en) * 2014-01-20 2015-07-22 联想(北京)有限公司 Interface display method and electronic equipment
CN104918095A (en) * 2015-05-19 2015-09-16 乐视致新电子科技(天津)有限公司 Multimedia stream data preview display method and device
CN105843884A (en) * 2016-03-21 2016-08-10 西安银石科技发展有限责任公司 LKJ and audio-video synchronization based intelligent retrieval analysis method
CN106101809A (en) * 2016-07-15 2016-11-09 乐视控股(北京)有限公司 A kind of in third party's player interpolation method of control, device and terminal
CN106254920A (en) * 2016-08-08 2016-12-21 暴风集团股份有限公司 The method and system that novel playlist is shown
CN107205174A (en) * 2017-07-14 2017-09-26 广东工业大学 A kind of quick playback video file method and system
CN108885526A (en) * 2016-01-21 2018-11-23 弹力交换有限公司 The system and method for dynamic offer information when exiting intention on mobile computing device are being provided

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2011340804A1 (en) * 2010-12-09 2013-07-25 Community Connections Australia A mobility aid system
CN104036017B (en) * 2014-06-24 2018-07-13 广州猎豹网络科技有限公司 A kind of method and device generating video file list
US11019511B2 (en) * 2015-03-20 2021-05-25 Airties Belgium Sprl Method for evaluating a wireless link, respective device, computer program and storage medium
CN105472428B (en) * 2015-11-18 2019-02-26 华为技术有限公司 A kind of method and apparatus for broadcasting channel program
EP4106335A3 (en) * 2015-12-16 2023-04-19 Roku, Inc. Dynamic video overlays
CN105791947A (en) * 2016-04-21 2016-07-20 腾讯科技(深圳)有限公司 Method and device for playing video
CN106507176A (en) * 2016-11-25 2017-03-15 维沃移动通信有限公司 A kind of method of video playback and mobile terminal
CN106980510B (en) * 2017-04-14 2020-08-04 宁波视睿迪光电有限公司 Window self-adaption method and device of player
CN108985228A (en) * 2018-07-16 2018-12-11 百度在线网络技术(北京)有限公司 Information generating method and device applied to terminal device
CN109089142A (en) * 2018-09-05 2018-12-25 百度在线网络技术(北京)有限公司 Control method for playing back, device and computer equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856495A (en) * 2012-11-29 2014-06-11 中国电信股份有限公司 Method and system for collecting video played by video play device by use of mobile phone terminal
CN104793874A (en) * 2014-01-20 2015-07-22 联想(北京)有限公司 Interface display method and electronic equipment
CN104918095A (en) * 2015-05-19 2015-09-16 乐视致新电子科技(天津)有限公司 Multimedia stream data preview display method and device
CN108885526A (en) * 2016-01-21 2018-11-23 弹力交换有限公司 The system and method for dynamic offer information when exiting intention on mobile computing device are being provided
CN105843884A (en) * 2016-03-21 2016-08-10 西安银石科技发展有限责任公司 LKJ and audio-video synchronization based intelligent retrieval analysis method
CN106101809A (en) * 2016-07-15 2016-11-09 乐视控股(北京)有限公司 A kind of in third party's player interpolation method of control, device and terminal
CN106254920A (en) * 2016-08-08 2016-12-21 暴风集团股份有限公司 The method and system that novel playlist is shown
CN107205174A (en) * 2017-07-14 2017-09-26 广东工业大学 A kind of quick playback video file method and system

Also Published As

Publication number Publication date
CN109640157A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN109460233B (en) Method, device, terminal equipment and medium for updating native interface display of page
CN108961165B (en) Method and device for loading image
CN109829964B (en) Web augmented reality rendering method and device
CN113377366B (en) Control editing method, device, equipment, readable storage medium and product
CN110059623B (en) Method and apparatus for generating information
US10983812B2 (en) Replaying interactions with a graphical user interface (GUI) presented in a video stream of the GUI
CN112073748A (en) Panoramic video processing method and device and storage medium
CN111427528A (en) Display method and device and electronic equipment
US11367226B2 (en) Calibration techniques for aligning real-world objects to virtual objects in an augmented reality environment
CN113642053A (en) Method, system, equipment and storage medium for remote control interface display
CN109640157B (en) Method and apparatus for processing information
CN114679628B (en) Bullet screen adding method and device, electronic equipment and storage medium
EP4297415A1 (en) Information display method and apparatus based on video, and device and medium
CN113747227B (en) Video playing method and device, storage medium and electronic equipment
CN110673886B (en) Method and device for generating thermodynamic diagrams
CN110837332A (en) Face image deformation method and device, electronic equipment and computer readable medium
CN114064172A (en) Data rendering method and device
CN111833459B (en) Image processing method and device, electronic equipment and storage medium
CN111385460A (en) Image processing method and device
CN115988322A (en) Method and device for generating panoramic image, electronic equipment and storage medium
CN111263115B (en) Method, apparatus, electronic device, and computer-readable medium for presenting images
JP2022551671A (en) OBJECT DISPLAY METHOD, APPARATUS, ELECTRONIC DEVICE, AND COMPUTER-READABLE STORAGE MEDIUM
CN109842738B (en) Method and apparatus for photographing image
CN111866548A (en) Marking method applied to medical video
CN110662099A (en) Method and device for displaying bullet screen

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.