WO2016115958A1 - 应用程序界面中的即时视频加载方法、系统和电子设备 - Google Patents

应用程序界面中的即时视频加载方法、系统和电子设备 Download PDF

Info

Publication number
WO2016115958A1
WO2016115958A1 PCT/CN2015/099094 CN2015099094W WO2016115958A1 WO 2016115958 A1 WO2016115958 A1 WO 2016115958A1 CN 2015099094 W CN2015099094 W CN 2015099094W WO 2016115958 A1 WO2016115958 A1 WO 2016115958A1
Authority
WO
WIPO (PCT)
Prior art keywords
loading
instant video
loading window
parameter
video frame
Prior art date
Application number
PCT/CN2015/099094
Other languages
English (en)
French (fr)
Inventor
袁小刚
Original Assignee
掌赢信息科技(上海)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 掌赢信息科技(上海)有限公司 filed Critical 掌赢信息科技(上海)有限公司
Publication of WO2016115958A1 publication Critical patent/WO2016115958A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working

Definitions

  • the present invention relates to the field of video, and in particular, to an instant video loading method, system and electronic device in an application interface.
  • the prior art provides an instant video loading method in an application interface, and loading an instant video in the application interface by setting an instant video playing interface in the application interface.
  • the interface of the instant video playing interface used in the prior art has a single interface, which does not meet the diverse needs of the user, and in some scenarios, the real-time video needs to be embedded in the unique element in the application interface, and the prior art provides The method cannot meet this requirement, thus reducing the user experience.
  • an embodiment of the present invention provides an instant video loading method, system, and electronic device in an application interface.
  • the technical solution is as follows:
  • an instant video loading method in an application interface comprising:
  • the method before the acquiring a parameter of the window in the current image frame of the application interface, the method further includes:
  • the parameter of the loading window includes at least a location parameter of the loading window in the interface, and the Loading the size parameter of the window, and the parameters of the loading window in the obtaining interface include:
  • the setting, according to the parameter of the loading window, the parameter of the instant video frame to be loaded includes:
  • the setting, according to the parameter of the loading window, the parameter of the instant video frame to be loaded includes:
  • Setting a location parameter of the face region in the instant video frame is a location parameter of the loading window.
  • the loading of the set instant video to the loading window includes:
  • a face region in the instant video frame is fused to the load window interface.
  • the method further includes:
  • an electronic device comprising:
  • An obtaining module configured to acquire a parameter of a loading window in a current image frame of the application interface
  • a setting module configured to set parameters of an instant video frame to be loaded according to parameters of the loading window
  • the acquiring module is further configured to:
  • the parameter of the loading window includes at least a location parameter of the loading window in the interface, and the The size parameter of the window is loaded, and the obtaining module is specifically configured to:
  • the setting module is specifically configured to:
  • the setting module is specifically configured to:
  • Setting a location parameter of the face region in the instant video frame is a location parameter of the loading window.
  • the loading module is specifically configured to:
  • a face region in the instant video frame is fused to the load window interface.
  • the setting module is further configured to:
  • an electronic device in a third aspect, includes a display screen, a sending module, a receiving module, a storage module, and a connection with the display screen, the sending module, the receiving module, and the storage module.
  • a processor wherein the memory stores a set of program code, and the program code used by the processor to execute the memory store performs the following operations:
  • the set instant video is loaded to the loading window.
  • the processor is further configured to execute the program code stored by the memory to perform the following operations:
  • the parameter of the loading window includes at least a location parameter of the loading window in the interface, and the Loading a size parameter of the window, the processor is further configured to execute the program code stored by the memory to perform the following operations:
  • the processor is further configured to execute the program code stored by the memory to perform the following operations:
  • the processor is further configured to perform the The program code stored in memory performs the following operations:
  • Setting a location parameter of the face region in the instant video frame is a location parameter of the loading window.
  • the processor is further configured to execute the memory stored program code to perform the following operations:
  • a face region in the instant video frame is fused to the load window interface.
  • the method further includes: the processor is further configured to execute the program code stored by the memory Do the following:
  • the fourth aspect provides an instant video loading system in an application interface, where the system includes an application server and a video server, and the system further includes:
  • Obtaining a device configured to acquire a parameter of a loading window in a current image frame of an application interface sent by the application server;
  • Setting a device configured to set, according to parameters of the loading window, parameters of an instant video frame to be loaded sent by the video server;
  • An embodiment of the present invention provides an instant video loading method, system, and electronic device in an application interface, including: acquiring parameters of a loading window in a current image frame of an application interface; and setting an instant video to be loaded according to parameters of the loading window The parameters of the frame; load the set instant video into the loading window. Improves the user experience by loading live video into the load window in the application interface.
  • FIG. 1 is a schematic diagram of an interaction system according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an interaction system according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an interaction system according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of an instant video loading method in an application interface according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of an instant video loading method in an application interface according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an effect provided by an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an effect provided by an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an effect provided by an embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for loading an instant video in an application interface according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of an effect provided by an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • An embodiment of the present invention provides an instant video loading method in an application interface, where the method is applied to at least a first user, a second user, a first user device, a second user device, a video server, and an application server.
  • the first user equipment and the second user equipment respectively include at least a video module, a sending/receiving module, and an application that can call at least video data.
  • the The video module includes at least a video input module and a view a frequency output module
  • the video input module may include a camera
  • the video output module may include a display screen
  • the video server and the application server respectively include at least a sending/receiving module, wherein the first user device, the second user device, and the video server may
  • the interaction of the video data is performed by the sending/receiving module of the first user equipment, the second user equipment, and the application data server, respectively, through the sending/receiving module of the application data, the application data includes at least an interface.
  • the first user equipment and the second user equipment can respectively input the real-time video through the self-video input module, and can also output the interface data and the real-time video data through the video output module of the same.
  • the executor of the method provided by the present invention may include a first user equipment, and may also include a second user equipment, and may further include a video server or an application server.
  • the executive body is not limited.
  • the interface after loading the instant video is displayed on the first user device as an example. If the execution subject is the first user device, the first user device may load the instant video input by the first user to run by itself.
  • the instant video data sent by the second user equipment may also be loaded into the interface of the application running by itself; if the execution subject is the second user equipment, the second user equipment may input the second user.
  • the instant video is loaded into the interface of the application, and then the interface is sent to the first user device; if the execution host is a video server, the video server receives the interface of the application sent by the application server, and then the second user
  • the instant video sent by the device is loaded into the interface of the application, and the interface is sent to the first user device; if the execution host is the application server, after receiving the instant video sent by the video server, the application server will The live video is loaded into the application's interface and sent to the interface User equipment, wherein the live video is transmitted by the second user device to the video server.
  • the method provided by the embodiment of the present invention may also be applied to an interaction system including at least a first user, a second user, a first user device, and a second user device.
  • the first user equipment and the second user equipment respectively include at least a video module, a sending/receiving module, and an application that can call at least video data.
  • the video module includes at least a video input module and a video output module, and the video input module Can include a camera, the video output module can A display screen is provided, wherein the first user equipment and the second user equipment can perform video data interaction through their own sending/receiving modules, respectively, in which the executing body of the method provided by the present invention can include the first user
  • the second user equipment may also be included in the embodiment of the present invention, and the specific execution subject in the interaction system is not limited.
  • the interface after loading the instant video is displayed on the first user device as an example. If the execution subject is the first user device, the first user device may load the instant video input by the first user to run by itself.
  • the instant video data sent by the second user equipment may also be loaded into the interface of the application running by itself; if the execution subject is the second user equipment, the second user equipment may input the second input
  • the live video is loaded into the application's interface and then sent to the first user device.
  • the method provided by the embodiment of the present invention may also be applied to an interaction system including at least a user and a user equipment.
  • the user equipment includes at least a video module and at least a video data that can be called.
  • the application module specifically includes at least a video input module and a video output module.
  • the video input module can include a camera, and the video output module can include a display.
  • the user equipment can load the instant video input by the user into the interface of the application running by itself.
  • Embodiment 1 is an instant video loading method in an application interface according to an embodiment of the present invention. Referring to FIG. 4, the method includes:
  • the parameters of the loading window include at least a position parameter of the loading window in the interface and a size parameter of the loading window
  • the parameters of the loading window in the acquiring interface include:
  • the method may further include:
  • the size parameter of the instant video frame is compressed to the size parameter of the loading window
  • it may also include:
  • the method further includes:
  • the instant video frame is fused to the loading window interface.
  • the face region in the instant video frame is merged into the loading window interface.
  • the transparency of the instant video frame is set, and the step of loading the set instant video into the loading window is performed.
  • An embodiment of the present invention provides an instant video loading method in an application interface, which includes: acquiring parameters of a loading window in a current image frame of an application interface; setting parameters of an instant video frame to be loaded according to parameters of the loading window; After the live video is loaded into the loading window. Improves the user experience by loading live video into the load window in the application interface.
  • the second embodiment is an instant video loading method in an application interface according to an embodiment of the present invention.
  • the application is a game program. Referring to FIG. 5, the method includes:
  • the current image frame of the application interface of the current time is obtained from the server corresponding to the application, and the process may be:
  • the server After the server receives the acquisition request and determines the current image frame of the application interface indicated by the current time in the acquisition request, the current image frame of the application interface sent by the server is received.
  • the current application context can also be obtained from the memory of the storage application interface.
  • the current image frame of the application interface of the current time can be obtained by other means, and the specific acquisition mode is not limited in the embodiment of the present invention.
  • the current image frame of the current time game program interface may be referred to FIG. 6.
  • the current video frame to be loaded corresponding to the current time is obtained from the video server, and the process may be:
  • the video server After the video server receives the acquisition request and determines an immediate video frame to be loaded indicated by the current moment in the acquisition request, the current image frame of the application interface sent by the video server is received.
  • the current image frame of the application interface of the current time can also be obtained from the memory of the storage application interface, and the current image frame of the application interface of the current time can be obtained by other means, which is implemented by the present invention.
  • the specific acquisition method is not limited.
  • the process of determining loading window data in the application interface data may be:
  • loading window data may be determined in the application interface data by other means, and the specific process is not limited in the embodiment of the present invention.
  • the loading window data is tracked in the application interface data, and the specific process may be:
  • the step of acquiring the window data in the application interface data is continued at the next moment.
  • the loading window in the current image frame of the current time game program interface may be referred to FIG. 7.
  • the location parameter may be a coordinate of the loading window in the application interface, and the coordinate includes at least coordinates of all pixel points on the boundary of the loading window in the application interface.
  • the size parameter of the loading window includes at least the size of the loading window
  • the shape parameter in the loading window data may also be obtained
  • the specific acquisition process is not limited in the embodiment of the present invention.
  • the step 503 to the step 504 is a process of acquiring a parameter of the loading window in the interface.
  • the parameter of the loading window in the interface may be obtained by other means.
  • the specific manner of the embodiment of the present invention is not limited.
  • the compression ratio may be set by loading a size parameter of the window and a size parameter of the video frame;
  • the size parameter of the instant video frame is compressed to the size parameter of the loading window according to the compression ratio.
  • the specific compression process is not limited in the embodiment of the present invention.
  • the shape of the compressed video frame is set, and the shape of the video frame is set to the shape of the loading window.
  • the specific setting process is not limited in the embodiment of the present invention.
  • the position parameter of the instant video frame can be set to the position parameter of the loading window by setting the position parameter of the instant video frame to the position parameter of the loading window.
  • the setting of the instant video frame can be implemented by other means.
  • the location parameter is a location parameter of the loading window, and the specific manner of the embodiment of the present invention is not limited.
  • steps 505 to 506 are processes of setting parameters of an instant video frame to be loaded according to parameters of the loading window.
  • the transparency of the instant video frame can also be set, and the specific setting process is not limited in the embodiment of the present invention.
  • the instant video frame can be merged into the loading window interface by using a preset fusion formula.
  • the current video frame to be loaded corresponding to the current moment is as shown in the figure.
  • the image frame of the output current application interface may refer to FIG. b; at the next moment, when the loading window shown by b in FIG. 8 is moved from the current position to another position, the image frame of the output current application interface may be referred to c in FIG.
  • An embodiment of the present invention provides an instant video loading method in an application interface, which includes: acquiring parameters of a loading window in a current image frame of an application interface; setting parameters of an instant video frame to be loaded according to parameters of the loading window; After the live video is loaded into the loading window. Improves the user experience by loading live video into the load window in the application interface.
  • the third embodiment is an instant video loading method in an application interface according to an embodiment of the present invention.
  • the application is a game program. Referring to FIG. 9, the method includes:
  • step 501 is the same as step 501 in the previous embodiment, and details are not described herein again.
  • step is the same as step 502 in the previous embodiment, and details are not described herein again.
  • the face area in the instant video frame can be obtained by identifying and extracting the feature points of the face.
  • the specific identification mode and the extraction mode are not limited in the embodiment of the present invention, and other methods may be used.
  • Obtaining a face area in an instant video frame, the specific acquisition manner is not limited in the embodiment of the present invention.
  • step 503 the process is the same as step 503 in the previous embodiment, and details are not described herein again.
  • the parameters of the loading window include at least a position parameter of the loading window in the interface and a size parameter of the loading window.
  • steps 904 to 905 are processes for acquiring parameters of the loading window in the interface. apart from In addition to the above manner, the parameters of the loading window in the interface may be obtained by other methods, and the specific manner of the embodiment of the present invention is not limited.
  • step is the same as step 505 in the previous embodiment, and details are not described herein again.
  • the step is to set the location parameter of the face region to the location parameter of the loading window. Otherwise, the step is the same as step 506 in the previous embodiment, and details are not described herein.
  • the steps 906 to 907 are the process of setting the parameters of the instant video frame to be loaded according to the parameters of the loading window.
  • the transparency of the instant video frame may also be set, and the specific setting process is performed by the embodiment of the present invention. Not limited.
  • step is the same as step 508 in the previous embodiment, and details are not described herein again.
  • the current video frame to be loaded corresponding to the current time is as shown in a of FIG. 10, and the method of the embodiment of the present invention is performed to load the face region in the instant video frame to
  • the image frame of the output current application interface may be referred to b in FIG. 10; at the next moment, the loading window shown in b in FIG. 10 is moved from the current position to In other locations, the image frame of the application interface at the current time of output can be referred to as c in FIG.
  • An embodiment of the present invention provides an instant video loading method in an application interface, which includes: acquiring parameters of a loading window in a current image frame of an application interface; setting parameters of an instant video frame to be loaded according to parameters of the loading window; After the live video is loaded into the loading window. Improves the user experience by loading live video into the load window in the application interface.
  • Embodiment 4 is an electronic device 11 according to an embodiment of the present invention. Referring to FIG. 11, the electronic device 11 includes:
  • the obtaining module 1101 is configured to acquire a parameter of a loading window in a current image frame of the application interface
  • a setting module 1102 configured to set parameters of an instant video frame to be loaded according to parameters of the loading window
  • the loading module 1103 is configured to load the set instant video into the loading window.
  • the obtaining module 1101 is further configured to:
  • the parameter of the loading window includes at least a position parameter of the loading window in the interface and a size parameter of the loading window
  • the obtaining module 1101 is specifically configured to:
  • the setting module 1102 is specifically configured to:
  • the obtaining module 1101 is further configured to:
  • the loading module 1103 is specifically configured to:
  • the setting module 1102 is further configured to:
  • An embodiment of the present invention provides an electronic device, which acquires parameters of a window in a current image frame of an application interface, and sets parameters of an instant video frame to be loaded according to parameters of the loading window; Load into the load window. Improves the user experience by loading live video into the load window in the application interface.
  • Embodiment 5 is an electronic device 12 according to an embodiment of the present invention.
  • the electronic device 12 includes a display 1201, a sending module 1202, a receiving module 1203, a storage module 1204, and a display 1201 and a sending module 1202.
  • the receiving module 1203, the storage module 1204 is connected to the processor 1205, wherein the memory 1204 stores a set of program codes, and the processor 1205 is configured to execute the program code stored in the memory 1204 to perform the following operations:
  • the processor 1205 is configured to execute the program code stored in the memory 1204 to perform the following operations:
  • the processor 1205 is configured to execute the program code stored in the memory 1204 to perform the following operations:
  • the processor 1205 is configured to execute the program code stored in the memory 1204 to perform the following operations:
  • the processor 1205 is configured to execute the program code stored in the memory 1204 to perform the following operations:
  • the processor 1205 is configured to execute the program code stored in the memory 1204 to perform the following operations:
  • the processor 1205 is configured to execute the program code stored in the memory 1204 to perform the following operations:
  • An embodiment of the present invention provides an electronic device, which acquires parameters of a window in a current image frame of an application interface, and sets parameters of an instant video frame to be loaded according to parameters of the loading window; Load into the load window. Improves the user experience by loading live video into the load window in the application interface.
  • the sixth embodiment is an instant video loading system in an application program interface, where the system includes an application server and a video server.
  • the system further includes:
  • Obtaining a device configured to acquire a parameter of a loading window in a current image frame of an application interface sent by the application server;
  • Setting a device configured to set parameters of an instant video frame to be loaded sent by the video server according to parameters of the loading window
  • the acquiring device and the loading device may be integrated on the same device, or may be separately integrated on different devices.
  • the setting device and the loading device may be integrated on one device.
  • the acquisition device is integrated on another device, and the specific integration manner is not limited in the embodiment of the present invention.
  • the embodiment of the invention provides an instant video loading system in an application interface. Improves the user experience by loading live video into the load window in the application interface.
  • the device and the device for detecting the location of the terminal provided by the foregoing embodiment are only illustrated by the division of the foregoing functional modules when detecting the location of the terminal. In actual applications, the functions may be allocated differently according to requirements.
  • the function module is completed, that is, the internal structure of the device and the device are divided into different functional modules to complete all or part of the functions described above.
  • the device and the device for detecting the location of the terminal provided by the foregoing embodiment are the same as the method for detecting the location of the terminal. For the specific implementation process, refer to the method embodiment, and details are not described herein again.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例提供一种应用界面中的即时视频加载方法、系统和电子设备,属于视频领域,具体包括:获取应用程序界面的当前图像帧中加载窗口的参数;根据加载窗口的参数,设置待加载的即时视频帧的参数;将设置后的即时视频加载至加载窗口。通过将即时视频加载至应用程序界面中的加载窗口,提高了用户的体验效果。

