WO2020200263A1 - Method and device for processing picture in information flow, and computer readable storage medium - Google Patents

Method and device for processing picture in information flow, and computer readable storage medium Download PDF

Info

Publication number
WO2020200263A1
WO2020200263A1 PCT/CN2020/082895 CN2020082895W WO2020200263A1 WO 2020200263 A1 WO2020200263 A1 WO 2020200263A1 CN 2020082895 W CN2020082895 W CN 2020082895W WO 2020200263 A1 WO2020200263 A1 WO 2020200263A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
information stream
information
designated area
picture display
Prior art date
Application number
PCT/CN2020/082895
Other languages
French (fr)
Chinese (zh)
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 WO2020200263A1 publication Critical patent/WO2020200263A1/en

Links

Images

Classifications

    • 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/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • 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
    • G06F3/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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

Definitions

  • This application relates to image processing technology, and in particular to a method, device and computer-readable storage medium for processing pictures in an information stream.
  • the terminal integrates more and more functions, so that more and more corresponding applications (APP) are included in the system function list of the terminal.
  • Some applications involve information streams such as the display of feed streams, for example, the WeChat app’s Moments.
  • Various aspects of this application provide a processing method, device, and computer-readable storage medium for pictures in an information stream, so as to realize flexible display of pictures in an information stream.
  • One aspect of this application provides a method for processing pictures in an information stream, including:
  • the picture is displayed in the designated area according to the picture display effect information of the information stream.
  • a device in another aspect of the present application, includes:
  • One or more processors are One or more processors;
  • Storage device for storing one or more programs
  • the one or more processors implement the method for processing pictures in an information stream provided in the above aspect.
  • a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for processing pictures in an information stream as provided in the above aspect is implemented.
  • the embodiment of the present application acquires the information stream before the picture to be displayed in the information stream enters the designated area on the display interface.
  • the picture display effect information so that if the picture starts to enter the designated area, the picture can be displayed in the designated area according to the picture display effect information of the information stream, thereby realizing the flexibility of the pictures in the information stream Show.
  • FIG. 1 is a schematic flowchart of a method for processing pictures in an information stream according to an embodiment of this application;
  • FIG. 2 is a block diagram of an exemplary computer system/server 12 suitable for implementing embodiments of the present application.
  • terminals involved in the embodiments of the present application may include, but are not limited to, mobile phones, personal digital assistants (PDAs), wireless handheld devices, tablet computers, and personal computers (PCs). ), MP3 players, MP4 players, wearable devices (for example, smart glasses, smart watches, smart bracelets, etc.), etc.
  • PDAs personal digital assistants
  • PCs personal computers
  • MP3 players for example, MP3 players, MP4 players
  • wearable devices for example, smart glasses, smart watches, smart bracelets, etc.
  • FIG. 1 is a schematic flowchart of a method for processing pictures in an information stream according to an embodiment of this application, as shown in FIG. 1.
  • part or all of the execution subjects of 101 to 102 may be applications located in the local terminal, or may also be plug-ins or software development kits (SDK) set in the applications located in the local terminal, etc.
  • the functional unit may also be a processing engine located in a server on the network side, or may also be a distributed system located on the network side, which is not particularly limited in this embodiment.
  • the application may be a native application (nativeApp) installed on the terminal, or may also be a webpage application (webApp) of a browser on the terminal, which is not particularly limited in this embodiment.
  • nativeApp native application
  • webApp webpage application
  • the picture display effect information of the information stream is acquired, so that if The picture starts to enter the designated area, and the picture can be displayed in the designated area according to the picture display effect information of the information stream, thereby realizing flexible display of pictures in the information stream.
  • the so-called information flow refers to a content flow that is continuously updated and presented to users, for example, a feed flow. From a structural point of view, many social apps and information apps use information flow, for example, the WeChat app’s Moments, the recommendation page of the Toutiao app, and the follow page of the Zhihu app. Information flow is an information outlet. If you want to establish a connection with others or information, you only need to refresh this action to get a lot of what you need, and it is constantly updated.
  • the information flow display interface refers to the interface used by the application to output the information flow, and the application can continuously update the content of the display information flow on this interface.
  • the display interface of the information flow may be a full-screen interface displayed on the screen of the terminal where it is located, or may also be a partial screen interface displayed on the screen of the terminal where it is located, which is not particularly limited in this embodiment.
  • the pictures involved in this application may be static pictures, or may also be dynamic pictures, which are not particularly limited in this embodiment.
  • a dynamic image refers to a picture that produces a certain dynamic effect when a group of specific static pictures is switched at a specified frequency, for example, a live photo in the IOS operating system.
  • the technical solutions provided in this application can be implemented separately for each static picture in the dynamic picture.
  • the designated area on the display interface may include but is not limited to the middle part of the display interface, which is not particularly limited in this embodiment.
  • the user's operation on the display interface of the information flow may be further obtained.
  • the operation may include but is not limited to an operation gesture, and the operation gesture may include but is not limited to at least one of the following operation gestures:
  • the user's display interface based on the information flow drives the movement trend of the terminal.
  • the so-called user's operation gesture on the operation control corresponding to the display interface of the information flow may refer to the user's operation such as clicking on a certain operation control corresponding to the display interface of the information flow displayed on the display device of the operation terminal.
  • the so-called operation control is an object that the user can interact with to input or manipulate data, and it can be composed of one or more page elements.
  • the so-called click operation can be a trigger operation performed by the user using an external input device such as a mouse or keyboard to control the cursor, or it can also be a touch operation performed by the user using a touch input device such as a finger or a stylus. This embodiment does not specifically limit this.
  • the so-called hovering operation gesture of the user above the display interface of the information flow may refer to the hovering sliding track on the display interface of the information flow displayed on the display device of the terminal within the collection range of the image sensor of the terminal.
  • the image sensor may be a Charge Coupled Device (CCD) sensor, or may also be a Complementary Metal-Oxide Semiconductor (CMOS) sensor, which is not particularly limited in this embodiment.
  • CMOS Complementary Metal-Oxide Semiconductor
  • the suspended sliding trajectory may include, but is not limited to, a straight line composed of a number of stay points corresponding to a number of continuous sliding events or a curve of any shape, which is not particularly limited in this embodiment.
  • the so-called contact operation gesture of the user on the display interface of the information flow may refer to the contact sliding track of the user on the display interface of the information flow displayed on the display device of the terminal.
  • terminals can be divided into two types according to whether the display device has touch-control characteristics, one type is a touch-sensitive terminal, and the other type is a non-touch-type terminal.
  • the user's contact sliding track on the display interface of the information flow displayed on the touch screen of the touch-sensitive terminal can be specifically detected.
  • the contact sliding track may include, but is not limited to, a straight line or a curve of any shape composed of a number of touch points corresponding to a number of continuous touch events, which is not particularly limited in this embodiment.
  • it can be a user's click gesture on any area on the information flow display interface, or it can be a user's swipe gesture on any area on the information flow display interface, which is not performed in this embodiment. Specially limited.
  • the so-called movement trend of the terminal driven by the user based on the display interface of the information flow may refer to the movement trajectory of the terminal when the user holds the terminal and displays the display interface of the information flow on the display device of the terminal, for example, Shake, flip, etc.
  • a sensor device may be specifically used to detect the operation gesture of the user on the display interface of the information flow of the application.
  • the sensor device may include but is not limited to at least one of a gravity sensor, an acceleration sensor, a pressure sensor, an infrared sensor, a distance sensor, and an image sensor, which is not particularly limited in this embodiment.
  • the distance sensor may be an ultrasonic distance sensor, or an infrared distance sensor, or a laser distance sensor, or a microwave distance sensor, which is not particularly limited in this embodiment. These distance sensors are all existing mature technologies. For detailed description, please refer to the related content in the prior art, which will not be repeated here.
  • the image sensor may be a Charge Coupled Device (CCD) sensor, or may also be a Complementary Metal-Oxide Semiconductor (CMOS) sensor, which is not particularly limited in this embodiment.
  • CCD Charge Coupled Device
  • CMOS Complementary Metal-Oxide Semiconductor
  • the so-called detection of the user's operation gesture on the display interface of the information flow of the application may specifically refer to the detection of the start point and end of the operation gesture of the user on the display interface of the information flow of the application.
  • Point and the trajectory formed from the starting point to the ending point, or the radian data corresponding to the trajectory can be further detected.
  • a designated operation may be further preset. Only when the acquired operation meets the preset specified operation, can 101 be executed.
  • the operation gesture can be compared with a preset designated gesture, only when the obtained operation gesture 101 can be executed only when the preset specified gestures are met.
  • the data of the specified gesture may be stored in the storage device of the terminal.
  • the storage device of the terminal may be a slow storage device, specifically may be a hard disk of a computer system, or may also be a non-running memory or physical memory of a mobile phone, for example, a read-only memory (Read-Only Memory). Memory, ROM) and memory card, etc., this embodiment does not specifically limit this.
  • the storage device of the terminal may also be a fast storage device, specifically it may be the memory of a computer system, or it may also be the running memory of a mobile phone, that is, the system memory, for example, random access memory (Random Access Memory). , RAM), etc.
  • This embodiment is not particularly limited.
  • the picture display effect information of the information stream may be further set.
  • At least one candidate picture display effect information can be preset. Then, the user can select the picture display effect information he likes from the candidate picture display effect information.
  • the candidate picture display effect information can be multiple display effect templates, for example, display effect template 1, display effect template 2, display effect template 3, and so on.
  • one piece of picture display effect information may be selected from at least one candidate picture display effect information as the picture display effect of the information flow information.
  • the setting interface of the information flow refers to the interface used by the application to set the information flow.
  • the application can set the information flow on this interface, for example, the setting of the picture display effect information, the setting of the automatic update time, etc.
  • the setting interface of the information flow may be a full-screen interface displayed on the screen of the terminal where it is located, or may also be a partial screen interface displayed on the screen of the terminal where it is located, which is not particularly limited in this embodiment.
  • the user's operation on the setting interface of the information flow may be further obtained.
  • the operation may include but is not limited to an operation gesture, and the operation gesture may include but is not limited to at least one of the following operation gestures:
  • the user drives the movement trend of the terminal based on the setting interface of the information flow.
  • one default picture display effect information may be selected from at least one candidate picture display effect information as the picture display effect information of the information stream.
  • the picture display effect information of the information stream set by the user can be obtained.
  • the picture display effect information of the information stream may include, but is not limited to, at least one of the following:
  • the initial value of the picture display parameter of the information stream and the change value of the picture display parameter of the information stream are the initial value of the picture display parameter of the information stream and the change value of the picture display parameter of the information stream.
  • the dynamic picture display mode of the information stream may include but is not limited to at least one of the following:
  • the picture entry mode of the information stream for example, sliding effect entry, typing effect entry, compression effect entry, etc.;
  • the entry direction of the pictures of the information stream for example, from bottom to top, from left to right, from inside to outside, etc.;
  • the picture entry speed of the information stream may be k times the user's operating speed on the display interface of the information stream, and k may be any value such as 0.8, 1.0, or 1.2.
  • the picture display effect information of the information stream includes the picture dynamic display mode of the information stream
  • it may be specifically when the picture enters the designated area , Displaying the picture in the designated area according to the picture dynamic display mode of the information stream.
  • the picture display parameters of the information stream may include but are not limited to at least one of the following:
  • the initial value of the transparency parameter may be 0.5
  • the initial value of the gray scale parameter may be 5 levels
  • the initial value of the offset parameter may be a clockwise offset of 30°
  • the size parameter The initial value of can be 125%.
  • the change value of the picture display parameter of the information stream can be a change coefficient. At this time, according to the change coefficient and the initial value of the picture display parameter of each information stream, a gradual change can be obtained. The middle value of the picture display parameter of each information stream.
  • the coefficient of change may be +0.1, and the initial value of the transparency parameter may be 0.5. Then, the intermediate values of the transparency parameter of the gradually changing information flow can be 0.6, 0.7, 0.8, and 0.9.
  • the change value of the picture display parameter of the information stream may also be a plurality of change coefficients corresponding to the picture display parameter of each information stream.
  • the corresponding coefficient of change and the initial value of the picture display parameter of the information stream can obtain the intermediate value of the picture display parameter of the information stream that changes gradually.
  • the change coefficient corresponding to the transparency parameter is +0.1, and the initial value of the transparency parameter can be 0.5. Then, the intermediate values of the transparency parameter of the gradually changing information flow can be 0.6, 0.7, 0.8 and 0.9.
  • the coefficient of variation corresponding to the size parameter is -0.05, and the initial value of the size parameter can be 125%, then the intermediate value of the size parameter of the gradually changing information flow can be 120%. , 115%, 110% and 105%.
  • the change value of the picture display parameter of the information stream may also be an intermediate value of the picture display parameters of a plurality of gradually changing information streams.
  • the intermediate values of the transparency parameter of the gradually changing information flow are 0.6, 0.7, 0.8, and 0.9.
  • the intermediate values of the size parameter of the gradually changing information flow are 120%, 115%, 110%, and 105%.
  • the picture display effect information of the information stream includes the initial value of the picture display parameter of the information stream
  • the picture can be entered specifically at the beginning of the picture.
  • the value of the picture display parameter of the picture is set to the initial value of the picture display parameter of the information stream.
  • the picture may be displayed in the designated area according to the value of the picture display parameter of the picture that gradually changes.
  • the value of the picture display parameter of the picture may be taken from the initial value of the picture display parameter of the information stream, and the value may be changed to the picture display parameter of the picture according to the change of the picture display parameter of the information stream. The actual value of.
  • the actual value of the transparency parameter may be 1
  • the actual value of the gray scale parameter may be 10 levels
  • the actual value of the offset parameter may be 0,
  • the actual value of the size parameter may be Is 100%.
  • the intermediate values of the picture display parameters of a plurality of gradually changing information streams according to the change values of the picture display parameters of the information stream.
  • the value of the picture display parameter of the picture can be changed from the initial value of the picture display parameter of the information stream to the intermediate value of the picture display parameter of a plurality of gradually changing information streams.
  • the picture shows the actual value of the parameter.
  • the picture display effect information of the information stream may further include the termination value of the picture display parameter of the information stream.
  • the termination value of the picture display parameter of the information stream and the initial value of the picture display parameter of the information stream may be the same or different, which is not particularly limited in this embodiment.
  • the value of the picture display parameter of the picture may be set as the end value of the picture display parameter of the information stream.
  • background separation processing may be performed on the picture to obtain the background part of the picture. And the main part of the picture. Then, according to the picture display effect information of the information stream, the background part of the picture and the main part of the picture can be displayed and merged into the designated area respectively to display the picture in the designated area.
  • a neural network may be used to perform recognition processing on the picture to recognize the background part of the picture and the main part of the picture.
  • the neural network may include, but is not limited to, recurrent neural network (Recurrent Neural Network, RNN), convolutional neural network (Convolutional Neural Network, CNN), or deep neural network (Deep Neural Network, DNN). It is not particularly limited.
  • the same operation can be performed on the background part of the picture and the main part of the picture, that is, the picture display effect information of the same information flow, for example, the picture dynamic display mode of the same information flow, and the same The initial value of the picture display parameter of the information flow.
  • different operations can be performed on the background part of the picture and the main part of the picture, that is, the picture display effect information of different information streams, for example, the dynamic display mode of pictures of different information streams, Or the initial value of the image display parameter for different information streams.
  • the effect information can be displayed through pictures of different information streams, and the depth effect of the pictures can be realized.
  • the picture to be displayed in the information stream can be a picture.
  • the technical solution provided in this application can be executed on the picture, and the picture can be displayed in a designated area on the display interface, or the It can be multiple pictures.
  • the technical solutions provided in this application can be executed on each of these multiple pictures in turn or at the same time, and these multiple pictures are displayed in the designated area on the display interface.
  • This implementation The examples are not particularly limited.
  • the picture display effect information of the information stream is acquired , So that if the picture starts to enter the designated area, the picture can be displayed in the designated area according to the picture display effect information of the information stream, thereby realizing the flexible display of pictures in the information stream.
  • FIG. 2 shows a block diagram of an exemplary computer system/server 12 suitable for implementing embodiments of the present application.
  • the computer system/server 12 shown in FIG. 2 is only an example, and should not bring any limitation to the function and use scope of the embodiments of the present application.
  • the computer system/server 12 is represented in the form of a general-purpose computing device.
  • the components of the computer system/server 12 may include, but are not limited to: one or more processors or processing units 16, a storage device or system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
  • the bus 18 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any bus structure among multiple bus structures.
  • these architectures include but are not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and peripheral component interconnection ( PCI) bus.
  • ISA industry standard architecture
  • MAC microchannel architecture
  • VESA Video Electronics Standards Association
  • PCI peripheral component interconnection
  • the computer system/server 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer system/server 12, including volatile and nonvolatile media, removable and non-removable media.
  • the system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32.
  • the computer system/server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media.
  • the storage system 34 can be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 2 and generally referred to as a "hard drive").
  • a disk drive for reading and writing to a removable non-volatile disk such as a "floppy disk”
  • a removable non-volatile optical disk such as CD-ROM, DVD-ROM
  • other optical media read and write optical disc drives.
  • each drive can be connected to the bus 18 through one or more data media interfaces.
  • the system memory 28 may include at least one program product.
  • the program product has a set of (for example, at least one) program modules that are configured to perform the functions of the embodiments of the present application.
  • a program/utility tool 40 having a set of (at least one) program module 42 may be stored in, for example, the system memory 28.
  • Such program module 42 includes, but is not limited to, an operating system, one or more application programs, and others.
  • Program modules and program data, each of these examples or some combination may include the realization of a network environment.
  • the program module 42 usually executes the functions and/or methods in the embodiments described in this application.
  • the computer system/server 12 can also communicate with one or more external devices 14 (such as keyboards, pointing devices, displays 24, etc.), and can also communicate with one or more devices that enable users to interact with the computer system/server 12. And/or communicate with any device (such as a network card, modem, etc.) that enables the computer system/server 12 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 44.
  • the computer system/server 12 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 20.
  • LAN local area network
  • WAN wide area network
  • public network such as the Internet
  • the network adapter 20 communicates with other modules of the computer system/server 12 through the bus 18. It should be understood that although not shown in the figure, other hardware and/or software modules can be used in conjunction with the computer system/server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, Tape drives and data backup storage systems, etc.
  • the processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the method for processing pictures in an information stream provided by any one of the embodiments corresponding to FIG. 1 or FIG. 2A .
  • Another embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, realizes the picture in the information stream provided by any of the embodiments corresponding to FIG. 1 ⁇ Treatment methods.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • 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 (non-exhaustive list) of computer-readable storage media include: 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.
  • the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and 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 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, wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
  • the computer program code used to perform the operations of the present application can be written in one or more programming languages or a combination thereof.
  • the programming languages include object-oriented programming languages-such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • 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 Connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or page components can be combined. Or it can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • 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, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium, and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute part of the method described in each embodiment of the present application step.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Landscapes

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

