CN102143189A - Method and system for realizing video recording on webpage - Google Patents
Method and system for realizing video recording on webpage Download PDFInfo
- Publication number
- CN102143189A CN102143189A CN2011101102117A CN201110110211A CN102143189A CN 102143189 A CN102143189 A CN 102143189A CN 2011101102117 A CN2011101102117 A CN 2011101102117A CN 201110110211 A CN201110110211 A CN 201110110211A CN 102143189 A CN102143189 A CN 102143189A
- Authority
- CN
- China
- Prior art keywords
- media server
- streaming media
- source user
- video information
- webpage
- 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
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a method and system for realizing video recording on a webpage, which are applied to the technical field of network. The method comprises the following steps: a stream media server authenticates the authority of the received video information transmitted by a source user and saves the video information in the stream media server after the authentication is passed. The invention realizes video recording and information security without downloading and installing software.
Description
Technical field
The invention belongs to networking technology area, relate in particular to the method and system that realize video record on a kind of webpage.
Background technology
In daily life, people all like with diary, mode such as take pictures write down oneself, relatives or friend's life drop.Though it is fine that above-mentioned document mode has brought for people's life,, also there is self defective.Because people not only rest on static aspect to the pursuit of life document, the demand of dynamic aspect (as image etc.) has been arranged also.Current, people can pass through approach recording images such as DV, mobile phone, software installation, but price is comparatively high, and need a large amount of hardware to do support.Development along with Internet technology, the first-class video equipment of shooting can be installed on the computer, to remedy the unicity that people exchange, meanwhile, also there is inconvenience, installs and some professional softwares are set, record and in time to share after finishing etc. with other people as need, do not possess practicality, cheapness, convenience, can't fully satisfy different levels user's demand.In internet, applications, video record mail, dancing are recorded etc. all needs to apply to the video record technology, and recording as the video monitoring of enterprises and institutions all is that hardware by costliness is realized, and the video file of recording is very big, be difficult for copy, backup, maintenance cost also increases thereupon.Along with the network teleconference of webpage version and the long-distance educational system of webpage version are progressively popularized, a large amount of important meetings need real-time video to record and back up.Especially in the industry of commercial field and high confidentiality, the video record function of webpage version seems particularly important.
In addition, the reception of existing information is passive often, does not authenticate control effectively, causes potential safety hazard easily.
Summary of the invention
In view of the defective that above-mentioned prior art exists, main purpose of the present invention is the method and system that propose to realize on a kind of webpage video record, has realized need not to download the authentication control that any control can be realized video record and information.
Main purpose of the present invention will be achieved by the following technical programs:
Realize the method for video record on a kind of webpage, comprise the steps:
The authority that streaming media server sends video information to the source user that receives authenticate and authentication by after described video information is saved in the described streaming media server.
Realize the system of video record on a kind of webpage, comprise source user and streaming media server, wherein:
The authority that streaming media server sends video information to the source user that receives authenticate and authentication by after described video information is saved in the described streaming media server.
The present invention proposes the method and system that realize video record on a kind of webpage, realized need not to download the authentication control that any control can be realized video record and information.
Description of drawings
Fig. 1 is a flow chart of realizing the method for video record among the embodiment one on a kind of webpage.
Embodiment
Embodiment one
As shown in Figure 1, realize the method for video record on a kind of webpage of specific embodiments of the invention, specifically comprise the steps:
Step 101:Source user is opened webpage, and described webpage loads the Flash plug-in unit automatically, and described Flash plug-in unit is set up with streaming media server and forever is connected, and begins to monitor described streaming media server transfer of data.
Technique scheme specifically comprises following process:
(1a) source user is opened webpage, and described webpage loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up by the XMLSocket class and is connected with the permanent of streaming media server, and begins to monitor the transfer of data of streaming media server.
The connection identifier that imports into when (1b) calling described Flash card i/f by JavaScript, create new FLV stream medium data and preserve file, the file connection identifier that is imported into by name adds current timestamp, does not bear the same name with other file of having recorded guaranteeing.
Step 102:Described source user is selected the video record function, begin to record interface by what JavaScript called described Flash plug-in unit, this moment, described Flash plug-in unit can load the local camera of described source user on webpage, described source user selects to agree that described Flash plug-in unit calls local camera, if camera loads unsuccessful or described source user is refused described Flash plug-in unit and called local camera then can not record.
Technique scheme specifically comprises following process:
(2a) described source user is selected the video record function by described Flash plug-in unit.
(2b) begin to record interface by what JavaScript called described Flash plug-in unit, this moment, described Flash plug-in unit can load the local camera of described source user on webpage.
(2c) described source user selects to agree that described Flash plug-in unit calls local camera, if camera loads unsuccessful or described source user is refused described Flash plug-in unit and called local camera then can not record.
Step 103:After described camera loads successfully, call the stream that described Flash card i/f obtains described camera, described then Flash plug-in unit calls API(Application Programming Interface, application programming interface) video information that gets access to is sent to communication server.
Technique scheme specifically comprises following process:
(3a) import the stream of the camera that is write down into by the interface of the described Flash plug-in unit of webpage JavaScript function call.
After (3b) described Flash plug-in unit received video information, the method for call XML Socket class sent to communication server with described video information.
Wherein, described video information comprises but is not limited to: the stream of camera and source user information etc.
Step 104:After streaming media server receives video information, authenticate, authentication includes but not limited to: source user authentication, data command purview certification (whether source user has the authority that sends video information), after all authentications were passed through, described streaming media server sent to described targeted customer with video information.
Technique scheme specifically comprises following process:
After (3a) described streaming media server receives video information, the source user identity is authenticated, promptly whether source user is the validated user that streaming media server is discerned, if authentication is not passed through, then the video record operation is ended; If authentication is passed through, proceed next step authentication.
(3b) the data command authority to source user authenticates, and promptly whether source user has that the authority that sends video information authenticates if authentication is not passed through, and then video record operation is ended; If authentication is passed through, described streaming media server is saved to described video information in the file.
Step 105:Described source user selects to stop the video record function, and webpage is closed the local camera of described source user, and video record work stops.
Technique scheme specifically comprises following process:
(5a) send when stopping the video record operational order when source user, webpage calls the interface of described Flash plug-in unit by JavaScript, described Flash plug-in unit is closed permanent connection of setting up with streaming media server by processing, and streaming media service this moment will stop video being recorded and preserve the stream of having recorded.
(5b) when described Flash plug-in unit close with being connected of described streaming media server after, the interface that described Flash plug-in unit can call described Flash plug-in unit is closed the camera of having opened, and described source user can be play by the FLV DST PLAYER and be kept at the file of recording success on the streaming media server this moment.
Embodiment two
Realize the system of video record on a kind of webpage of specific embodiments of the invention, comprise source user and streaming media server, wherein:
The authority that streaming media server sends video information to the source user that receives authenticate and authentication by after described video information is saved in the described streaming media server.
Preferably, before the authority of the video information that streaming media server sends the source user that receives authenticates, comprise that also the identity to described source user authenticates.
Preferably, streaming media server obtains before the video information, also comprise: source user is opened webpage, described webpage loads the Flash plug-in unit automatically, described Flash plug-in unit is set up with described streaming media server and forever is connected, and described Flash plug-in unit begins to monitor the transfer of data of described streaming media server.
More preferably,, when carrying out the recording operation of video, call the application programming interface API of described Flash plug-in unit, described video information is sent to described streaming media server when described source user is opened camera.
Introduce the operation principle of present embodiment below with reference to the accompanying drawings in detail:
Source user is opened webpage, and described webpage loads the Flash plug-in unit automatically, and described Flash plug-in unit is set up with streaming media server and forever is connected, and begins to monitor described streaming media server transfer of data.
Described source user is selected the video record function, begin to record interface by what JavaScript called described Flash plug-in unit, this moment, described Flash plug-in unit can load the local camera of described source user on webpage, described source user selects to agree that described Flash plug-in unit calls local camera, if camera loads unsuccessful or described source user is refused described Flash plug-in unit and called local camera then can not record.
After described camera loads successfully, call the stream that described Flash card i/f obtains described camera, described then Flash plug-in unit calls API(Application Programming Interface, application programming interface) video information that gets access to is sent to communication server.
After streaming media server receives video information, authenticate, authentication includes but not limited to: source user authentication, data command purview certification (whether source user has the authority that sends video information), after all authentications were passed through, described streaming media server sent to described targeted customer with video information.
Described source user selects to stop the video record function, and webpage is closed the local camera of described source user, and video record work stops.
Compared with prior art, beneficial effect of the present invention is:
(1) user does not need too many operation and setting, gets final product by operation easily; (2) directly can on webpage, carry out on-line operation, not need to install any software; (3) do not take user's space, the file of recording directly is kept on the streaming media server; (4) file of having recorded can directly be shared with other user and check by the link that streaming media server provides, convenient, fast; (5) file of recording is a stream media format, and file is little and be of high quality, and can play in the webpage player, also can play on the common table top player, and is supportive strong; (6) can arbitrarily begin to record, stop to record, and begin to record and create new files in stream media at every turn, make things convenient for user oneself operation; (7) server carries out the strictness authentication to authority, guarantees safety of data, and the user is not subjected to the interference of extraneous information.
The present invention still has multiple concrete execution mode, and all employings are equal to replacement or equivalent transformation and all technical schemes of forming, all drop within the scope of protection of present invention.
Claims (10)
1. realize the method for video record on the webpage, it is characterized in that:
The authority that streaming media server sends video information to the source user that receives authenticate and authentication by after described video information is saved in the described streaming media server.
2. method according to claim 1 is characterized in that: before the authority of the video information that streaming media server sends the source user that receives authenticates, comprise that also the identity to described source user authenticates.
3. method according to claim 1, it is characterized in that: streaming media server obtains before the video information, also comprise: source user is opened webpage, described webpage loads the Flash plug-in unit automatically, described Flash plug-in unit is set up with described streaming media server and forever is connected, and described Flash plug-in unit begins to monitor the transfer of data of described streaming media server.
4. method according to claim 3 is characterized in that: when described source user is opened camera, when carrying out the recording operation of video, call the application programming interface API of described Flash plug-in unit, described video information is sent to described streaming media server.
5. method according to claim 4 is characterized in that: described video information comprises but is not limited to: the stream of camera and described source user information.
6. method according to claim 5 is characterized in that: after described source user is closed described camera, described Flash plug-in unit close with described streaming media server between be connected.
7. realize the system of video record on the webpage, it is characterized in that: comprise source user and streaming media server, wherein:
The authority that streaming media server sends video information to the source user that receives authenticate and authentication by after described video information is saved in the described streaming media server.
8. system according to claim 7 is characterized in that: before the authority of the video information that streaming media server sends the source user that receives authenticates, comprise that also the identity to described source user authenticates.
9. system according to claim 7, it is characterized in that: streaming media server obtains before the video information, also comprise: source user is opened webpage, described webpage loads the Flash plug-in unit automatically, described Flash plug-in unit is set up with described streaming media server and forever is connected, and described Flash plug-in unit begins to monitor the transfer of data of described streaming media server.
10. system according to claim 8, it is characterized in that: when described source user is opened camera, when carrying out the recording operation of video, call the application programming interface API of described Flash plug-in unit, described video information is sent to described streaming media server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101102117A CN102143189A (en) | 2011-04-29 | 2011-04-29 | Method and system for realizing video recording on webpage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101102117A CN102143189A (en) | 2011-04-29 | 2011-04-29 | Method and system for realizing video recording on webpage |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102143189A true CN102143189A (en) | 2011-08-03 |
Family
ID=44410411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011101102117A Pending CN102143189A (en) | 2011-04-29 | 2011-04-29 | Method and system for realizing video recording on webpage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102143189A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104185082A (en) * | 2013-05-22 | 2014-12-03 | 深圳中兴网信科技有限公司 | Audio/video live broadcast method and system, client and server |
CN105025375A (en) * | 2014-04-28 | 2015-11-04 | 联想移动通信科技有限公司 | Terminal display content processing method, terminal display content processing device and mobile terminal |
CN108235107A (en) * | 2016-12-15 | 2018-06-29 | 广州市动景计算机科技有限公司 | Video recording method, device and electric terminal |
CN111131880A (en) * | 2019-12-30 | 2020-05-08 | 中国银行股份有限公司 | Webpage customized video recording method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002044950A2 (en) * | 2000-11-29 | 2002-06-06 | Logitech, Inc. | System and method for video streaming |
CN101415010A (en) * | 2008-11-26 | 2009-04-22 | 涂彦晖 | WEB browsing apparatus and operation method |
CN101673323A (en) * | 2008-09-09 | 2010-03-17 | 英业达股份有限公司 | Method for recording images |
CN101944130A (en) * | 2010-09-28 | 2011-01-12 | 苏州阔地网络科技有限公司 | Method for implementing list synchronization on webpage |
CN101969461A (en) * | 2010-09-29 | 2011-02-09 | 苏州阔地网络科技有限公司 | Method for implementing white board clear screen synchronization on webpage |
-
2011
- 2011-04-29 CN CN2011101102117A patent/CN102143189A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002044950A2 (en) * | 2000-11-29 | 2002-06-06 | Logitech, Inc. | System and method for video streaming |
WO2002044950A3 (en) * | 2000-11-29 | 2003-05-01 | Logitech Inc | System and method for video streaming |
CN101673323A (en) * | 2008-09-09 | 2010-03-17 | 英业达股份有限公司 | Method for recording images |
CN101415010A (en) * | 2008-11-26 | 2009-04-22 | 涂彦晖 | WEB browsing apparatus and operation method |
CN101944130A (en) * | 2010-09-28 | 2011-01-12 | 苏州阔地网络科技有限公司 | Method for implementing list synchronization on webpage |
CN101969461A (en) * | 2010-09-29 | 2011-02-09 | 苏州阔地网络科技有限公司 | Method for implementing white board clear screen synchronization on webpage |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104185082A (en) * | 2013-05-22 | 2014-12-03 | 深圳中兴网信科技有限公司 | Audio/video live broadcast method and system, client and server |
CN105025375A (en) * | 2014-04-28 | 2015-11-04 | 联想移动通信科技有限公司 | Terminal display content processing method, terminal display content processing device and mobile terminal |
CN108235107A (en) * | 2016-12-15 | 2018-06-29 | 广州市动景计算机科技有限公司 | Video recording method, device and electric terminal |
CN111131880A (en) * | 2019-12-30 | 2020-05-08 | 中国银行股份有限公司 | Webpage customized video recording method and device |
CN111131880B (en) * | 2019-12-30 | 2022-04-12 | 中国银行股份有限公司 | Webpage customized video recording method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10187389B2 (en) | Technologies for supporting multiple digital rights management protocols on a client device | |
US9356895B2 (en) | Message transmission system and method for a structure of a plurality of organizations | |
US8847729B2 (en) | Just in time visitor authentication and visitor access media issuance for a physical site | |
WO2021016269A1 (en) | Systems and methods of collaborative application on a private network | |
CN101150537A (en) | A file sharing and control method and system for instant messaging conference | |
CN109150800A (en) | Login access method, system and storage medium | |
CN102143189A (en) | Method and system for realizing video recording on webpage | |
CN103825894B (en) | A kind of application method of the multi-screen application system based on browser B/S structures | |
CN102170442A (en) | Safe synchronization method and system for electronic whiteboard based on community platform | |
CN109995807A (en) | A kind of management of multimedia equipment system and method | |
CN107396033A (en) | Video conferencing system and method | |
CN106330898B (en) | A kind of video monitoring system and its equipment scheduling method and server | |
CN102316298A (en) | Method for realizing audio and video recording | |
CN102136954A (en) | Method and system for monitoring network flow based on webpage realization | |
CN116134857A (en) | Access control for service-based management framework | |
CN102185849A (en) | Method and system for realizing audio recording on webpage | |
CN102307289A (en) | Method for recording video | |
CN102306499A (en) | Method for realization of audio recording | |
CN105898367A (en) | Intelligent television information interaction method and information interaction system | |
CN102195980A (en) | Webpage-based electronic whiteboard secure synchronization method and system | |
CN102215275B (en) | Service processing method and system as well as set top box | |
WO2017148337A1 (en) | Methods of providing and acquiring terminal service, device, and terminal | |
CN102281265A (en) | Method and system for realizing list authentication synchronization | |
CN102130923A (en) | Method and system for achieving group communication | |
CN102137292B (en) | Service processing method, system and set top box |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110803 |