WO2019000896A1 - 一种直播列表浏览交互方法及装置 - Google Patents

一种直播列表浏览交互方法及装置 Download PDF

Info

Publication number
WO2019000896A1
WO2019000896A1 PCT/CN2017/120172 CN2017120172W WO2019000896A1 WO 2019000896 A1 WO2019000896 A1 WO 2019000896A1 CN 2017120172 W CN2017120172 W CN 2017120172W WO 2019000896 A1 WO2019000896 A1 WO 2019000896A1
Authority
WO
WIPO (PCT)
Prior art keywords
live
touch
preview
live broadcast
list unit
Prior art date
Application number
PCT/CN2017/120172
Other languages
English (en)
French (fr)
Inventor
王威
张文明
陈少杰
Original Assignee
武汉斗鱼网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 武汉斗鱼网络科技有限公司 filed Critical 武汉斗鱼网络科技有限公司
Publication of WO2019000896A1 publication Critical patent/WO2019000896A1/zh

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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/482End-user interface for program selection
    • 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/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists

Definitions

  • the present invention relates to the field of Internet live broadcast technology, and more particularly, to a live list browsing interaction method and apparatus.
  • the existing live broadcast and video app list display schemes basically display the live/video content through a waterfall stream composed of pictures or partial dynamic pictures (gif), and the user views the cover picture or the moving picture in the live/video list. To preview the video/live content, and finally enter the play page by clicking the interactive mode of the pictures on the list.
  • the user ultimately decides whether to enter the play page to watch a large part of the viewing depends on the fun and content presentation of the list picture itself. This brings a lot of problems.
  • the content of the live broadcast and the video itself is difficult to express through a static or a few frames of static images. It is often necessary to watch some clips to attract interest.
  • the live content itself has a strong real-time nature. In order to ensure the real-time performance of the live cover on the list, it is often necessary to update the cover through the front-end collaborative refresh, but considering the load on the server, this update cycle usually cannot Achieve very timely results.
  • the present invention provides a live list browsing interaction method and device.
  • a live list browsing interaction method including:
  • S3 Perform a corresponding callback response logic processing class in the 3D Touch interaction recognition response object corresponding to the target live broadcast list unit item according to the obtained target live broadcast list unit item event that supports the 3D Touch preview.
  • the step S3 further includes:
  • the method further includes:
  • the weighted interactive event callback method is invoked, and the transition animation is used to jump to the live broadcast page to implement the live content or historical video content. Seamless resume.
  • the method further includes:
  • the relaxation press event callback method is invoked, the video stream in the preview player is screened, the preview player is released, and the screen capture is performed.
  • the obtained last frame play picture is set as a cover picture of the live list unit item;
  • the third preset threshold is smaller than the first preset threshold.
  • the step S31 further includes:
  • S312. Call the tap event interim callback method to create a preview player that covers the live list unit item, and initialize the preview player by using the stream address information corresponding to the live list unit item.
  • the step S32 further includes:
  • the step of invoking the interactive event callback method to jump to the live room page through the transition animation, and the step of seamlessly broadcasting the live content further includes:
  • the live content or the historical video content corresponding to the live broadcast list unit item is smoothly enlarged and covers the entire screen, and in the zooming process of the live broadcast content or the historical video content, the preview player is transmitted to the preview player through the singleton mode.
  • the entire live broadcast page is displayed.
  • a live list browsing interaction apparatus including:
  • a list data obtaining module configured to acquire live list data including a 3D Touch configuration
  • a proxy configuration module configured to perform a 3D Touch interactive proxy configuration on the live broadcast list unit item supporting the 3D Touch preview, and register each live broadcast list unit item supporting the 3D Touch preview as a 3D Touch interactive identifier according to the live broadcast list data.
  • the browsing interaction implementation module is configured to perform a corresponding pressing response logic processing class on the 3D Touch interaction recognition response object corresponding to the target live broadcast list unit item according to the acquired target live broadcast list unit item event that supports the 3D Touch preview.
  • the callback method in .
  • a live list browsing interactive device including a memory, a processor, and a bus.
  • the processor and the memory complete communication with each other through the bus;
  • the memory stores program instructions executable by the processor, the processor invoking program instructions in the memory to perform a live list browsing interaction method as previously described.
  • a non-transitory computer readable storage medium is stored, the non-transitory computer readable storage medium storing computer instructions that cause the computer to perform a live broadcast list as previously described Browse interactive methods.
  • the live broadcast list browsing interaction method and device provided by the present invention can display live real-time content in a list page based on the 3D Touch interaction method, so that the user can obtain real-time content of the live broadcast/video on the list page, and can Affects users' ability to quickly swipe a list for browsing.
  • FIG. 1 is a schematic flowchart of a live view browsing interaction method according to an embodiment of the invention
  • FIG. 2 is a schematic flowchart of step S3 according to FIG. 1 according to another embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of step S31 according to FIG. 2 according to another embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a live list browsing interaction apparatus according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a live broadcast list browsing interaction device according to another embodiment of the present invention.
  • a flow chart of a live view browsing interaction method includes:
  • S3 Perform a corresponding callback response logic processing class in the 3D Touch interaction recognition response object corresponding to the target live broadcast list unit item according to the obtained target live broadcast list unit item event that supports the 3D Touch preview.
  • the present invention provides a live view browsing interaction method based on a 3D Touch (3D touch) interaction scheme currently provided on a mobile device.
  • 3D Touch is a stereo touch technology, and the user's mobile device screen can sense different pressure touches.
  • 3D Touch has three modes of operation: light touch, hard press and continuous pressing. Compared to multi-touch operation in a flat two-dimensional space, 3D Touch technology increases the perception of velocity and finger area by pressing a quick preview or viewing text, images, videos or hyperlinks selected by the user.
  • the client obtains interface data from the server when loading the live broadcast list, where the interface data is live broadcast list data including a 3D Touch configuration, and the live broadcast list data includes multiple live broadcast list unit item data.
  • the embodiment of the present invention adds the flow address information and the configuration parameter of the 3D Touch preview to each live broadcast list unit item data, and the flow address information includes the live content corresponding to the live list unit item or
  • the address information of the historical video content can be obtained according to whether the configuration parameter of the 3D Touch preview is supported, whether the corresponding live list unit item supports the 3D Touch preview, and the configuration parameter can increase the shadow stereo display of the live list unit item supporting the 3D Touch.
  • the step 3D performs the 3D Touch interaction proxy configuration on the live list unit that supports the 3D Touch preview based on the live broadcast list data, and determines whether all the 3D Touch previews are supported according to whether the configuration parameters of the live view data support the 3D Touch preview are supported.
  • the live list unit item performs 3D Touch interactive proxy configuration for all live list unit items that support 3D Touch preview.
  • the 3D Touch interactive proxy configuration refers to a callback method for generating a live list unit item
  • the callback method is: (UICollectionViewCell*)collectionView:(UICollectionView*)collectionVie w cellForItemAtIndexPath:(NSIndexPath*)indexPath, by [self registerForPreviewingWithDelegate:selfsourceView
  • the :cell] method registers the live list unit item as a 3DTouch interaction recognition response object, and the two selfs in the [self registerForPreviewingWithDelegate:self sourceView:cell] method respectively point to the parent controller and the press response of the modal scene participating in the 3DTouch interaction.
  • the logical processing class, the cell is the interactive view that affects the pressing event.
  • the user pressing the target live list unit item event supporting the 3D Touch preview in step S3 includes light pressing, relaxing pressing or heavy pressing.
  • the light pressure allows the user to preview the live/video content corresponding to the pressed live list unit item without leaving the current live list page, and the live broadcast list unit item that supports the light press will give the corresponding live broadcast after the light pressure/ Video content as feedback.
  • the relaxed press allows the user to close the preview player by relaxing the pressed finger after previewing the live/video content for a period of time, so that the user can continue to browse other live list unit items.
  • the heavier pressing is called heavy pressure.
  • the heavy pressure allows the user to enter the detailed page of the live/video content corresponding to the pressed live list unit item, that is, the live room page.
  • the callback method of the press response logic processing class includes: tapping the interactive event callback method, relaxing the press event callback method, or stressing the interactive event callback method.
  • Performing a callback response logic processing class in the corresponding 3D Touch interaction recognition response object corresponding to the live broadcast list unit item pressed by the user, according to the obtained user pressing the target live broadcast list unit item event supporting the 3D Touch preview including
  • the live broadcast list unit item that supports the 3D Touch preview calls the heavy-duty interactive event callback method to jump from the list page to the live broadcast page; 3) if the user relaxes and presses the live list unit item that supports the 3D Touch preview, the call is relaxed.
  • the live broadcast list browsing interaction method proposed by the present invention is based on the 3D Touch interaction technology, and can display live real-time content in the list page, so that the user can preview the live content of the live broadcast/video on the list page, thereby effectively improving the user browsing the live broadcast list.
  • 3D Touch interaction technology 3D Touch interaction technology
  • step S3 further includes:
  • step S31 when the target live broadcast list unit item that supports the 3D Touch preview is pressed when the user strength is less than the first preset threshold, the user pressing force is less than the first preset threshold, indicating that the user's pressing operation is lightly pressed, and then the light is called.
  • the tapping interactive event callback method is specifically: (UIViewController*) previewingContext: (id ⁇ UIViewControllerPreviewing>) previewingContext viewControllerForLocation: (CGPoint) location; implementing the tap state by calling the interactive event callback method
  • the interactive service that is, after the user taps a live list unit item, the client displays a preview player at the location of the live list unit item, and causes the preview player to play the live list unit item.
  • Corresponding live/video content Inside this method, a preview player that covers the list cell is created, and the created preview player is initialized with the stream address information read from the server side to start the playback operation.
  • step S32 the client adjusts the zooming of the preview player by changing the user's pressing strength by setting the previewContentSize property of the preview player, that is, adjusting the display range of the preview player, and the user pressing the intensity gradually increases, the preview player is previewed. Will become larger, the user reduces the pressing force, the preview player will shrink accordingly. It is worth noting that at this time, the strength of the user's pressing does not reach the state of heavy pressure, but the intermediate force between the light pressure and the heavy pressure.
  • the live video is suspended in the list cell, and can follow the list cell.
  • the visual effect is like the list cell itself slightly floats and dynamically plays the behavior.
  • the user is simultaneously previewing the live content. And browsing the live list under two operations, and the two interactions are in a subtle intermediate state, do not interfere with each other, and do not leave the scene of the current list page, is a very friendly preview experience.
  • the live broadcast list browsing interaction method proposed by the invention is based on the 3D Touch interaction technology, and can display live real-time content in the list page, so that the user can obtain the real-time content of the live broadcast/video on the list page without affecting the user.
  • a quick swipe list for browsing experience significantly improves the user experience of browsing live lists.
  • the method further includes:
  • the weighted interactive event callback method is invoked, and the transition animation is used to jump to the live broadcast page to implement the live content or historical video content. Seamless resume.
  • the second preset threshold is a starting point value of the weighting operation, which is greater than the first preset.
  • the threshold is large or may be equal to the first preset threshold. If it is exceeded, it means that the user's pressing operation is no longer a light pressure, but a heavy pressure, then the heavy-pressure interactive event callback method is called, and the business logic of the heavy-press operation in the 3D Touch is realized by calling the heavy-pressure interactive event callback method.
  • the weighted interactive event callback method is: (void) previewingContext: (id ⁇ UIViewControllerPreviewing>) previewingContext commitViewController: (YFDetailController*) viewControllerToCommit.
  • the player container in the live broadcast room enables seamless playback of live/video content. In this process, the playback progress of the player will not be affected. Due to the use of the singleton mode, there will be no transition in the playback. Pause and the effects of the Caton.
  • the interactive method provided by the embodiment of the present invention can greatly improve the efficiency of the user browsing the live broadcast list, and can reduce the user, by clicking the cover to enter the detailed information and then clicking the return to exit the detailed information page to continue the sliding list. Previewing the interaction cost of live content makes it easier to expose live content behind the cover of the list.
  • the method further includes:
  • the relaxation press event callback method is invoked, the video stream in the preview player is screened, the preview player is released, and the screen capture is performed.
  • the obtained last frame play picture is set as a cover picture of the live list unit item;
  • the third preset threshold is smaller than the first preset threshold.
  • the relaxation press event callback method is called. Since the 3DTouch interaction proxy is implemented in the previous step, the system will exit the preview playback interface in the list, and then through the method of taking a screenshot of the video stream, The last frame before the playback is set as the cover image of the current list item, and the effect of the frame freeze after the preview is realized, and the user can continue to perform the 3D Touch preview operation of other list items by sliding the list and pressing.
  • the user can conveniently preview the live video while browsing the list, and does not need to repeatedly search for the live content of interest by switching the page and returning.
  • the whole operation process is all in the process.
  • the list page is completed, and there is no interference to the user browsing the live list.
  • the last frame is intercepted to update the cover of the list unit, which can help the user to memorize the previously broadcasted live content.
  • the updated list cover can be used to conveniently find the previous
  • the live content that has been viewed ensures the continuity of the experience when the user previews the live broadcast.
  • step S31 further includes:
  • S312. Call the tap event interim callback method to create a preview player that covers the live list unit item, and initialize the preview player by using the stream address information corresponding to the live list unit item.
  • step S311 when the user's strength is less than the first preset threshold, the live broadcast list unit item is pressed, that is, when the user taps the live list unit item, the system determines whether the live broadcast list unit item corresponds to the configuration parameter. Whether the live broadcast list unit item supports the 3D Touch preview. If the judgment result is supported, the user is notified that the live broadcast list unit item supporting the 3D Touch preview is tapped, and then the tapping of the interactive event callback method is performed, and the pressed live broadcast is performed. The corresponding live/video content is displayed at the location of the list. If the result of the judgment is not supported, it indicates that the live broadcast list unit item pressed by the user does not support 3D Touch, and no subsequent operations are performed.
  • the tapping of the interactive event callback method is performed, and within the tapping interaction event callback method, a preview player covering the live list unit item is created and utilized.
  • the stream address information corresponding to the live broadcast list unit item is initialized to the preview player, so that the live content or the historical video content corresponding to the live broadcast list unit item appears at the live broadcast list unit item location.
  • step S32 further includes:
  • the surrounding view will be blurred by the iOS system, and the preview player will zoom in or out according to its preferredContentSize attribute.
  • the second preset threshold is used to determine whether the pressing operation of the user belongs to light pressure, belongs to the strength between light pressure and heavy pressure, or belongs to heavy pressure, obtains the strength of the user pressing operation, and determines the strength of the pressing operation. If the second preset threshold is exceeded, if the user's pressing operation strength does not have the second preset threshold, the user's pressing operation does not belong to the heavy pressure, and the preview player's preferredContentSize attribute is set based on the pressing operation strength, according to The value of the preferredContentSize property is adjusted to adjust the play window size of the preview player. Once the strength of the user press exceeds the second preset threshold, the user's pressing operation becomes a heavy pressure, and the heavy-pressure interactive event callback method is invoked to enter the implementation process of the heavy-pressed business logic.
  • the step of calling the re-emphasis interactive event callback method to jump to the live broadcast page through the transition animation, and implementing the seamless resume of the live content further includes:
  • the live content or the historical video content corresponding to the live broadcast list unit item is smoothly enlarged and covers the entire screen, and in the zooming process of the live broadcast content or the historical video content, the preview player is transmitted to the preview player through the singleton mode.
  • the entire live broadcast page is displayed.
  • the specific method for the seamless playback of the live content is: the live broadcast or the historical video content corresponding to the live broadcast list unit item is obtained by using the re-emphasis interactive event callback method to jump to the live broadcast page through the transition animation. Smoothly enlarging and covering the entire screen, and initializing the live broadcast page while the live or historical video content is enlarged, that is, passing the preview player to the live broadcast room corresponding to the live broadcast list unit item through the singleton mode
  • the fourth preset threshold is the pressing threshold, which is the maximum force of the pressing supported by the 3D Touch technology.
  • FIG. 4 a schematic diagram of a structure of a live list browsing interaction device, including a list data obtaining module 41, a proxy configuration module 42 and a browsing interaction implementing module 43,
  • a list data obtaining module 41 configured to acquire live list data including a 3D Touch configuration
  • the proxy configuration module 42 is configured to perform a 3D Touch interactive proxy configuration on the live broadcast list unit item supporting the 3D Touch preview based on the live broadcast list data, and register each live broadcast list unit item supporting the 3D Touch preview as a 3D Touch interaction. Identify the response object;
  • the browsing interaction implementation module 43 is configured to perform a corresponding pressing response logic processing on the 3D Touch interactive recognition response object corresponding to the target live broadcast list unit item according to the acquired target live broadcast list unit item event that supports the 3D Touch preview.
  • the callback method in the class is configured to perform a corresponding pressing response logic processing on the 3D Touch interactive recognition response object corresponding to the target live broadcast list unit item according to the acquired target live broadcast list unit item event that supports the 3D Touch preview.
  • the list data obtaining module 41 acquires interface data to the server end when loading the live broadcast list, the interface data is live broadcast list data including a 3D Touch configuration, and the live broadcast list data includes a plurality of live broadcast list unit item data.
  • the embodiment of the present invention adds the flow address information and the configuration parameter of the 3D Touch preview to each live broadcast list unit item data, and the flow address information includes the live broadcast/video corresponding to the live list unit item.
  • the address information of the content, according to whether the configuration parameter of the 3D Touch preview is supported, whether the corresponding live list unit item supports the 3D Touch preview, and the configuration parameter can increase the shadow stereo display of the live list unit item supporting 3DTouch.
  • the proxy configuration module 42 performs the 3D Touch interactive proxy configuration on the live broadcast list unit item supporting the 3D Touch preview based on the live broadcast list data, and determines whether all the supported 3D touch previews are supported according to whether the configuration parameter of the live broadcast list data supports the 3D Touch preview.
  • the live broadcast list unit item performs 3D Touch interactive proxy configuration for all live broadcast list unit items that support 3D Touch preview.
  • the 3D Touch interactive proxy configuration refers to a callback method for generating a live list unit item
  • the callback method is: (UICollectionViewCell*)collectionView:(UICollectionView*)collectionVie w cellForItemAtIndexPath:(NSIndexPath*)indexPath, by [self registerForPreviewingWithDelegate:selfsourceView
  • the :cell] method registers the live list unit item as a 3DTouch interaction recognition response object, and the two selfs in the [self registerForPreviewingWithDelegate:self sourceView:cell] method respectively point to the parent controller and the press response of the modal scene participating in the 3DTouch interaction.
  • the logical processing class, the cell is the interactive view that affects the pressing event.
  • the browsing interaction implementation module 43 is configured to invoke a corresponding callback method according to a pressing operation of the user, and feed back the corresponding interactive content to the user, thereby implementing a live view browsing interaction based on the 3D Touch.
  • the user presses a live list item item event that supports the 3D Touch preview, including light pressing, relaxed pressing, or heavy pressing.
  • the light pressure allows the user to preview the live/video content corresponding to the pressed live list unit item without leaving the current live list page, and the live broadcast list unit item that supports the light press will give the corresponding live broadcast after the light pressure/ Video content as feedback.
  • the relaxed press allows the user to close the preview player by relaxing the pressed finger after previewing the live/video content for a period of time, so that the user can continue to browse other live list unit items.
  • the heavier pressing is called heavy pressure.
  • the heavy pressure allows the user to enter the detailed page of the live/video content corresponding to the pressed live list unit item, that is, the live room page.
  • the callback method of the press response logic processing class includes: tapping the interactive event callback method, relaxing the press event callback method, or stressing the interactive event callback method.
  • the 3D Touch interaction recognition response object corresponding to the live list unit item pressed by the user is executed to perform a corresponding call response logic processing class in the call processing method, including but Not limited to the following situations: 1) If the user clicks on the live list unit item that supports the 3D Touch preview, the tapping of the interactive event callback method is performed, and the live/video content is played on the list page; 2) if the user is stressed and supported
  • the live list unit item of the 3D Touch preview calls the heavy-duty interactive event callback method to jump from the list page to the live room page; 3) if the user relaxes and presses the live list unit item that supports the 3D Touch preview, the relaxed press is invoked.
  • the event callback method close the preview player. That is, according to the user's pressing operation,
  • FIG. 5 is a schematic structural diagram of a live list browsing interactive device according to another embodiment of the present invention, including a memory 51, a processor 52, and a bus 53,
  • the processor 52 and the memory 51 complete communication with each other through the bus 53;
  • the memory 51 stores program instructions executable by the processor 52, and the processor 52 invokes program instructions in the memory 51 to perform a live list browsing interaction method as described above, including, for example: S1 Obtaining live broadcast list data including a 3D Touch configuration; S2, performing a 3D Touch interactive proxy configuration on the live broadcast list unit item supporting the 3D Touch preview based on the live broadcast list data, and each of the live broadcast list units supporting the 3D Touch preview The item is registered as a 3D Touch interaction recognition response object according to the obtained user pressing the target live broadcast list unit item event that supports the 3D Touch preview, and the corresponding 3D Touch interaction recognition response object corresponding to the target live list unit item is executed. Pressing the callback method in the response logic processing class to implement the live view browsing interaction based on 3D Touch.
  • the embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, the computer
  • the method provided by the foregoing method embodiments may include, for example, including: S1, acquiring live list data including a 3D Touch configuration; and S2, performing a live list unit item supporting the 3D Touch preview based on the live list data.
  • the 3D Touch interactive proxy configuration registers each live broadcast list unit item supporting the 3D Touch preview as a 3D Touch interactive recognition response object; S3, according to the obtained user, pressing the target live broadcast list unit item event that supports the 3D Touch preview, The 3D Touch interaction recognition response object corresponding to the target live broadcast list unit item performs a corresponding callback response logic processing class callback method to implement a live view browsing interaction based on 3D Touch.
  • a non-transitory computer readable storage medium is stored, the non-transitory computer readable storage medium storing computer instructions that cause the computer to perform a live broadcast list as previously described
  • the browsing interaction method includes, for example: S1, acquiring live list data including a 3D Touch configuration; and S2, performing a 3D Touch interaction proxy configuration on the live list unit item supporting the 3D Touch preview based on the live list data,
  • the live broadcast list unit item supporting the 3D Touch preview is registered as a 3D Touch interactive recognition response object; S3, according to the obtained user pressing the target live broadcast list unit item event supporting the 3D Touch preview, the 3D corresponding to the target live broadcast list unit item
  • the Touch interaction recognition response object performs a corresponding callback response logic processing class callback method to implement a live view browsing interaction based on 3D Touch.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • the embodiments of the live list browsing interactive device described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical. Units can be located in one place or distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
  • the live broadcast list browsing interaction method and device provided by the foregoing embodiments of the present invention can display live real-time content in a list page based on the 3D Touch interaction method, so that the user can obtain real-time content of the live broadcast/video on the list page. And can not affect the user's quick swipe list for browsing experience.