Abstract

The present application provides a method and device for processing a picture in an information flow, and a computer readable storage medium. In the embodiments of the present application, by obtaining, in response to the operation of a user on the display interface of the information flow, the picture display effect information of the information flow before a picture to be displayed in the information flow enters a specified region on the display interface, so that if the picture starts to enter the specified region, the picture can be displayed to the specified region according to the picture display effect information of the information flow, thereby achieving the flexible display of the picture in the information flow.

Description

信息流中图片的处理方法、设备及计算机可读存储介质Processing method, equipment and computer readable storage medium for pictures in information flow 【技术领域】【Technical Field】
本申请涉及图像处理技术,尤其涉及一种信息流中图片的处理方法、设备及计算机可读存储介质。This application relates to image processing technology, and in particular to a method, device and computer-readable storage medium for processing pictures in an information stream.
【背景技术】【Background technique】
随着通信技术的发展,终端集成了越来越多的功能,从而使得终端的系统功能列表中包含了越来越多相应的应用(Application,APP)。有些应用中会涉及一些信息流如feed流的展示,例如,微信APP的朋友圈等。With the development of communication technology, the terminal integrates more and more functions, so that more and more corresponding applications (APP) are included in the system function list of the terminal. Some applications involve information streams such as the display of feed streams, for example, the WeChat app’s Moments.
通常,应用在展示信息流时,都是静态展示其中的一张图片或者几张图片,形式单一。因此,亟需提供一种新的信息流中图片的处理方法,用以实现信息流中图片的灵活展示。Generally, when an application displays an information stream, it statically displays one picture or several pictures in a single form. Therefore, there is an urgent need to provide a new processing method for pictures in an information stream to realize flexible display of pictures in an information stream.
【发明内容】[Content of the invention]
本申请的多个方面提供一种信息流中图片的处理方法、设备及计算机可读存储介质,用以实现信息流中图片的灵活展示。Various aspects of this application provide a processing method, device, and computer-readable storage medium for pictures in an information stream, so as to realize flexible display of pictures in an information stream.
本申请的一方面,提供一种信息流中图片的处理方法,包括:One aspect of this application provides a method for processing pictures in an information stream, including:
响应于用户对信息流的展示界面的操作,在所述信息流中的待展示的图片进入所述展示界面上的指定区域之前,获取所述信息流的图片展示效果信息;In response to the user's operation on the display interface of the information stream, before the picture to be displayed in the information stream enters the designated area on the display interface, obtain the picture display effect information of the information stream;
若所述图片开始进入所述指定区域,根据所述信息流的图片展示效果信息,将所述图片展示到所述指定区域。If the picture starts to enter the designated area, the picture is displayed in the designated area according to the picture display effect information of the information stream.
本申请的另一方面,提供一种设备,所述设备包括:In another aspect of the present application, a device is provided, and the device includes:
一个或多个处理器;One or more processors;
存储装置,用于存储一个或多个程序,Storage device for storing one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如上述一方面所提供的一种信息流中图片的处理方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method for processing pictures in an information stream provided in the above aspect.
本申请的另一方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述一方面所提供的一种信息流中图片的处理方法。In another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method for processing pictures in an information stream as provided in the above aspect is implemented.
由上述技术方案可知,本申请实施例通过响应于用户对信息流的展示界面的操作,在所述信息流中的待展示的图片进入所述展示界面上的指定区域之前,获取所述信息流的图片展示效果信息,使得若所述图片开始进入所述指定区域,能够根据所述信息流的图片展示效果信息,将所述图片展示到所述指定区域,从而实现了信息流中图片的灵活展示。It can be seen from the above technical solutions that, in response to the user's operation on the display interface of the information stream, the embodiment of the present application acquires the information stream before the picture to be displayed in the information stream enters the designated area on the display interface. The picture display effect information, so that if the picture starts to enter the designated area, the picture can be displayed in the designated area according to the picture display effect information of the information stream, thereby realizing the flexibility of the pictures in the information stream Show.
另外,采用本申请所提供的技术方案,由于能够根据不同的图片展示效果信息,灵活地进行图片的展现,能够有效提高图片在信息流中展示的灵活性和趣味性。In addition, with the technical solution provided by the present application, since the display of pictures can be performed flexibly according to different picture display effect information, the flexibility and interest of the display of pictures in the information stream can be effectively improved.
另外,采用本申请所提供的技术方案,能够有效地提高用户的体验。In addition, the technical solution provided by this application can effectively improve the user experience.
【附图说明】【Explanation of drawings】
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are of the present application. For some embodiments, for those of ordinary skill in the art, other drawings may be obtained based on these drawings without creative labor.
图1为本申请一实施例提供的一种信息流中图片的处理方法的流程示意图;FIG. 1 is a schematic flowchart of a method for processing pictures in an information stream according to an embodiment of this application;
图2为适于用来实现本申请实施方式的示例性计算机系统/服务器12的框图。Figure 2 is a block diagram of an exemplary computer system/server 12 suitable for implementing embodiments of the present application.
【具体实施方式】【detailed description】
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的全部其它实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
需要说明的是,本申请实施例中所涉及的终端可以包括但不限于手机、个 人数字助理(Personal Digital Assistant,PDA)、无线手持设备、平板电脑(Tablet Computer)、个人电脑(Personal Computer,PC)、MP3播放器、MP4播放器、可穿戴设备(例如,智能眼镜、智能手表、智能手环等)等。It should be noted that the terminals involved in the embodiments of the present application may include, but are not limited to, mobile phones, personal digital assistants (PDAs), wireless handheld devices, tablet computers, and personal computers (PCs). ), MP3 players, MP4 players, wearable devices (for example, smart glasses, smart watches, smart bracelets, etc.), etc.
另外,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, the term "and/or" in this article is only an association relationship describing associated objects, which means that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, and both A and B exist. There are three cases of B alone. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship.
图1为本申请一实施例提供的一种信息流中图片的处理方法的流程示意图,如图1所示。FIG. 1 is a schematic flowchart of a method for processing pictures in an information stream according to an embodiment of this application, as shown in FIG. 1.
101、响应于用户对信息流的展示界面的操作,在所述信息流中的待展示的图片进入所述展示界面上的指定区域之前,获取所述信息流的图片展示效果信息。101. In response to a user's operation on the display interface of the information stream, before the picture to be displayed in the information stream enters a designated area on the display interface, obtain picture display effect information of the information stream.
102、若所述图片开始进入所述指定区域,根据所述信息流的图片展示效果信息,将所述图片展示到所述指定区域。102. If the picture starts to enter the designated area, display the picture in the designated area according to the picture display effect information of the information stream.
需要说明的是,101~102的执行主体的部分或全部可以为位于本地终端的应用,或者还可以为设置在位于本地终端的应用中的插件或软件开发工具包(Software Development Kit,SDK)等功能单元,或者还可以为位于网络侧服务器中的处理引擎,或者还可以为位于网络侧的分布式系统,本实施例对此不进行特别限定。It should be noted that part or all of the execution subjects of 101 to 102 may be applications located in the local terminal, or may also be plug-ins or software development kits (SDK) set in the applications located in the local terminal, etc. The functional unit may also be a processing engine located in a server on the network side, or may also be a distributed system located on the network side, which is not particularly limited in this embodiment.
可以理解的是,所述应用可以是安装在终端上的本地程序(nativeApp),或者还可以是终端上的浏览器的一个网页程序(webApp),本实施例对此不进行特别限定。It is understandable that the application may be a native application (nativeApp) installed on the terminal, or may also be a webpage application (webApp) of a browser on the terminal, which is not particularly limited in this embodiment.
这样,通过响应于用户对信息流的展示界面的操作,在所述信息流中的待展示的图片进入所述展示界面上的指定区域之前,获取所述信息流的图片展示效果信息,使得若所述图片开始进入所述指定区域,能够根据所述信息流的图片展示效果信息,将所述图片展示到所述指定区域,从而实现了信息流中图片的灵活展示。In this way, by responding to the user's operation on the display interface of the information stream, before the picture to be displayed in the information stream enters the designated area on the display interface, the picture display effect information of the information stream is acquired, so that if The picture starts to enter the designated area, and the picture can be displayed in the designated area according to the picture display effect information of the information stream, thereby realizing flexible display of pictures in the information stream.
所谓的信息流,是指持续更新并呈现给用户内容的内容流,例如,feed流。从结构来看,很多社交类APP和资讯类APP等APP中,都使用了信息流,例 如,微信APP的朋友圈、今日头条APP的推荐页、知乎APP的关注页等。信息流是一个信息出口,想要与他人或资讯建立连接,只需要刷新这一个动作,即可获得大量所需,并且不断在更新。The so-called information flow refers to a content flow that is continuously updated and presented to users, for example, a feed flow. From a structural point of view, many social apps and information apps use information flow, for example, the WeChat app’s Moments, the recommendation page of the Toutiao app, and the follow page of the Zhihu app. Information flow is an information outlet. If you want to establish a connection with others or information, you only need to refresh this action to get a lot of what you need, and it is constantly updated.
信息流的展示界面,是指应用用于输出信息流的界面,应用可以在该界面上,不断更新展示信息流的内容。The information flow display interface refers to the interface used by the application to output the information flow, and the application can continuously update the content of the display information flow on this interface.
所述信息流的展示界面,可以为所在终端的屏幕所显示的全屏界面,或者,还可以为所在终端的屏幕所显示的部分屏界面,本实施例对此不进行特别限定。The display interface of the information flow may be a full-screen interface displayed on the screen of the terminal where it is located, or may also be a partial screen interface displayed on the screen of the terminal where it is located, which is not particularly limited in this embodiment.
本申请所涉及的图片可以为静态图片,或者还可以为动态图片,本实施例对此不进行特别限定。The pictures involved in this application may be static pictures, or may also be dynamic pictures, which are not particularly limited in this embodiment.
其中,动态图片(dynamic image),是指当一组特定的静态图片以指定的频率切换而产生某种动态效果的图片,例如,IOS操作系统中的实况图片(Live Photo)。Among them, a dynamic image refers to a picture that produces a certain dynamic effect when a group of specific static pictures is switched at a specified frequency, for example, a live photo in the IOS operating system.
若所述图片为动态图片,那么,则可以针对动态图片中的每个静态图片,分别执行本申请所提供的技术方案。If the picture is a dynamic picture, then the technical solutions provided in this application can be implemented separately for each static picture in the dynamic picture.
可选地,在本实施例的一个可能的实现方式中,所述展示界面上的指定区域可以包括但不限于所述展示界面的中间部分,本实施例对此不进行特别限定。Optionally, in a possible implementation of this embodiment, the designated area on the display interface may include but is not limited to the middle part of the display interface, which is not particularly limited in this embodiment.
可选地,在本实施例的一个可能的实现方式中,在101之前,还可以进一步获取所述用户对信息流的展示界面的操作。Optionally, in a possible implementation of this embodiment, before 101, the user's operation on the display interface of the information flow may be further obtained.
其中,该操作可以包括但不限于操作手势,所述操作手势可以包括但不限于下列操作手势中的至少一项:The operation may include but is not limited to an operation gesture, and the operation gesture may include but is not limited to at least one of the following operation gestures:
用户对所述信息流的展示界面对应的操作控件的操作手势;The user's operation gestures to the operation controls corresponding to the display interface of the information flow;
用户在所述信息流的展示界面上方的悬空操作手势;The user's floating operation gesture above the display interface of the information stream;
用户在所述信息流的展示界面上的接触操作手势;以及The user's touch operation gesture on the display interface of the information flow; and
用户基于所述信息流的展示界面带动所述终端的运动趋势。The user's display interface based on the information flow drives the movement trend of the terminal.
所谓的用户对所述信息流的展示界面对应的操作控件的操作手势,可以是指用户操作如点击操作终端的显示装置所显示的信息流的展示界面对应的某个操作控件。所谓的操作控件,是用户可与之交互以输入或操作数据的对象,可以由一个或多个页面元素构成。其中,所谓的点击操作这一操作,可以为用户利用鼠标或键盘等外部输入设备控制光标所进行的触发操作,或者还可以为 用户利用手指或输入笔等触控输入设备所进行的触碰操作,本实施例对此不进行特别限定。The so-called user's operation gesture on the operation control corresponding to the display interface of the information flow may refer to the user's operation such as clicking on a certain operation control corresponding to the display interface of the information flow displayed on the display device of the operation terminal. The so-called operation control is an object that the user can interact with to input or manipulate data, and it can be composed of one or more page elements. Among them, the so-called click operation can be a trigger operation performed by the user using an external input device such as a mouse or keyboard to control the cursor, or it can also be a touch operation performed by the user using a touch input device such as a finger or a stylus. This embodiment does not specifically limit this.
所谓的用户在所述信息流的展示界面上方的悬空操作手势,可以是指用户在终端的图像传感器的采集范围之内,在终端的显示装置所显示的信息流的展示界面上方的悬空滑动轨迹。其中,所述图像传感器可以为电荷耦合元件(Charge Coupled Device,CCD)传感器,或者还可以为金属氧化物半导体元件(Complementary Metal-Oxide Semiconductor,CMOS)传感器,本实施例对此不进行特别限定。所述悬空滑动轨迹可以包括但不限于由若干个连续滑动事件对应的若干个停留点组成的直线或任意形状的曲线,本实施例对此不进行特别限定。The so-called hovering operation gesture of the user above the display interface of the information flow may refer to the hovering sliding track on the display interface of the information flow displayed on the display device of the terminal within the collection range of the image sensor of the terminal. . The image sensor may be a Charge Coupled Device (CCD) sensor, or may also be a Complementary Metal-Oxide Semiconductor (CMOS) sensor, which is not particularly limited in this embodiment. The suspended sliding trajectory may include, but is not limited to, a straight line composed of a number of stay points corresponding to a number of continuous sliding events or a curve of any shape, which is not particularly limited in this embodiment.
所谓的用户在所述信息流的展示界面上的接触操作手势,可以是指用户在终端的显示装置所显示的信息流的展示界面上的接触滑动轨迹。通常,终端可以根据显示装置是否具有可触控的特性,分成两种类型,一种类型是触控式终端,另一种类型是非触控式终端。具体地,具体可以检测用户在触控式终端的触控屏所显示的信息流的展示界面上的接触滑动轨迹。所述接触滑动轨迹可以包括但不限于由若干个连续触摸事件对应的若干个触摸点组成的直线或任意形状的曲线,本实施例对此不进行特别限定。具体来说,具体可以为用户在信息流的展示界面上的任意区域的点击操作手势,或者还可以为用户在信息流的展示界面上的任意区域的滑动操作手势,本实施例对此不进行特别限定。The so-called contact operation gesture of the user on the display interface of the information flow may refer to the contact sliding track of the user on the display interface of the information flow displayed on the display device of the terminal. Generally, terminals can be divided into two types according to whether the display device has touch-control characteristics, one type is a touch-sensitive terminal, and the other type is a non-touch-type terminal. Specifically, the user's contact sliding track on the display interface of the information flow displayed on the touch screen of the touch-sensitive terminal can be specifically detected. The contact sliding track may include, but is not limited to, a straight line or a curve of any shape composed of a number of touch points corresponding to a number of continuous touch events, which is not particularly limited in this embodiment. Specifically, it can be a user's click gesture on any area on the information flow display interface, or it can be a user's swipe gesture on any area on the information flow display interface, which is not performed in this embodiment. Specially limited.
所谓的用户基于所述信息流的展示界面带动所述终端的运动趋势,可以是指用户手持终端,在终端的显示装置显示信息流的展示界面时,带动终端所进行运动的运动轨迹,例如,晃动、翻转等。The so-called movement trend of the terminal driven by the user based on the display interface of the information flow may refer to the movement trajectory of the terminal when the user holds the terminal and displays the display interface of the information flow on the display device of the terminal, for example, Shake, flip, etc.
在一个具体的实现过程中,具体可以利用传感器设备,检测所述用户对所在应用的信息流的展示界面的操作手势。具体地,所述传感器设备可以包括但不限于重力传感器、加速度传感器、压力传感器、红外线传感器、距离传感器和图像传感器中的至少一个,本实施例对此不进行特别限定。In a specific implementation process, a sensor device may be specifically used to detect the operation gesture of the user on the display interface of the information flow of the application. Specifically, the sensor device may include but is not limited to at least one of a gravity sensor, an acceleration sensor, a pressure sensor, an infrared sensor, a distance sensor, and an image sensor, which is not particularly limited in this embodiment.
其中,所述距离传感器可以为超声波距离传感器,或者还可以为红外距离传感器,或者还可以为激光距离传感器,或者还可以为微波距离传感器,本实施例对此不进行特别限定。这些距离传感器都是现有的成熟技术,详细描述可 以参见现有技术中的相关内容,此处不再赘述。The distance sensor may be an ultrasonic distance sensor, or an infrared distance sensor, or a laser distance sensor, or a microwave distance sensor, which is not particularly limited in this embodiment. These distance sensors are all existing mature technologies. For detailed description, please refer to the related content in the prior art, which will not be repeated here.
其中,所述图像传感器可以为电荷耦合元件(Charge Coupled Device,CCD)传感器,或者还可以为金属氧化物半导体元件(Complementary Metal-Oxide Semiconductor,CMOS)传感器,本实施例对此不进行特别限定。The image sensor may be a Charge Coupled Device (CCD) sensor, or may also be a Complementary Metal-Oxide Semiconductor (CMOS) sensor, which is not particularly limited in this embodiment.
在该实现过程中,所谓的检测所述用户对所在应用的信息流的展示界面的操作手势,具体可以是指检测所述用户对所在应用的信息流的展示界面的操作手势的起始点、结束点以及由起始点到结束点所形成的轨迹,或者还可以进一步检测所述轨迹所对应的弧度数据。In this implementation process, the so-called detection of the user's operation gesture on the display interface of the information flow of the application may specifically refer to the detection of the start point and end of the operation gesture of the user on the display interface of the information flow of the application. Point and the trajectory formed from the starting point to the ending point, or the radian data corresponding to the trajectory can be further detected.
为了实现上述功能,可选地,在本实施例的一个可能的实现方式中,在101之前,还可以进一步预先设置指定操作。只有当所获取的操作满足预先设置的指定操作时,才能够执行101。In order to implement the foregoing functions, optionally, in a possible implementation manner of this embodiment, before 101, a designated operation may be further preset. Only when the acquired operation meets the preset specified operation, can 101 be executed.
以所获取的操作包括操作手势为例,在获取到所述用户基于所述信息流的展示界面的操作手势之后,则可以将操作手势与预先设置的指定手势进行对比,只有当所获取的操作手势满足预先设置的指定手势时,才能够执行101。Taking the obtained operation including operation gestures as an example, after obtaining the operation gesture of the user based on the display interface of the information flow, the operation gesture can be compared with a preset designated gesture, only when the obtained operation gesture 101 can be executed only when the preset specified gestures are met.
具体来说,所述指定手势的数据可以存储在终端的存储设备中。Specifically, the data of the specified gesture may be stored in the storage device of the terminal.
在一个具体的实现过程中,所述终端的存储设备可以慢速存储设备,具体可以为计算机系统的硬盘,或者还可以为手机的非运行内存即物理内存,例如,只读存储器(Read-Only Memory,ROM)和内存卡等,本实施例对此不进行特别限定。In a specific implementation process, the storage device of the terminal may be a slow storage device, specifically may be a hard disk of a computer system, or may also be a non-running memory or physical memory of a mobile phone, for example, a read-only memory (Read-Only Memory). Memory, ROM) and memory card, etc., this embodiment does not specifically limit this.
在另一个具体的实现过程中,所述终端的存储设备还可以为快速存储设备,具体可以为计算机系统的内存,或者还可以为手机的运行内存即系统内存,例如,随机存储器(Random Access Memory,RAM)等,本实施例对此不进行特别限定。In another specific implementation process, the storage device of the terminal may also be a fast storage device, specifically it may be the memory of a computer system, or it may also be the running memory of a mobile phone, that is, the system memory, for example, random access memory (Random Access Memory). , RAM), etc. This embodiment is not particularly limited.
可选地,在本实施例的一个可能的实现方式中,在101之前,还可以进一步设置所述信息流的图片展示效果信息。Optionally, in a possible implementation of this embodiment, before 101, the picture display effect information of the information stream may be further set.
在该实现方式中,可以预先设置至少一个候选的图片展示效果信息。那么,用户则可以从这些候选的图片展示效果信息中进行选择自己喜欢的图片展示效果信息。In this implementation manner, at least one candidate picture display effect information can be preset. Then, the user can select the picture display effect information he likes from the candidate picture display effect information.
这些候选的图片展示效果信息,可以为多个展示效果模板,例如,展示效 果模板1、展示效果模板2、展示效果模板3,等等。The candidate picture display effect information can be multiple display effect templates, for example, display effect template 1, display effect template 2, display effect template 3, and so on.
在一个具体的实现过程中,具体可以响应于所述用户对信息流的设置界面的操作,从至少一个候选的图片展示效果信息中选取一个图片展示效果信息,作为所述信息流的图片展示效果信息。In a specific implementation process, specifically in response to the user's operation on the setting interface of the information flow, one piece of picture display effect information may be selected from at least one candidate picture display effect information as the picture display effect of the information flow information.
信息流的设置界面,是指应用用于设置信息流的界面,应用可以在该界面上,进行信息流的相关设置,例如,图片展示效果信息的设置、自动更新时间的设置等。The setting interface of the information flow refers to the interface used by the application to set the information flow. The application can set the information flow on this interface, for example, the setting of the picture display effect information, the setting of the automatic update time, etc.
所述信息流的设置界面,可以为所在终端的屏幕所显示的全屏界面,或者,还可以为所在终端的屏幕所显示的部分屏界面,本实施例对此不进行特别限定。The setting interface of the information flow may be a full-screen interface displayed on the screen of the terminal where it is located, or may also be a partial screen interface displayed on the screen of the terminal where it is located, which is not particularly limited in this embodiment.
具体来说,在该实现过程之前,还可以进一步获取所述用户对信息流的设置界面的操作。Specifically, before the implementation process, the user's operation on the setting interface of the information flow may be further obtained.
其中,该操作可以包括但不限于操作手势,所述操作手势可以包括但不限于下列操作手势中的至少一项:The operation may include but is not limited to an operation gesture, and the operation gesture may include but is not limited to at least one of the following operation gestures:
用户对所述信息流的设置界面对应的操作控件的操作手势;The user's operation gesture on the operation control corresponding to the setting interface of the information flow;
用户在所述信息流的设置界面上方的悬空操作手势;The user's floating operation gesture above the setting interface of the information flow;
用户在所述信息流的设置界面上的接触操作手势;以及The user's touch operation gesture on the setting interface of the information flow; and
用户基于所述信息流的设置界面带动所述终端的运动趋势。The user drives the movement trend of the terminal based on the setting interface of the information flow.
详细描述可以参见用户对信息流的展示界面的操作的相关内容。For detailed description, please refer to the related content of the user's operation on the display interface of the information flow.
在另一个具体的实现过程中,具体可以从至少一个候选的图片展示效果信息中选取一个默认的图片展示效果信息,作为所述信息流的图片展示效果信息。In another specific implementation process, in particular, one default picture display effect information may be selected from at least one candidate picture display effect information as the picture display effect information of the information stream.
那么,在设置所述信息流的图片展示效果信息之后,在101中,则可以获取用户所设置的所述信息流的图片展示效果信息。Then, after setting the picture display effect information of the information stream, in 101, the picture display effect information of the information stream set by the user can be obtained.
可选地,在本实施例的一个可能的实现方式中,所述信息流的图片展示效果信息,可以包括但不限于下列中的至少一项:Optionally, in a possible implementation of this embodiment, the picture display effect information of the information stream may include, but is not limited to, at least one of the following:
所述信息流的图片动态展示模式;以及The dynamic picture display mode of the information stream; and
所述信息流的图片展示参数的初始取值和所述信息流的图片展示参数的变化取值。The initial value of the picture display parameter of the information stream and the change value of the picture display parameter of the information stream.
在该实现方式中,所述信息流的图片动态展示模式,可以包括但不限于下列中的至少一项:In this implementation, the dynamic picture display mode of the information stream may include but is not limited to at least one of the following:
所述信息流的图片进入模式,例如,滑动效果进入、打字效果进入、压缩效果进入等;The picture entry mode of the information stream, for example, sliding effect entry, typing effect entry, compression effect entry, etc.;
所述信息流的图片进入方向,例如,从下往上、从左往右、从里往外等;以及The entry direction of the pictures of the information stream, for example, from bottom to top, from left to right, from inside to outside, etc.; and
所述信息流的图片进入速度,例如,可以取用户对信息流的展示界面的操作速度的k倍,k可以为任意取值如0.8、1.0或1.2等。The picture entry speed of the information stream, for example, may be k times the user's operating speed on the display interface of the information stream, and k may be any value such as 0.8, 1.0, or 1.2.
在一个具体的实现过程中,所述信息流的图片展示效果信息,包括所述信息流的图片动态展示模式时,那么,在102中,具体可以在所述图片进入所述指定区域的过程中,根据所述信息流的图片动态展示模式,将所述图片展示到所述指定区域。In a specific implementation process, when the picture display effect information of the information stream includes the picture dynamic display mode of the information stream, then, in 102, it may be specifically when the picture enters the designated area , Displaying the picture in the designated area according to the picture dynamic display mode of the information stream.
在该实现方式中,所述信息流的图片展示参数,可以包括但不限于下列中的至少一项:In this implementation, the picture display parameters of the information stream may include but are not limited to at least one of the following:
透明度参数;Transparency parameter
灰度参数;Grayscale parameters;
偏移参数;以及Offset parameters; and
尺寸参数。Size parameters.
例如,所述透明度参数的初始取值可以为0.5,所述灰度参数的初始取值可以为5级,所述偏移参数的初始取值可以为顺时针偏移30°,所述尺寸参数的初始取值可以为125%。For example, the initial value of the transparency parameter may be 0.5, the initial value of the gray scale parameter may be 5 levels, the initial value of the offset parameter may be a clockwise offset of 30°, and the size parameter The initial value of can be 125%.
在该实现方式中,所述信息流的图片展示参数的变化取值,可以为一个变化系数,此时,根据该变化系数和每个信息流的图片展示参数的初始取值,可以获得逐渐变化的每个信息流的图片展示参数的中间取值。In this implementation, the change value of the picture display parameter of the information stream can be a change coefficient. At this time, according to the change coefficient and the initial value of the picture display parameter of each information stream, a gradual change can be obtained. The middle value of the picture display parameter of each information stream.
例如,变化系数可以为+0.1,所述透明度参数的初始取值可以为0.5,那么,则可以获得逐渐变化的信息流的透明度参数的中间取值0.6、0.7、0.8和0.9。For example, the coefficient of change may be +0.1, and the initial value of the transparency parameter may be 0.5. Then, the intermediate values of the transparency parameter of the gradually changing information flow can be 0.6, 0.7, 0.8, and 0.9.
在该实现方式中,所述信息流的图片展示参数的变化取值,还可以为分别对应每个信息流的图片展示参数的多个变化系数,此时,根据每个信息流的图片展示参数所对应的变化系数和该信息流的图片展示参数的初始取值,可以获得逐渐变化的该信息流的图片展示参数的中间取值。In this implementation, the change value of the picture display parameter of the information stream may also be a plurality of change coefficients corresponding to the picture display parameter of each information stream. In this case, according to the picture display parameter of each information stream The corresponding coefficient of change and the initial value of the picture display parameter of the information stream can obtain the intermediate value of the picture display parameter of the information stream that changes gradually.
例如,所述透明度参数所对应的变化系数为+0.1,所述透明度参数的初始 取值可以为0.5,那么,则可以获得逐渐变化的信息流的透明度参数的中间取值0.6、0.7、0.8和0.9。For example, the change coefficient corresponding to the transparency parameter is +0.1, and the initial value of the transparency parameter can be 0.5. Then, the intermediate values of the transparency parameter of the gradually changing information flow can be 0.6, 0.7, 0.8 and 0.9.
或者,再例如,所述尺寸参数所对应的变化系数为-0.05,所述尺寸参数的初始取值可以为125%,那么,则可以获得逐渐变化的信息流的尺寸参数的中间取值120%、115%、110%和105%。Or, for another example, the coefficient of variation corresponding to the size parameter is -0.05, and the initial value of the size parameter can be 125%, then the intermediate value of the size parameter of the gradually changing information flow can be 120%. , 115%, 110% and 105%.
在该实现方式中,所述信息流的图片展示参数的变化取值,还可以为多个逐渐变化的信息流的图片展示参数的中间取值。In this implementation manner, the change value of the picture display parameter of the information stream may also be an intermediate value of the picture display parameters of a plurality of gradually changing information streams.
例如,逐渐变化的信息流的透明度参数的中间取值0.6、0.7、0.8和0.9。For example, the intermediate values of the transparency parameter of the gradually changing information flow are 0.6, 0.7, 0.8, and 0.9.
或者,再例如,逐渐变化的信息流的尺寸参数的中间取值120%、115%、110%和105%。Or, for another example, the intermediate values of the size parameter of the gradually changing information flow are 120%, 115%, 110%, and 105%.
在另一个具体的实现过程中,所述信息流的图片展示效果信息,包括所述信息流的图片展示参数的初始取值时,那么,在102中,具体可以在所述图片开始进入所述指定区域之前,将所述图片的图片展示参数的取值设置为所述信息流的图片展示参数的初始取值。在所述图片进入所述指定区域的过程中,则可以根据逐渐变化的所述图片的图片展示参数的取值,将所述图片展示到所述指定区域。其中,所述图片的图片展示参数的取值可以从所述信息流的图片展示参数的初始取值,根据所述信息流的图片展示参数的变化取值,变化到所述图片的图片展现参数的实际取值。In another specific implementation process, when the picture display effect information of the information stream includes the initial value of the picture display parameter of the information stream, then, in 102, the picture can be entered specifically at the beginning of the picture. Before specifying the area, the value of the picture display parameter of the picture is set to the initial value of the picture display parameter of the information stream. When the picture enters the designated area, the picture may be displayed in the designated area according to the value of the picture display parameter of the picture that gradually changes. Wherein, the value of the picture display parameter of the picture may be taken from the initial value of the picture display parameter of the information stream, and the value may be changed to the picture display parameter of the picture according to the change of the picture display parameter of the information stream. The actual value of.
例如,所述透明度参数的实际取值可以为1,所述灰度参数的实际取值可以为10级,所述偏移参数的实际取值可以为0,所述尺寸参数的实际取值可以为100%。For example, the actual value of the transparency parameter may be 1, the actual value of the gray scale parameter may be 10 levels, the actual value of the offset parameter may be 0, and the actual value of the size parameter may be Is 100%.
具体来说,具体可以根据所述信息流的图片展示参数的变化取值,获得多个逐渐变化的信息流的图片展示参数的中间取值。这样,所述图片的图片展示参数的取值则可以从所述信息流的图片展示参数的初始取值,经过多个逐渐变化的信息流的图片展示参数的中间取值,变化到所述图片的图片展现参数的实际取值。Specifically, it is possible to obtain the intermediate values of the picture display parameters of a plurality of gradually changing information streams according to the change values of the picture display parameters of the information stream. In this way, the value of the picture display parameter of the picture can be changed from the initial value of the picture display parameter of the information stream to the intermediate value of the picture display parameter of a plurality of gradually changing information streams. The picture shows the actual value of the parameter.
在另一个具体的实现过程中,所述信息流的图片展示效果信息,还可以进一步包括所述信息流的图片展示参数的终止取值。In another specific implementation process, the picture display effect information of the information stream may further include the termination value of the picture display parameter of the information stream.
其中,所述信息流的图片展示参数的终止取值与所述信息流的图片展示参 数的初始取值可以相同,或者还可以不相同,本实施例对此不进行特别限定。Wherein, the termination value of the picture display parameter of the information stream and the initial value of the picture display parameter of the information stream may be the same or different, which is not particularly limited in this embodiment.
具体来说,具体可以在所述图片从所述指定区域离开之后,将所述图片的图片展示参数的取值设置为所述信息流的图片展示参数的终止取值。Specifically, after the picture leaves the designated area, the value of the picture display parameter of the picture may be set as the end value of the picture display parameter of the information stream.
可选地,在本实施例的一个可能的实现方式中,在102中,具体可以若所述图片开始进入所述指定区域,对所述图片进行背景分离处理,以获得所述图片的背景部分和所述图片的主体部分。然后,则可以根据所述信息流的图片展示效果信息,将所述图片的背景部分和所述图片的主体部分分别展示融合到所述指定区域,以在所述指定区域展示所述图片。Optionally, in a possible implementation of this embodiment, in 102, if the picture starts to enter the designated area, background separation processing may be performed on the picture to obtain the background part of the picture. And the main part of the picture. Then, according to the picture display effect information of the information stream, the background part of the picture and the main part of the picture can be displayed and merged into the designated area respectively to display the picture in the designated area.
在该实现方式中,具体可以采用神经网络,对所述图片进行识别处理,来识别出该图片的背景部分和该图片的主体部分。In this implementation manner, specifically, a neural network may be used to perform recognition processing on the picture to recognize the background part of the picture and the main part of the picture.
其中,所述神经网络可以包括但不限于循环神经网络(Recurrent Neural Network,RNN)、卷积神经网络(Convolutional Neural Network,CNN)或深度神经网络(Deep Neural Network,DNN),本实施例对此不进行特别限定。The neural network may include, but is not limited to, recurrent neural network (Recurrent Neural Network, RNN), convolutional neural network (Convolutional Neural Network, CNN), or deep neural network (Deep Neural Network, DNN). It is not particularly limited.
在一个具体的实现过程中,可以对图片的背景部分和图片的主体部分进行相同的操作,即相同的信息流的图片展示效果信息,例如,相同的信息流的图片动态展示模式,以及相同的信息流的图片展示参数的初始取值。In a specific implementation process, the same operation can be performed on the background part of the picture and the main part of the picture, that is, the picture display effect information of the same information flow, for example, the picture dynamic display mode of the same information flow, and the same The initial value of the picture display parameter of the information flow.
在另一个具体的实现过程中,可以对图片的背景部分和图片的主体部分进行不同的操作,即不相同的信息流的图片展示效果信息,例如,不相同的信息流的图片动态展示模式,或者不相同的信息流的图片展示参数的初始取值。这样,可以通过不相同的信息流的图片展示效果信息,实现图片的景深效果。In another specific implementation process, different operations can be performed on the background part of the picture and the main part of the picture, that is, the picture display effect information of different information streams, for example, the dynamic display mode of pictures of different information streams, Or the initial value of the image display parameter for different information streams. In this way, the effect information can be displayed through pictures of different information streams, and the depth effect of the pictures can be realized.
在本申请中,信息流中的待展示的图片,可以为一个图片,那么,则可以对该图片,执行本申请所提供的技术方案,将该图片展示到展示界面上的指定区域,或者还可以为多个图片,那么,则可以依次或者同时对这些多个图片中的每个图片,都执行本申请所提供的技术方案,将这些多个图片展示到展示界面上的指定区域,本实施例对此不进行特别限定。In this application, the picture to be displayed in the information stream can be a picture. Then, the technical solution provided in this application can be executed on the picture, and the picture can be displayed in a designated area on the display interface, or the It can be multiple pictures. Then, the technical solutions provided in this application can be executed on each of these multiple pictures in turn or at the same time, and these multiple pictures are displayed in the designated area on the display interface. This implementation The examples are not particularly limited.
本实施例中,通过响应于用户对信息流的展示界面的操作,在所述信息流中的待展示的图片进入所述展示界面上的指定区域之前,获取所述信息流的图片展示效果信息,使得若所述图片开始进入所述指定区域,能够根据所述信息流的图片展示效果信息,将所述图片展示到所述指定区域,从而实现了信息流 中图片的灵活展示。In this embodiment, by responding to the user's operation on the display interface of the information stream, before the picture to be displayed in the information stream enters the designated area on the display interface, the picture display effect information of the information stream is acquired , So that if the picture starts to enter the designated area, the picture can be displayed in the designated area according to the picture display effect information of the information stream, thereby realizing the flexible display of pictures in the information stream.
另外,采用本申请所提供的技术方案,由于能够根据不同的图片展示效果信息,灵活地进行图片的展现,能够有效提高图片在信息流中展示的灵活性和趣味性。In addition, with the technical solution provided by the present application, since the display of pictures can be performed flexibly according to different picture display effect information, the flexibility and interest of the display of pictures in the information stream can be effectively improved.
另外,采用本申请所提供的技术方案,能够有效地提高用户的体验。In addition, the technical solution provided by this application can effectively improve the user experience.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that this application is not limited by the described sequence of actions. Because according to this application, some steps can be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
图2示出了适于用来实现本申请实施方式的示例性计算机系统/服务器12的框图。图2显示的计算机系统/服务器12仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Figure 2 shows a block diagram of an exemplary computer system/server 12 suitable for implementing embodiments of the present application. The computer system/server 12 shown in FIG. 2 is only an example, and should not bring any limitation to the function and use scope of the embodiments of the present application.
如图2所示,计算机系统/服务器12以通用计算设备的形式表现。计算机系统/服务器12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,存储装置或者系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 2, the computer system/server 12 is represented in the form of a general-purpose computing device. The components of the computer system/server 12 may include, but are not limited to: one or more processors or processing units 16, a storage device or system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。The bus 18 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any bus structure among multiple bus structures. For example, these architectures include but are not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and peripheral component interconnection ( PCI) bus.
计算机系统/服务器12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机系统/服务器12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The computer system/server 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer system/server 12, including volatile and nonvolatile media, removable and non-removable media.
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机系统/服务器12 可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图2未显示,通常称为“硬盘驱动器”)。尽管图2中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。系统存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请各实施例的功能。The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. The computer system/server 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. For example only, the storage system 34 can be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 2 and generally referred to as a "hard drive"). Although not shown in FIG. 2, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk") and a removable non-volatile optical disk (such as CD-ROM, DVD-ROM) can be provided. Or other optical media) read and write optical disc drives. In these cases, each drive can be connected to the bus 18 through one or more data media interfaces. The system memory 28 may include at least one program product. The program product has a set of (for example, at least one) program modules that are configured to perform the functions of the embodiments of the present application.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如系统存储器28中,这样的程序模块42包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本申请所描述的实施例中的功能和/或方法。A program/utility tool 40 having a set of (at least one) program module 42 may be stored in, for example, the system memory 28. Such program module 42 includes, but is not limited to, an operating system, one or more application programs, and others. Program modules and program data, each of these examples or some combination may include the realization of a network environment. The program module 42 usually executes the functions and/or methods in the embodiments described in this application.
计算机系统/服务器12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机系统/服务器12交互的设备通信,和/或与使得该计算机系统/服务器12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口44进行。并且,计算机系统/服务器12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与计算机系统/服务器12的其它模块通信。应当明白,尽管图中未示出,可以结合计算机系统/服务器12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The computer system/server 12 can also communicate with one or more external devices 14 (such as keyboards, pointing devices, displays 24, etc.), and can also communicate with one or more devices that enable users to interact with the computer system/server 12. And/or communicate with any device (such as a network card, modem, etc.) that enables the computer system/server 12 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 44. In addition, the computer system/server 12 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 20. As shown in the figure, the network adapter 20 communicates with other modules of the computer system/server 12 through the bus 18. It should be understood that although not shown in the figure, other hardware and/or software modules can be used in conjunction with the computer system/server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, Tape drives and data backup storage systems, etc.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现图1或图2A所对应的实施例任一实施例所提供的信息流中图片的处理方法。The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the method for processing pictures in an information stream provided by any one of the embodiments corresponding to FIG. 1 or FIG. 2A .
本申请另一实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现图1所对应的实施例任一实施例所提供的信 息流中图片的处理方法。Another embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, realizes the picture in the information stream provided by any of the embodiments corresponding to FIG. 1的处理方法。 Treatment methods.
具体来说,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Specifically, any combination of one or more computer-readable media can be adopted. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. 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 (non-exhaustive list) of computer-readable storage media include: 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. In this document, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and 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 medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。The program code contained on the computer-readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言-诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The computer program code used to perform the operations of the present application can be written in one or more programming languages or a combination thereof. The programming languages include object-oriented programming languages-such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language. 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. In the case of a remote computer, 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 Connect via the Internet).
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述 的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或页面组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or page components can be combined. Or it can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一个计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute part of the method described in each embodiment of the present application step. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (16)

  1. 一种信息流中图片的处理方法,其特征在于,包括:A method for processing pictures in an information stream, which is characterized in that it includes:
    响应于用户对信息流的展示界面的操作,在所述信息流中的待展示的图片进入所述展示界面上的指定区域之前,获取所述信息流的图片展示效果信息;In response to the user's operation on the display interface of the information stream, before the picture to be displayed in the information stream enters the designated area on the display interface, obtain the picture display effect information of the information stream;
    若所述图片开始进入所述指定区域,根据所述信息流的图片展示效果信息,将所述图片展示到所述指定区域。If the picture starts to enter the designated area, the picture is displayed in the designated area according to the picture display effect information of the information stream.
  2. 根据权利要求1所述的方法,其特征在于,所述展示界面上的指定区域包括所述展示界面的中间部分。The method according to claim 1, wherein the designated area on the display interface includes a middle part of the display interface.
  3. 根据权利要求1所述的方法,其特征在于,响应于用户对信息流的展示界面的操作,在所述信息流中的待展示的图片进入所述展示界面上的指定区域之前,获取所述信息流的图片展示效果信息之前,还包括:The method according to claim 1, characterized in that, in response to a user's operation on the display interface of the information stream, before the picture to be displayed in the information stream enters a designated area on the display interface, obtaining the Before the information flow picture shows the effect information, it also includes:
    设置所述信息流的图片展示效果信息。Set the picture display effect information of the information stream.
  4. 根据权利要求3所述的方法,其特征在于,所述设置所述信息流的图片展示效果信息,包括:The method according to claim 3, wherein said setting the picture display effect information of the information stream comprises:
    响应于所述用户对信息流的设置界面的操作,从至少一个候选的图片展示效果信息中选取一个图片展示效果信息,设置为所述信息流的图片展示效果信息;或者In response to the user's operation on the setting interface of the information stream, select one piece of picture display effect information from at least one candidate picture display effect information, and set it as the picture display effect information of the information stream; or
    从至少一个候选的图片展示效果信息中选取一个默认的图片展示效果信息,设置为所述信息流的图片展示效果信息。Select one default picture display effect information from at least one candidate picture display effect information, and set it as the picture display effect information of the information stream.
  5. 根据权利要求1所述的方法,其特征在于,所述信息流的图片展示效果信息,包括下列中的至少一项:The method according to claim 1, wherein the picture display effect information of the information stream includes at least one of the following:
    所述信息流的图片动态展示模式;以及The dynamic picture display mode of the information stream; and
    所述信息流的图片展示参数的初始取值和所述信息流的图片展示参数的变化取值。The initial value of the picture display parameter of the information stream and the change value of the picture display parameter of the information stream.
  6. 根据权利要求5所述的方法,其特征在于,所述信息流的图片动态展示模式,包括下列中的至少一项:The method according to claim 5, wherein the dynamic picture display mode of the information stream includes at least one of the following:
    所述信息流的图片进入模式;The picture entry mode of the information stream;
    所述信息流的图片进入方向;以及The picture entry direction of the information stream; and
    所述信息流的图片进入速度。The picture entry speed of the information stream.
  7. 根据权利要求5所述的方法,其特征在于,所述信息流的图片展示参数,包括下列中的至少一项:The method according to claim 5, wherein the picture display parameters of the information stream include at least one of the following:
    透明度参数;Transparency parameter
    灰度参数;Grayscale parameters;
    偏移参数;以及Offset parameters; and
    尺寸参数。Size parameters.
  8. 根据权利要求5所述的方法,其特征在于,所述信息流的图片展示效果信息,包括所述信息流的图片展示参数的初始取值;所述若所述图片开始进入所述指定区域,根据所述信息流的图片展示效果信息,将所述图片展示到所述指定区域,包括:The method according to claim 5, wherein the picture display effect information of the information stream includes an initial value of the picture display parameter of the information stream; said if the picture starts to enter the designated area, According to the picture display effect information of the information stream, displaying the picture in the designated area includes:
    在所述图片开始进入所述指定区域之前,将所述图片的图片展示参数的取值设置为所述信息流的图片展示参数的初始取值;Before the picture starts to enter the designated area, setting the value of the picture display parameter of the picture to the initial value of the picture display parameter of the information stream;
    在所述图片进入所述指定区域的过程中,根据逐渐变化的所述图片的图片展示参数的取值,将所述图片展示到所述指定区域;其中,所述图片的图片展示参数的取值从所述信息流的图片展示参数的初始取值,根据所述信息流的图片展示参数的变化取值,变化到所述图片的图片展现参数的实际取值。When the picture enters the designated area, the picture is displayed in the designated area according to the value of the picture display parameter of the picture that gradually changes; wherein, the picture display parameter of the picture is selected The value is taken from the initial value of the picture display parameter of the information stream, taken according to the change of the picture display parameter of the information stream, and changed to the actual value of the picture display parameter of the picture.
  9. 根据权利要求5所述的方法,其特征在于,所述信息流的图片展示效果信息,还包括所述信息流的图片展示参数的终止取值。The method according to claim 5, wherein the picture display effect information of the information stream further comprises a termination value of the picture display parameter of the information stream.
  10. 根据权利要求9所述的方法,其特征在于,所述信息流的图片展示参数的终止取值与所述信息流的图片展示参数的初始取值相同或者不相同。The method according to claim 9, wherein the termination value of the picture display parameter of the information stream is the same or different from the initial value of the picture display parameter of the information stream.
  11. 根据权利要求9~10任一权利要求所述的方法,其特征在于,所述若所述图片开始进入所述指定区域,根据所述信息流的图片展示效果信息,将所述图片展示到所述指定区域,还包括:The method according to any one of claims 9 to 10, wherein if the picture starts to enter the designated area, according to the picture display effect information of the information stream, the picture is displayed to the The designated area includes:
    在所述图片从所述指定区域离开之后,将所述图片的图片展示参数的取值设置为所述信息流的图片展示参数的终止取值。After the picture leaves the designated area, the value of the picture display parameter of the picture is set as the end value of the picture display parameter of the information stream.
  12. 根据权利要求5所述的方法,其特征在于,所述信息流的图片展示效果信息,包括所述信息流的图片动态展示模式;所述若所述图片开始进入所述指定区域,根据所述信息流的图片展示效果信息,将所述图片展示到所述指定区域,包括:The method according to claim 5, wherein the picture display effect information of the information stream includes the picture dynamic display mode of the information stream; said if the picture starts to enter the designated area, according to the The picture display effect information of the information stream, displaying the picture in the designated area, includes:
    在所述图片进入所述指定区域的过程中,根据所述信息流的图片动态展示模式,将所述图片展示到所述指定区域。When the picture enters the designated area, the picture is displayed in the designated area according to the dynamic picture display mode of the information stream.
  13. 根据权利要求1所述的方法,其特征在于,所述图片包括静态图片或者动态图片。The method according to claim 1, wherein the picture comprises a static picture or a dynamic picture.
  14. 根据权利要求1~13任一权利要求所述的方法,其特征在于,所述若所述图片开始进入所述指定区域,根据所述信息流的图片展示效果信息,将所述图片展示到所述指定区域,包括:The method according to any one of claims 1 to 13, wherein if the picture starts to enter the designated area, according to the picture display effect information of the information stream, the picture is displayed to the designated area. The designated area includes:
    若所述图片开始进入所述指定区域,对所述图片进行背景分离处理,以获得所述图片的背景部分和所述图片的主体部分;If the picture starts to enter the designated area, perform background separation processing on the picture to obtain the background part of the picture and the main part of the picture;
    根据所述信息流的图片展示效果信息,将所述图片的背景部分和所述图片的主体部分分别展示融合到所述指定区域,以在所述指定区域展示所述图片。According to the picture display effect information of the information stream, the background part of the picture and the main part of the picture are respectively displayed and merged into the designated area, so as to display the picture in the designated area.
  15. 一种设备,其特征在于,所述设备包括:A device, characterized in that the device includes:
    一个或多个处理器;One or more processors;
    存储装置,用于存储一个或多个程序,Storage device for storing one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1~14任一权利要求所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-14.
  16. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1~14任一权利要求所述的方法。A computer-readable storage medium having a computer program stored thereon, wherein the program is executed by a processor to implement the method according to any one of claims 1-14.