Description

应用程序界面中的即时视频加载方法、系统和电子设备 技术领域
本发明涉及视频领域,特别涉及一种应用界面中的即时视频加载方法、系统和电子设备。
背景技术
随着即时视频应用在移动终端上的普及,使得越来越多的用户通过即时视频应用来实现与他人之间的交互,当用户通过其他应用程序(如游戏)进行交互时,需要提供一种应用程序界面中的即时视频加载方法,将用户与他人之间正在进行交互的即时视频加载至应用程序界面中。
现有技术提供一种应用界面中的即时视频加载方法,通过在应用程序界面中设置即时视频播放界面,来实现在应用界面中加载即时视频。
但是现有技术中所采用的即时视频播放界面的界面形式单一,无满足用户的多样化需求,且在部分场景下,需要将即时视频嵌入应用程序界面中的特有元素中,而现有技术提供的方法无法满足该需求,从而降低了用户的体验效果。
发明内容
为了增加用户体验,本发明实施例提供了一种应用程序界面中的即时视频加载方法、系统和电子设备。所述技术方案如下:
第一方面,提供了一种应用程序界面中的即时视频加载方法,所述方法包括:
获取应用程序界面的当前图像帧中加载窗口的参数;
根据所述加载窗口的参数,设置待加载的即时视频帧的参数;
将所述设置后的即时视频加载至所述加载窗口。
结合第一方面,在第一种可能的实现方式中,所述获取应用程序界面的当前图像帧中加载窗口的参数之前,所述方法还包括:
获取当前时刻的所述应用程序界面的当前图像帧;
获取与所述当前时刻对应的所述待加载的即时视频帧。
结合第一方面或者第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述加载窗口的参数至少包括所述加载窗口在所述界面中的位置参数以及所述加载窗口的大小参数,所述获取界面中加载窗口的参数包括:
在所述应用程序界面数据中确定并跟踪所述加载窗口数据;
获取所述加载窗口数据中的所述位置参数以及所述大小参数。
结合第一方面至第一方面的第二种任一可能的实现方式,在第三种可能的实现方式中,所述根据所述加载窗口的参数,设置待加载的即时视频帧的参数包括:
将所述即时视频帧的大小参数压缩至所述加载窗口的大小参数;
设置所述即时视频帧的位置参数为所述加载窗口的位置参数。
结合第一方面,在第四种可能的实现方式中,所述根据所述加载窗口的参数,设置待加载的即时视频帧的参数包括:
获取所述即时视频帧中的人脸区域;
将所述即时视频帧中人脸区域的大小参数压缩至所述加载窗口的大小参数;
设置所述即时视频帧中人脸区域的位置参数为所述加载窗口的位置参数。
结合第一方面至第一方面的第四种任一可能的实现方式,在第五种可能的实现方式中,所述设置后的即时视频加载至所述加载窗口包括:
将所述即时视频帧中的人脸区域融合至所述加载窗口界面。
结合第一方面至第一方面的第五种可能的实现方式,在第六种可能的实现方式中,所述方法还包括:
设置所述即时视频帧的透明度,执行所述设置后的即时视频加载至所述加 载窗口的步骤。
第二方面,提供了一种电子设备,所述电子设备包括:
获取模块,用于获取应用程序界面的当前图像帧中加载窗口的参数;
设置模块,用于根据所述加载窗口的参数,设置待加载的即时视频帧的参数;
加载模块,用于将设置后的即时视频加载至所述加载窗口。
结合第二方面,在第一种可能的实现方式中,所述获取模块还用于:
获取当前时刻所述应用程序界面的当前图像帧;
获取与所述当前时刻对应的所述待加载的即时视频帧。
结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述加载窗口的参数至少包括所述加载窗口在所述界面中的位置参数以及所述加载窗口的大小参数,所述获取模块具体用于:
在所述应用程序界面数据中确定并跟踪所述加载窗口数据;
获取所述加载窗口数据中的所述位置参数以及所述大小参数。
结合第二方面至第一方面的第二种任一可能的实现方式,在第三种可能的实现方式中,所述设置模块具体用于:
将所述即时视频帧的大小参数压缩至所述加载窗口的大小参数;
设置所述即时视频帧的位置参数为所述加载窗口的位置参数。
结合第二方面,在第四种可能的实现方式中,所述设置模块具体用于:
获取所述即时视频帧中的人脸区域。
将所述即时视频帧中人脸区域的大小参数压缩至所述加载窗口的大小参数;
设置所述即时视频帧中人脸区域的位置参数为所述加载窗口的位置参数。
结合第二方面至第二方面的第四种任一可能的实现方式,在第五种可能的实现方式中,所述加载模块具体用于:
将所述即时视频帧中的人脸区域融合至所述加载窗口界面。
结合第二方面至第二方面的第五种任一可能的实现方式,在第六种可能的实现方式中,所述设置模块还用于:
设置所述即时视频帧的透明度,之后执行所述设置后的即时视频加载至所述加载窗口的步骤。
第三方面,提供了一种电子设备,所述电子设备包括显示屏、发送模块、接收模块、存储模块以及与所述显示屏、所述发送模块、所述接收模块、所述存储模块连接的处理器,其中,所述存储器存储一组程序代码,所述处理器用于执行所述存储器存储的程序代码执行以下操作:
获取应用程序界面的当前图像帧中加载窗口的参数;
根据所述加载窗口的参数,设置待加载的即时视频帧的参数;
将设置后的即时视频加载至所述加载窗口。
结合第三方面,在第一种可能的实现方式中,所述处理器还用于执行所述存储器存储的程序代码执行以下操作:
获取当前时刻的所述应用程序界面的当前图像帧;
获取与所述当前时刻对应的所述待加载的即时视频帧。
结合第三方面或者第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述加载窗口的参数至少包括所述加载窗口在所述界面中的位置参数以及所述加载窗口的大小参数,所述处理器还用于执行所述存储器存储的程序代码执行以下操作:
在所述应用程序界面数据中确定并跟踪所述加载窗口数据;
获取所述加载窗口数据中的所述位置参数以及所述大小参数。
结合第三方面至第一方面的第二种任一可能的实现方式,在第三种可能的实现方式中,所述处理器还用于执行所述存储器存储的程序代码执行以下操作:
将所述即时视频帧的大小参数压缩至所述加载窗口的大小参数;
设置所述即时视频帧的位置参数为所述加载窗口的位置参数。
结合第三方面,在第四种可能的实现方式中,所述处理器还用于执行所述 存储器存储的程序代码执行以下操作:
获取所述即时视频帧中的人脸区域;
将所述即时视频帧中人脸区域的大小参数压缩至所述加载窗口的大小参数;
设置所述即时视频帧中人脸区域的位置参数为所述加载窗口的位置参数。
结合第三方面至第三方面的第四种任一可能的实现方式,在第五种可能的实现方式中,所述处理器还用于执行所述存储器存储的程序代码执行以下操作:
将所述即时视频帧中的人脸区域融合至所述加载窗口界面。
结合第三方面至第三方面的第五种任一可能的实现方式,在第六种可能的实现方式中,所述方法还包括:所述处理器还用于执行所述存储器存储的程序代码执行以下操作:
设置所述即时视频帧的透明度,执行所述设置后的即时视频加载至所述加载窗口的步骤。
第四方面,提供了一种应用程序界面中的即时视频加载系统,所述系统包括应用程序服务器、视频服务器,所述系统还包括:
获取设备,用于获取应用程序服务器所发送的应用程序界面的当前图像帧中加载窗口的参数;
设置设备,用于根据所述加载窗口的参数,设置所述视频服务器所发送的待加载的即时视频帧的参数;
加载设备,用于将设置后的即时视频加载至所述加载窗口。
本发明实施例提供一种应用程序界面中的即时视频加载方法、系统和电子设备,包括:获取应用程序界面的当前图像帧中加载窗口的参数;根据加载窗口的参数,设置待加载的即时视频帧的参数;将设置后的即时视频加载至加载窗口。通过将即时视频加载至应用程序界面中的加载窗口,提高了用户的体验效果。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种交互系统示意图;
图2是本发明实施例提供的一种交互系统示意图;
图3是本发明实施例提供的一种交互系统示意图;
图4是本发明实施例提供的一种应用界面中的即时视频加载方法流程图;
图5是本发明实施例提供的一种应用界面中的即时视频加载方法流程图;
图6是本发明实施例提供的一种效果示意图;
图7是本发明实施例提供的一种效果示意图;
图8是本发明实施例提供的一种效果示意图;
图9是本发明实施例提供的一种应用界面中的即时视频加载方法流程图;
图10是本发明实施例提供的一种效果示意图;
图11是本发明实施例提供的一种电子设备结构示意图;
图12是本发明实施例提供的一种电子设备结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
本发明实施例提供一种应用程序界面中的即时视频加载方法,该方法应用于一种至少包括第一用户、第二用户、第一用户设备、第二用户设备、视频服务器和应用程序服务器的交互系统中,参照图1所示,在该交互系统中,第一用户设备和第二用户设备分别至少包括视频模块、发送/接收模块和一个至少可以调用视频数据的应用程序,具体的,该视频模块至少包括视频输入模块和视 频输出模块,该视频输入模块可以包括摄像头,视频输出模块可以包括显示屏,是视频服务器和应用程序服务器分别至少包括发送/接收模块,其中,第一用户设备、第二用户设备、视频服务器可以分别通过自身的发送/接收模块进行视频数据的交互;第一用户设备、第二用户设备、应用数据服务器可以分别通过自身的发送/接收模块进行应用程序数据的交互,该应用程序数据至少包括界面数据;第一用户设备和第二用户设备分别可以通过自身视频输入模块输入即时视频,也分别可以通过自身的视频输出模块输出界面数据和即时视频数据。在该交互系统中,本发明所提供的方法的执行主体可以包括第一用户设备,也可以包括第二用户设备,还可以包括视频服务器或者应用程序服务器,本发明实施例对该交互系统中具体的执行主体不加以限定。为了方便说明,以加载即时视频后的界面在第一用户设备上显示为例,若执行主体是第一用户设备,则该第一用户设备可以将第一用户输入的即时视频加载至自身运行的应用程序的界面中,也可以将第二用户设备发送的即时视频数据加载至自身运行的应用程序的界面中;若执行主体是第二用户设备,则该第二用户设备可以将第二用户输入的即时视频加载至应用程序的界面中,然后将该界面发送至第一用户设备;若执行主体是视频服务器,则该视频服务器在接收应用程序服务器发送的应用程序的界面后,将第二用户设备发送的即时视频加载至应用程序的界面中,并将该界面发送至第一用户设备;若执行主体是应用程序服务器,则该应用程序服务器在接收到视频服务器所发送的即时视频后,将该即时视频加载至应用程序的界面中,并将该界面发送至第一用户设备,其中,该即时视频是由第二用户设备发送至视频服务器的。
本发明实施例所提供的方法还可以应用于一种至少包括第一用户、第二用户、第一用户设备和第二用户设备的交互系统中,参照图2所示,在该交互系统中,第一用户设备和第二用户设备分别至少包括视频模块、发送/接收模块和一个至少可以调用视频数据的应用程序,具体的,该视频模块至少包括视频输入模块和视频输出模块,该视频输入模块可以包括摄像头,视频输出模块可以 包括显示屏,其中,第一用户设备和第二用户设备可以分别通过自身的发送/接收模块进行视频数据的交互,在该交互系统中,本发明所提供的方法的执行主体可以包括第一用户,也可以包括第二用户设备,本发明实施例对交互系统中具体的执行主体不加以限定。为了方便说明,以加载即时视频后的界面在第一用户设备上显示为例,若执行主体是第一用户设备,则该第一用户设备可以将第一用户输入的即时视频加载至自身运行的应用程序的界面中,也可以将第二用户设备发送的即时视频数据加载至自身运行的应用程序的界面中;若执行主体是第二用户设备,则该第二用户设备可以将第二输入的即时视频加载至应用程序的界面中,然后将该界面发送至第一用户设备。
除此之外,本发明实施例所提供的方法还可以应用于一种至少包括用户和用户设备的交互系统中,参照图3所示,该用户设备至少包括视频模块和一个至少可以调用视频数据的应用程序,具体的,该视频模块至少包括视频输入模块和视频输出模块,该视频输入模块可以包括摄像头,视频输出模块可以包括显示屏。其中,用户设备可以将用户输入的即时视频加载至自身运行的应用程序的界面中。
实施例一为本发明实施例所提供的一种应用程序界面中的即时视频加载方法,参照图4所示,该方法包括:
401、获取应用程序界面的当前图像帧中加载窗口的参数;
具体的,加载窗口的参数至少包括加载窗口在界面中的位置参数以及加载窗口的大小参数,获取界面中加载窗口的参数包括:
在应用程序界面数据中确定并跟踪加载窗口数据;
获取加载窗口数据中的位置参数以及大小参数。
可选的,在步骤401之前,还可以包括:
获取当前时刻的应用程序界面的当前图像帧;
获取与当前时刻对应的待加载的即时视频帧。
402、根据加载窗口的参数,设置待加载的即时视频帧的参数;
具体的,将即时视频帧的大小参数压缩至加载窗口的大小参数;
设置即时视频帧的位置参数为加载窗口的位置参数。
可选的,还可以包括:
获取即时视频帧中的人脸区域。
可选的,若获取即时视频帧中的人脸区域,则还可以包括:
将即时视频帧中人脸区域的大小参数压缩至加载窗口的大小参数;
设置即时视频帧中人脸区域的位置参数为加载窗口的位置参数。
403、将设置后的即时视频加载至加载窗口。
具体的,将即时视频帧融合至加载窗口界面。
可选的,将即时视频帧中的人脸区域融合至加载窗口界面。
可选的,设置即时视频帧的透明度,执行设置后的即时视频加载至加载窗口的步骤。
本发明实施例提供一种应用界面中的即时视频加载方法,包括:获取应用程序界面的当前图像帧中加载窗口的参数;根据加载窗口的参数,设置待加载的即时视频帧的参数;将设置后的即时视频加载至加载窗口。通过将即时视频加载至应用程序界面中的加载窗口,提高了用户的体验效果。
实施例二为本发明实施例所提供的一种应用程序界面中的即时视频加载方法,为了方便说明,在本发明实施例中,应用程序为游戏程序,参照图5所示,该方法包括:
501、获取当前时刻应用程序界面的当前图像帧。
具体的,从应用程序所对应的服务器获取当前时刻应用程序界面的当前图像帧,其过程可以为:
向应用程序所对应的服务器发送获取请求,该获取请求至少包括当前时刻;
在服务器接收该获取请求,并确定该获取请求中的当前时刻所指示的应用程序界面的当前图像帧后,接收服务器发送的应用程序界面的当前图像帧。
可选的,还可以从存储应用程序界面的存储器中获取当前时刻应用程序界 面的当前图像帧,除此之外,还可以通过其他方式,获取当前时刻应用程序界面的当前图像帧,本发明实施例对具体的获取方式不加以限定。
示例性的,在本发明实施例中,为了方便说明,当前时刻游戏程序界面的当前图像帧可以参照图6所示。
502、获取与当前时刻对应的待加载的即时视频帧。
具体的,从视频服务器获取当前时刻对应的待加载的即时视频帧,其过程可以为:
向视频服务器发送获取请求,该获取请求至少包括当前时刻;
在视频服务器接收该获取请求,并确定该获取请求中的当前时刻所指示的待加载的即时视频帧后,接收视频服务器发送的应用程序界面的当前图像帧。
可选的,还可以从存储应用程序界面的存储器中获取当前时刻应用程序界面的当前图像帧,除此之外,还可以通过其他方式,获取当前时刻应用程序界面的当前图像帧,本发明实施例对具体的获取方式不加以限定。
503、在应用程序界面数据中确定并跟踪加载窗口数据。
具体的,在应用程序界面数据中确定加载窗口数据的过程可以为:
获取加载窗口的特征点数据,将应用程序界面中与加载窗口的特征点数据匹配的数据确定为加载窗口的数据;
除此之外,还可以通过其他方式在应用程序界面数据中确定加载窗口数据,本发明实施例对具体的过程不加以限定。
当确定加载窗口的特征点数据之后,在应用程序界面数据中跟踪加载窗口数据,具体过程可以为:
获取当前时刻应用程序界面数据中加载窗口数据;
在下一时刻继续执行获取应用程序界面数据中加载窗口数据的步骤。
示例性的,在本发明实施例中,为了方便说明,当前时刻游戏程序界面的当前图像帧中的加载窗口可以参照图7所示。
504、获取加载窗口数据中的位置参数以及大小参数。
具体的,该位置参数可以为加载窗口在应用程序界面中的坐标,该坐标至少包括加载窗口边界上的所有像素点在应用程序界面中的坐标。
加载窗口的大小参数至少包括加载窗口的尺寸;
可选的,还可以获取加载窗口数据中的形状参数;
其中,本发明实施例对具体的获取过程不加以限定。
特别的,步骤503至步骤504是获取界面中加载窗口的参数的过程,除了上述方式之外,还可以通过其他方式获取界面中加载窗口的参数,本发明实施例对具体的方式不加以限定。
505、将即时视频帧的大小参数压缩至加载窗口的大小参数。
具体的,可以通过加载窗口的大小参数以及时视频帧的大小参数设置压缩比例;
根据该压缩比例将即时视频帧的大小参数压缩至加载窗口的大小参数。
其中,本发明实施例对具体的压缩过程不加以限定。
可选的,还设置压缩后即时视频帧的形状,将时视频帧的形状设置为加载窗口的形状,本发明实施例对具体的设置过程不加以限定。
506、设置即时视频帧的位置参数为加载窗口的位置参数。
具体的,可以通过将即时视频帧的位置参数替换为加载窗口的位置参数,实现设置即时视频帧的位置参数为加载窗口的位置参数,除此之外,还可以通过其他方式实现设置即时视频帧的位置参数为加载窗口的位置参数,本发明实施例对具体的方式不加以限定。
特别的,步骤505至步骤506是根据加载窗口的参数,设置待加载的即时视频帧的参数的过程。除此之外,还可以设置即时视频帧的透明度,本发明实施例对具体的设置过程不加以限定。
507、将即时视频帧融合至加载窗口界面。
具体的,可以通过预设融合公式,将即时视频帧融合至加载窗口界面。
示例性的,为了方便说明,假设当前时刻对应的待加载的即时视频帧如图 8中的a所示,在执行本发明实施例所提供的方法将该即时视频帧加载至图7所示的游戏程序界面之后,输出的当前时刻应用程序界面的图像帧可以参照图8中的b所示;在下一时刻,当图8中的b所示的加载窗口由当前位置移动到其他位置时,输出的当前时刻应用程序界面的图像帧可以参照图8中的c所示。
本发明实施例提供一种应用界面中的即时视频加载方法,包括:获取应用程序界面的当前图像帧中加载窗口的参数;根据加载窗口的参数,设置待加载的即时视频帧的参数;将设置后的即时视频加载至加载窗口。通过将即时视频加载至应用程序界面中的加载窗口,提高了用户的体验效果。
实施例三为本发明实施例所提供的一种应用程序界面中的即时视频加载方法,为了方便说明,在本发明实施例中,应用程序为游戏程序,参照图9所示,该方法包括:
901、获取当前时刻应用程序界面的当前图像帧。
具体的,该步骤与上一个实施例中的步骤501相同,此处再不加以赘述。
902、获取与当前时刻对应的待加载的即时视频帧。
具体的,该步骤与上一个实施例中的步骤502相同,此处再不加以赘述。
903、获取即时视频帧中的人脸区域。
具体的,可以通过识别并提取人脸的特征点,获取即时视频帧中的人脸区域,本发明实施例对具体的识别方式和提取方式不加以限定,除此之外,还可以通过其他方式获取即时视频帧中的人脸区域,本发明实施例对具体的获取方式不加以限定。
904、在应用程序界面数据中确定并跟踪加载窗口数据。
具体的,该过程与上一个实施例中的步骤503相同,此处再不加以赘述。
905、获取加载窗口数据中的位置参数以及大小参数。
加载窗口的参数至少包括加载窗口在界面中的位置参数以及加载窗口的大小参数,
特别的,步骤904至步骤905是获取界面中加载窗口的参数的过程。除了 上述方式之外,还可以通过其他方式获取界面中加载窗口的参数,本发明实施例对具体的方式不加以限定。
906、将即时视频帧中人脸区域的大小参数压缩至加载窗口的大小参数;
具体的,该步骤与上一个实施例中的步骤505相同,此处再不加以赘述。
907、设置即时视频帧中人脸区域的位置参数为加载窗口的位置参数。
具体的,该步骤是将设置人脸区域的位置参数为加载窗口的位置参数,除此之外,该步骤与上一个实施例中的步骤506相同,此处再不加以赘述。
特别的,步骤906至步骤907是根据加载窗口的参数,设置待加载的即时视频帧的参数的过程,除此之外,还可以设置即时视频帧的透明度,本发明实施例对具体的设置过程不加以限定。
除此之外,还可以设置人脸区域的透明度。
908、将即时视频帧中的人脸区域融合至加载窗口界面。
具体的,该步骤与上一个实施例中的步骤508相同,此处再不加以赘述。
示例性的,为了方便说明,假设当前时刻对应的待加载的即时视频帧如图10中的a所示,在执行本发明实施例所提供的方法将该即时视频帧中的人脸区域加载至图7所示的游戏程序界面之后,输出的当前时刻应用程序界面的图像帧可以参照图10中的b所示;在下一时刻,当图10中的b所示的加载窗口由当前位置移动到其他位置时,输出的当前时刻应用程序界面的图像帧可以参照图10中的c所示。
本发明实施例提供一种应用界面中的即时视频加载方法,包括:获取应用程序界面的当前图像帧中加载窗口的参数;根据加载窗口的参数,设置待加载的即时视频帧的参数;将设置后的即时视频加载至加载窗口。通过将即时视频加载至应用程序界面中的加载窗口,提高了用户的体验效果。
实施例四为本发明实施例提供的一种电子设备11,参照图11所示,电子设备11包括:
获取模块1101,用于获取应用程序界面的当前图像帧中加载窗口的参数;
设置模块1102,用于根据加载窗口的参数,设置待加载的即时视频帧的参数;
加载模块1103,用于将设置后的即时视频加载至加载窗口。
可选的,获取模块1101还用于:
获取当前时刻应用程序界面的当前图像帧;
获取与当前时刻对应的待加载的即时视频帧。
可选的,加载窗口的参数至少包括加载窗口在界面中的位置参数以及加载窗口的大小参数,获取模块1101具体用于:
在应用程序界面数据中确定并跟踪加载窗口数据;
获取加载窗口数据中的位置参数以及大小参数。
可选的,设置模块1102具体用于:
将即时视频帧的大小参数压缩至加载窗口的大小参数;
设置即时视频帧的位置参数为加载窗口的位置参数。
可选的,获取模块1101还用于:
获取即时视频帧中的人脸区域。
将即时视频帧中人脸区域的大小参数压缩至加载窗口的大小参数;
设置即时视频帧中人脸区域的位置参数为加载窗口的位置参数。
可选的,加载模块1103具体用于:
将即时视频帧融合至加载窗口界面。
可选的,设置模块1102还用于:
设置即时视频帧的透明度,之后执行设置后的即时视频加载至加载窗口的步骤。
本发明实施例提供一种电子设备,该电子设备通过获取应用程序界面的当前图像帧中加载窗口的参数;根据加载窗口的参数,设置待加载的即时视频帧的参数;将设置后的即时视频加载至加载窗口。通过将即时视频加载至应用程序界面中的加载窗口,提高了用户的体验效果。
实施例五
实施例五为本发明实施例提供的一种电子设备12,参照图12所示,电子设备12包括显示屏1201、发送模块1202、接收模块1203、存储模块1204以及与显示屏1201、发送模块1202、接收模块1203、存储模块1204连接的处理器1205,其中,存储器1204存储一组程序代码,处理器1205用于执行存储器1204存储的程序代码执行以下操作:
获取应用程序界面的当前图像帧中加载窗口的参数;
根据加载窗口的参数,设置待加载的即时视频帧的参数;
将设置后的即时视频加载至加载窗口。
可选的,处理器1205用于执行存储器1204存储的程序代码执行以下操作:
获取当前时刻的应用程序界面的当前图像帧;
获取与当前时刻对应的待加载的即时视频帧。
可选的,处理器1205用于执行存储器1204存储的程序代码执行以下操作:
在应用程序界面数据中确定并跟踪加载窗口数据;
获取加载窗口数据中的位置参数以及大小参数。
可选的,处理器1205用于执行存储器1204存储的程序代码执行以下操作:
将即时视频帧的大小参数压缩至加载窗口的大小参数;
设置即时视频帧的位置参数为加载窗口的位置参数。
可选的,处理器1205用于执行存储器1204存储的程序代码执行以下操作:
获取即时视频帧中的人脸区域。
将即时视频帧中人脸区域的大小参数压缩至加载窗口的大小参数;
设置即时视频帧中人脸区域的位置参数为加载窗口的位置参数。
可选的,处理器1205用于执行存储器1204存储的程序代码执行以下操作:
将即时视频帧融合至加载窗口界面。
可选的,处理器1205用于执行存储器1204存储的程序代码执行以下操作:
设置即时视频帧的透明度,执行设置后的即时视频加载至加载窗口的步骤。
本发明实施例提供一种电子设备,该电子设备通过获取应用程序界面的当前图像帧中加载窗口的参数;根据加载窗口的参数,设置待加载的即时视频帧的参数;将设置后的即时视频加载至加载窗口。通过将即时视频加载至应用程序界面中的加载窗口,提高了用户的体验效果。
实施例六为本发明实施例提供的一种应用程序界面中的即时视频加载系统,该系统包括应用程序服务器、视频服务器,除此之外,该系统还包括:
获取设备,用于获取应用程序服务器所发送的应用程序界面的当前图像帧中加载窗口的参数;
设置设备,用于根据加载窗口的参数,设置视频服务器所发送的待加载的即时视频帧的参数;
加载设备,用于将设置后的即时视频加载至加载窗口。
特别的,在该系统中,获取设备和加载设备可以集成在同一个设备上,也可以分别集成在不同的设备上,除此之外,还可以是设置设备和加载设备集成在一个设备上,获取设备集成在另外一个设备上,本发明实施例对具体的集成方式不加以限定。
本发明实施例提供一种应用界面中的即时视频加载系统。通过将即时视频加载至应用程序界面中的加载窗口,提高了用户的体验效果。
值得注意的是,本发明实施例所列的界面以及应用程序仅仅是示例性的,只是为了方便进一步说明本发明实施例所提供的方法,此处并非特指。
需要说明的是:上述实施例提供的检测终端位置的装置及设备在检测终端位置时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置及设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的检测终端位置的装置及设备与检测终端位置的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (16)

  1. 一种应用程序界面中的即时视频加载方法,其特征在于,所述方法包括:
    获取应用程序界面的当前图像帧中加载窗口的参数;
    根据所述加载窗口的参数,设置待加载的即时视频帧的参数;
    将所述设置后的即时视频加载至所述加载窗口。
  2. 根据权利要求1所述的方法,其特征在于,所述加载窗口的参数至少包括所述加载窗口在所述界面中的位置参数以及所述加载窗口的大小参数,所述获取界面中加载窗口的参数包括:
    在所述应用程序界面数据中确定并跟踪所述加载窗口数据;
    获取所述加载窗口数据中的所述位置参数以及所述大小参数。
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述加载窗口的参数,设置待加载的即时视频帧的参数包括:
    将所述即时视频帧的大小参数压缩至所述加载窗口的大小参数;
    设置所述即时视频帧的位置参数为所述加载窗口的位置参数。
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述加载窗口的参数,设置待加载的即时视频帧的参数包括:
    获取所述即时视频帧中的人脸区域;
    将所述即时视频帧中人脸区域的大小参数压缩至所述加载窗口的大小参数;
    设置所述即时视频帧中人脸区域的位置参数为所述加载窗口的位置参数。
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述设置后的即时视频加载至所述加载窗口包括:
    将所述即时视频帧融合至所述加载窗口界面。
  6. 一种电子设备,其特征在于,所述电子设备包括:
    获取模块,用于获取应用程序界面的当前图像帧中加载窗口的参数;
    设置模块,用于根据所述加载窗口的参数,设置待加载的即时视频帧的参 数;
    加载模块,用于将设置后的即时视频加载至所述加载窗口。
  7. 根据权利要求6所述的设备,其特征在于,所述加载窗口的参数至少包括所述加载窗口在所述界面中的位置参数以及所述加载窗口的大小参数,所述获取模块具体用于:
    在所述应用程序界面数据中确定并跟踪所述加载窗口数据;
    获取所述加载窗口数据中的所述位置参数以及所述大小参数。
  8. 根据权利要求6或7所述的设备,其特征在于,所述设置模块具体用于:
    将所述即时视频帧的大小参数压缩至所述加载窗口的大小参数;
    设置所述即时视频帧的位置参数为所述加载窗口的位置参数。
  9. 根据权利要求6所述的设备,其特征在于,所述设置模块具体用于:
    获取所述即时视频帧中的人脸区域。
    将所述即时视频帧中人脸区域的大小参数压缩至所述加载窗口的大小参数;
    设置所述即时视频帧中人脸区域的位置参数为所述加载窗口的位置参数。
  10. 根据权利要求6至9任一所述的设备,其特征在于,所述加载模块具体用于:
    将所述即时视频帧融合至所述加载窗口界面。
  11. 一种电子设备,其特征在于,所述电子设备包括显示屏、发送模块、接收模块、存储模块以及与所述显示屏、所述发送模块、所述接收模块、所述存储模块连接的处理器,其中,所述存储器存储一组程序代码,所述处理器用于执行所述存储器存储的程序代码执行以下操作:
    获取应用程序界面的当前图像帧中加载窗口的参数;
    根据所述加载窗口的参数,设置待加载的即时视频帧的参数;
    将设置后的即时视频加载至所述加载窗口。
  12. 根据权利要求11所述的设备,其特征在于,所述加载窗口的参数至少包括所述加载窗口在所述界面中的位置参数以及所述加载窗口的大小参数,所 述处理器还用于执行所述存储器存储的程序代码执行以下操作:
    在所述应用程序界面数据中确定并跟踪所述加载窗口数据;
    获取所述加载窗口数据中的所述位置参数以及所述大小参数。
  13. 根据权利要求11或12所述的设备,其特征在于,所述处理器还用于执行所述存储器存储的程序代码执行以下操作:
    将所述即时视频帧的大小参数压缩至所述加载窗口的大小参数;
    设置所述即时视频帧的位置参数为所述加载窗口的位置参数。
  14. 根据权利要求11所述的设备,其特征在于,所述处理器还用于执行所述存储器存储的程序代码执行以下操作:
    获取所述即时视频帧中的人脸区域;
    将所述即时视频帧中人脸区域的大小参数压缩至所述加载窗口的大小参数;
    设置所述即时视频帧中人脸区域的位置参数为所述加载窗口的位置参数。
  15. 根据权利要求11至14任一所述的设备,其特征在于,所述处理器还用于执行所述存储器存储的程序代码执行以下操作:
    将所述即时视频帧融合至所述加载窗口界面。
  16. 一种应用程序界面中的即时视频加载系统,其特征在于,所述系统包括应用程序服务器和视频服务器,所述系统还包括:
    获取设备,用于获取应用程序服务器所发送的应用程序界面的当前图像帧中加载窗口的参数;
    设置设备,用于根据所述加载窗口的参数,设置所述视频服务器所发送的待加载的即时视频帧的参数;
    加载设备,用于将设置后的即时视频加载至所述加载窗口。
