CN104601927A - Method and system for loading real-time video in application program interface and electronic device - Google Patents

Method and system for loading real-time video in application program interface and electronic device Download PDF

Info

Publication number
CN104601927A
CN104601927A CN201510033136.7A CN201510033136A CN104601927A CN 104601927 A CN104601927 A CN 104601927A CN 201510033136 A CN201510033136 A CN 201510033136A CN 104601927 A CN104601927 A CN 104601927A
Authority
CN
China
Prior art keywords
parameter
loading window
instant video
video frame
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510033136.7A
Other languages
Chinese (zh)
Inventor
袁小刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhang Ying Information Technology (shanghai) Co Ltd
Original Assignee
Zhang Ying Information Technology (shanghai) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhang Ying Information Technology (shanghai) Co Ltd filed Critical Zhang Ying Information Technology (shanghai) Co Ltd
Priority to CN201510033136.7A priority Critical patent/CN104601927A/en
Publication of CN104601927A publication Critical patent/CN104601927A/en
Priority to PCT/CN2015/099094 priority patent/WO2016115958A1/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

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

Abstract

The invention provides a method and system for loading a real-time video in an application program interface and an electronic device, and belongs to the field of videos. The method specifically comprises the steps that parameters of a loading window in a current image frame of the application program interface are obtained; parameters of a real-time video frame to be loaded are set according to the parameters of the loading window; the set real-time video is loaded to the loading window. Due to the fact that the real-time video is loaded to the loading window in the application program interface, the user experience effect is improved.

Description