PCT/CN2020/082895 2019-04-04 2020-04-02 Method and device for processing picture in information flow, and computer readable storage medium WO2020200263A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910271991.XA CN110083418A (en) 2019-04-04 2019-04-04 The processing method, equipment and computer readable storage medium of picture in information flow
CN201910271991.X 2019-04-04

Publications (1)

Publication Number Publication Date
WO2020200263A1 true WO2020200263A1 (en) 2020-10-08

Family

ID=67414261

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/082895 WO2020200263A1 (en) 2019-04-04 2020-04-02 Method and device for processing picture in information flow, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN110083418A (en)
WO (1) WO2020200263A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083418A (en) * 2019-04-04 2019-08-02 上海掌门科技有限公司 The processing method, equipment and computer readable storage medium of picture in information flow
CN110677586B (en) * 2019-10-09 2021-06-25 Oppo广东移动通信有限公司 Image display method, image display device and mobile terminal
CN113126867B (en) * 2021-05-14 2022-07-22 网易(杭州)网络有限公司 Browser control method and device, browser, terminal and storage medium
CN113486278A (en) * 2021-06-22 2021-10-08 西安震有信通科技有限公司 Picture display method, intelligent terminal and computer readable storage medium
CN113553131A (en) * 2021-07-12 2021-10-26 网易传媒科技(北京)有限公司 Information display method, medium, device and computing equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060069999A1 (en) * 2004-09-29 2006-03-30 Nikon Corporation Image reproduction apparatus and image reproduction program product
CN105183474A (en) * 2015-09-07 2015-12-23 深圳信壹网络有限公司 Waterfall flow type picture display method and device
CN105786417A (en) * 2014-12-19 2016-07-20 阿里巴巴集团控股有限公司 Method, device and equipment for dynamically displaying static pictures
CN106354376A (en) * 2015-07-13 2017-01-25 腾讯科技(深圳)有限公司 Information processing method and client terminal
CN108509589A (en) * 2018-03-29 2018-09-07 优视科技(中国)有限公司 Information flow methods of exhibiting and system, computer readable storage medium
CN110083418A (en) * 2019-04-04 2019-08-02 上海掌门科技有限公司 The processing method, equipment and computer readable storage medium of picture in information flow
CN110780952A (en) * 2018-07-30 2020-02-11 优视科技有限公司 Application interface interaction method and device and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978146B (en) * 2015-06-30 2017-11-24 广东欧珀移动通信有限公司 A kind of picture operation method and mobile terminal
CN106169036B (en) * 2016-06-30 2018-10-09 腾讯科技(深圳)有限公司 A kind of image display method and device
CN106599207A (en) * 2016-12-15 2017-04-26 北京小米移动软件有限公司 Picture filtering method and device
CN106681591A (en) * 2016-12-30 2017-05-17 珠海市魅族科技有限公司 Information display method and device
CN107395890A (en) * 2017-08-01 2017-11-24 奇酷互联网络科技(深圳)有限公司 A kind of method and apparatus and mobile terminal for adjusting Showing Effectiveness On Screen
CN108052516A (en) * 2017-10-19 2018-05-18 福建中金在线信息科技有限公司 The display methods of picture, device and mobile terminal in multidate information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060069999A1 (en) * 2004-09-29 2006-03-30 Nikon Corporation Image reproduction apparatus and image reproduction program product
CN105786417A (en) * 2014-12-19 2016-07-20 阿里巴巴集团控股有限公司 Method, device and equipment for dynamically displaying static pictures
CN106354376A (en) * 2015-07-13 2017-01-25 腾讯科技(深圳)有限公司 Information processing method and client terminal
CN105183474A (en) * 2015-09-07 2015-12-23 深圳信壹网络有限公司 Waterfall flow type picture display method and device
CN108509589A (en) * 2018-03-29 2018-09-07 优视科技(中国)有限公司 Information flow methods of exhibiting and system, computer readable storage medium
CN110780952A (en) * 2018-07-30 2020-02-11 优视科技有限公司 Application interface interaction method and device and electronic equipment
CN110083418A (en) * 2019-04-04 2019-08-02 上海掌门科技有限公司 The processing method, equipment and computer readable storage medium of picture in information flow