Landscapes

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

Abstract

本发明提供一种直播列表浏览交互方法及装置,其中所述方法包括:获取包含3D Touch配置的直播列表数据;基于所述直播列表数据,对支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置,将每个所述支持3D Touch预览的直播列表单元项注册为3D Touch交互识别响应对象;根据获取到的用户按压支持3D Touch预览的目标直播列表单元项事件,对所述目标直播列表单元项所对应的3D Touch交互识别响应对象执行相应的按压响应逻辑处理类中的回调方法。本发明具有使得用户可以在列表页面预览直播/视频的实时内容,有效提升了用户浏览直播列表的体验的有益效果。

Description

一种直播列表浏览交互方法及装置
交叉引用
本申请引用于2017年06月30日提交的专利名称为“一种直播列表浏览交互方法及装置”的第2017105272171号中国专利申请,其通过引用被全部并入本申请。
技术领域
本发明涉及互联网直播技术领域,更具体地,涉及一种直播列表浏览交互方法及装置。
背景技术
现有的直播、视频app中列表的展示方案基本都是通过图片或者部分动态图片(gif)组成的瀑布流来展示直播/视频的内容,用户通过查看直播/视频列表中的封面图片或动图来预览视频/直播的内容,最终通过点击列表上的图片的交互方式进入播放页观看。
用户最终决定是否进入播放页观看很大一部分取决于列表图片本身的趣味性和内容呈现上。这就带来了许多问题,直播、视频本身的内容很难通过一张静态或者数帧静态图片来表达的,往往需要观看一些片段才能引发兴趣。特别对于直播,直播的内容本身具有很强的实时性,为了保证直播封面在列表上的实时性,常常需要通过前后端协同刷新去更新封面,但考虑到服务端的负载通常这种更新周期也不能达到很及时的效果。
因此,如何提供一种能够更好地在列表中展示直播实时内容的交互技术,实现用户在列表页面预览直播视频的实时内容显得尤为迫切。
发明内容
为了解决现有技术无法很好地在列表中展示直播实时内容的问 题,本发明提供一种直播列表浏览交互方法及装置。
根据本发明的一个方面,提供一种直播列表浏览交互方法,包括:
S1,获取包含3D Touch配置的直播列表数据;
S2,基于所述直播列表数据,对支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置,将每个所述支持3D Touch预览的直播列表单元项注册为3D Touch交互识别响应对象;
S3,根据获取到的用户按压支持3D Touch预览的目标直播列表单元项事件,对所述目标直播列表单元项所对应的3D Touch交互识别响应对象执行相应的按压响应逻辑处理类中的回调方法。
其中,所述步骤S3进一步包括:
S31,当获取到用户力度小于第一预设阈值按压支持3D Touch预览的目标直播列表单元项时,调用轻按交互事件回调方法,在所述直播列表单元项位置处显示预览播放器,并使所述预览播放器播放所述直播列表单元项所对应的直播内容或历史视频内容;
S32,基于所述用户按压的力度大小调整所述预览播放器的播放窗口大小。
其中,在所述步骤S32之后,还包括:
当获取到用户按压所述目标直播列表单元项的力度超出第二预设阈值时,调用重压交互事件回调方法,通过转场动画跳转至直播间页面,实现所述直播内容或历史视频内容的无缝续播。
其中,在所述步骤S32之后,还包括:
当获取到用户按压所述目标直播列表单元项的力度小于第三预设阈值时,调用放松按压事件回调方法,对预览播放器中的视频流进行截屏,释放所述预览播放器,并将截屏所得的最后一帧播放画面设置 为所述直播列表单元项的封面图;
其中,所述第三预设阈值小于所述第一预设阈值。
其中,所述步骤S31进一步包括:
S311,当获取到用户力度小于第一预设阈值按压直播列表单元项时,基于所述直播列表单元项所对应的配置参数,判断所述直播列表单元项是否支持3D Touch预览,若支持,则获知用户轻按支持3D Touch预览的直播列表单元项;
S312,调用轻按交互事件回调方法,创建覆盖所述直播列表单元项的预览播放器,并利用所述直播列表单元项所对应的流地址信息初始化所述预览播放器。
其中,所述步骤S32进一步包括:
获取用户按压的力度,若所述按压力度没有超出第二预设阈值,则基于所述按压操作力度设置所述预览播放器的preferredContentSize属性,根据所述preferredContentSize属性的值,调整所述预览播放器的播放窗口大小。
其中,所述调用重压交互事件回调方法,通过转场动画跳转至直播间页面,实现直播内容的无缝续播的步骤进一步包括:
使所述直播列表单元项所对应的直播内容或历史视频内容平滑放大并覆盖整个屏幕,并在所述直播内容或历史视频内容的放大过程中,通过单例模式将所述预览播放器传递给所述直播列表单元项所对应的直播间内的播放器容器;
当用户按压所述目标直播列表单元项的力度达到第四预设阈值时,显示整个直播间页面。
根据本发明的另一个方面,提供一种直播列表浏览交互装置,包括:
列表数据获取模块,用于获取包含3D Touch配置的直播列表数据;
代理配置模块,用于基于所述直播列表数据,对支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置,将每个所述支持3D Touch预览的直播列表单元项注册为3D Touch交互识别响应对象;
浏览交互实现模块,用于根据获取到的用户按压支持3D Touch预览的目标直播列表单元项事件,对所述目标直播列表单元项所对应的3D Touch交互识别响应对象执行相应的按压响应逻辑处理类中的回调方法。
根据本发明的另一个方面,提供一种直播列表浏览交互设备,包括存储器、处理器、以及总线,
所述处理器和存储器通过所述总线完成相互间的通信;
所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述存储器中的程序指令,以执行如前所述的直播列表浏览交互方法。
根据本发明的又一个方面,提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如前所述的直播列表浏览交互方法。
本发明提出的一种直播列表浏览交互方法及装置,基于3D Touch交互方法,能够在列表页面中展示直播实时内容,使得用户获得了既可以在列表页面预览直播/视频的实时内容,又能够不影响用户快速滑动列表进行浏览的体验。
附图说明
图1为根据本发明一实施例提供的一种直播列表浏览交互方法的流程示意图;
图2为根据本发明另一实施例提供的基于图1中步骤S3的流程示意图;
图3为根据本发明另一实施例提供的基于图2中步骤S31的流程示意图;
图4为根据本发明另一实施例提供的一种直播列表浏览交互装置的结构示意图;
图5为根据本发明另一实施例提供的一种直播列表浏览交互设备的结构示意图。
具体实施方式
下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。以下实施例用于说明本发明,但不用来限制本发明的范围。
如图1所示,为本发明一实施例提供的一种直播列表浏览交互方法的流程示意图,包括:
S1,获取包含3D Touch配置的直播列表数据;
S2,基于所述直播列表数据,对支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置,将每个所述支持3D Touch预览的直播列表单元项注册为3D Touch交互识别响应对象;
S3,根据获取到的用户按压支持3D Touch预览的目标直播列表单元项事件,对所述目标直播列表单元项所对应的3D Touch交互识别响应对象执行相应的按压响应逻辑处理类中的回调方法。
为了能够在列表中展示直播实时内容,本发明基于目前移动设备上提供的3D Touch(三维触控)交互方案,提供一种直播列表浏览交互方法。3D Touch是一种立体触控技术,用户的移动设备屏幕可感应不同的感压力度触控。3D Touch拥有三种操作方式:轻触、用力按压和用力持续按压。相对于多点触摸在平面二维空间的操作,3D Touch技术增加了对力度和手指面积的感知,可以通过按压快速预览或查看 用户选择的短信、图片、视频或超链接等内容。
具体地,客户端在加载直播列表时向服务器端获取接口数据,所述接口数据为包含3D Touch配置的直播列表数据,所述直播列表数据包含多个直播列表单元项数据。不同于传统列表的部分在于,本发明实施例会在每个直播列表单元项数据中增加流地址信息和是否支持3D Touch预览的配置参数,流地址信息包含了直播列表单元项所对应的直播内容或历史视频内容的地址信息,根据是否支持3D Touch预览的配置参数可以获知对应的直播列表单元项是否支持3D Touch预览,并且通过配置参数可以让支持3DTouch的直播列表单元项增加阴影立体显示。
步骤S2中基于所述直播列表数据,对支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置是指根据直播列表数据中的是否支持3D Touch预览的配置参数,确定所有支持3D Touch预览的直播列表单元项,对所有支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置。3D Touch交互代理配置是指在生成直播列表单元项的回调方法中,所述回调方法为:(UICollectionViewCell*)collectionView:(UICollectionView*)collectionVie w cellForItemAtIndexPath:(NSIndexPath*)indexPath,通过[self registerForPreviewingWithDelegate:selfsourceView:cell]方法将直播列表单元项注册为3DTouch交互识别响应对象,所述[self registerForPreviewingWithDelegate:self sourceView:cell]方法中的两个self分别指向参与3DTouch交互的模态场景的父控制器和按压响应逻辑处理类,cell则是指影响按压事件的交互视图。
步骤S3中所述用户按压支持3D Touch预览的目标直播列表单元项事件包括轻压、放松按压或重压。轻压让用户可以在不离开当前直播列表页面的情况下预览所按压的直播列表单元项所对应的直播/视频内容,支持轻压的直播列表单元项会在轻压后给出所对应的直播/视频 内容作为反馈。放松按压让用户可以在预览直播/视频内容一段时间后,通过放松按压的手指来实现关闭预览播放器,从而使得用户可以继续浏览其他直播列表单元项。用户在轻压操作之后,再更加重一点的按压称之为重压,重压可以让用户进入所按压的直播列表单元项所对应的直播/视频内容的详细页面,即直播间页面。
相应地,所述按压响应逻辑处理类的回调方法包括:轻按交互事件回调方法、放松按压事件回调方法或重压交互事件回调方法。根据获取到的用户按压支持3D Touch预览的目标直播列表单元项事件,对用户所按压的直播列表单元项所对应的3D Touch交互识别响应对象执行相应的按压响应逻辑处理类中的回调方法,包括但不限于以下情形:1)若获取到用户轻压支持3D Touch预览的直播列表单元项,则调用轻按交互事件回调方法,在列表页面播放直播/视频内容;2)若获取到用户重压支持3D Touch预览的直播列表单元项,则调用重压交互事件回调方法,从列表页面跳转到直播间页面;3)若获取到用户放松按压支持3D Touch预览的直播列表单元项,则调用放松按压事件回调方法,关闭预览播放器。即根据用户的按压操作,调用相应的回调方法,向用户反馈相应的交互内容,从而实现了基于3D Touch的直播列表浏览交互。
本发明提出的一种直播列表浏览交互方法,基于3D Touch交互技术,能够在列表页面中展示直播实时内容,使得用户可以在列表页面预览直播/视频的实时内容,有效提升了用户浏览直播列表的体验。
如图2所示,为本发明另一实施例提供的基于图1中步骤S3的流程示意图,即所述步骤S3进一步包括:
S31,当获取到用户力度小于第一预设阈值按压支持3D Touch预览的目标直播列表单元项时,调用轻按交互事件回调方法,在所述直播列表单元项位置处显示预览播放器,并使所述预览播放器播放所述直播列表单元项所对应的直播内容或历史视频内容;
S32,基于所述用户按压的力度大小调整所述预览播放器的播放窗口大小。
具体地,步骤S31当获取到用户力度小于第一预设阈值按压支持3D Touch预览的目标直播列表单元项时,用户按压力度小于第一预设阈值表示用户的按压操作属于轻压,则调用轻按交互事件回调方法,所述轻按交互事件回调方法具体为:(UIViewController*)previewingContext:(id<UIViewControllerPreviewing>)previewingContext viewControllerForLocation:(CGPoint)location;通过调用所述交互事件回调方法来实现轻按状态下的交互业务,即用户对某个直播列表单元项轻按后,客户端会在所述直播列表单元项位置处显示预览播放器,并使所述预览播放器播放所述直播列表单元项所对应的直播/视频内容。在此方法内部创建一个覆盖该列表单元格的预览播放器,并用从服务器端读取的流地址信息初始化所创建的预览播放器,开始播放操作。
步骤S32中客户端通过设置预览播放器的preferredContentSize属性实现跟随用户按压力度的变化对预览播放器的进行缩放,即调整所述预览播放器的显示范围,用户按压力度逐渐加大,则预览播放器会变大,用户减小按压力度,则预览播放器会相应地缩小。值得说明的是,此时用户按压的力度没有达到重压的状态,而是介于轻压和重压之间的中间力度。
在按压过程中直播画面是悬浮在列表单元格上的,且能跟随列表单元格,视觉效果上就像是列表单元格自身略微浮起并动态地进行播放行为,此时用户同时处于预览直播内容和浏览直播列表两种操作下,且这两种交互处于一种微妙的中间态,互不干扰,也没有脱离当前列表页的场景,是一种非常友好的预览体验。
本发明提出的一种直播列表浏览交互方法,基于3D Touch交互技术,能够在列表页面中展示直播实时内容,使得用户获得了既可以在 列表页面预览直播/视频的实时内容,又能够不影响用户快速滑动列表进行浏览的体验,显著提升了用户浏览直播列表的体验。
本发明另一实施例,在上述实施例的基础上,在步骤S32之后,还包括:
当获取到用户按压所述目标直播列表单元项的力度超出第二预设阈值时,调用重压交互事件回调方法,通过转场动画跳转至直播间页面,实现所述直播内容或历史视频内容的无缝续播。
具体地,当获取到用户继续用力按压所述直播列表单元项时,判断用户继续按压的力度是否超出第二预设阈值,第二预设阈值是重压操作的起点值,比第一预设阈值大,或者可以等于第一预设阈值。若超出,则说明用户的按压操作不再是轻压,而是重压,则调用重压交互事件回调方法,通过调用重压交互事件回调方法方法来实现3D Touch中重压操作的业务逻辑,所述重压交互事件回调方法为:(void)previewingContext:(id<UIViewControllerPreviewing>)previewingContext commitViewController:(YFDetailController*)viewControllerToCommit。我们将重压操作衔接轻压力度逐渐增强的过度效果,利用转场动画实现由直播列表页面过度到直播间页面的跳转逻辑,并通过单例模式将列表页面中预览播放器对象直接传递给直播间内的播放器容器,从而实现直播/视频内容的无缝续播,在这个过程中,播放器的播放进度不会受到任何影响,由于使用单例模式,转场播放中也不会有暂停和卡顿的效果。
相对于传统直播列表通过点击封面进入详情然后点击返回退出详情页继续滑动列表这种大量重复的交互操作,本发明实施例提供的交互方法能够大幅提升用户在浏览直播列表的效率,同时能降低用户预览直播内容的交互成本,更容易让列表封面背后的直播内容得到曝光。
本发明另一实施例,在上述实施例的基础上,在步骤S32之后, 还包括:
当获取到用户按压所述目标直播列表单元项的力度小于第三预设阈值时,调用放松按压事件回调方法,对预览播放器中的视频流进行截屏,释放所述预览播放器,并将截屏所得的最后一帧播放画面设置为所述直播列表单元项的封面图;
其中,所述第三预设阈值小于所述第一预设阈值。
具体地,在用户浏览一段时间后,如果对该视频没有兴趣,会放松按压的手指,当获取到用户按压所述目标直播列表单元项的力度小于第三预设阈值时,第三预设阈值比第一预设阈值小得多,此时调用放松按压事件回调方法,由于在之前的步骤中实现了3DTouch交互代理,系统会退出列表中的预览播放界面,然后通过对视频流截屏的方法,取出播放前最后一帧画面设置为当前列表项的封面图,实现预览后画面定格的效果,用户则可以继续通过滑动列表和按压来实现其他列表项的3DTouch预览操作。通过轻压和放松按压的交替操作,可以让用户很方便的在浏览列表的同时预览直播画面,并且不需要通过切换页面再返回的操作反复寻找自己感兴趣的直播内容,整个操作过程全部是在列表页面完成,对用户浏览直播列表没有任何干扰。同时在用户预览流媒体内容后截取最后一帧画面进行更新列表单元的封面,可以帮助用户记忆之前浏览的直播内容,在用户反复浏览不同直播内容时可以通过更新后的列表封面,方便地找到之前看过的直播内容,保证了用户在预览直播时体验的连续性。
如图3所示,为本发明另一实施例提供的基于图2中步骤S31的流程示意图,即步骤S31进一步包括:
S311,当获取到用户力度小于第一预设阈值按压直播列表单元项时,基于所述直播列表单元项所对应的配置参数,判断所述直播列表单元项是否支持3D Touch预览,若支持,则获知用户轻按支持3D Touch 预览的直播列表单元项;
S312,调用轻按交互事件回调方法,创建覆盖所述直播列表单元项的预览播放器,并利用所述直播列表单元项所对应的流地址信息初始化所述预览播放器。
具体地,步骤S311中当获取到用户力度小于第一预设阈值按压直播列表单元项时,即当获知用户轻按直播列表单元项时,根据所述直播列表单元项所对应的配置参数,判断所述直播列表单元项是否支持3D Touch预览,若判断结果为支持,则获知用户轻按支持3D Touch预览的直播列表单元项,接下来,则调用轻按交互事件回调方法,在所按压的直播列表位置处显示所对应的直播/视频内容,若判断结果为不支持,说明用户所按压的直播列表单元项不支持3D Touch,则不进行后续的操作。
获知用户轻按支持3D Touch预览的直播列表单元项后,调用轻按交互事件回调方法,在所述轻按交互事件回调方法的内部,创建覆盖所述直播列表单元项的预览播放器,并利用所述直播列表单元项所对应的流地址信息初始化所述预览播放器,使得在所述直播列表单元项位置处出现所述直播列表单元项所对应的直播内容或历史视频内容。
基于上述实施例,所述步骤S32进一步包括:
获取用户按压的力度,若所述按压力度没有超出第二预设阈值,则基于所述按压操作力度设置所述预览播放器的preferredContentSize属性,根据所述preferredContentSize属性的值,调整所述预览播放器的播放窗口大小。
具体地,在轻压与重压的中间力度变化下,通过制定预览播放器的显示范围,周围的视图会由iOS系统进行背景虚化,预览播放器会根据其preferredContentSize属性随之放大或缩小。
这里第二预设阈值用来区分用户的按压操作是属于轻压、是属于 介于轻压和重压的之间的力度或者是属于重压,获取用户按压操作力度,判断所述按压操作力度是否超出第二预设阈值,若用户的按压操作力度没有第二预设阈值,则说明用户的按压操作不属于重压,则基于所述按压操作力度设置所述预览播放器的preferredContentSize属性,根据所述preferredContentSize属性的值,调整所述预览播放器的播放窗口大小。一旦用户按压的力度超出第二预设阈值,则用户的按压操作变为了重压,则调用重压交互事件回调方法,进入重压业务逻辑的实现过程。
基于上述实施例,所述调用重压交互事件回调方法,通过转场动画跳转至直播间页面,实现直播内容的无缝续播的步骤进一步包括:
使所述直播列表单元项所对应的直播内容或历史视频内容平滑放大并覆盖整个屏幕,并在所述直播内容或历史视频内容的放大过程中,通过单例模式将所述预览播放器传递给所述直播列表单元项所对应的直播间内的播放器容器;
当用户按压所述目标直播列表单元项的力度达到第四预设阈值时,显示整个直播间页面。
具体地,调用重压交互事件回调方法,通过转场动画跳转至直播间页面,实现直播内容的无缝续播的具体方法为:使所述直播列表单元项所对应的直播或历史视频内容平滑放大并覆盖整个屏幕,并在所述直播或历史视频内容放大的同时对直播间页面进行初始化,即通过单例模式将所述预览播放器传递给所述直播列表单元项所对应的直播间内的播放器容器,当用户按压操作的力度到达第四预设阈值时,直播间页面自然呈现,达到列表直播/视频内容预览与直播间页之间的无缝切换效果,整个过程保持流畅、自然过渡的交互体验。此处的第四预设阈值是按压临界点,即3D Touch技术所支持的按压的最大力度。
如图4所示,为本发明另一实施例提供的一种直播列表浏览交互 装置的结构示意图,包括:列表数据获取模块41、代理配置模块42和浏览交互实现模块43,其中,
列表数据获取模块41,用于获取包含3D Touch配置的直播列表数据;
代理配置模块42,用于基于所述直播列表数据,对支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置,将每个所述支持3D Touch预览的直播列表单元项注册为3D Touch交互识别响应对象;
浏览交互实现模块43,用于根据获取到的用户按压支持3D Touch预览的目标直播列表单元项事件,对所述目标直播列表单元项所对应的3D Touch交互识别响应对象执行相应的按压响应逻辑处理类中的回调方法。
具体地,列表数据获取模块41在加载直播列表时向服务器端获取接口数据,所述接口数据为包含3D Touch配置的直播列表数据,所述直播列表数据包含多个直播列表单元项数据。不同于传统列表的部分在于,本发明实施例会在每个直播列表单元项数据中增加流地址信息和是否支持3D Touch预览的配置参数,流地址信息包含了直播列表单元项所对应的直播/视频内容的地址信息,根据是否支持3D Touch预览的配置参数可以获知对应的直播列表单元项是否支持3D Touch预览,并且通过配置参数可以让支持3DTouch的直播列表单元项增加阴影立体显示。
代理配置模块42基于所述直播列表数据,对支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置是指根据直播列表数据中的是否支持3D Touch预览的配置参数,确定所有支持3D Touch预览的直播列表单元项,对所有支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置。3D Touch交互代理配置是指在生成直播列表单元项的回调方法中,所述回调方法为: (UICollectionViewCell*)collectionView:(UICollectionView*)collectionVie w cellForItemAtIndexPath:(NSIndexPath*)indexPath,通过[self registerForPreviewingWithDelegate:selfsourceView:cell]方法将直播列表单元项注册为3DTouch交互识别响应对象,所述[self registerForPreviewingWithDelegate:self sourceView:cell]方法中的两个self分别指向参与3DTouch交互的模态场景的父控制器和按压响应逻辑处理类,cell则是指影响按压事件的交互视图。
浏览交互实现模块43用于根据用户的按压操作,调用相应的回调方法,向用户反馈相应的交互内容,从而实现了基于3D Touch的直播列表浏览交互。具体地,所述用户按压支持3D Touch预览的直播列表单元项事件包括轻压、放松按压或重压。轻压让用户可以在不离开当前直播列表页面的情况下预览所按压的直播列表单元项所对应的直播/视频内容,支持轻压的直播列表单元项会在轻压后给出所对应的直播/视频内容作为反馈。放松按压让用户可以在预览直播/视频内容一段时间后,通过放松按压的手指来实现关闭预览播放器,从而使得用户可以继续浏览其他直播列表单元项。用户在轻压操作之后,再更加重一点的按压称之为重压,重压可以让用户进入所按压的直播列表单元项所对应的直播/视频内容的详细页面,即直播间页面。
相应地,所述按压响应逻辑处理类的回调方法包括:轻按交互事件回调方法、放松按压事件回调方法或重压交互事件回调方法。根据获取到的用户按压支持3D Touch预览的直播列表单元项事件,对用户所按压的直播列表单元项所对应的3D Touch交互识别响应对象执行相应的按压响应逻辑处理类中的回调方法,包括但不限于以下情形:1)若获取到用户轻压支持3D Touch预览的直播列表单元项,则调用轻按交互事件回调方法,在列表页面播放直播/视频内容;2)若获取到用户重压支持3D Touch预览的直播列表单元项,则调用重压交互事件回调方法,从列表页面跳转到直播间页面;3)若获取到用户放松按压支持 3D Touch预览的直播列表单元项,则调用放松按压事件回调方法,关闭预览播放器。即根据用户的按压操作,调用相应的回调方法,向用户反馈相应的交互内容,从而实现了基于3D Touch的直播列表浏览交互。
如图5所示,为本发明另一实施例提供的一种直播列表浏览交互设备的结构示意图,包括存储器51、处理器52、以及总线53,
所述处理器52和存储器51通过所述总线53完成相互间的通信;
所述存储器51存储有可被所述处理器52执行的程序指令,所述处理器52调用所述存储器51中的程序指令,以执行如前所述的直播列表浏览交互方法,例如包括:S1,获取包含3D Touch配置的直播列表数据;S2,基于所述直播列表数据,对支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置,将每个所述支持3D Touch预览的直播列表单元项注册为3D Touch交互识别响应对象;S3,根据获取到的用户按压支持3D Touch预览的目标直播列表单元项事件,对所述目标直播列表单元项所对应的3D Touch交互识别响应对象执行相应的按压响应逻辑处理类中的回调方法,实现基于3D Touch的直播列表浏览交互。
本实施例公开一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述各方法实施例所提供的方法,例如包括:例如包括:S1,获取包含3D Touch配置的直播列表数据;S2,基于所述直播列表数据,对支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置,将每个所述支持3D Touch预览的直播列表单元项注册为3D Touch交互识别响应对象;S3,根据获取到的用户按压支持3D Touch预览的目标直播列表单元项事件,对所述目标直播列表单元项所对应的3D Touch交互识别响应对象执行相应的按压响应逻辑处理类中的回调方法,实现基于 3D Touch的直播列表浏览交互。
根据本发明的又一个方面,提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如前所述的直播列表浏览交互方法,例如包括:S1,获取包含3D Touch配置的直播列表数据;S2,基于所述直播列表数据,对支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置,将每个所述支持3D Touch预览的直播列表单元项注册为3D Touch交互识别响应对象;S3,根据获取到的用户按压支持3D Touch预览的目标直播列表单元项事件,对所述目标直播列表单元项所对应的3D Touch交互识别响应对象执行相应的按压响应逻辑处理类中的回调方法,实现基于3D Touch的直播列表浏览交互。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所描述的直播列表浏览交互设备的实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光 盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
本发明上述各实施例提出的一种直播列表浏览交互方法及装置,基于3D Touch交互方法,能够在列表页面中展示直播实时内容,使得用户获得了既可以在列表页面预览直播/视频的实时内容,又能够不影响用户快速滑动列表进行浏览的体验。
最后,本发明的方法仅为较佳的实施方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (11)

  1. 一种直播列表浏览交互方法,其特征在于,包括:
    S1,获取包含3D Touch配置的直播列表数据;
    S2,基于所述直播列表数据,对支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置,将每个所述支持3D Touch预览的直播列表单元项注册为3D Touch交互识别响应对象;
    S3,根据获取到的用户按压支持3D Touch预览的目标直播列表单元项事件,对所述目标直播列表单元项所对应的3D Touch交互识别响应对象执行相应的按压响应逻辑处理类中的回调方法。
  2. 根据权利要求1所述的方法,其特征在于,所述步骤S3进一步包括:
    S31,当获取到用户力度小于第一预设阈值按压支持3D Touch预览的目标直播列表单元项时,调用轻按交互事件回调方法,在所述直播列表单元项位置处显示预览播放器,并使所述预览播放器播放所述直播列表单元项所对应的直播内容或历史视频内容;
    S32,基于所述用户按压的力度大小调整所述预览播放器的播放窗口大小。
  3. 根据权利要求2所述的方法,其特征在于,在所述步骤S32之后,还包括:
    当获取到用户按压所述目标直播列表单元项的力度超出第二预设阈值时,调用重压交互事件回调方法,通过转场动画跳转至直播间页面,实现所述直播内容或历史视频内容的无缝续播。
  4. 根据权利要求2所述的方法,其特征在于,在所述步骤S32之后,还包括:
    当获取到用户按压所述目标直播列表单元项的力度小于第三预设阈值时,调用放松按压事件回调方法,对预览播放器中的视频流进行截屏,释放所述预览播放器,并将截屏所得的最后一帧播放画面设置为所述直播列表单元项的封面图;
    其中,所述第三预设阈值小于所述第一预设阈值。
  5. 根据权利要求2所述的方法,其特征在于,所述步骤S31进一步包括:
    S311,当获取到用户力度小于第一预设阈值按压直播列表单元项时,基于所述直播列表单元项所对应的配置参数,判断所述直播列表单元项是否支持3D Touch预览,若支持,则获知用户轻按支持3D Touch预览的直播列表单元项;
    S312,调用轻按交互事件回调方法,创建覆盖所述直播列表单元项的预览播放器,并利用所述直播列表单元项所对应的流地址信息初始化所述预览播放器。
  6. 根据权利要求2所述的方法,其特征在于,所述步骤S32进一步包括:
    获取用户按压的力度,若所述按压力度没有超出第二预设阈值,则基于所述按压操作力度设置所述预览播放器的preferredContentSize属性,根据所述preferredContentSize属性的值,调整所述预览播放器的播放窗口大小。
  7. 根据权利要求3所述的方法,其特征在于,所述调用重压交互事件回调方法,通过转场动画跳转至直播间页面,实现直播内容的无缝续播的步骤进一步包括:
    使所述直播列表单元项所对应的直播内容或历史视频内容平滑放大并覆盖整个屏幕,并在所述直播内容或历史视频内容的放大过程中, 通过单例模式将所述预览播放器传递给所述直播列表单元项所对应的直播间内的播放器容器;
    当用户按压所述目标直播列表单元项的力度达到第四预设阈值时,显示整个直播间页面。
  8. 一种直播列表浏览交互装置,其特征在于,包括:
    列表数据获取模块,用于获取包含3D Touch配置的直播列表数据;
    代理配置模块,用于基于所述直播列表数据,对支持3D Touch预览的直播列表单元项进行3D Touch交互代理配置,将每个所述支持3D Touch预览的直播列表单元项注册为3D Touch交互识别响应对象;
    浏览交互实现模块,用于根据获取到的用户按压支持3D Touch预览的目标直播列表单元项事件,对所述目标直播列表单元项所对应的3D Touch交互识别响应对象执行相应的按压响应逻辑处理类中的回调方法。
  9. 一种直播列表浏览交互设备,其特征在于,包括存储器、处理器、以及总线,
    所述处理器和存储器通过所述总线完成相互间的通信;
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述存储器中的程序指令,以执行如权利要求1至7任一所述的方法。
  10. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求1至7任一所述的方法。
  11. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程 序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行如权利要求1至7任一所述的方法。