PCT/CN2015/099094 2015-01-22 2015-12-28 应用程序界面中的即时视频加载方法、系统和电子设备 WO2016115958A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510033136.7A CN104601927A (zh) 2015-01-22 2015-01-22 应用程序界面中的即时视频加载方法、系统和电子设备
CN201510033136.7 2015-01-22

Publications (1)

Publication Number Publication Date
WO2016115958A1 true WO2016115958A1 (zh) 2016-07-28

Family

ID=53127390

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/099094 WO2016115958A1 (zh) 2015-01-22 2015-12-28 应用程序界面中的即时视频加载方法、系统和电子设备

Country Status (2)

Country Link
CN (1) CN104601927A (zh)
WO (1) WO2016115958A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601927A (zh) * 2015-01-22 2015-05-06 掌赢信息科技(上海)有限公司 应用程序界面中的即时视频加载方法、系统和电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060152578A1 (en) * 2005-01-10 2006-07-13 Samsung Electronics Co., Ltd. Method of displaying video call image
CN102194443A (zh) * 2010-03-04 2011-09-21 腾讯科技(深圳)有限公司 视频画中画窗口的显示方法、系统及视频处理设备
CN102625147A (zh) * 2012-02-29 2012-08-01 中山大学 一种移动可视设备自适应显示方法
CN102665062A (zh) * 2012-03-16 2012-09-12 华为技术有限公司 一种使视频中目标物体图像稳定的方法及装置
CN103546716A (zh) * 2012-07-17 2014-01-29 三星电子株式会社 提供图像的系统及方法
CN103916623A (zh) * 2013-01-02 2014-07-09 三星电子株式会社 显示设备及其视频通话的方法
CN104601927A (zh) * 2015-01-22 2015-05-06 掌赢信息科技(上海)有限公司 应用程序界面中的即时视频加载方法、系统和电子设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307318B (zh) * 2011-03-18 2017-07-07 海尔集团公司 通过网络电视进行网络视频的处理方法及系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060152578A1 (en) * 2005-01-10 2006-07-13 Samsung Electronics Co., Ltd. Method of displaying video call image
CN102194443A (zh) * 2010-03-04 2011-09-21 腾讯科技(深圳)有限公司 视频画中画窗口的显示方法、系统及视频处理设备
CN102625147A (zh) * 2012-02-29 2012-08-01 中山大学 一种移动可视设备自适应显示方法
CN102665062A (zh) * 2012-03-16 2012-09-12 华为技术有限公司 一种使视频中目标物体图像稳定的方法及装置
CN103546716A (zh) * 2012-07-17 2014-01-29 三星电子株式会社 提供图像的系统及方法
CN103916623A (zh) * 2013-01-02 2014-07-09 三星电子株式会社 显示设备及其视频通话的方法
CN104601927A (zh) * 2015-01-22 2015-05-06 掌赢信息科技(上海)有限公司 应用程序界面中的即时视频加载方法、系统和电子设备