Also Published As

Publication number Publication date
CN110083418A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
WO2020200263A1 (en) Method and device for processing picture in information flow, and computer readable storage medium
WO2021232930A1 (en) Application screen splitting method and apparatus, storage medium and electric device
TWI522894B (en) Method in electronic device, computer program product and non-transitory computer readable recording medium
WO2020073980A1 (en) Method and device for processing guest application, and computer-readable storage medium
WO2019205706A1 (en) Application component processing method, device, and computer readable storage medium
CN106020434B (en) Method, device and product for man-machine interface device input fusion
JP2012530301A (en) Method for processing pan and zoom functions on a mobile computing device using motion detection
WO2020088118A1 (en) Electronic apparatus and method employing mobile device and display device to display duplicate screens
WO2020135010A1 (en) Method and device for processing hosted application, and computer readable storage medium
WO2020221299A1 (en) Instant communication method and device, and computer-readable storage medium
WO2020156058A1 (en) Method and device for realizing dragging-based image warping on terminal
WO2019105391A1 (en) Connection method and device for wireless local area network and computer-readable storage medium
CN208985138U (en) Electronic device, computer equipment and the data processing system of Display on the same screen
US20230093983A1 (en) Control method and device, terminal and storage medium
US20140331145A1 (en) Enhancing a remote desktop with meta-information
US20210042025A1 (en) Presenting miniprofile from feed
US20150205360A1 (en) Table top gestures for mimicking mouse control
CN106557251B (en) Flexible mapping of writing areas to digital displays
WO2021134358A1 (en) Human-computer interaction method, device, and system
CN107066147A (en) One kind manipulation computer method and system
WO2019218684A1 (en) Application partition processing method, device, and computer readable storage medium
JP7092282B2 (en) Skill service update methods, devices, electronic devices, programs and readable storage media
CN114764270B (en) Input conversion method, electronic device and readable medium
WO2020143642A1 (en) Lock screen information flow control method and device, and computer readable storage medium
CN109558051B (en) Switching processing method and device of multifunctional page and computer readable storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 02/02/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20783313

Country of ref document: EP

Kind code of ref document: A1