PCT/CN2017/120172 2017-06-30 2017-12-29 一种直播列表浏览交互方法及装置 WO2019000896A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710527217.1A CN109218834A (zh) 2017-06-30 2017-06-30 一种直播列表浏览交互方法及装置
CN201710527217.1 2017-06-30

Publications (1)

Publication Number Publication Date
WO2019000896A1 true WO2019000896A1 (zh) 2019-01-03

Family

ID=64740931

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/120172 WO2019000896A1 (zh) 2017-06-30 2017-12-29 一种直播列表浏览交互方法及装置

Country Status (2)

Country Link
CN (1) CN109218834A (zh)
WO (1) WO2019000896A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984174A (zh) * 2020-07-29 2020-11-24 维沃移动通信有限公司 内容下载方法、装置及电子设备
CN112383832A (zh) * 2020-11-13 2021-02-19 咪咕文化科技有限公司 直播间互动方法、电子设备和计算机可读存储介质
CN112866806A (zh) * 2019-11-28 2021-05-28 武汉瓯越网视有限公司 一种识别目标团体的方法及系统

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149539A (zh) * 2019-05-21 2019-08-20 北京字节跳动网络技术有限公司 多媒体文件播放方法、装置、电子设备和存储介质
CN110688571A (zh) * 2019-09-20 2020-01-14 北京字节跳动网络技术有限公司 一种列表流的实现方法、装置、电子设备及存储介质
CN111970531B (zh) * 2020-08-26 2023-02-24 广州方硅信息技术有限公司 跨用户群组交互控制、执行方法及其装置、设备、介质
CN114501134B (zh) * 2021-12-28 2022-11-18 广东南方新媒体科技有限公司 一种iOS跨页面视频播放方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193739A (zh) * 2011-06-09 2011-09-21 福州瑞芯微电子有限公司 一种基于多点触控技术的视频预览选播方法
WO2014168528A1 (en) * 2013-04-09 2014-10-16 Telefonaktiebolaget L M Ericsson (Publ) Electronic program guide for an electronic device comprising a touch-sensitive|display unit
US20140325566A1 (en) * 2011-05-03 2014-10-30 Verizon Patent And Licensing Inc. Program Guide Interface Systems and Methods
CN105677189A (zh) * 2016-02-19 2016-06-15 腾讯科技(深圳)有限公司 控制应用的方法和装置
CN105898480A (zh) * 2015-11-24 2016-08-24 乐视网信息技术(北京)股份有限公司 用于多媒体预览的方法、装置及移动终端设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100551045C (zh) * 2007-08-20 2009-10-14 中兴通讯股份有限公司 在网络电视中对直播频道进行预览的方法和系统
JP4600548B2 (ja) * 2008-08-27 2010-12-15 ソニー株式会社 再生装置、再生方法、およびプログラム
CN102314496A (zh) * 2011-08-25 2012-01-11 百度在线网络技术(北京)有限公司 一种预览媒体文件的方法与设备
CN103916681A (zh) * 2013-01-04 2014-07-09 云联(北京)信息技术有限公司 一种流媒体内容播放方法、装置及系统
KR102364085B1 (ko) * 2015-08-11 2022-02-17 엘지전자 주식회사 이동 단말기 및 그것의 제어방법
CN105472437A (zh) * 2015-11-24 2016-04-06 广州华多网络科技有限公司 视频播放方法及装置
CN105872812A (zh) * 2016-04-19 2016-08-17 乐视控股(北京)有限公司 一种动态节目单生成方法及系统
CN106534940B (zh) * 2016-10-14 2020-12-11 腾讯科技(北京)有限公司 直播入口预览图的显示方法及装置
CN106775420B (zh) * 2016-12-30 2021-02-09 华为机器有限公司 一种应用切换的方法、装置和图形用户界面

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140325566A1 (en) * 2011-05-03 2014-10-30 Verizon Patent And Licensing Inc. Program Guide Interface Systems and Methods
CN102193739A (zh) * 2011-06-09 2011-09-21 福州瑞芯微电子有限公司 一种基于多点触控技术的视频预览选播方法
WO2014168528A1 (en) * 2013-04-09 2014-10-16 Telefonaktiebolaget L M Ericsson (Publ) Electronic program guide for an electronic device comprising a touch-sensitive|display unit
CN105898480A (zh) * 2015-11-24 2016-08-24 乐视网信息技术(北京)股份有限公司 用于多媒体预览的方法、装置及移动终端设备
CN105677189A (zh) * 2016-02-19 2016-06-15 腾讯科技(深圳)有限公司 控制应用的方法和装置

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866806A (zh) * 2019-11-28 2021-05-28 武汉瓯越网视有限公司 一种识别目标团体的方法及系统
CN112866806B (zh) * 2019-11-28 2022-09-09 武汉瓯越网视有限公司 一种识别目标团体的方法及系统
CN111984174A (zh) * 2020-07-29 2020-11-24 维沃移动通信有限公司 内容下载方法、装置及电子设备
CN112383832A (zh) * 2020-11-13 2021-02-19 咪咕文化科技有限公司 直播间互动方法、电子设备和计算机可读存储介质
CN112383832B (zh) * 2020-11-13 2022-12-06 咪咕文化科技有限公司 直播间互动方法、电子设备和计算机可读存储介质