Instant video loading method, system and electronic equipment in Application Program Interface
Technical field
The present invention relates to video field, instant video loading method, system and electronic equipment particularly in a kind of Application Program Interface.
Background technology
Along with instant video application on mobile terminals universal, make increasing user should be used for realizing and mutual between other people by instant video, when user is undertaken mutual by other application programs (as game), need to provide the loading method of the instant video in a kind of Application Program Interface, by user and carrying out mutual instant video between other people and be loaded in Application Program Interface.
Prior art provides the loading method of the instant video in a kind of application interface, by arranging instant video broadcast interface in Application Program Interface, realizes loading instant video in application interface.
But the interface form of instant video broadcast interface used in the prior art is single, without the diversified demand meeting user, and under part scene, need instant video to embed in the peculiar element in Application Program Interface, and the method that prior art provides cannot meet this demand, thus reduce the experience effect of user.
Summary of the invention
In order to adding users is experienced, embodiments provide instant video loading method, system and the electronic equipment in a kind of Application Program Interface.Described technical scheme is as follows:
First aspect, provide the instant video loading method in a kind of Application Program Interface, described method comprises:
Obtain the parameter loading window in the current image frame of Application Program Interface;
According to the parameter of described loading window, the parameter of instant video frame to be loaded is set;
Instant video after described setting is loaded on described loading window.
In conjunction with first aspect, in the implementation that the first is possible, before loading the parameter of window in the current image frame of described acquisition Application Program Interface, described method also comprises:
Obtain the current image frame of the described Application Program Interface of current time;
Obtain the described to be loaded instant video frame corresponding with described current time.
In conjunction with the first possible implementation of first aspect or first aspect, in the implementation that the second is possible, the parameter of described loading window at least comprises the location parameter of described loading window in described interface and the size parameter of described loading window, and the parameter loading window in described acquisition interface comprises:
Determine in described Application Program Interface data and follow the tracks of described loading window data;
Obtain the described location parameter in described loading window data and described size parameter.
In conjunction with first aspect to the arbitrary possible implementation of the second of first aspect, in the implementation that the third is possible, the described parameter according to described loading window, the parameter arranging instant video frame to be loaded comprises:
The size parameter of described instant video frame is compressed to the size parameter of described loading window;
The location parameter arranging described instant video frame is the location parameter of described loading window.
In conjunction with first aspect, in the 4th kind of possible implementation, the described parameter according to described loading window, the parameter arranging instant video frame to be loaded comprises:
Obtain the human face region in described instant video frame;
The size parameter of human face region in described instant video frame is compressed to the size parameter of described loading window;
The location parameter arranging human face region in described instant video frame is the location parameter of described loading window.
In conjunction with first aspect to the 4th kind of arbitrary possible implementation of first aspect, in the 5th kind of possible implementation, described arrange after instant video be loaded on described loading window and comprise:
Human face region in described instant video frame is merged to described loading window interface.
In conjunction with first aspect to the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation, described method also comprises:
Arrange the transparency of described instant video frame, the instant video performed after described setting is loaded on the step of described loading window.
Second aspect, provides a kind of electronic equipment, and described electronic equipment comprises:
Acquisition module, for obtain Application Program Interface current image frame in load the parameter of window;
Module is set, for the parameter according to described loading window, the parameter of instant video frame to be loaded is set;
Load-on module, for being loaded on described loading window by the instant video after arranging.
In conjunction with second aspect, in the implementation that the first is possible, described acquisition module also for:
Obtain the current image frame of Application Program Interface described in current time;
Obtain the described to be loaded instant video frame corresponding with described current time.
In conjunction with the first possible implementation of second aspect or second aspect, in the implementation that the second is possible, the parameter of described loading window at least comprises the location parameter of described loading window in described interface and the size parameter of described loading window, described acquisition module specifically for:
Determine in described Application Program Interface data and follow the tracks of described loading window data;
Obtain the described location parameter in described loading window data and described size parameter.
In conjunction with second aspect to the arbitrary possible implementation of the second of first aspect, in the implementation that the third is possible, described arrange module specifically for:
The size parameter of described instant video frame is compressed to the size parameter of described loading window;
The location parameter arranging described instant video frame is the location parameter of described loading window.
In conjunction with second aspect, in the 4th kind of possible implementation, described arrange module specifically for:
Obtain the human face region in described instant video frame.
The size parameter of human face region in described instant video frame is compressed to the size parameter of described loading window;
The location parameter arranging human face region in described instant video frame is the location parameter of described loading window.
In conjunction with second aspect to the 4th kind of arbitrary possible implementation of second aspect, in the 5th kind of possible implementation, described load-on module specifically for:
Human face region in described instant video frame is merged to described loading window interface.
In conjunction with second aspect to the 5th kind of arbitrary possible implementation of second aspect, in the 6th kind of possible implementation, described arrange module also for:
Arrange the transparency of described instant video frame, the instant video performed afterwards after described setting is loaded on the step of described loading window.
The third aspect, provide a kind of electronic equipment, the processor that described electronic equipment comprises display screen, sending module, receiver module, memory module and is connected with described display screen, described sending module, described receiver module, described memory module, wherein, described memory stores batch processing code, the following operation of program code execution that described processor stores for performing described memory:
Obtain the parameter loading window in the current image frame of Application Program Interface;
According to the parameter of described loading window, the parameter of instant video frame to be loaded is set;
Instant video after arranging is loaded on described loading window.
In conjunction with the third aspect, in the implementation that the first is possible, the program code that described processor also stores for performing described memory performs following operation:
Obtain the current image frame of the described Application Program Interface of current time;
Obtain the described to be loaded instant video frame corresponding with described current time.
In conjunction with the first possible implementation of the third aspect or first aspect, in the implementation that the second is possible, the parameter of described loading window at least comprises the location parameter of described loading window in described interface and the size parameter of described loading window, and the program code that described processor also stores for performing described memory performs following operation:
Determine in described Application Program Interface data and follow the tracks of described loading window data;
Obtain the described location parameter in described loading window data and described size parameter.
In conjunction with the third aspect to the arbitrary possible implementation of the second of first aspect, in the implementation that the third is possible, operate below the program code that described processor also stores for performing described memory performs:
The size parameter of described instant video frame is compressed to the size parameter of described loading window;
The location parameter arranging described instant video frame is the location parameter of described loading window.
In conjunction with the third aspect, in the 4th kind of possible implementation, the program code that described processor also stores for performing described memory performs following operation:
Obtain the human face region in described instant video frame;
The size parameter of human face region in described instant video frame is compressed to the size parameter of described loading window;
The location parameter arranging human face region in described instant video frame is the location parameter of described loading window.
In conjunction with the third aspect to the 4th kind of arbitrary possible implementation of the third aspect, in the 5th kind of possible implementation, operate below the program code that described processor also stores for performing described memory performs:
Human face region in described instant video frame is merged to described loading window interface.
In conjunction with the third aspect to the 5th kind of arbitrary possible implementation of the third aspect, in the 6th kind of possible implementation, described method also comprises: the program code that described processor also stores for performing described memory performs following operation:
Arrange the transparency of described instant video frame, the instant video performed after described setting is loaded on the step of described loading window.
Fourth aspect, provide the instant video loading system in a kind of Application Program Interface, described system comprises apps server, video server, and described system also comprises:
Acquisition equipment, for obtain the Application Program Interface that apps server sends current image frame in load the parameter of window;
Equipment is set, for the parameter according to described loading window, the parameter of the instant video frame to be loaded that described video server sends is set;
Loading equipemtn, for being loaded on described loading window by the instant video after arranging.
The embodiment of the present invention provides instant video loading method, system and electronic equipment in a kind of Application Program Interface, comprising: obtain the parameter loading window in the current image frame of Application Program Interface; According to the parameter loading window, the parameter of instant video frame to be loaded is set; Instant video after arranging is loaded on loading window.By instant video being loaded on the loading window in Application Program Interface, improve the experience effect of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of interactive system schematic diagram that the embodiment of the present invention provides;
Fig. 2 is a kind of interactive system schematic diagram that the embodiment of the present invention provides;
Fig. 3 is a kind of interactive system schematic diagram that the embodiment of the present invention provides;
Fig. 4 is the instant video loading method flow chart in a kind of application interface of providing of the embodiment of the present invention;
Fig. 5 is the instant video loading method flow chart in a kind of application interface of providing of the embodiment of the present invention;
Fig. 6 is a kind of effect schematic diagram that the embodiment of the present invention provides;
Fig. 7 is a kind of effect schematic diagram that the embodiment of the present invention provides;
Fig. 8 is a kind of effect schematic diagram that the embodiment of the present invention provides;
Fig. 9 is the instant video loading method flow chart in a kind of application interface of providing of the embodiment of the present invention;
Figure 10 is a kind of effect schematic diagram that the embodiment of the present invention provides;
Figure 11 is a kind of electronic devices structure schematic diagram that the embodiment of the present invention provides;
Figure 12 is a kind of electronic devices structure schematic diagram that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
The embodiment of the present invention provides the loading method of the instant video in a kind of Application Program Interface, the method is applied to one and at least comprises first user, second user, first user equipment, second subscriber equipment, in the interactive system of video server and apps server, with reference to shown in Fig. 1, in this interactive system, first user equipment and the second subscriber equipment at least comprise video module respectively, transmission/reception module and one at least can call the application program of video data, concrete, this video module at least comprises video input module and Video Output Modules, this video input module can comprise camera, Video Output Modules can comprise display screen, that video server and apps server at least comprise transmission/reception module respectively, wherein, first user equipment, second subscriber equipment, video server can carry out the mutual of video data respectively by the transmission/reception module of self, first user equipment, the second subscriber equipment, application data server can carry out the mutual of application data respectively by the transmission/reception module of self, and this application data at least comprises interface data, first user equipment and the second subscriber equipment by self video input module input instant video, also can pass through Video Output Modules output interface data and the instant video data of self respectively respectively.In this interactive system, the executive agent of method provided by the present invention can comprise first user equipment, also can comprise the second subscriber equipment, can also comprise video server or apps server, the embodiment of the present invention is not limited executive agent concrete in this interactive system.For convenience of description, example is shown as on the first user device with the interface after loading instant video, if executive agent is first user equipment, then the instant video that first user inputs can be loaded in the interface of the application program of self-operating by this first user equipment, and the instant video Data import that also the second subscriber equipment can be sent is in the interface of the application program of self-operating; If executive agent is the second subscriber equipment, then the instant video of second user's input can be loaded in the interface of application program by this second subscriber equipment, then this interface is sent to first user equipment; If executive agent is video server, then this video server is behind the interface receiving the application program that apps server sends, the instant video that second subscriber equipment sends is loaded in the interface of application program, and this interface is sent to first user equipment; If executive agent is apps server, then this apps server is after receiving the instant video that video server sends, this instant video is loaded in the interface of application program, and this interface is sent to first user equipment, wherein, this instant video is sent to video server by the second subscriber equipment.
The method that the embodiment of the present invention provides can also be applied to one and at least comprise first user, second user, in the interactive system of first user equipment and the second subscriber equipment, with reference to shown in Fig. 2, in this interactive system, first user equipment and the second subscriber equipment at least comprise video module respectively, transmission/reception module and one at least can call the application program of video data, concrete, this video module at least comprises video input module and Video Output Modules, this video input module can comprise camera, Video Output Modules can comprise display screen, wherein, first user equipment and the second subscriber equipment can carry out the mutual of video data respectively by the transmission/reception module of self, in this interactive system, the executive agent of method provided by the present invention can comprise first user, also the second subscriber equipment can be comprised, the embodiment of the present invention is not limited executive agent concrete in interactive system.For convenience of description, example is shown as on the first user device with the interface after loading instant video, if executive agent is first user equipment, then the instant video that first user inputs can be loaded in the interface of the application program of self-operating by this first user equipment, and the instant video Data import that also the second subscriber equipment can be sent is in the interface of the application program of self-operating; If executive agent is the second subscriber equipment, then the instant video that second inputs can be loaded in the interface of application program by this second subscriber equipment, then this interface is sent to first user equipment.
In addition, the method that the embodiment of the present invention provides can also be applied to and a kind ofly at least comprise in the interactive system of user and subscriber equipment, with reference to shown in Fig. 3, this subscriber equipment at least comprises the application program that video module and at least can call video data, concrete, this video module at least comprises video input module and Video Output Modules, and this video input module can comprise camera, and Video Output Modules can comprise display screen.Wherein, the instant video that user inputs can be loaded in the interface of the application program of self-operating by subscriber equipment.
Instant video loading method in a kind of Application Program Interface that embodiment one provides for the embodiment of the present invention, with reference to shown in Fig. 4, the method comprises:
401, the parameter loading window in the current image frame of Application Program Interface is obtained;
Concrete, the parameter loading window at least comprises the location parameter of loading window in interface and the size parameter of loading window, obtains the parameter loading window in interface and comprises:
Determine and follow the tracks of to load window data in Application Program Interface data;
Obtain the location parameter in loading window data and size parameter.
Optionally, before step 401, can also comprise:
Obtain the current image frame of the Application Program Interface of current time;
Obtain the to be loaded instant video frame corresponding with current time.
402, according to the parameter loading window, the parameter of instant video frame to be loaded is set;
Concrete, the size parameter of instant video frame is compressed to the size parameter loading window;
The location parameter arranging instant video frame is the location parameter loading window.
Optionally, can also comprise:
Obtain the human face region in instant video frame.
Optionally, if obtain the human face region in instant video frame, then can also comprise:
The size parameter of human face region in instant video frame is compressed to the size parameter loading window;
The location parameter arranging human face region in instant video frame is the location parameter loading window.
403, the instant video after arranging is loaded on loading window.
Concrete, instant video frame is merged to loading window interface.
Optionally, the human face region in instant video frame is merged to loading window interface.
Optionally, arrange the transparency of instant video frame, the instant video performed after arranging is loaded on the step loading window.
The embodiment of the present invention provides the loading method of the instant video in a kind of application interface, comprising: obtain the parameter loading window in the current image frame of Application Program Interface; According to the parameter loading window, the parameter of instant video frame to be loaded is set; Instant video after arranging is loaded on loading window.By instant video being loaded on the loading window in Application Program Interface, improve the experience effect of user.
Instant video loading method in a kind of Application Program Interface that embodiment two provides for the embodiment of the present invention, for convenience of description, in embodiments of the present invention, application program is games, and with reference to shown in Fig. 5, the method comprises:
501, the current image frame of current time Application Program Interface is obtained.
Concrete, obtain the current image frame of current time Application Program Interface from the server corresponding to application program, its process can be:
Send to the server corresponding to application program the request of acquisition, this acquisition request at least comprises current time;
This acquisition request is received at server, and after determining the current image frame of the Application Program Interface indicated by current time in this acquisition request, the current image frame of the Application Program Interface that reception server sends.
Optionally, the current image frame of current time Application Program Interface can also be obtained from the memory storing Application Program Interface, in addition, can also be by other means, obtain the current image frame of current time Application Program Interface, the embodiment of the present invention is not limited concrete obtain manner.
Exemplary, in embodiments of the present invention, for convenience of description, the current image frame at current time games interface can with reference to shown in Fig. 6.
502, the to be loaded instant video frame corresponding with current time is obtained.
Concrete, obtain instant video frame to be loaded corresponding to current time from video server, its process can be:
Send to video server the request of acquisition, this acquisition request at least comprises current time;
This acquisition request is received at video server, and after determining the instant video frame to be loaded indicated by the current time in this acquisition request, the current image frame of the Application Program Interface that receiver, video server sends.
Optionally, the current image frame of current time Application Program Interface can also be obtained from the memory storing Application Program Interface, in addition, can also be by other means, obtain the current image frame of current time Application Program Interface, the embodiment of the present invention is not limited concrete obtain manner.
503, determine in Application Program Interface data and follow the tracks of loading window data.
Concrete, in Application Program Interface data, determine that the process loading window data can be:
Obtain the characteristic point data loading window, the data of mating with the characteristic point data loading window in Application Program Interface are defined as loading the data of window;
In addition, can also determine by other means to load window data in Application Program Interface data, the embodiment of the present invention is not limited concrete process.
After the characteristic point data determining loading window, follow the tracks of in Application Program Interface data and load window data, detailed process can be:
Obtain in current time Application Program Interface data and load window data;
Continue at subsequent time to perform the step obtaining and load window data in Application Program Interface data.
Exemplary, in embodiments of the present invention, for convenience of description, the loading window in the current image frame at current time games interface can with reference to shown in Fig. 7.
504, the location parameter in loading window data and size parameter is obtained.
Concrete, this location parameter can for loading the coordinate of window in Application Program Interface, and this coordinate at least comprises the coordinate of all pixels in Application Program Interface loaded on window edge.
The size parameter loading window at least comprises the size loading window;
Optionally, the form parameter loaded in window data can also be obtained;
Wherein, the embodiment of the present invention is not limited concrete acquisition process.
Especially, step 503 to step 504 obtains the process loading the parameter of window in interface, and except aforesaid way, can also obtain in interface the parameter loading window by other means, the embodiment of the present invention is not limited concrete mode.
505, the size parameter of instant video frame is compressed to the size parameter loading window.
Concrete, by the size parameter loading window, compression factor can be set with the size parameter of timely frame of video;
According to this compression factor, the size parameter of instant video frame is compressed to the size parameter loading window.
Wherein, the embodiment of the present invention is not limited concrete compression process.
Optionally, the shape of instant video frame after compression is also set, by time frame of video shape be set to the shape loading window, the embodiment of the present invention is not limited concrete setting up procedure.
506, the location parameter arranging instant video frame is the location parameter loading window.
Concrete, can by the location parameter of instant video frame being replaced with the location parameter loading window, the location parameter realizing arranging instant video frame is the location parameter loading window, in addition, the location parameter that can also realize arranging instant video frame is by other means the location parameter loading window, and the embodiment of the present invention is not limited concrete mode.
Especially, step 505 to step 506 is the parameters according to loading window, arranges the process of the parameter of instant video frame to be loaded.In addition, can also arrange the transparency of instant video frame, the embodiment of the present invention is not limited concrete setting up procedure.
507, instant video frame is merged to loading window interface.
Concrete, can by presetting fusion formula, merge instant video frame to loading window interface, this fusion formula can be:
Wherein, be the positive integer before 1 to 255, representing picture frame instant video frame being merged the current time Application Program Interface exported to loading window interface, is instant video frame, is load window interface.
Optionally, the transparency of instant video frame can be set by settings.
Exemplary, for convenience of description, suppose that instant video frame to be loaded that current time is corresponding is as shown in a in Fig. 8, after performing the method that provides of the embodiment of the present invention and this instant video frame is loaded on the games interface shown in Fig. 7, the picture frame of the current time Application Program Interface of output can with reference to shown in the b in Fig. 8; At subsequent time, when the loading window shown in the b in Fig. 8 moves to other positions by current location, the picture frame of the current time Application Program Interface of output can with reference to shown in the c in Fig. 8.
The embodiment of the present invention provides the loading method of the instant video in a kind of application interface, comprising: obtain the parameter loading window in the current image frame of Application Program Interface; According to the parameter loading window, the parameter of instant video frame to be loaded is set; Instant video after arranging is loaded on loading window.By instant video being loaded on the loading window in Application Program Interface, improve the experience effect of user.
Instant video loading method in a kind of Application Program Interface that embodiment three provides for the embodiment of the present invention, for convenience of description, in embodiments of the present invention, application program is games, and with reference to shown in Fig. 9, the method comprises:
901, the current image frame of current time Application Program Interface is obtained.
Concrete, this step is identical with the step 501 in a upper embodiment, is or else repeated herein.
902, the to be loaded instant video frame corresponding with current time is obtained.
Concrete, this step is identical with the step 502 in a upper embodiment, is or else repeated herein.
903, the human face region in instant video frame is obtained.
Concrete, can by identifying and extracting the characteristic point of face, obtain the human face region in instant video frame, the embodiment of the present invention is not limited concrete RM and extracting mode, in addition, can also obtain the human face region in instant video frame by other means, the embodiment of the present invention is not limited concrete obtain manner.
904, determine in Application Program Interface data and follow the tracks of loading window data.
Concrete, this process is identical with the step 503 in a upper embodiment, is or else repeated herein.
905, the location parameter in loading window data and size parameter is obtained.
The parameter loading window at least comprises the location parameter of loading window in interface and the size parameter of loading window,
Especially, step 904 to step 905 obtains the process loading the parameter of window in interface.Except aforesaid way, can also obtain in interface the parameter loading window by other means, the embodiment of the present invention is not limited concrete mode.
906, the size parameter of human face region in instant video frame is compressed to the size parameter loading window;
Concrete, this step is identical with the step 505 in a upper embodiment, is or else repeated herein.
907, the location parameter arranging human face region in instant video frame is the location parameter loading window.
Concrete, this step is the location parameter loading window by the location parameter arranging human face region, and in addition, this step is identical with the step 506 in a upper embodiment, is or else repeated herein.
Especially, step 906 to step 907 is the parameters according to loading window, and arrange the process of the parameter of instant video frame to be loaded, in addition, can also arrange the transparency of instant video frame, the embodiment of the present invention is not limited concrete setting up procedure.
In addition, the transparency of human face region can also be set.
908, the human face region in instant video frame is merged to loading window interface.
Concrete, this step is identical with the step 508 in a upper embodiment, is or else repeated herein.
Exemplary, for convenience of description, suppose that instant video frame to be loaded that current time is corresponding is as shown in a in Figure 10, after performing the method that provides of the embodiment of the present invention and the human face region in this instant video frame is loaded on the games interface shown in Fig. 7, the picture frame of the current time Application Program Interface of output can with reference to shown in the b in Figure 10; At subsequent time, when the loading window shown in the b in Figure 10 moves to other positions by current location, the picture frame of the current time Application Program Interface of output can with reference to shown in the c in Figure 10.
The embodiment of the present invention provides the loading method of the instant video in a kind of application interface, comprising: obtain the parameter loading window in the current image frame of Application Program Interface; According to the parameter loading window, the parameter of instant video frame to be loaded is set; Instant video after arranging is loaded on loading window.By instant video being loaded on the loading window in Application Program Interface, improve the experience effect of user.
A kind of electronic equipment 11 that embodiment four provides for the embodiment of the present invention, with reference to shown in Figure 11, electronic equipment 11 comprises:
Acquisition module 1101, for obtain Application Program Interface current image frame in load the parameter of window;
Module 1102 is set, for according to the parameter loading window, the parameter of instant video frame to be loaded is set;
Load-on module 1103, for being loaded on loading window by the instant video after arranging.
Optionally, acquisition module 1101 also for:
Obtain the current image frame of current time Application Program Interface;
Obtain the to be loaded instant video frame corresponding with current time.
Optionally, load the parameter of window and at least comprise the size parameter loading the location parameter of window in interface and load window, acquisition module 1101 specifically for:
Determine and follow the tracks of to load window data in Application Program Interface data;
Obtain the location parameter in loading window data and size parameter.
Optionally, arrange module 1102 specifically for:
The size parameter of instant video frame is compressed to the size parameter loading window;
The location parameter arranging instant video frame is the location parameter loading window.
Optionally, acquisition module 1101 also for:
Obtain the human face region in instant video frame.
The size parameter of human face region in instant video frame is compressed to the size parameter loading window;
The location parameter arranging human face region in instant video frame is the location parameter loading window.
Optionally, load-on module 1103 specifically for:
Instant video frame is merged to loading window interface.
Optionally, arrange module 1102 also for:
The transparency of instant video frame is set, performs the instant video after arranging afterwards and be loaded on the step loading window.
The embodiment of the present invention provides a kind of electronic equipment, loads the parameter of window in the current image frame of this electronic equipment by acquisition Application Program Interface; According to the parameter loading window, the parameter of instant video frame to be loaded is set; Instant video after arranging is loaded on loading window.By instant video being loaded on the loading window in Application Program Interface, improve the experience effect of user.
Embodiment five
A kind of electronic equipment 12 that embodiment five provides for the embodiment of the present invention, with reference to shown in Figure 12, the processor 1205 that electronic equipment 12 comprises display screen 1201, sending module 1202, receiver module 1203, memory module 1204 and is connected with display screen 1201, sending module 1202, receiver module 1203, memory module 1204, wherein, memory 1204 stores batch processing code, and processor 1205 performs following operation for the program code that execute store 1204 stores:
Obtain the parameter loading window in the current image frame of Application Program Interface;
According to the parameter loading window, the parameter of instant video frame to be loaded is set;
Instant video after arranging is loaded on loading window.
Optionally, processor 1205 performs following operation for the program code that execute store 1204 stores:
Obtain the current image frame of the Application Program Interface of current time;
Obtain the to be loaded instant video frame corresponding with current time.
Optionally, processor 1205 performs following operation for the program code that execute store 1204 stores:
Determine and follow the tracks of to load window data in Application Program Interface data;
Obtain the location parameter in loading window data and size parameter.
Optionally, processor 1205 performs following operation for the program code that execute store 1204 stores:
The size parameter of instant video frame is compressed to the size parameter loading window;
The location parameter arranging instant video frame is the location parameter loading window.
Optionally, processor 1205 performs following operation for the program code that execute store 1204 stores:
Obtain the human face region in instant video frame.
The size parameter of human face region in instant video frame is compressed to the size parameter loading window;
The location parameter arranging human face region in instant video frame is the location parameter loading window.
Optionally, processor 1205 performs following operation for the program code that execute store 1204 stores:
Instant video frame is merged to loading window interface.
Optionally, processor 1205 performs following operation for the program code that execute store 1204 stores:
Arrange the transparency of instant video frame, the instant video performed after arranging is loaded on the step loading window.
The embodiment of the present invention provides a kind of electronic equipment, loads the parameter of window in the current image frame of this electronic equipment by acquisition Application Program Interface; According to the parameter loading window, the parameter of instant video frame to be loaded is set; Instant video after arranging is loaded on loading window.By instant video being loaded on the loading window in Application Program Interface, improve the experience effect of user.
Instant video loading system in a kind of Application Program Interface that embodiment six provides for the embodiment of the present invention, this system comprises apps server, video server, and in addition, this system also comprises:
Acquisition equipment, for obtain the Application Program Interface that apps server sends current image frame in load the parameter of window;
Equipment is set, for according to the parameter loading window, the parameter of the instant video frame to be loaded that video server sends is set;
Loading equipemtn, for being loaded on loading window by the instant video after arranging.
Especially, within the system, acquisition equipment and loading equipemtn can be integrated on same equipment, also can distinguish on different devices integrated, in addition, can also be arrange equipment and loading equipemtn is on one device integrated, obtain integration of equipments on another one equipment, the embodiment of the present invention be limited concrete integration mode.
The embodiment of the present invention provides the loading system of the instant video in a kind of application interface.By instant video being loaded on the loading window in Application Program Interface, improve the experience effect of user.
It should be noted that interface listed by the embodiment of the present invention and application program are only exemplary, just conveniently further illustrate the method that the embodiment of the present invention provides, not refer in particular to herein.
It should be noted that: the device of the sense terminals position that above-described embodiment provides and equipment are when sense terminals position, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device and equipment is divided into different functional modules, to complete all or part of function described above.In addition, the device of the sense terminals position that above-described embodiment provides and the embodiment of the method for equipment and sense terminals position belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. the instant video loading method in Application Program Interface, is characterized in that, described method comprises:
Obtain the parameter loading window in the current image frame of Application Program Interface;
According to the parameter of described loading window, the parameter of instant video frame to be loaded is set;
Instant video after described setting is loaded on described loading window.
2. method according to claim 1, is characterized in that, the parameter of described loading window at least comprises the location parameter of described loading window in described interface and the size parameter of described loading window, and the parameter loading window in described acquisition interface comprises:
Determine in described Application Program Interface data and follow the tracks of described loading window data;
Obtain the described location parameter in described loading window data and described size parameter.
3. method according to claim 1 and 2, is characterized in that, the described parameter according to described loading window, and the parameter arranging instant video frame to be loaded comprises:
The size parameter of described instant video frame is compressed to the size parameter of described loading window;
The location parameter arranging described instant video frame is the location parameter of described loading window.
4. method according to claim 1, is characterized in that, the described parameter according to described loading window, and the parameter arranging instant video frame to be loaded comprises:
Obtain the human face region in described instant video frame;
The size parameter of human face region in described instant video frame is compressed to the size parameter of described loading window;
The location parameter arranging human face region in described instant video frame is the location parameter of described loading window.
5., according to the arbitrary described method of Claims 1-4, it is characterized in that, described arrange after instant video be loaded on described loading window and comprise:
Described instant video frame is merged to described loading window interface.
6. an electronic equipment, is characterized in that, described electronic equipment comprises:
Acquisition module, for obtain Application Program Interface current image frame in load the parameter of window;
Module is set, for the parameter according to described loading window, the parameter of instant video frame to be loaded is set;
Load-on module, for being loaded on described loading window by the instant video after arranging.
7. equipment according to claim 6, is characterized in that, the parameter of described loading window at least comprises the location parameter of described loading window in described interface and the size parameter of described loading window, described acquisition module specifically for:
Determine in described Application Program Interface data and follow the tracks of described loading window data;
Obtain the described location parameter in described loading window data and described size parameter.
8. the equipment according to claim 6 or 7, is characterized in that, described arrange module specifically for:
The size parameter of described instant video frame is compressed to the size parameter of described loading window;
The location parameter arranging described instant video frame is the location parameter of described loading window.
9. equipment according to claim 6, is characterized in that, described arrange module specifically for:
Obtain the human face region in described instant video frame.
The size parameter of human face region in described instant video frame is compressed to the size parameter of described loading window;
The location parameter arranging human face region in described instant video frame is the location parameter of described loading window.
10. an electronic equipment, it is characterized in that, the processor that described electronic equipment comprises display screen, sending module, receiver module, memory module and is connected with described display screen, described sending module, described receiver module, described memory module, wherein, described memory stores batch processing code, the following operation of program code execution that described processor stores for performing described memory:
Obtain the parameter loading window in the current image frame of Application Program Interface;
According to the parameter of described loading window, the parameter of instant video frame to be loaded is set;
Instant video after arranging is loaded on described loading window.
11. equipment according to claim 10, it is characterized in that, the parameter of described loading window at least comprises the location parameter of described loading window in described interface and the size parameter of described loading window, and the program code that described processor also stores for performing described memory performs following operation:
Determine in described Application Program Interface data and follow the tracks of described loading window data;
Obtain the described location parameter in described loading window data and described size parameter.
12. equipment according to claim 10 or 11, is characterized in that, the program code that described processor also stores for performing described memory performs following operation:
The size parameter of described instant video frame is compressed to the size parameter of described loading window;
The location parameter arranging described instant video frame is the location parameter of described loading window.
13. equipment according to claim 10, is characterized in that, the program code that described processor also stores for performing described memory performs following operation:
Obtain the human face region in described instant video frame;
The size parameter of human face region in described instant video frame is compressed to the size parameter of described loading window;
The location parameter arranging human face region in described instant video frame is the location parameter of described loading window.
Instant video loading system in 14. 1 kinds of Application Program Interfaces, it is characterized in that, described system comprises apps server and video server, described system also comprises:
Acquisition equipment, for obtain the Application Program Interface that apps server sends current image frame in load the parameter of window;
Equipment is set, for the parameter according to described loading window, the parameter of the instant video frame to be loaded that described video server sends is set;
Loading equipemtn, for being loaded on described loading window by the instant video after arranging.
CN201510033136.7A 2015-01-22 2015-01-22 Method and system for loading real-time video in application program interface and electronic device Pending CN104601927A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510033136.7A CN104601927A (en) 2015-01-22 2015-01-22 Method and system for loading real-time video in application program interface and electronic device
PCT/CN2015/099094 WO2016115958A1 (en) 2015-01-22 2015-12-28 Method and system for loading instant video in application program interface, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510033136.7A CN104601927A (en) 2015-01-22 2015-01-22 Method and system for loading real-time video in application program interface and electronic device