Also Published As

Publication number Publication date
CN104601927A (zh) 2015-05-06

Similar Documents

Publication Publication Date Title
KR102444085B1 (ko) 휴대용 통신 장치 및 휴대용 통신 장치의 영상 표시 방법
US11450055B2 (en) Displaying method, animation image generating method, and electronic device configured to execute the same
KR102327779B1 (ko) 이미지 처리 방법 및 장치
US10303933B2 (en) Apparatus and method for processing a beauty effect
US10674066B2 (en) Method for processing image and electronic apparatus therefor
CN110866977B (zh) 增强现实处理方法及装置、系统、存储介质和电子设备
CN109582122B (zh) 增强现实信息提供方法、装置及电子设备
KR20180013277A (ko) 그래픽 객체를 표시하기 위한 전자 장치 및 컴퓨터 판독 가능한 기록 매체
KR102223308B1 (ko) 영상처리 방법 및 이를 구현한 전자 장치
US9922439B2 (en) Displaying method, animation image generating method, and electronic device configured to execute the same
CN109565548B (zh) 控制多视场图像的方法和支持该方法的电子设备
KR102424296B1 (ko) 복수의 영상들을 제공하기 위한 방법, 저장 매체 및 전자 장치
US10412339B2 (en) Electronic device and image encoding method of electronic device
CN109992111B (zh) 增强现实扩展方法和电子设备
KR20170062038A (ko) 전자 장치 및 그의 동작 방법
KR20170112066A (ko) 이미지를 처리하기 위한 전자 장치 및 방법
CN111858318A (zh) 一种响应时间的测试方法、装置、设备和计算机存储介质
KR20170050137A (ko) 공동으로 그림을 그리는 방법 및 전자장치
CN112511743B (zh) 视频拍摄方法和装置
KR20170046496A (ko) 카메라를 갖는 전자 장치와 그의 이미지 처리 방법
WO2016115958A1 (zh) 应用程序界面中的即时视频加载方法、系统和电子设备
JP2016036106A (ja) 情報処理装置、情報処理方法及びプログラム
US20160277750A1 (en) Method of processing image and electronic device thereof
KR20160012909A (ko) 이미지를 표시하는 전자 장치 및 그 제어 방법
CA2935233A1 (en) Universal capture

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

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 14.11.2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15878626

Country of ref document: EP

Kind code of ref document: A1