Also Published As

Publication number Publication date
CN109218834A (zh) 2019-01-15

Similar Documents

Publication Publication Date Title
WO2019000896A1 (zh) 一种直播列表浏览交互方法及装置
US10405009B2 (en) Generating videos with multiple viewpoints
US11856271B2 (en) Symbiotic interactive video
US10809879B2 (en) Displaying simulated media content item enhancements on mobile devices
JP6242798B2 (ja) ビジュアルエフェクトのネットワークに基づくレンダリング及びステアリング
US11830161B2 (en) Dynamically cropping digital content for display in any aspect ratio
WO2020082870A1 (zh) 即时视频显示方法、装置、终端设备及存储介质
US20160225012A1 (en) Tracking visual gaze information for controlling content display
WO2017107441A1 (zh) 截取视频动画的方法及装置
JP2023513299A (ja) ライブ配信データの表示方法、装置、設備及び記憶媒体
TWI784942B (zh) 播放中影片的擷取方法及裝置
US9665965B2 (en) Video-associated objects
CN105187939A (zh) 一种实现网页游戏中播放视频的方法及装置
JP7111288B2 (ja) ビデオ処理方法、装置および記憶媒体
CN102859486A (zh) 缩放显示导航
CA3162120A1 (en) Information playback method and device, computer readable storage medium, and electronic device
CN108259923B (zh) 一种视频直播方法、系统及设备
CN114697721B (zh) 弹幕显示方法及电子设备
WO2022237414A1 (zh) 一种直播方法、装置、计算机设备及存储介质
JP2020527883A5 (zh)
CN114329179A (zh) 对象推荐方法以及装置
US10721388B2 (en) Video motion effect generation based on content analysis
TWI585592B (zh) 虛擬高清晰度視訊播放器
CN111367598B (zh) 动作指令的处理方法、装置、电子设备及计算机可读存储介质
EP3249935A1 (fr) Barre de navigation dans une pluralité de contenu videos

Legal Events

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

Ref document number: 17915828

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17915828

Country of ref document: EP

Kind code of ref document: A1