WO2021031909A1 - 数据内容的输出方法、装置、电子设备及计算机可读介质 - Google Patents

数据内容的输出方法、装置、电子设备及计算机可读介质 Download PDF

Info

Publication number
WO2021031909A1
WO2021031909A1 PCT/CN2020/108256 CN2020108256W WO2021031909A1 WO 2021031909 A1 WO2021031909 A1 WO 2021031909A1 CN 2020108256 W CN2020108256 W CN 2020108256W WO 2021031909 A1 WO2021031909 A1 WO 2021031909A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
environment
target data
output
terminal
Prior art date
Application number
PCT/CN2020/108256
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 WO2021031909A1 publication Critical patent/WO2021031909A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/44Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9536Search customisation based on social or collaborative filtering
    • 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
    • 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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/16Sound input; Sound output

Definitions

  • the present disclosure relates to the field of computer technology. Specifically, the present disclosure relates to a method, device, electronic device, and computer-readable medium for outputting data content.
  • Feed is a content aggregator that combines several news sources that users actively subscribe to to help users continuously obtain the latest feed content.
  • friends or followers are used as information sources, and the content is friends or followers.
  • the dynamics possibly simplified content and other social behaviors
  • friends or the friends post enough Frequently, users receive content continuously.
  • the content displayed by the terminal to the user is generally published by the user’s friends, following objects, or other matching users, that is, what kind of content the user’s friends, following objects, or other matching users publish, and what the terminal displays to the user is What kind of content, the display form of the content is relatively single, which cannot meet the diverse needs of users.
  • the first aspect of the present disclosure provides a method for outputting data content, the method including:
  • the content information of the target data and the environment information of the environment where the terminal is located determine the output effect corresponding to the content information and environment information
  • a data content output device which includes:
  • the transceiver module is configured to obtain target data corresponding to the first preview area when a playback trigger operation performed on the first preview area of the current application display page is detected;
  • the output effect determination module is used to determine the output effect corresponding to the content information and the environment information according to the content information of the target data and the environment information of the environment where the terminal is located;
  • the target data output module is used to output target data based on the output effect.
  • an electronic device which includes:
  • a computer program is stored in the memory
  • the processor is configured to execute any one of the methods in the first aspect when running a computer program.
  • a computer-readable medium on which a computer program is stored.
  • the program is executed by a processor, the method of any one of the first aspects is provided.
  • the present disclosure outputs target data
  • considering the content information of the target data itself can enhance the presentation effect of the content information
  • considering the environmental information of the environment where the terminal is located the presentation of the content information of the target data can match the actual environment, so it is based on the target
  • the content information of the data and the environmental information of the environment where the terminal is located are used to determine the output effect corresponding to the content information and environmental information, and output target data based on the output effect, so that the output effect matches the content information and environmental information, so that the user has
  • the immersive experience can ultimately allow users to experience the content information of the target data more immersively.
  • FIG. 1 is a schematic flowchart of a method for outputting data content provided by an embodiment of the disclosure
  • FIG. 2 is a schematic diagram of a scene of a method for outputting data content provided by an embodiment of the disclosure
  • FIG. 3 is a schematic structural diagram of a data content output device provided by an embodiment of the disclosure.
  • FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the disclosure.
  • first and second mentioned in the present disclosure are only used to distinguish devices, modules or units, and are not used to limit these devices, modules or units to be different devices, modules or units. Units are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
  • a friend or an object of interest is used as the information source.
  • One implementation method requires the user to pay attention to an object in one direction to obtain the dynamic (or content information) published by the object; one implementation method requires the user and the object to follow both directions In order to obtain the dynamic (or content information) released by the object; there is another way to achieve that does not require the user to actively follow the object, the platform corresponding to the application defaults that the user has already followed the object, and the platform can directly feedback to the user that the object is on the platform
  • the published dynamic (or content information) for example, some applications can automatically determine user preferences based on the user's browsing history and push relevant content information to the user.
  • the present disclosure provides a method for outputting data content.
  • the method can be executed by an electronic device.
  • the electronic device may be a terminal device, and the terminal device may be a desktop device or a mobile terminal.
  • the disclosure includes:
  • the current display page of the terminal device is divided into at least one preview area, and at least one preview area includes a first preview area. It is understandable that if the number of preview areas is one, the current display page is the first preview area. Wherein, the size of each preview area may be the same or different. For example, the first preview area is the first size, and the preview area corresponding to the target data uploaded by ordinary users of the application (including users in the present disclosure) is the first preview area. Two sizes, the first size and the second size are different sizes, and the first size may be larger than the second size.
  • the preview area is the display area of the data or cover formed based on the content information of the target data. Its purpose is to let the user have a preliminary understanding of the content information of the target data.
  • the target data is a video
  • the preview area can be that of the video. Display area for promotional posters.
  • Each preview area corresponds to one target data
  • the terminal device detects a playback trigger operation performed by the user corresponding to the terminal device on the first preview area, the terminal device obtains the target data corresponding to the first preview area.
  • the target data can be any of video data, image data, text data, and animation data.
  • each preview area of the terminal device can display the cover of the content information of the corresponding target data, and the cover can be a few frames of the content information of the target data.
  • the target data corresponding to the first preview area is generally an advertisement uploaded by an advertiser.
  • the terminal device When the terminal device detects a play trigger operation performed on the first preview area of the current application display page, it can acquire target data corresponding to the first preview area.
  • the play trigger operation may be a user's click operation on the first preview area.
  • One possible situation is that the user can click the first preview area according to preferences, and the terminal device receives the user's play trigger operation.
  • the playback trigger operation can be a user sliding operation, and the end position of the sliding operation is in the first preview area, for example, the user's finger slides on the application display interface , Slide to the current application display interface, and the end position of the sliding operation is located in the first preview area of the current application display interface, then the terminal device receives the user's play trigger operation.
  • the playback trigger operation can be the operation of the user sliding to the current application display interface, for example: the user follows the preset rules on the terminal interface Swiping, the application display page is switched every time a sliding operation is performed.
  • the terminal device receives the user's play trigger operation for the first preview area of the current application display page.
  • S102 Determine an output effect corresponding to the content information and the environment information according to the content information of the target data and the environment information of the environment in which the terminal device is located.
  • the content information of the target data refers to the specific content contained in the target data, such as image content, text content, and sound content in the video data.
  • the environmental information of the environment in which the terminal device is located refers to the environmental information of the physical environment in which the terminal device is currently located.
  • the terminal device determines the output effect corresponding to the content information and the environmental information, if the first output effect corresponding to the content information separately determined by the content information, and the second output effect corresponding to the environmental information separately determined by the environmental information
  • the output effects do not conflict or influence each other, then the output effects corresponding to the content information and the environmental information can include: the first output effect determined by the content information alone, and the second output determined by the environmental information alone At least one of the effects;
  • the output effects corresponding to the content information and the environmental information may include : The third output effect determined by the content information and the environmental information.
  • the effects may also include at least one of a fourth output effect determined solely by content information and a fifth output effect determined solely by environmental information.
  • the output effect can be called the output special effect.
  • the terminal device outputs the output special effect when outputting the target data, so that the output special effect can be presented in the application display page (for the specific situation of the target data, the meaning of the presentation can be It is the content information of the target data to be displayed or played.
  • the terminal device can automatically present the content information of the target data on the application display interface, or it can be the content information of the target data presented after manual operation by the user.
  • the content information of the target data can be presented in full screen.
  • outputting the target data based on the output effect can enhance the presentation effect of the content information when presenting the content information of the target data, for example, according to the image content, text content or sound in the video data
  • At least one item in the content determines the playback effect of the video, and can enhance the playback effect of the video.
  • the environment information of the terminal device is taken into account when determining the output effect in S102, the content information of the target data is matched with the actual environment, so that the user can have an immersive feeling when experiencing the content information.
  • Comprehensive consideration of content information and environmental information can enhance the user's immersive experience.
  • the method further includes: before detecting a playback trigger operation performed on the first preview area of the current application display page,
  • each preview area in the current application display page, and each preview area includes the first preview area
  • Obtaining the target data corresponding to the first preview area includes any of the following:
  • the above application display interface is divided into at least one preview area, and each preview area has corresponding target data.
  • the user performs a sliding operation on the application display interface of the terminal device to change the preview area displayed on the application display interface.
  • the operation can change all or part of the preview area displayed on the application display interface to change the corresponding target data.
  • the application display interface displays three preview areas corresponding to three small videos A, B, and C. Slide on the application display interface to display four preview areas corresponding to the four small videos of C, D, E, and F on the application display interface.
  • the terminal device When the terminal device detects that the user stops sliding on the application display page, it displays the corresponding preview areas in the current application display page. If the user wants to view the content information of the corresponding target data in the first preview area, the user is The first preview area executes the play trigger operation. As described above, the play trigger operation may be a user's click operation on the first preview area. The terminal device obtains the target data corresponding to the first preview area based on the user operation. The method of obtaining may be:
  • the terminal device can send a data acquisition request to the server.
  • the data acquisition request carries the identification information of the first preview area.
  • the identification information of determines the target data corresponding to the first preview area, and feeds back the target data to the terminal device.
  • the terminal device has received the video stream information sent by the server, that is, the terminal device itself stores the video stream information, the terminal device can directly extract the information corresponding to the identification information of the first preview area according to the user operation Target data.
  • the video stream may be a video stream published by a user or other users in the present disclosure in a feed scenario.
  • the identification information of the preview area may be an identification (Identification, ID) previously set by the terminal device or the server for the preview area, and the terminal device or the server can determine the corresponding target data according to the identification.
  • the environmental information of the environment where the terminal is located includes at least one of the geographic location of the terminal, the weather conditions of the environment where the terminal is located, and brightness information of the environment where the terminal is located;
  • the output effects corresponding to the content information and environmental information are determined, including:
  • the output special effects include rain special effects, snow special effects, lightning special effects, and hail special effects , At least one of wind speed effects, rainbow effects and thunder sound effects.
  • the geographic location of the environment where the terminal is located can be determined according to the Global Positioning System (GPS).
  • GPS Global Positioning System
  • the brightness information of the environment where the terminal is located is determined by the terminal device itself.
  • the weather conditions of the environment where the terminal is located can be determined by the terminal device itself or sent by the server to the terminal device.
  • the terminal device can determine the output special effect matching the weather condition according to the weather conditions of the environment in which it is located, so as to output the target data by fusing the output special effect when outputting the target data.
  • the output special effects may include at least one of rain special effects, snow special effects, lightning special effects, hail special effects, wind speed special effects, rainbow special effects and thunder sound effects.
  • rain special effect As an example, after the terminal device outputs the target data, When the content information of the target data is presented on the application display interface, it will be combined to present rain special effects. For example, when a video of someone drinking coffee is played, it can be combined with a raining scene. The same is based on different special effects or combinations of special effects when playing videos. It can also be matched with at least one of snow, lightning, hail, wind, rainbow, and thunder.
  • the wind speed special effect matching the weather condition is the wind speed special effect of a specific wind speed determined according to the wind speed of the actual environment.
  • the present disclosure presents the content information of the target data according to the weather information of the environment where the actual terminal is located, so that the user will have an immersive feeling when experiencing the content information of the target data, which enhances the user's immersive experience.
  • the environmental information of the environment in which the terminal is located includes brightness information of the environment in which the terminal is located, according to the content information of the target data and the environmental information of the environment in which the terminal is located, the information corresponding to the content information and the environmental information is determined
  • Output effects including:
  • the display brightness corresponding to the brightness information is determined.
  • the terminal device can determine the brightness information of its environment by itself, and determine the display brightness corresponding to the brightness information, so as to integrate the display brightness to output target data. After the target data is output, the content information of the target data is presented with the display brightness. If the external environment is brighter, the corresponding display brightness can be increased, otherwise, the display brightness can be reduced.
  • the present disclosure presents the content information of the target data in this way, can change the display brightness of the content information of the target data according to the brightness of the external environment, and display the content information of the target data with a more suitable display brightness, which enhances user experience.
  • determining the output effect corresponding to the content information and the environment information according to the content information of the target data and the environment information of the environment in which the terminal is located includes:
  • the output effect matching the target content information includes a sound special effect matching the image content in the video data.
  • the terminal device can determine the output special effect matching the target content information according to the target content information in the content information of the target data, and the target content information can be all or part of the content information of the target data.
  • the above-mentioned target data may be video data
  • the video data may include at least one item of content information among image content, text content, and sound content.
  • the target content information is image content in the video data
  • the terminal device can determine what matches the image content Sound special effects to enhance the display effect of the video.
  • a promotion advertisement of a brand car the content is that the car is driving through a tunnel.
  • the terminal device configures the sound special effect of the car driving through the tunnel according to the image of the car and the tunnel.
  • the target content information is the sound content in the video data
  • the terminal device can recognize the sound when playing the video and configure the text corresponding to the content expressed by the sound.
  • the terminal device may also determine whether to output the target data with a 2D effect or to output the target data with a 3D effect according to the content information of the target data.
  • outputting the target data in combination with the content information of the target data can enhance the display effect of the target data and enhance the user's immersive experience.
  • the terminal device may also be combined with the geographic location of the environment where the terminal is located.
  • the user corresponding to the current terminal is at a certain scenic spot (such as a cherry blossom viewing spot, waterfall, etc.), and the terminal device may combine with the location of the scenic spot.
  • a certain scenic spot such as a cherry blossom viewing spot, waterfall, etc.
  • the terminal device may combine with the location of the scenic spot.
  • the method before determining the output effect corresponding to the content information and the environment information according to the content information of the target data and the environment information of the environment in which the terminal is located, the method further includes:
  • the output effect corresponding to the content information and environment information including:
  • the user portrait includes at least one of user attributes, user preferences, and user historical operation information.
  • the user portrait of the user can also be considered when determining the output effect, and the corresponding output effect is jointly determined according to the three factors of content information, environmental information, and user portrait.
  • the target data is output based on the output effect, namely To determine the corresponding output effect output target data based on these three factors.
  • the common The determined output effect may separately include the output effect corresponding to the user portrait determined by the user portrait.
  • the user portrait can be obtained according to the user's browsing record on the terminal device, for example, the type of the browsed video, the search keyword, etc. If the user portrait includes the user's historical operation information, and the historical operation information is related to the user's use of music applications on the terminal device, then the output effect includes music special effects, which are used to indicate the output of the target data content information when fusion output related records Record the corresponding music so that the music can be played when the content information of the target data is presented; if the user portrait includes user attributes, the music that matches the user attributes can be determined based on the user attributes, for example, if the user’s gender is female, it can be played for the user For soft music, the output effect includes the music special effects corresponding to the soft music; if the user portrait includes user preferences, the user preference can be the user's favorite or downloaded music, and the output effects include the music special effects corresponding to the user's favorite or downloaded music, and the output target The special effect of outputting music during data fusion can play the music that
  • determining the output target data for special effects in combination with the user portrait can make the content information of the presented target data more in line with user preferences, and enhance the user's immersive experience.
  • outputting target data based on an output effect includes:
  • the target special effect corresponding to the output target special effect option is merged.
  • the output effect corresponding to the content information determined by the content information of the target data, the output effect corresponding to the environment information determined by the environment information of the terminal's environment, and the output effect corresponding to the user portrait determined by the user portrait Will not affect each other, that is, the output effects determined by these three factors are different types of output effects, and the output effects (or output special effects) determined by each factor can be one or more.
  • the terminal device does not obtain a matching output effect based on certain factors. For example, after the terminal device analyzes the video content, it finds that it can directly use the video obtained from the server or its own storage space, and the number of subsequent special effect options may be one.
  • the three factors or the output effect determined by the content information and the environment information corresponds to at least one special effect option.
  • At least one special effect option is displayed on the terminal application display interface. The user clicks the target special effect option, and the terminal device receives it.
  • the terminal device can merge the target special effect corresponding to the output target special effect option when outputting the target data, so as to present the content information of the target data in the form of the target special effect.
  • the number of target special effects selected by the user is not limited.
  • the user can select all the special effects in the special effect options, or select some special effects.
  • the output special effects include rain special effects, music special effects, and sound special effects corresponding to the image, and the user can only select the rain special effects.
  • the played video can be stopped after the terminal device receives the user's play stop operation, and the play stop operation can be that the user swipes away or jumps unconsciously.
  • the page can also be any non-immersive operation such as the user clicking on the video being played, or the user shaking the terminal device.
  • stopping the video playback can be stopped when the specified duration of the video ends or the video ends.
  • the present disclosure can be used in a feed scenario.
  • the target data is the data in the feed data stream.
  • feed stream video preview areas displayed on the application display page.
  • the user selects one of the feed stream video preview areas (that is, the above-mentioned first preview area) according to preference, and the terminal device obtains the feed stream video according to the user selection The video data corresponding to the preview area.
  • the terminal device performs background processing of the video data, specifically: determining one or more special effects based on the content information of the video data itself and the environment information of the environment where the terminal is located, for example, the video content is someone drinking coffee, and the environment information indicates that the weather is light rain. It can correspond to the configured rain effects.
  • the rain effects include the sound of rain, the special effects of rain, etc., then combined with the rain effects, the video content of someone drinking coffee in the rain is presented to the user; the terminal device also combines the video content For example, when the user pours coffee, the sound of the coffee is configured to enhance the video presentation effect; the terminal device can also obtain the brightness information in the current environment.
  • the display brightness of the video can be correspondingly enhanced , On the contrary, it can reduce the display brightness of the video; at the same time, it can also be combined with the user's music recording when presenting the video content, and play the background music suitable for listening to the music record when drinking coffee on a rainy day.
  • the terminal device can display rain special effects, sound special effects, display brightness, and special effect options of the music special effects corresponding to the above background music to the user.
  • the user can select special effects.
  • the terminal device can play the video according to the user's selection.
  • the video playback can be received It can be played manually by the user, or it can be played automatically after the user selects the special effect or the scene that does not require the user to select the special effect after the terminal device determines the special effect.
  • Fig. 3 is a schematic structural diagram of a data content output device provided by another embodiment of the present disclosure. As shown in Fig. 3, the device of the embodiment of the present disclosure may include:
  • the transceiver module 301 is configured to obtain target data corresponding to the first preview area when a playback trigger operation performed on the first preview area of the current application display page is detected;
  • the output effect determination module 302 is configured to determine the output effect corresponding to the content information and the environment information according to the content information of the target data and the environment information of the environment where the terminal is located;
  • the target data output module 303 is configured to output target data based on the output effect.
  • the device before detecting a play trigger operation performed on the first preview area of the current application display page, the device further includes:
  • the display module is configured to display each preview area in the current application display page when the user's stop operation for sliding on the application display page is detected, and each preview area includes the first preview area;
  • the transceiver module obtains the target data corresponding to the first preview area, it is specifically configured to perform at least one of the following operations:
  • the environmental information of the environment where the terminal is located includes at least one of the geographic location of the terminal, weather conditions of the environment where the terminal is located, and brightness information of the environment where the terminal is located;
  • the output effect determination module 302 determines the output effect corresponding to the content information and environmental information based on the content information of the target data and the environmental information of the environment where the terminal is located When, specifically used for:
  • the output special effects include rain special effects, snow special effects, lightning special effects, and hail special effects , At least one of wind speed effects, rainbow effects and thunder sound effects.
  • the output effect determination module 302 determines the corresponding content information and environment information based on the content information of the target data and the environment information of the environment where the terminal is located.
  • the output effect is specifically used for:
  • the display brightness corresponding to the brightness information is determined.
  • the output effect determination module 302 is specifically used for determining the output effect corresponding to the content information and the environment information according to the content information of the target data and the environment information of the environment in which the terminal is located:
  • the output effect matching the target content information includes a sound special effect matching the image content in the video data.
  • the transceiver module 301 is further configured to:
  • the output effect determination module 302 is specifically used for determining the output effect corresponding to the content information and the environment information according to the content information of the target data and the environment information of the environment in which the terminal is located:
  • the user portrait includes at least one of user attributes, user preferences, and user historical operation information.
  • the target data output module 303 when the target data output module 303 outputs target data based on the output effect, it is specifically used to:
  • the target special effect corresponding to the output target special effect option is merged.
  • FIG. 4 shows a schematic structural diagram of an electronic device (such as the terminal device in FIG. 1) 600 suitable for implementing embodiments of the present disclosure.
  • the terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 4 is only an example, and should not bring any limitation to the function and use range of the embodiments of the present disclosure.
  • the electronic device includes a memory and a processor.
  • the processor here may be referred to as the processing device 601 below, and the memory may include a read-only memory (ROM) 602, a random access memory (RAM) 603, and a storage device 608 below.
  • ROM read-only memory
  • RAM random access memory
  • storage device 608 At least one item of, as follows:
  • the electronic device 600 may include a processing device (such as a central processing unit, a graphics processor, etc.) 601, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 602 or from a storage device 608.
  • the program in the memory (RAM) 603 executes various appropriate actions and processing.
  • the RAM 603 also stores various programs and data required for the operation of the electronic device 600.
  • the processing device 601, ROM 602, and RAM 603 are connected to each other through a bus 604.
  • An input/output (I/O) interface 605 is also connected to the bus 604.
  • the following devices can be connected to the I/O interface 605: including input devices 606 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 607 such as a device; a storage device 608 such as a magnetic tape and a hard disk;
  • the communication device 609 may allow the electronic device 600 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 4 shows an electronic device 600 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602.
  • the processing device 601 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the aforementioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can communicate with any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future research and development network of.
  • LAN local area networks
  • WAN wide area networks
  • the Internet e.g., the Internet
  • end-to-end networks e.g., ad hoc end-to-end networks
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs.
  • the electronic device When the above-mentioned one or more programs are executed by the electronic device, the electronic device: When detecting a playback trigger operation performed on the first preview area of the current application display page When, obtain the target data corresponding to the first preview area; determine the output effect corresponding to the content information and the environment information according to the content information of the target data and the environment information of the environment where the terminal is located; output the target data based on the output effect.
  • the computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the modules or units involved in the described embodiments of the present disclosure can be implemented in software or hardware. Wherein, the name of the module or unit does not constitute a limitation on the unit itself under certain circumstances.
  • the transceiver module can also be described as "a module for obtaining target data corresponding to the first preview area".
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on Chip
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium, which may contain or store a program for use by or in combination with the instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
  • machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM portable compact disk read only memory
  • magnetic storage device or any suitable combination of the above.
  • a method for outputting data content including:
  • the content information of the target data and the environment information of the environment where the terminal is located determine the output effect corresponding to the content information and environment information
  • the method before detecting a playback trigger operation performed on the first preview area of the current application display page, the method further includes:
  • each preview area in the current application display page, and each preview area includes the first preview area
  • Obtaining the target data corresponding to the first preview area includes any of the following:
  • the environmental information of the environment where the terminal is located includes at least one of the geographic location of the terminal, weather conditions of the environment where the terminal is located, and brightness information of the environment where the terminal is located;
  • the output effect corresponding to the content information and environmental information is determined, including:
  • the output special effects include rain special effects, snow special effects, lightning special effects, and hail special effects , At least one of wind speed effects, rainbow effects and thunder sound effects.
  • determining the output effect corresponding to the content information and the environment information according to the content information of the target data and the environment information of the environment where the terminal is located includes:
  • the display brightness corresponding to the brightness information is determined.
  • determining the output effect corresponding to the content information and the environment information includes:
  • the output effect matching the target content information includes a sound special effect matching the image content in the video data.
  • the method before determining the output effect corresponding to the content information and the environment information according to the content information of the target data and the environment information of the environment in which the terminal is located, the method further includes:
  • the output effect corresponding to the content information and environment information including:
  • the user portrait includes at least one of user attributes, user preferences, and user historical operation information.
  • output target data based on output effects including:
  • the target special effect corresponding to the output target special effect option is merged.
  • a data content output device which includes:
  • the transceiver module is configured to obtain target data corresponding to the first preview area when a playback trigger operation performed on the first preview area of the current application display page is detected;
  • the output effect determination module is used to determine the output effect corresponding to the content information and the environment information according to the content information of the target data and the environment information of the environment where the terminal is located;
  • the target data output module is used to output target data based on the output effect.
  • the device before detecting a play trigger operation performed on the first preview area of the current application display page, the device further includes:
  • the display module is configured to display each preview area in the current application display page when the user's stop operation for sliding on the application display page is detected, and each preview area includes the first preview area;
  • the transceiver module obtains the target data corresponding to the first preview area, it is specifically configured to perform at least one of the following operations:
  • the environmental information of the environment where the terminal is located includes at least one of the geographic location of the terminal, weather conditions of the environment where the terminal is located, and brightness information of the environment where the terminal is located;
  • the output effect determination module determines the output effect corresponding to the content information and environmental information based on the content information of the target data and the environmental information of the environment where the terminal is located, Specifically used for:
  • the output special effects include rain special effects, snow special effects, lightning special effects, and hail special effects , At least one of wind speed effects, rainbow effects and thunder sound effects.
  • the output effect determination module determines the content information and environment information corresponding to the content information and environment information based on the content information of the target data and the environment information of the environment where the terminal is located.
  • the display brightness corresponding to the brightness information is determined.
  • the output effect determination module is specifically used to determine the output effect corresponding to the content information and the environment information according to the content information of the target data and the environment information of the environment in which the terminal is located:
  • the output effect matching the target content information includes a sound special effect matching the image content in the video data.
  • the transceiver module before determining the output effect corresponding to the content information and environment information based on the content information of the target data and the environment information of the environment where the terminal is located, the transceiver module is also used for:
  • the user portrait includes at least one of user attributes, user preferences, and user historical operation information.
  • the target data output module when the target data output module outputs target data based on the output effect, it is specifically used to:
  • the target special effect corresponding to the output target special effect option is merged.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种数据内容的输出方法、装置、电子设备及计算机可读介质。该方法包括:当检测到针对当前应用展示页面的第一预览区域执行的播放触发操作时,获取第一预览区域对应的目标数据(S101);根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果(S102);基于输出效果输出目标数据(S103)。该方法输出目标数据时考虑了终端所在环境的环境信息,可以使目标数据的内容信息的呈现与实际环境相匹配,从而让用户有更加沉浸式的体验。

Description

数据内容的输出方法、装置、电子设备及计算机可读介质
相关申请的交叉引用
本公开要求于2019年8月19日在中国国家知识产权局提交的申请号为CN 201910765709.3的中国专利申请的权益,其全部内容通过引用整体并入本文。
技术领域
本公开涉及计算机技术领域,具体而言,本公开涉及一种数据内容的输出方法、装置、电子设备及计算机可读介质。
背景技术
Feed是将用户主动订阅的若干消息源组合在一起形成内容聚合器,帮助用户持续地获取最新的订阅源内容,feed场景下将好友或者关注的对象作为信息源,而内容即是好友或关注对象的动态(发布的内容以及其他的社交行为),也可以将根据用户画像确定相匹配的其他用户作为信息源,向用户推送来自相匹配的信息源的内容,当好友足够多或者好友发布动态足够频繁时,用户能源源不断的收到内容。
终端向用户展示的内容一般就是该用户的好友、关注对象或相匹配的其他用户发布的,即用户的好友、关注对象或相匹配的其他用户发布的是何种内容,终端向用户展示的就是何种内容,内容的展示形式比较单一,无法满足用户多样化的需求。
发明内容
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
本公开第一方面,提供了一种数据内容的输出方法,该方法包括:
当检测到针对当前应用展示页面的第一预览区域执行的播放触发操作时,获取第一预览区域对应的目标数据;
根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果;
基于输出效果输出目标数据。
本公开第二方面,提供了一种数据内容的输出装置,该装置包括:
收发模块,用于当检测到针对当前应用展示页面的第一预览区域执行的播放触发操作时,获取第一预览区域对应的目标数据;
输出效果确定模块,用于根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果;
目标数据输出模块,用于基于输出效果输出目标数据。
本公开第三方面,提供了一种电子设备,该电子设备包括:
存储器和处理器;
存储器中存储有计算机程序;
处理器,用于在运行计算机程序时执行第一方面中任一项的方法。
本公开第四方面,提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时第一方面中任一项的方法。
本公开提供的技术方案带来的有益效果是:
本公开输出目标数据时,考虑目标数据的内容信息本身的内容可以增强内容信息的呈现效果,考虑终端所处环境的环境信息可以使目标数据的内容信息的呈现与实际环境相匹配,故而基于目标数据的内容信息和终端所处环境的环境信息,来确定与内容信息和环境信息对应的输出效果,并基于输出效果输出目标数据,使得输出效果与内容信息和环境信息均匹配,从而让用户有身临其境的感受,最终可以让用户更加沉浸式地体验目标数据的内容信息。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开实施例提供的一种数据内容的输出方法的流程示意图;
图2为本公开实施例提供的一种数据内容的输出方法的场景示意图;
图3为本公开实施例提供的一种数据内容的输出装置的结构示意图;
图4为本公开实施例提供的一种电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本 公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对装置、模块或单元进行区分,并非用于限定这些装置、模块或单元一定为不同的装置、模块或单元,也并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
为了更好的对本公开实施例中的方案进行说明,下面首先对本公开涉及的相关技术术语进行介绍和解释:
Feed场景下将好友或者关注的对象作为信息源,一种实现方式是需要用户单向关注某一对象即可获取该对象发布的动态(或内容信息);一种实现方式需要用户与对象双向关注才能获取该对象发布的动态(或内容信息);还有一种实现方式是不需要用户主动关注对象,应用程序对应的平台默认用户已经关注了该对象,平台可以直接向用户反馈该对象在平台上发布的动态(或内容信息),例如某些应用程序可以根据用户的浏览记录自动判断用户偏好并向用户推送相关的内容信息。
下面以具体地实施例对本公开的技术方案以及本公开的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结 合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本公开的实施例进行描述。
请参照图1,本公开提供了一种数据内容的输出方法,该方法具体可以由电子设备执行,该电子设备可以是终端设备,该终端设备可以是台式设备或者移动终端,本公开包括:
S101:当检测到针对当前应用展示页面的第一预览区域执行的播放触发操作时,获取第一预览区域对应的目标数据;
终端设备的当前展示页面被划分为至少一个预览区域,至少一个预览区域中包括第一预览区域,可以理解的是,如果预览区域个数为一个,当前展示页面中即为第一预览区域。其中,每个预览区域的尺寸大小可以相同,也可以不同,例如第一预览区域为第一尺寸,使用应用程序的普通用户(包括本公开中的用户)上传的目标数据对应的预览区域为第二尺寸,第一尺寸和第二尺寸为不同的尺寸,第一尺寸可以大于第二尺寸。
预览区域是基于目标数据的内容信息所形成的数据或封面的展示区域,其目的是让用户对目标数据的内容信息有一个初步的了解,例如目标数据为一段视频,预览区域可以为该视频的宣传海报的展示区域。
每个预览区域一一对应有一个目标数据,当终端设备检测到该终端设备对应的用户针对第一预览区域执行的播放触发操作时,终端设备获取第一预览区域对应的目标数据。目标数据可以为视频数据、图像数据、文字数据、以及动图数据中任一项。
若目标数据是视频数据,基于上述关于预览区域的解释,终端设备每个预览区域中都可以展示有对应的目标数据的内容信息的封面,该封面可以是目标数据的内容信息的某几帧画面。
示例性的,第一预览区域对应的目标数据一般为广告商上传的广告。
当终端设备检测到针对当前应用展示页面的第一预览区域执行的播放触发操作时,可以获取第一预览区域对应的目标数据。作为一个示例,播放触发操作可以是用户针对第一预览区域的点击操作,一种可能的情况是:用户根据偏好可以点击第一预览区域,终端设备即接收到用户的播放触发操作。
作为一个示例,如果预览区域的个数有两个或两个以上,播放触发操作可以是用户滑动操作,且该滑动操作的结束位置位于第一预览区域,例如,用户手指在应用展示界面上滑动,滑动到当前应用展示界面,且滑动 操作的结束位置位于当前应用展示界面的第一预览区域,则终端设备即接收到用户的播放触发操作。
作为一个示例,如果预览区域的个数为一个,即当前展示页面即为第一预览区域,播放触发操作可以是用户滑动到当前应用展示界面的操作,例如:用户在终端界面上按照预置规则滑动,每执行一次滑动操作就切换一次应用展示页面,当用户滑动到当前应用展示页面并结束滑动操作时,终端设备接收到用户针对当前应用展示页面的第一预览区域的播放触发操作。
S102:根据目标数据的内容信息和终端设备所处环境的环境信息,确定与内容信息和环境信息对应的输出效果。
目标数据的内容信息指的是目标数据所包含的具体内容,例如视频数据中的图像内容、文字内容和声音内容等等。终端设备所处环境的环境信息是指终端设备当前所处物理环境的环境信息。
示例性的:终端设备确定与内容信息和该环境信息对应的输出效果,如果由内容信息单独确定的与内容信息对应的第一输出效果、和由环境信息单独确定的与环境信息对应的第二输出效果之间不相冲突或者不会相互影响,那么与内容信息和该环境信息对应的输出效果中可以包括:由内容信息单独确定的第一输出效果、以及由环境信息单独确定的第二输出效果中至少一项;
示例性的:如果由内容信息确定的与内容信息对应的输出效果、和由环境信息确定的与环境信息对应的输出效果之间存在相互影响,与内容信息和环境信息对应的输出效果中可以包括:由内容信息和环境信息共同确定的第三输出效果,当然如果两者只有部分输出效果相互影响,即两者还有部分输出效果不会相互影响,那么与内容信息和该环境信息对应的输出效果中除包括第三输出效果外还可以包括:由内容信息单独确定的第四输出效果、以及由环境信息单独确定的第五输出效果中至少一项。
S103:基于输出效果输出目标数据。
输出效果可以称为输出特效,终端设备根据输出特效,在输出目标数据时融合输出该输出特效,以便于在应用展示页面以该输出特效的方式呈现(针对目标数据的具体情况,呈现的含义可以是展示或播放)目标数据的内容信息。
输出目标数据后,终端设备可以在应用展示界面上自动呈现该目标数 据的内容信息,也可以是用户手动操作后呈现目标数据的内容信息。目标数据的内容信息可以全屏呈现。
由于S102中确定输出效果时考虑到了目标数据的内容信息,基于输出效果输出目标数据可以在呈现该目标数据内容信息时增强内容信息的呈现效果,例如根据视频数据中的图像内容、文字内容或声音内容中至少一项确定视频的播放效果,可以增强视频的播放效果。同时由于S102中确定输出效果时考虑到了终端设备的所处的环境信息,以使目标数据的内容信息的呈现与实际环境相匹配,这样用户体验内容信息时可以有身临其境的感觉,最终综合考虑内容信息与环境信息可以增强用户的沉浸式体验。
本公开的可选实施例中,该方法还包括:在检测到针对当前应用展示页面的第一预览区域执行的播放触发操作之前,
当检测到用户针对应用展示页面的滑动的停止操作时,显示当前应用展示页面中的各个预览区域,各个预览区域中包括第一预览区域;
获取第一预览区域对应的目标数据包括以下任一项:
向服务器发送包括第一预览区域的标识信息的数据获取请求,并接收服务器反馈的与第一预览区域的标识信息对应的目标数据;
从已接收到的视频流信息中提取与第一预览区域的标识信息对应的目标数据。
如上述应用展示界面被划分为至少一个预览区域,每个预览区域有对应的目标数据,用户通过在终端设备的应用展示界面执行滑动操作,来改变应用展示界面上展示的预览区域,每一次滑动操作可以改变应用展示界面上展示的全部或部分预览区域,以此来改变对应的目标数据,例如应用展示界面分别展示有对应A、B、以及C三个小视频的三个预览区域,用户在应用展示界面上滑动,使应用展示界面上分别展示有对应C、D、E以及F四个小视频的四个预览区域。
当终端设备检测到用户针对应用展示页面的滑动的停止操作时,在当前应用展示页面中展示对应的各个预览区域,如果用户想要观看第一预览区域中对应的目标数据的内容信息,用户针对第一预览区域执行播放触发操作,如上述,播放触发操作可以是用户针对第一预览区域的点击操作,终端设备基于用户操作获取第一预览区域对应的目标数据,获取的方式可以是:
一种可能的情况是,如果终端设备没有接收到服务器发送的视频流信息,终端设备可以向服务器发送数据获取请求,数据获取请求中携带有第一预览区域的标识信息,服务器根据第一预览区域的标识信息确定第一预览区域对应的目标数据,并向终端设备反馈该目标数据。另一种可能的情况是,终端设备已接收到了服务器发送的视频流信息,即终端设备中本身存储有视频流信息,则终端设备可以根据用户操作直接提取与第一预览区域的标识信息对应的目标数据。
视频流可以为feed场景下本公开中用户或其他用户发布的视频流。预览区域的标识信息可以是终端设备或服务器事先为预览区域设置的身份标识(Identification,ID),依据该身份标识终端设备或服务器可以确定对应的目标数据。
本公开的可选实施例中,终端所处环境的环境信息包括终端的地理位置、终端所处环境的天气状况、以及终端所处环境的亮度信息中至少一项;
当终端所处环境的环境信息包括终端所处环境的天气状况时,根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果,包括:
根据目标数据的内容信息和终端所处环境的天气状况,确定用于在目标数据中融合输出的与天气状况相匹配的输出特效,输出特效包括下雨特效、下雪特效、闪电特效、冰雹特效、风速特效、彩虹特效及打雷声效中的至少一项。
终端所在环境的地理位置可以根据全球定位***(Global Positioning System,GPS)确定。终端所处环境的亮度信息由终端设备自己确定。终端所处环境的天气状况可以由终端设备自己确定也可以有服务器发送给终端设备。
终端设备可以根据自身所处环境的天气状况,确定与天气状况相匹配的输出特效,从而在输出目标数据时,融合该输出特效输出目标数据。
该输出特效可以包括下雨特效、下雪特效、闪电特效、冰雹特效、风速特效、彩虹特效及打雷声效中的至少一项,以输出特效为下雨特效为例,终端设备输出目标数据后,在应用展示界面上呈现目标数据的内容信息时会融合呈现下雨特效,例如播放某人喝咖啡的一段视频时可以搭配下雨的场景,同样的基于不同特效或特效组合,在播放视频时搭配时也可以搭配下雪、闪电、冰雹、刮风、彩虹及打雷等场景中至少一项。其中,可以理 解的是,与天气状况相匹配的风速特效为依据实际环境的风速确定的特定风速的风速特效。
可见,本公开根据实际终端所在环境的天气信息来呈现目标数据的内容信息,这样用户在体验目标数据的内容信息时会有身临其境的感觉,增强了用户的沉浸式体验。
本公开的可选实施例中,当终端所处环境的环境信息包括终端所处环境的亮度信息,根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果,包括:
根据目标数据的内容信息和终端所处环境的亮度信息,确定与亮度信息对应的显示亮度。
终端设备可以自己确定其所在环境的亮度信息,确定该亮度信息对应的显示亮度,以便融合该显示亮度来输出目标数据,输出目标数据后该目标数据的内容信息即以该显示亮度来呈现。如果外界环境偏亮,对应的显示亮度可以增大,反之减小显示亮度。
本公开按照这种方式来呈现目标数据的内容信息,可以依据外部环境的亮度来改变目标数据的内容信息的显示亮度,以更加合适的显示亮度显示目标数据内容信息,增强了用户体验。
本公开的可选实施例中,根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果,包括:
根据目标数据的内容信息中的目标内容信息和终端所处环境的环境信息,确定与目标内容信息相匹配的输出效果;
其中,若目标数据包括视频数据,则与目标内容信息相匹配的输出效果包括与视频数据中的图像内容相匹配的声音特效。
终端设备根据目标数据的内容信息中的目标内容信息,可以确定与目标内容信息相匹配的输出特效,目标内容信息可以为目标数据的全部或部分内容信息。
如上述目标数据可以为视频数据,视频数据可以包括图像内容、文字内容和声音内容中至少一项内容信息,若目标内容信息为视频数据中的图像内容,终端设备可以确定与图像内容相匹配的声音特效,以便增强视频的显示效果,例如一个品牌汽车的推广广告,内容为汽车驶过隧道,为了增强广告的显示效果,终端设备根据汽车、隧道等图像,配置汽车驶过隧道的声音特效。再例如若目标内容信息为视频数据中的声音内容,终端设 备可以识别声音在播放视频时配置与声音所表达的内容相对应的文字。
当然,终端设备也可以根据目标数据的内容信息来确定是以2D效果来输出目标数据,还是以3D效果来输出目标数据。
在本实施例中,结合目标数据本身的内容信息输出目标数据,可以增强目标数据的显示效果,增强用户的沉浸式体验。
本公开的可选实施例中,终端设备还可以结合终端所在环境的地理位置,例如当前终端对应的用户处于某个风景点(如樱花观赏地、瀑布等),终端设备可以结合该风景点的特点,确定输出效果,结合输出特效输出目标数据。例如终端当前处于樱花观赏地,播放视频时可以配置樱花落下的特效,可以增强用户的沉浸式体验。
本公开的可选实施例中,根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果之前,该方法还包括:
获取用户的用户画像;
根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果,包括:
根据目标数据的内容信息、终端所处环境的环境信息以及用户画像,确定相应的输出效果;
其中,用户画像包括用户属性、用户偏好及用户历史操作信息中的至少一项。
在本实施例中,确定输出效果时还可以考虑用户的用户画像,根据内容信息、环境信息以及用户画像这三种因素,共同确定相应的输出效果,上述步骤S103中基于输出效果输出目标数据即为基于这三因素共同确定相应的输出效果输出目标数据。
同样的,如果由用户画像确定的与用户画像对应的输出效果、和由另外两种因素分别确定的与另外两种因素对应的输出效果中任一输出效果之间均不会相互影响,那么共同确定的输出效果中可以单独包括由用户画像确定的与用户画像对应的输出效果。
需要说明的是,用户画像可以根据用户在终端设备上的浏览记录获取到,比如,浏览视频的类型、搜索的关键词等。若用户画像包括用户历史操作信息,历史操作信息为用户在终端设备上使用音乐类应用程序的相关记录,则输出效果中包括音乐特效,该音乐特效用于指示输出目标数据内 容信息时融合输出相关记录对应的音乐,以便在呈现目标数据的内容信息时播放该音乐;若用户画像包括用户属性,可以基于用户属性确定与用户属性相匹配的音乐,例如用户的性别为女,可以为该用户播放柔和的音乐,输出效果中包括柔和音乐对应的音乐特效;若用户画像包括用户偏好,用户偏好可以是用户收藏或下载的音乐,输出效果中包括用户收藏或下载的音乐对应的音乐特效,输出目标数据时融合输出音乐特效可以向用户播放用户收藏或下载的音乐。
在本实施例中,结合用户画像确定输出特效输出目标数据,可以使呈现的目标数据的内容信息更加符合用户偏好,增强了用户的沉浸式体验。
本公开的可选实施例中,基于输出效果输出目标数据,包括:
显示输出效果对应的至少一个特效选项;
接收用户针对至少一个特效选项中目标特效选项的选择操作;
输出目标数据时融合输出目标特效选项对应的目标特效。
一般情况下,由目标数据的内容信息确定的内容信息对应的输出效果、由终端所处环境的环境信息确定的与环境信息对应的输出效果、以及由用户画像确定的与用户画像对应的输出效果,不会相互影响,即这三种因素确定的输出效果为不同类型的输出效果,各因素确定的输出效果(或输出特效)可以是一个或多个,当然一种可能的情况是上述三种因素中终端设备基于某些因素并没有得到匹配的输出效果,例如终端设备解析视频内容后发现可以直接使用从服务器或自身存储空间获取的视频,进而后续特效选项的个数可以是一个。
由上述可得,这三种因素或由内容信息和环境信息共同确定的输出效果对应有至少一个特效选项,在终端应用展示界面上展示至少一个特效选项,用户点击目标特效选项,终端设备即接收到用户针对至少一个特效选项中目标特效选项的选择操作,终端设备输出目标数据时可以融合输出目标特效选项对应的目标特效,以便于以目标特效的方式呈现目标数据的内容信息。
用户所选择的目标特效的个数不做限定,用户可以选择特效选项中所有的特效,也可以选择部分特效。例如输出特效包括下雨特效、音乐特效、以及图像对应的声音特效,用户可以只选择下雨特效。
需要说明的是,在本公开的可选实施例中,对于视频数据,播放的视 频可以在终端设备接收到用户的播放停止操作后停止,播放停止操作可以是用户无意识地划走或跳转其他页面,也可以是用户点击正在播放的视频、或用户晃动终端设备等任何代表非沉浸的操作,当然停止播放视频可以在该视频的指定时长结束或该视频播完时停止。
本公开可以用于feed场景下,目标数据为feed数据流中的数据,基于上述对本公开一种数据内容的输出方法的论述,下面请参照图2,结合具体的应用场景对本公开的方案进行详细说明。
用户打开应用程序后,应用展示页面中展示有6个feed流视频预览区域,用户根据偏好选择其中一个feed流视频预览区域(即上述第一预览区域),终端设备依据用户选择获取该feed流视频预览区域对应的视频数据。
终端设备将视频数据进行后台处理,具体为:根据视频数据本身的内容信息以及终端所处环境的环境信息确定一个或多个特效,例如视频内容为某人喝咖啡,环境信息指示天气为小雨,则可以对应配置的下雨特效,下雨特效包括下雨声、下雨的特效画面等,那么结合下雨特效向用户呈现的就是某人在雨中喝咖啡的视频内容;终端设备还结合视频中的图像,例如在用户倒咖啡是配置倒咖啡的水流声,增强视频呈现效果;终端设备还可以获取当前环境中的亮度信息,如果当前终端所处环境偏亮,则可以对应增强视频的显示亮度,反之可以降低视频的显示亮度;同时,还可以结合用户听音乐的记录在呈现视频内容时,播放音乐记录中下雨天喝咖啡时适合听的背景音乐。
终端设备可以将下雨特效、声音特效、显示亮度以及上述背景音乐对应的音乐特效的特效选项向用户展示,用户可以选择特效,终端设备依据用户的选择来播放视频,视频的播放可以在接收到用户手动播放,也可以在用户选择完特效或对于不需要用户选择特效的场景可以在终端设备确定好特效之后自动播放。
图3为本公开又一实施例提供的一种数据内容的输出装置的结构示意图,如图3所示,本公开实施例的装置可以包括:
收发模块301,用于当检测到针对当前应用展示页面的第一预览区域执行的播放触发操作时,获取第一预览区域对应的目标数据;
输出效果确定模块302,用于根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果;
目标数据输出模块303,用于基于输出效果输出目标数据。
可选的,检测到针对当前应用展示页面的第一预览区域执行的播放触发操作之前,该装置还包括:
显示模块,用于当检测到用户针对应用展示页面的滑动的停止操作时,显示当前应用展示页面中的各个预览区域,各个预览区域中包括第一预览区域;
收发模块在获取第一预览区域对应的目标数据时,具体用于执行以下至少一项操作:
向服务器发送包括第一预览区域的标识信息的数据获取请求,并接收服务器反馈的与第一预览区域的标识信息对应的目标数据;
从已接收到的视频流信息中提取与第一预览区域的标识信息对应的目标数据。
可选的,终端所处环境的环境信息包括终端的地理位置、终端所处环境的天气状况、以及终端所处环境的亮度信息中至少一项;
当终端所处环境的环境信息包括终端所处环境的天气状况,输出效果确定模块302,在根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果时,具体用于:
根据目标数据的内容信息和终端所处环境的天气状况,确定用于在目标数据中融合输出的与天气状况相匹配的输出特效,输出特效包括下雨特效、下雪特效、闪电特效、冰雹特效、风速特效、彩虹特效及打雷声效中的至少一项。
可选的,当终端所处环境的环境信息包括终端所处环境的亮度信息,输出效果确定模块302在根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果时,具体用于:
根据目标数据的内容信息和终端所处环境的亮度信息,确定与亮度信息对应的显示亮度。
可选的,输出效果确定模块302,在根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果时,具体用于:
根据目标数据的内容信息中的目标内容信息和终端所处环境的环境信息,确定与目标内容信息相匹配的输出效果;
其中,若目标数据包括视频数据,则与目标内容信息相匹配的输出效 果包括与视频数据中的图像内容相匹配的声音特效。
可选的,输出效果确定模块302在根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果之前,收发模块301,还用于:
获取用户的用户画像;
输出效果确定模块302,在根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果时,具体用于:
根据目标数据的内容信息、终端所处环境的环境信息以及用户画像,确定相应的输出效果;
其中,用户画像包括用户属性、用户偏好及用户历史操作信息中的至少一项。
可选的,目标数据输出模块303在基于输出效果输出目标数据时,具体用于:
显示输出效果对应的至少一个特效选项;
接收用户针对至少一个特效选项中目标特效选项的选择操作;
输出目标数据时融合输出目标特效选项对应的目标特效。
下面参考图4,其示出了适于用来实现本公开实施例的电子设备(例如图1中的终端设备)600的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图4示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
电子设备包括:存储器以及处理器,其中,这里的处理器可以称为下文的处理装置601,存储器可以包括下文中的只读存储器(ROM)602、随机访问存储器(RAM)603以及存储装置608中的至少一项,具体如下所示:
如图4所示,电子设备600可以包括处理装置(例如中央处理器、图形处理器等)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储装置608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有电子设备600操作所需的各种程序和数据。处理装置601、ROM 602以及RAM 603通过总线604彼 此相连。输入/输出(I/O)接口605也连接至总线604。
通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置607;包括例如磁带、硬盘等的存储装置608;以及通信装置609。通信装置609可以允许电子设备600与其他设备进行无线或有线通信以交换数据。虽然图4示出了具有各种装置的电子设备600,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置608被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光 缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:当检测到针对当前应用展示页面的第一预览区域执行的播放触发操作时,获取第一预览区域对应的目标数据;根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果;基于输出效果输出目标数据。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、 以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的模块或单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块或单元的名称在某种情况下并不构成对该单元本身的限定,例如,收发模块还可以被描述为“获取第一预览区域对应的目标数据的模块”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上***(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行***、装置或设备使用或与指令执行***、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体***、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,提供了一种数据内容的输出方法,包括:
当检测到针对当前应用展示页面的第一预览区域执行的播放触发操作时,获取第一预览区域对应的目标数据;
根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果;
基于输出效果输出目标数据。
可选的,检测到针对当前应用展示页面的第一预览区域执行的播放触发操作之前,该方法还包括:
当检测到用户针对应用展示页面的滑动的停止操作时,显示当前应用展示页面中的各个预览区域,各个预览区域中包括第一预览区域;
获取第一预览区域对应的目标数据包括以下任一项:
向服务器发送包括第一预览区域的标识信息的数据获取请求,并接收服务器反馈的与第一预览区域的标识信息对应的目标数据;
从已接收到的视频流信息中提取与第一预览区域的标识信息对应的目标数据。
可选的,终端所处环境的环境信息包括终端的地理位置、终端所处环境的天气状况、以及终端所处环境的亮度信息中至少一项;
当终端所处环境的环境信息包括终端所处环境的天气状况,根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果,包括:
根据目标数据的内容信息和终端所处环境的天气状况,确定用于在目标数据中融合输出的与天气状况相匹配的输出特效,输出特效包括下雨特效、下雪特效、闪电特效、冰雹特效、风速特效、彩虹特效及打雷声效中的至少一项。
可选的,当终端所处环境的环境信息包括终端所处环境的亮度信息,根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果,包括:
根据目标数据的内容信息和终端所处环境的亮度信息,确定与亮度信息对应的显示亮度。
可选的,根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果,包括:
根据目标数据的内容信息中的目标内容信息和终端所处环境的环境信息,确定与目标内容信息相匹配的输出效果;
其中,若目标数据包括视频数据,则与目标内容信息相匹配的输出效果包括与视频数据中的图像内容相匹配的声音特效。
可选的,根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果之前,该方法还包括:
获取用户的用户画像;
根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果,包括:
根据目标数据的内容信息、终端所处环境的环境信息以及用户画像,确定相应的输出效果;
其中,用户画像包括用户属性、用户偏好及用户历史操作信息中的至少一项。
可选的,基于输出效果输出目标数据,包括:
显示输出效果对应的至少一个特效选项;
接收用户针对至少一个特效选项中目标特效选项的选择操作;
输出目标数据时融合输出目标特效选项对应的目标特效。
根据本公开的一个或多个实施例,还提供了一种数据内容的输出装置,该装置包括:
收发模块,用于当检测到针对当前应用展示页面的第一预览区域执行的播放触发操作时,获取第一预览区域对应的目标数据;
输出效果确定模块,用于根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果;
目标数据输出模块,用于基于输出效果输出目标数据。
可选的,检测到针对当前应用展示页面的第一预览区域执行的播放触发操作之前,该装置还包括:
显示模块,用于当检测到用户针对应用展示页面的滑动的停止操作时,显示当前应用展示页面中的各个预览区域,各个预览区域中包括第一预览区域;
收发模块在获取第一预览区域对应的目标数据时,具体用于执行以下至少一项操作:
向服务器发送包括第一预览区域的标识信息的数据获取请求,并接收服务器反馈的与第一预览区域的标识信息对应的目标数据;
从已接收到的视频流信息中提取与第一预览区域的标识信息对应的目标数据。
可选的,终端所处环境的环境信息包括终端的地理位置、终端所处环境的天气状况、以及终端所处环境的亮度信息中至少一项;
当终端所处环境的环境信息包括终端所处环境的天气状况,输出效果确定模块在根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果时,具体用于:
根据目标数据的内容信息和终端所处环境的天气状况,确定用于在目标数据中融合输出的与天气状况相匹配的输出特效,输出特效包括下雨特效、下雪特效、闪电特效、冰雹特效、风速特效、彩虹特效及打雷声效中 的至少一项。
可选的,当终端所处环境的环境信息包括终端所处环境的亮度信息,输出效果确定模块在根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果时,具体用于:
根据目标数据的内容信息和终端所处环境的亮度信息,确定与亮度信息对应的显示亮度。
可选的,输出效果确定模块,在根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果时,具体用于:
根据目标数据的内容信息中的目标内容信息和终端所处环境的环境信息,确定与目标内容信息相匹配的输出效果;
其中,若目标数据包括视频数据,则与目标内容信息相匹配的输出效果包括与视频数据中的图像内容相匹配的声音特效。
可选的,输出效果确定模块,在根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果之前,收发模块,还用于:
获取用户的用户画像;
输出效果确定模块,在根据目标数据的内容信息和终端所处环境的环境信息,确定与内容信息和环境信息对应的输出效果时,具体用于:
根据目标数据的内容信息、终端所处环境的环境信息以及用户画像,确定相应的输出效果;
其中,用户画像包括用户属性、用户偏好及用户历史操作信息中的至少一项。
可选的,目标数据输出模块在基于输出效果输出目标数据时,具体用于:
显示输出效果对应的至少一个特效选项;
接收用户针对至少一个特效选项中目标特效选项的选择操作;
输出目标数据时融合输出目标特效选项对应的目标特效。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方 案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (11)

  1. 一种数据内容的输出方法,包括:
    当检测到针对当前应用展示页面的第一预览区域执行的播放触发操作时,获取所述第一预览区域对应的目标数据;
    根据所述目标数据的内容信息和终端所处环境的环境信息,确定与所述内容信息和所述环境信息对应的输出效果;
    基于所述输出效果输出所述目标数据。
  2. 根据权利要求1所述的方法,还包括:所述检测到针对当前应用展示页面的第一预览区域执行的播放触发操作之前,
    当检测到用户针对应用展示页面的滑动的停止操作时,显示所述当前应用展示页面中的各个预览区域,所述各个预览区域中包括所述第一预览区域;
    所述获取所述第一预览区域对应的目标数据包括以下任一项:
    向服务器发送包括所述第一预览区域的标识信息的数据获取请求,并接收所述服务器反馈的与所述第一预览区域的标识信息对应的目标数据;
    从已接收到的视频流信息中提取与所述第一预览区域的标识信息对应的目标数据。
  3. 根据权利要求1或2所述的方法,其中,所述终端所处环境的环境信息包括所述终端的地理位置、所述终端所处环境的天气状况、以及所述终端所处环境的亮度信息中至少一项;并且
    其中,当所述终端所处环境的环境信息包括所述终端所处环境的天气状况时,所述确定与所述内容信息和所述环境信息对应的输出效果,包括:
    根据所述目标数据的内容信息和所述终端所处环境的天气状况,确定用于在所述目标数据中融合输出的与所述天气状况相匹配的输出特效,所述输出特效包括下雨特效、下雪特效、闪电特效、冰雹特效、风速特效、彩虹特效及打雷声效中的至少一项。
  4. 根据权利要求3所述的方法,其中,当所述终端所处环境的环境信息包括所述终端所处环境的亮度信息,所述确定与所述内容信息和所述 环境信息对应的输出效果,包括:
    根据所述目标数据的内容信息和所述终端所处环境的亮度信息,确定与所述亮度信息对应的显示亮度。
  5. 根据权利要求1至4中任一项所述的方法,其中,所述确定与所述内容信息和所述环境信息对应的输出效果,包括:
    根据所述目标数据的内容信息中的目标内容信息和终端所处环境的环境信息,确定与所述目标内容信息相匹配的输出效果;并且
    其中,在所述目标数据包括视频数据的情况下,与所述目标内容信息相匹配的输出效果包括与所述视频数据中的图像内容相匹配的声音特效。
  6. 根据权利要求1至4中任一项所述的方法,其中,根据所述目标数据的内容信息确定是以2D效果来输出所述目标数据,还是以3D效果来输出所述目标数据。
  7. 根据权利要求1至4中任一项所述的方法,还包括:在确定与所述内容信息和所述环境信息对应的输出效果之前,获取所述用户的用户画像;并且
    根据所述目标数据的内容信息、终端所处环境的环境信息以及所述用户画像,确定相应的输出效果;
    其中,所述用户画像包括用户属性、用户偏好及用户历史操作信息中的至少一项。
  8. 根据权利要求1至4中任一项所述的方法,其中,所述基于所述输出效果输出所述目标数据,包括:
    显示所述输出效果对应的至少一个特效选项;
    接收所述用户针对所述至少一个特效选项中目标特效选项的选择操作;
    输出所述目标数据时融合输出所述目标特效选项对应的目标特效。
  9. 一种数据内容的输出装置,包括:
    收发模块,用于当检测到针对当前应用展示页面的第一预览区域执行的播放触发操作时,获取所述第一预览区域对应的目标数据;
    输出效果确定模块,用于根据所述目标数据的内容信息和终端所处环 境的环境信息,确定与所述内容信息和所述环境信息对应的输出效果;
    目标数据输出模块,用于基于所述输出效果输出所述目标数据。
  10. 一种电子设备,包括:
    存储器,被配置为存储有计算机程序;以及
    处理器,被配置为在运行所述计算机程序时执行权利要求1-8任一项所述的方法。
  11. 一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1-8任一项所述的方法。
PCT/CN2020/108256 2019-08-19 2020-08-10 数据内容的输出方法、装置、电子设备及计算机可读介质 WO2021031909A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910765709.3 2019-08-19
CN201910765709.3A CN112395530A (zh) 2019-08-19 2019-08-19 数据内容的输出方法、装置、电子设备及计算机可读介质

Publications (1)

Publication Number Publication Date
WO2021031909A1 true WO2021031909A1 (zh) 2021-02-25

Family

ID=74603559

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/108256 WO2021031909A1 (zh) 2019-08-19 2020-08-10 数据内容的输出方法、装置、电子设备及计算机可读介质

Country Status (2)

Country Link
CN (1) CN112395530A (zh)
WO (1) WO2021031909A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116257309A (zh) * 2021-12-10 2023-06-13 北京字跳网络技术有限公司 内容展示方法、装置、电子设备、存储介质和程序产品

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915979A (zh) * 2016-04-19 2016-08-31 乐视控股(北京)有限公司 视频播放方法及装置
CN106201159A (zh) * 2015-05-08 2016-12-07 阿里巴巴集团控股有限公司 基于网页区块的信息预展示方法、装置及***
CN107613351A (zh) * 2017-09-27 2018-01-19 惠州Tcl移动通信有限公司 一种视频区域亮度控制方法、移动终端及存储介质
WO2018057944A1 (en) * 2016-09-23 2018-03-29 Apple Inc. Devices, methods, and user interfaces for interacting with user interface objects via proximity-based and contact-based inputs
CN108259941A (zh) * 2018-03-01 2018-07-06 北京达佳互联信息技术有限公司 视频播放方法和装置
CN109688344A (zh) * 2018-12-18 2019-04-26 广州励丰文化科技股份有限公司 一种基于时间轴的演出实时预览控制方法及***

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9473813B2 (en) * 2009-12-31 2016-10-18 Infosys Limited System and method for providing immersive surround environment for enhanced content experience
US9524701B2 (en) * 2012-12-18 2016-12-20 Samsung Electronics Co., Ltd. Display apparatus and method for processing image thereof
KR102358025B1 (ko) * 2015-10-07 2022-02-04 삼성전자주식회사 전자 장치 및 전자 장치의 음악 컨텐츠 시각화 방법
CN108073649B (zh) * 2016-11-15 2022-02-25 北京搜狗科技发展有限公司 一种信息处理方法和装置、一种用于信息处理的装置
CN108307127A (zh) * 2018-01-12 2018-07-20 广州市百果园信息技术有限公司 视频处理方法及计算机存储介质、终端
CN109213557A (zh) * 2018-08-24 2019-01-15 北京海泰方圆科技股份有限公司 浏览器换肤方法、装置、计算装置和存储介质
CN109976858A (zh) * 2019-03-28 2019-07-05 北京字节跳动网络技术有限公司 电子设备中应用程序界面的显示控制方法、装置及其设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201159A (zh) * 2015-05-08 2016-12-07 阿里巴巴集团控股有限公司 基于网页区块的信息预展示方法、装置及***
CN105915979A (zh) * 2016-04-19 2016-08-31 乐视控股(北京)有限公司 视频播放方法及装置
WO2018057944A1 (en) * 2016-09-23 2018-03-29 Apple Inc. Devices, methods, and user interfaces for interacting with user interface objects via proximity-based and contact-based inputs
CN107613351A (zh) * 2017-09-27 2018-01-19 惠州Tcl移动通信有限公司 一种视频区域亮度控制方法、移动终端及存储介质
CN108259941A (zh) * 2018-03-01 2018-07-06 北京达佳互联信息技术有限公司 视频播放方法和装置
CN109688344A (zh) * 2018-12-18 2019-04-26 广州励丰文化科技股份有限公司 一种基于时间轴的演出实时预览控制方法及***

Also Published As

Publication number Publication date
CN112395530A (zh) 2021-02-23

Similar Documents

Publication Publication Date Title
WO2021052085A1 (zh) 视频推荐方法、装置、电子设备及计算机可读介质
CN111510760B (zh) 视频信息展示方法和装置、存储介质和电子设备
WO2021196903A1 (zh) 视频处理方法、装置、可读介质及电子设备
US10397320B2 (en) Location based synchronized augmented reality streaming
WO2021008223A1 (zh) 信息的确定方法、装置及电子设备
WO2020007012A1 (zh) 一种搜索页面显示方法、装置、终端及存储介质
WO2023051297A1 (zh) 信息显示方法、装置、电子设备和存储介质
CN112380379B (zh) 歌词特效展示方法、装置、电子设备及计算机可读介质
US20140164921A1 (en) Methods and Systems of Augmented Reality on Mobile Devices
WO2023169340A1 (zh) 信息展示方法、装置、电子设备、存储介质和程序产品
WO2023088442A1 (zh) 一种直播预览方法、装置、设备、程序产品及介质
US11997356B2 (en) Video page display method and apparatus, electronic device and computer-readable medium
WO2022042389A1 (zh) 搜索结果的展示方法、装置、可读介质和电子设备
WO2023151589A1 (zh) 视频显示方法、装置、电子设备和存储介质
US9600720B1 (en) Using available data to assist in object recognition
WO2023051294A9 (zh) 道具处理方法、装置、设备及介质
WO2023116479A1 (zh) 视频的发布方法、装置、电子设备、存储介质和程序产品
WO2023241373A1 (zh) 影像记录生成方法、装置、电子设备及存储介质
CN111970571A (zh) 视频制作方法、装置、设备及存储介质
WO2023116480A1 (zh) 多媒体内容的发布方法、装置、设备、介质和程序产品
US20230421857A1 (en) Video-based information displaying method and apparatus, device and medium
CN115190366B (zh) 一种信息展示方法、装置、电子设备、计算机可读介质
WO2020233144A1 (zh) 一种用于提供评论输入模式的方法与装置
CN109635131B (zh) 多媒体内容榜单显示方法、推送方法,装置及存储介质
WO2021031909A1 (zh) 数据内容的输出方法、装置、电子设备及计算机可读介质

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: 20853777

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: 20853777

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25.08.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20853777

Country of ref document: EP

Kind code of ref document: A1