Publications (1)

Publication Number Publication Date
CN104601927A true CN104601927A (en) 2015-05-06

Family

ID=53127390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510033136.7A Pending CN104601927A (en) 2015-01-22 2015-01-22 Method and system for loading real-time video in application program interface and electronic device

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016115958A1 (en) * 2015-01-22 2016-07-28 掌赢信息科技(上海)有限公司 Method and system for loading instant video in application program interface, and electronic device

Citations (3)

* 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 (en) * 2010-03-04 2011-09-21 腾讯科技(深圳)有限公司 Display method and system for window of video picture in picture and video processing equipment
CN102307318A (en) * 2011-03-18 2012-01-04 海尔集团公司 Method and system for processing network video through network television

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625147B (en) * 2012-02-29 2015-01-14 中山大学 Self-adapting display method for mobile video equipment
CN102665062B (en) * 2012-03-16 2016-03-30 华为技术有限公司 A kind ofly make method that target object image in video is stable and device
WO2014014238A1 (en) * 2012-07-17 2014-01-23 Samsung Electronics Co., Ltd. System and method for providing image
KR101800617B1 (en) * 2013-01-02 2017-12-20 삼성전자주식회사 Display apparatus and Method for video calling thereof
CN104601927A (en) * 2015-01-22 2015-05-06 掌赢信息科技(上海)有限公司 Method and system for loading real-time video in application program interface and electronic device

Patent Citations (3)

* 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 (en) * 2010-03-04 2011-09-21 腾讯科技(深圳)有限公司 Display method and system for window of video picture in picture and video processing equipment
CN102307318A (en) * 2011-03-18 2012-01-04 海尔集团公司 Method and system for processing network video through network television

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016115958A1 (en) * 2015-01-22 2016-07-28 掌赢信息科技(上海)有限公司 Method and system for loading instant video in application program interface, and electronic device

Also Published As

Publication number Publication date
WO2016115958A1 (en) 2016-07-28

Similar Documents

Publication Publication Date Title
CN104780339A (en) Method and electronic equipment for loading expression effect animation in instant video
CN104780338A (en) Method and electronic equipment for loading expression effect animation in instant video
CN105592364B (en) Cross-terminal screenshot picture acquisition method and device
CN105554429A (en) Video conversation display method and video conversation equipment
CN104780458A (en) Method and electronic equipment for loading effects in instant video
CN104469253A (en) Face beautification method in real-time video and electronic equipment
CN104135611A (en) Method and device for photographing with split-screen function
CN105554430A (en) Video call method, system and device
US20190051147A1 (en) Remote control method, apparatus, terminal device, and computer readable storage medium
CN103078924A (en) Visual field sharing method and equipment
CN105701762B (en) Picture processing method and electronic equipment
CN109525802A (en) A kind of video stream transmission method and device
CN105516638A (en) Video call method, device and system
CN113411621B (en) Audio data processing method and device, storage medium and electronic equipment
CN107623833B (en) Control method, device and system for video conference
CN112348748A (en) Image special effect processing method and device, electronic equipment and computer readable storage medium
CN112039937A (en) Display method, position determination method and device
CN105578110A (en) Video call method, device and system
CN105407313A (en) Video calling method, equipment and system
CN112218034A (en) Video processing method, system, terminal and storage medium
CN104967917A (en) Instant video coding method and electronic device
CN109963106B (en) Video image processing method and device, storage medium and terminal
CN105049948A (en) Coding method of instant video and electronic equipment
CN105468237A (en) Screen-shot method in video call and electronic equipment
CN105163197A (en) Real-time video coding method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150506