[go: up one dir, main page]

CN104936002B - A kind of method and apparatus of screen recording - Google Patents

A kind of method and apparatus of screen recording Download PDF

Info

Publication number
CN104936002B
CN104936002B CN201510303218.9A CN201510303218A CN104936002B CN 104936002 B CN104936002 B CN 104936002B CN 201510303218 A CN201510303218 A CN 201510303218A CN 104936002 B CN104936002 B CN 104936002B
Authority
CN
China
Prior art keywords
action type
screen recording
recording
result
recording process
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.)
Active
Application number
CN201510303218.9A
Other languages
Chinese (zh)
Other versions
CN104936002A (en
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.)
Hangzhou Netease bamboo Information Technology Co.,Ltd.
Original Assignee
NET EASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) 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 NET EASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co Ltd filed Critical NET EASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co Ltd
Priority to CN201510303218.9A priority Critical patent/CN104936002B/en
Publication of CN104936002A publication Critical patent/CN104936002A/en
Application granted granted Critical
Publication of CN104936002B publication Critical patent/CN104936002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications
    • H04N21/274Storing end-user multimedia data in response to end-user request, e.g. network recorder
    • H04N21/2743Video hosting of uploaded data from client

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Embodiments of the present invention provide a kind of method of screen recording.This method includes:Calculate the video variance between the recording result and the recording result of other saved screen recording processes of current screen recording process;It is more than predetermined threshold value in response to the video variance, preserves the recording result of the current screen recording process.By only preserving the recording result recorded result difference value and be more than predetermined threshold value with other saved screen recording processes, the method of the present invention makes the repetition video preserved reduce, to significantly save memory space, and user is allow to watch more diversified recording as a result, bringing better experience for user.In addition, embodiments of the present invention provide a kind of device of screen recording.

Description

A kind of method and apparatus of screen recording
Technical field
Embodiments of the present invention are related to information technology field, more specifically, embodiments of the present invention are related to a kind of screen The method and apparatus that curtain is recorded.
Background technology
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein Description recognizes it is the prior art not because not being included in this part.
In some client applications, user has the needs that the operation that will be carried out is recorded, and can be shielded by capturing The mode of curtain records the operation screen of user, for example, user can use client to carry in some game class clients The process of game is recorded as game video by screen recording function using screen recording software.
In the prior art, the included screen recording function of client is usually to be recorded to a certain fixed time period, For example, the fixed process for recording a certain office's game;And use screen recording software, then need hand-guided record starting point and Operation in recording process is saved as general video format by end point.
Invention content
But the video that screen recording mode is preserved in the prior art usually has repeatability, for example, playing A certain office in user usually all can use fixed certain specific operations or technical ability, then the video recorded and preserved is then May be very similar, there is no new idea for viewer, and can occupy a large amount of memory space.
Thus, it is also very desirable to a kind of technical solution of improved screen recording, to avoid the video largely repeated is preserved.
In the present context, embodiments of the present invention are intended to provide a kind of method and device of screen recording.
In the first aspect of embodiment of the present invention, a kind of method of screen recording is provided, including:Calculate current screen Video variance between the recording result and the recording result of other saved screen recording processes of curtain recording process;Response It is more than predetermined threshold value in the video variance, preserves the recording result of the current screen recording process.
In the second aspect of embodiment of the present invention, a kind of device of screen recording is provided, including:Computing unit, Between recording result and the recording result of other saved screen recording processes for calculating current screen recording process Video variance;Storage unit preserves the current screen and recorded for being more than predetermined threshold value in response to the video variance The recording result of journey.
According to the method and device of the screen recording of embodiment of the present invention, by the record for calculating current screen recording process Video variance between result processed and the recording result of other saved screen recording processes is only more than in video variance pre- If when threshold value, being preserved to the recording result of current screen recording process, it can ensure preserved screen recording mistake in this way There is larger difference between the recording result of journey, avoid and the recording result largely repeated is preserved, save storage Space, and for the viewer for recording result, the recording result preserved has diversity, to improve recording result Viewability, bring better experience for user.
Description of the drawings
Detailed description below, above-mentioned and other mesh of exemplary embodiment of the invention are read by reference to attached drawing , feature and advantage will become prone to understand.In the accompanying drawings, if showing the present invention's by way of example rather than limitation Dry embodiment, wherein:
Fig. 1 schematically shows the application scenarios that embodiment of the present invention can be implemented within;
Fig. 2 schematically shows the flow charts of the method for screen recording according to an embodiment of the present invention;
Fig. 3 schematically shows the flow chart of the method for the screen recording according to another embodiment of the present invention;
Fig. 4 schematically shows the flow charts according to the method for the screen recording of a further embodiment of the present invention;
Fig. 5 schematically shows the structure chart of the device of screen recording according to an embodiment of the present invention.
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific implementation mode
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any Mode limits the scope of the invention.On the contrary, these embodiments are provided so that the disclosure is more thorough and complete, and energy It is enough that the scope of the present disclosure is completely communicated to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method Or computer program product.Therefore, the disclosure can be with specific implementation is as follows, i.e.,:Complete hardware, complete software The form that (including firmware, resident software, microcode etc.) or hardware and software combine.
According to the embodiment of the present invention, it is proposed that a kind of method and device of screen recording.
In addition, any number of elements in attached drawing be used to example and it is unrestricted and it is any name be only used for distinguishing, Without any restrictions meaning.
Below with reference to several representative embodiments of the present invention, the principle and spirit of the invention are illustrated in detail.
Summary of the invention
The inventors discovered that the video recorded during screen recording in the prior art may all be much to repeat, If all preserved, a large amount of memory space can be occupied, the viewer's viewing experience that will also result in recorded video is bad.In addition, making With client carry screen recording function can not self-defined screen recording beginning and the end time, make user can not flexibly it is right Recording time is selected, and uses screen recording software, and user is needed to trigger the beginning and end of screen recording manually, is operated It is complex, reduce the usage experience of user.
In view of the above problems, the basic thought of the present invention is:Calculate current screen recording process recording result with Video variance between the recording result of other saved screen recording processes, when video variance is more than predetermined threshold value, Preserve the recording of current screen recording process as a result, with the recording result of current recording process that is preserved with it is saved Other screen recording processes recording result between there is certain otherness, avoid and similar recording result repeated to protect It deposits.In addition, by can when a triggering condition is met be automatically begun to the trigger condition of the beginning of self-defined screen recording or end Or terminating screen recording, trigger condition setting is flexible, need not also trigger manually, improves the convenience of screen recording operation.
After the basic principle for describing the present invention, lower mask body introduces the various non-limiting embodiment party of the present invention Formula.
Application scenarios overview
It is the exemplary application scene that can be implemented within according to the embodiment of the present invention referring initially to Fig. 1, Fig. 1. Wherein, user is interacted by the client 102 on user equipment with the server 101 for providing application service.This field skill Art personnel are appreciated that application scenarios shown in FIG. 1 only and are one that embodiments of the present invention can be achieved wherein Example.The scope of application of embodiment of the present invention is not limited by any aspect of the scene.
It should be noted that user equipment herein can be existing, researching and developing or research and development in the future, Neng Goutong It crosses any type of wiredly and/or wirelessly connection (for example, Wi-Fi, LAN, honeycomb, coaxial cable etc.) and realizes client thereon The 102 any user equipmenies interacted with server 101, including but not limited to:Existing, researching and developing or research and development in the future intelligence It can mobile phone, non-smart mobile phone, tablet computer, laptop PC, desktop personal computer, minicomputer, medium-sized Computer, mainframe computer etc..
It is also to be noted that server 101 herein be only it is existing, researching and developing or in the future research and development, can Provide a user an example of the equipment of application service.Embodiments of the present invention are unrestricted in this regard.
Based on frame shown in FIG. 1, server 101 or client 102 can calculate the record of current screen recording process Video variance between result processed and the recording result of other saved screen recording processes;In response to the video variance More than predetermined threshold value, the recording result of the current screen recording process is preserved.
It is understood that in the application scenarios of the present invention, although the action description of embodiment of the present invention is served as reasons Server 101 or client 102 execute, but the present invention is unrestricted in terms of executive agent, as long as performing the present invention Action disclosed in embodiment.
Illustrative methods
With reference to the application scenarios of Fig. 1, described according to exemplary embodiment of the invention with reference to figure 2-4 for shielding The method that curtain is recorded.It should be noted that above application scene is merely for convenience of understanding spirit and principles of the present invention and showing Go out, embodiments of the present invention are unrestricted in this regard.On the contrary, embodiments of the present invention can be applied to it is applicable Any scene.
For example, with reference to Fig. 2, the flow chart of one embodiment of method of screen recording in the present invention is shown, such as specifically may be used To include the following steps:
Step 201:Calculate the recording result of current screen recording process and other saved screen recording processes Record the video variance between result.
Screen recording records the full content on current display screen, the recording result one of screen recording process As be saved as video format, all kinds of behaviour of user during screen recording can be reflected by the recording result recorded Make.Screen recording process is generally completed by client, and user can be shielded by triggering the screen recording function in client Curtain is recorded.In some possible embodiments, can be by client end response in the first preset trigger condition, automatic trigger starts Screen recording process;And/or in response to the second preset trigger condition, automatic trigger terminates screen recording process.First is default tactile Clockwork spring part and the second preset trigger condition can pre-save in the client, can also by client be arranged menu by with Family is flexibly arranged.Client end response can be started or tied with automatic trigger in the first preset trigger condition or the second preset trigger condition Beam screen recording, it is no longer necessary to which user is manually operated, and reduces the complexity of operation, while the first preset trigger condition or second Preset trigger condition can be arranged by user flexibility, then improve the flexibility that triggering screen recording starts or terminates.
In practical applications, by taking client is game class client as an example, the first preset trigger condition is default tactile with second Clockwork spring part can be related to game process data, for example, when game proceed in a certain office, distance close bottom also have certain distance or The condition setting can be the first preset trigger condition, set this innings of game over to the second preset trigger condition by the time. In the concrete realization, client can read game process data in real time, in representated by the game process data read Appearance matches with the first preset trigger condition, then for client end response in the first preset trigger condition, automatic trigger starts screen record Process processed, the content representated by the game process data read match with the second preset trigger condition, then client is rung It should terminate screen recording process in the second preset trigger condition, automatic trigger, to realize automatically beginning to or tying for screen recording Beam.
In some possible embodiments, the specific implementation of step 201 can be:It obtains during screen recording Action type and the corresponding number of operations of the action type;It is corresponding according to the action type and the action type Number of operations calculates the recording result of the recording result and other saved screen recording processes of current screen recording process Between video variance.
Action type refers to operation item of the user conducted in screen recording process, for example, user is in game process Used in movements in martial arts or operation, each action type correspond to different number of operations, recorded to calculate different screen Video variance between journey needs to obtain the action type conducted in different screen recording process and corresponding operation time Number.The action type and the corresponding number of operations of the action type during screen recording are obtained, it can be by client Execution can also be executed by server.
In some possible embodiments, the action type when acquisition during screen recording and the operation class The corresponding number of operations of type can be by client executing, the then specific implementation of the step:The client records current screen Action type in recording process and the corresponding number of operations of the action type, and obtain saved other screens record Action type during system and the corresponding number of operations of the action type.
Client can record action type and corresponding number of operations in current screen recording process, and other screens Curtain recording process in action type and the corresponding number of operations of the action type can by client from it is local obtain, from Other clients are obtained, and/or are obtained from server.Client is proceeded by triggering after current screen records, then is started pair The action type for the operations that user is carried out and corresponding number of operations record, until triggering terminates screen record System, to obtain the action type and the corresponding number of operations of the action type in current screen recording process.Meanwhile visitor Family end can preserve action type and the corresponding number of operations of the action type during other screen recordings, Other clients and server may also preserve action type and the action type during other screen recordings Corresponding number of operations, then client can obtain saved its from local client, other clients and/or server Action type during his screen recording and the corresponding number of operations of the action type.It is understood that in order to complete Face obtains data, and client can obtain all saved other from local client, other clients and server Action type during screen recording and the corresponding number of operations of the action type, so that the video difference subsequently carried out Different calculating has more comprehensively data basis.
In some possible embodiments, the action type when acquisition during screen recording and the operation class The corresponding number of operations of type is executed by server, then the specific implementation of the step can be:The server receives client note Action type in the current screen recording process of record and the corresponding number of operations of the action type, and obtain saved Other screen recordings during action type and the corresponding number of operations of the action type.
Client can record action type in current screen recording process and corresponding number of operations, server can To receive action type and the corresponding number of operations in the current screen recording process that client uploads.Meanwhile server The operation class having been saved in during other screen recordings in each client uploaded can be received from each client Type and the corresponding number of operations of the action type, server local can also preserve the behaviour during other screen recordings Make type and the corresponding number of operations of the action type, then server can have been protected from local, each client acquisition Action type during other screen recordings deposited and the corresponding number of operations of the action type.It is understood that For Overall Acquisition data, server can obtain all saved from local, each client being connected with server Other screen recordings during action type and the action type corresponding number of operations, so as to subsequently be carried out Video variance calculating has more comprehensively data basis.
After action type and the corresponding number of operations of action type during getting screen recording, calculate Video difference between the recording result of current screen recording process and the recording result of other saved screen recording processes It is different, it can also be executed by server by client executing.The recording result for the different screen recording process being calculated it Between video variance it is bigger, represent record result between otherness it is bigger, otherwise represent record result between otherness it is small.
Specifically, in some possible embodiments, it can be according to the action type and the action type pair The number of operations answered establishes other vectorial and saved screen recording processes of the action type of current screen recording process Action type vector;Calculate other vectorial and saved screen recording mistakes of the action type of current screen recording process The vectorial Euclidean distance of the action type vector of journey, recording result and saved other as current screen recording process Video variance between the recording result of screen recording process.
If obtaining the action type involved by each screen recording process and corresponding number of operations, can obtain Obtain current screen recording process and all operationss type involved during other saved screen recordings.For example, working as Forth screen recording process is related to action type A, B, D, and respective operations number is 3,4,5 respectively, a certain other saved screens Curtain recording process is related to action type A, C, D, and respective operations number is 2,3,6 respectively, another saved other screens record Process processed is related to action type A, D, and respective operations number is 3,5 respectively, then can be informed in institute during each screen recording The all operationss type being related to includes A, B, C, D.
Other vectorial and saved screen recording processes of the action type of current screen recording process are established later Action type vector.Included number of elements is identical in the action type vector of different screen recording process, number of elements For the quantity of all operationss type, element value is then the number of operations corresponding to action type.For example, current screen recording process It is related to action type A, B, D, respective operations number is 3,4,5 respectively, and it is that C is corresponding that may further supplement and obtain action type Number of operations is 0, then the action type vector of current screen recording process is an one-dimensional vector for including 4 elements, operation The element value of type vector is respectively 3,4,0,5, and action type vector is [3,4,0,5].Similarly, a certain saved other Screen recording process is related to action type A, C, D, and respective operations number is 2,3,6 respectively, then action type vector be [2,0,3, 6], another other saved screen recording processes are related to action type A, D, and respective operations number is 3,5 respectively, then operates Type vector is [3,0,0,5].
The action type vector and each other saved screens for finally calculating separately current screen recording process are recorded The vectorial Euclidean distance of the action type vector of process processed.Vectorial Euclidean distance is each corresponding element difference in two vectors Evolution again after quadratic sum, still with above-mentioned data instance, calculate current screen recording process action type vector [3,4,0, 5] it is ((2-3) with the vectorial Euclidean distance of the action type of other saved screen recording processes vectorial [2,0,3,6]2+ (0-4)2+(3-0)2+(6-5)2)1/2≈5.2.Calculate the action type vectorial [3,4,0,5] of current screen recording process with it is another The vectorial Euclidean distance of the action type of other saved screen recording processes vectorial [3,0,0,5] is ((3-3)2+(0- 4)2+(0-0)2+(5-5)2)1/2=4.By above description, the recording result of current screen recording process and other different screens There can be different video variances between the recording result of curtain recording process.Acquisition current screen may further be calculated to record The vectorial Euclidean distance of the action type vector of journey and the action type vector of each other saved screen recording processes, As regarding between the recording result and the recording result of other saved screen recording processes of current screen recording process Frequency difference is different.
There is different weights alternatively, it is also possible to which action type is arranged, the weight total value of each action type can be 1, It can be to calculate weighing vector Euclidean distance to calculate vectorial Euclidean distance, that is, calculate the action type of current screen recording process to The weighing vector Euclidean distance of amount and the action type vector of each other saved screen recording processes.Weighing vector Europe Formula distance is evolution again after the weighted sum of squares of each corresponding element difference in two vectors, still with above-mentioned data instance, In another example the weight that action type calculates A, B, C, D is respectively 0.1,0.2,0.5,0.2, then the operation of current screen recording process The weighting of type vector [3,4,0,5] and the action type vectorial [2,0,3,6] of saved other screen recording processes to Amount Euclidean distance is (0.1* (2-3)2+0.2*(0-4)2+0.5*(3-0)2+0.2*(6-5)2)1/2≈2.8.Calculate current screen The action type vector of the action type of recording process vectorial [3,4,0,5] and another other saved screen recording processes [3,0,0,5] weighing vector Euclidean distance is (0.1* (3-3)2+0.2*(0-4)2+0.5*(0-0)2+0.2*(5-5)2)1/2≈ 1.8.The action type vector for obtaining current screen recording process and each other saved screens may further be calculated The weighing vector Euclidean distance of the action type vector of recording process, as current screen recording process recording result with Video variance between the recording result of other screen recording processes preserved.
Step 202:It is more than predetermined threshold value in response to the video variance, preserves the recording of the current screen recording process As a result.
When video variance is more than predetermined threshold value, the recordings result of current screen recording process and saved other are represented The recording result of screen recording process has larger difference, then can preserve the recording result of forth screen recording process.It can manage Solution, if there is the recording of multiple other saved screen recording processes is as a result, then need current screen recording process Recording result and the recording result of multiple other saved screen recording processes between video variance be all higher than it is default Threshold value just preserves the recording of current screen recording process as a result, to ensure not having repetition between preserved recording result Property.Preserving the recording result of current screen recording process can also be executed by client executing by server.
In some possible embodiments, when the recording result for preserving the current screen recording process is held by client It goes, can be in the specific implementation of step 202:The client end response is more than predetermined threshold value in the video variance, local to protect The recording of the current screen recording process is deposited as a result, and the recording result of the current screen recording process is uploaded to service Device in the server so that preserve.
In some possible embodiments, when the recording result for preserving the current screen recording process is held by server It goes, can be in the specific implementation of step 202:The server is more than predetermined threshold value in response to the video variance, triggers institute It states client and preserves the recording of current screen recording process as a result, and being received from the client in locally preservation described current The recording result of screen recording process.
In addition, in some possible embodiments, can also include:In response to the recording result watching request of user, The recording result of the screen recording process preserved in the server is sent from the server to client.
The recording result of the screen recording process preserved can carry label, when identifying the generation of the screen recording process Between or position, user can use user end to server send record result watching request, record result watching request in can To carry label, the recording of the screen recording process preserved in server is watched as a result, for example, user can select to see with selection See that a certain process section or the different of certain time period record result in a certain game.
In this way, according to the method for the screen recording of embodiment of the present invention, by the record for calculating current screen recording process Video variance between result processed and the recording result of other saved screen recording processes is only more than in video variance pre- If when threshold value, being preserved to the recording result of current screen recording process, it can ensure preserved screen recording mistake in this way There is larger difference between the recording result of journey, avoid and the recording result largely repeated is preserved, save storage Space, and for the viewer for recording result, the recording result preserved has diversity, to improve recording result Viewability, bring better experience for user.In addition, client end response is default tactile in the first preset trigger condition or second Clockwork spring part can be started or be terminated screen recording with automatic trigger, it is no longer necessary to and user is manually operated, and reduces the complexity of operation, The first preset trigger condition or the second preset trigger condition can be arranged by user flexibility simultaneously, improve triggering screen recording and open The flexibility begun or terminated.
In conjunction with concrete application example, above-described embodiment is further illustrated.For example, with reference to Fig. 3, this hair is shown The flow chart of another embodiment of method of bright middle screen recording, such as can specifically include following steps:
Step 301:Client records action type and the corresponding operation of action type in current screen recording process Number.
Step 302:Client obtains other saved screens from local client, other clients and/or server Action type in curtain recording process and the corresponding number of operations of action type.
Step 303:Client calculates current screen and records according to action type and the corresponding number of operations of action type Video variance between the recording result of process and the recording result of other saved screen recording processes.
Specifically, can establish current screen according to action type and the corresponding number of operations of action type and recorded The action type vector of other vectorial and saved screen recording processes of the action type of journey;Current screen is calculated to record The vectorial Euclidean distance of the action type vector of other vectorial and saved screen recording processes of the action type of process, As regarding between the recording result and the recording result of other saved screen recording processes of current screen recording process Frequency difference is different.
Step 304:Client end response is more than predetermined threshold value, the local record for preserving current screen recording process in video variance Result processed.
Step 305:Client uploads onto the server the recording result of current screen recording process so that in server It preserves.
In the present embodiment, the recording result of current screen recording process and other saved screen recording mistakes are calculated Video variance between the recording result of journey is more than predetermined threshold value in response to video variance, preserves current screen recording process Result is recorded by client executing, client by the recording result of the screen recording process finally preserved be sent to server into Row preserves.
In another example referring to Fig. 4, the flow chart of the method another embodiment of screen recording in the present invention is shown, such as have Body may include steps of:
Step 401:Client records action type and the corresponding operation of action type in current screen recording process Number.
Step 402:Server receives action type and operation class in the current screen recording process of client record The corresponding number of operations of type.
Step 403:Server obtains the behaviour during other saved screen recordings from local or each client Make type and the corresponding number of operations of action type.
Step 404:Server calculates current screen and records according to action type and the corresponding number of operations of action type Video variance between the recording result of process and the recording result of other saved screen recording processes.
Specifically, can establish current screen according to action type and the corresponding number of operations of action type and recorded The action type vector of other vectorial and saved screen recording processes of the action type of journey;Current screen is calculated to record The vectorial Euclidean distance of the action type vector of other vectorial and saved screen recording processes of the action type of process, As regarding between the recording result and the recording result of other saved screen recording processes of current screen recording process Frequency difference is different.
Step 405:Server is more than predetermined threshold value in response to video variance, and triggering client preserves current screen and recorded The recording of journey is as a result, and in the recording result for locally preserving the current screen recording process received from client.
In the present embodiment, the action type in current screen recording process and the corresponding number of operations of action type Record is needed by client executing, and server obtains action type and operation class in current screen recording process from client The corresponding number of operations of type and behaviour during other saved screen recordings is obtained from local or other clients Make type and the corresponding number of operations of action type, and calculate the recording result of current screen recording process with it is saved Video variance between the recording result of other screen recording processes.It is understood that in practical applications, by server meter The efficiency of calculation is better than the efficiency calculated by client.Finally it is more than predetermined threshold value in response to video variance, server needs to touch Hair client preserves the recording of current screen recording process as a result, simultaneously being preserved simultaneously locally.
It should be noted that above-mentioned two embodiment is only the exemplary theory of the method for screen recording provided by the invention Bright, embodiments of the present invention are not limited to this.
In this way, according to the method for the screen recording of embodiment of the present invention, by the record for calculating current screen recording process Video variance between result processed and the recording result of other saved screen recording processes is only more than in video variance pre- If when threshold value, being preserved to the recording result of current screen recording process, it can ensure preserved screen recording mistake in this way There is larger difference between the recording result of journey, avoid and the recording result largely repeated is preserved, save storage Space, and for the viewer for recording result, the recording result preserved has diversity, to improve recording result Viewability, bring better experience for user.
Example devices
After describing the method for exemplary embodiment of the invention, next, with reference to figure 5 to the exemplary reality of the present invention Apply mode, illustrate for the device of screen recording.
Referring to Fig. 5, the structure chart of one embodiment of device of screen recording in the present invention is shown, such as can specifically wrap It includes:
Computing unit 501, the recording result for calculating current screen recording process are recorded with other saved screens Video variance between the recording result of process processed.
Storage unit 502 preserves the current screen and recorded for being more than predetermined threshold value in response to the video variance The recording result of journey.
In some possible embodiments, the computing unit may include:
Subelement 5011 is obtained, for obtaining action type and the action type correspondence during screen recording Number of operations.
Computation subunit 5012, for according to the action type and the corresponding number of operations of the action type, meter Calculate the video between the recording result and the recording result of other saved screen recording processes of current screen recording process Difference.
In some possible embodiments, the computation subunit 5012 can be specifically used for:
According to the action type and the corresponding number of operations of the action type, current screen recording process is established The action type vector of other vectorial and saved screen recording processes of action type;
Calculate the behaviour of other vectorial and saved screen recording processes of action type of current screen recording process The vectorial Euclidean distance for making type vector, recording result and other saved screens as current screen recording process are recorded Video variance between the recording result of process processed.
In some possible embodiments, described device can be applied to client, then the acquisition subelement 5011 It can be specifically used for:
The action type and the corresponding number of operations of the action type in current screen recording process are recorded, and is obtained Action type during other saved screen recordings and the corresponding number of operations of the action type.
In some possible embodiments, described device can be applied to server, then the acquisition subelement 5011 It can also be specifically used for:
Receive the action type in the current screen recording process of client record and the corresponding behaviour of the action type Make number, and obtains the action type during other saved screen recordings and the corresponding operation of the action type Number.
In some possible embodiments, described device can be applied to client, then the storage unit 502 can be with It is specifically used for:
It is more than predetermined threshold value, the local recording knot for preserving the current screen recording process in response to the video variance Fruit, and the recording result of the current screen recording process is uploaded onto the server so that being preserved in the server.
In some possible embodiments, described device can be applied to server, then the storage unit 502 also may be used To be specifically used for:
It is more than predetermined threshold value in response to the video variance, triggers the record that the client preserves current screen recording process System is as a result, and in the recording result for locally preserving the current screen recording process received from the client.
In addition, in some possible embodiments, it can be automatic to touch in response to the first preset trigger condition by client Hair starts screen recording process;And/or in response to the second preset trigger condition, automatic trigger terminates screen recording process.
In some possible embodiments, described device can be applied to server, then described device can also include:
Transmission unit sends institute for the recording result watching request in response to user from the server to client State the recording result of the screen recording process preserved in server.
In this way, according to the method and device of the screen recording of embodiment of the present invention, recorded by calculating current screen Video variance between the recording result of journey and the recording result of other saved screen recording processes, only in video variance When more than predetermined threshold value, the recording result of current screen recording process is preserved, can ensure preserved screen in this way There is larger difference between the recording result of recording process, avoid and the recording result largely repeated is preserved, save Memory space, and for the viewer for recording result, the recording result preserved has diversity, to improve record The viewability of result processed brings better experience for user.In addition, client end response is in the first preset trigger condition or second Preset trigger condition can be started or be terminated screen recording with automatic trigger, it is no longer necessary to which user is manually operated, and reduces operation Complexity, while the first preset trigger condition or the second preset trigger condition can be arranged by user flexibility, then improve triggering The flexibility that screen recording starts or terminates.
It should be noted that although being referred to several units or subelement of the device of screen recording in above-detailed, But it is this division be only exemplary it is not enforceable.In fact, according to the embodiment of the present invention, it is above-described The feature and function of two or more units can embody in a unit.Conversely, the spy of an above-described unit Function of seeking peace can be further divided into be embodied by multiple units.
In addition, although the operation of the method for the present invention is described with particular order in the accompanying drawings, this do not require that or Hint must execute these operations according to the particular order, or have to carry out shown in whole operation could realize it is desired As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one Step is decomposed into execution of multiple steps.
Although by reference to several spirit and principle that detailed description of the preferred embodimentsthe present invention has been described, it should be appreciated that, this It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects Combination is this to divide the convenience merely to statement to be benefited.The present invention is directed to cover appended claims spirit and Included various modifications and equivalent arrangements in range.

Claims (14)

1. a kind of method of screen recording, including:
Between the recording result and the recording result of other saved screen recording processes that calculate current screen recording process Video variance;The screen recording process is the process recorded in a certain period of time to the content shown on screen; Between the recording result and the recording result of other saved screen recording processes for calculating current screen recording process Video variance, including:Obtain the action type and the corresponding number of operations of the action type during screen recording; According to the action type and the corresponding number of operations of the action type, the action type of current screen recording process is established The action type vector of other vectorial and saved screen recording processes;Calculate the operation class of current screen recording process The vectorial Euclidean distance of the action type vector of other vectorial and saved screen recording processes of type, as current screen Video variance between the recording result of recording process and the recording result of other saved screen recording processes;
It is more than predetermined threshold value in response to the video variance, preserves the recording result of the current screen recording process.
2. according to the method described in claim 1, wherein, the method is applied to client, and the acquisition is in screen recording mistake Action type in journey and the corresponding number of operations of the action type, including:
Action type in the client record current screen recording process and the corresponding number of operations of the action type, And obtain the action type during saved other screen recordings and the corresponding number of operations of the action type.
3. according to the method described in claim 1, wherein, the method is applied to server, and the acquisition is in screen recording mistake Action type in journey and the corresponding number of operations of the action type, including:
The server receives action type and the action type pair in the current screen recording process of client record The number of operations answered, and obtain the action type during saved other screen recordings and the action type corresponds to Number of operations.
4. according to the method described in claim 1, wherein, the method is applied to client, described in response to the video difference It is different to be more than predetermined threshold value, the recording of the current screen recording process is preserved as a result, including:
The client end response is more than predetermined threshold value, the local record for preserving the current screen recording process in the video variance System is as a result, and upload onto the server the recording result of the current screen recording process so that being preserved in the server.
5. according to the method described in claim 1, wherein, the method is applied to server, described in response to the video difference It is different to be more than predetermined threshold value, the recording of the current screen recording process is preserved as a result, including:
The server is more than predetermined threshold value in response to the video variance, and triggering client preserves current screen recording process It records as a result, and in the recording result for locally preserving the current screen recording process received from the client.
6. according to the method described in claim 1, wherein, by client end response in the first preset trigger condition, automatic trigger is opened Beginning screen recording process;And/or in response to the second preset trigger condition, automatic trigger terminates screen recording process.
7. according to the method described in claim 1, the method is applied to server, the method further includes:
In response to the recording result watching request of user, the screen preserved in the server is sent from the server to client The recording result of curtain recording process.
8. a kind of device of screen recording, including:
Computing unit, the recording result for calculating current screen recording process and other saved screen recording processes Record the video variance between result;The screen recording process, be in a certain period of time to the content that is shown on screen into The process that row is recorded;The computing unit includes:Obtain subelement, for obtain action type during screen recording with And the corresponding number of operations of the action type;Computation subunit, for according to the action type and the action type Corresponding number of operations establishes other vectorial and saved screen recording mistakes of the action type of current screen recording process The action type vector of journey;Calculate other vectorial and saved screen recordings of the action type of current screen recording process The vectorial Euclidean distance of the action type vector of process, recording result and saved its as current screen recording process Video variance between the recording result of his screen recording process;
Storage unit preserves the record of the current screen recording process for being more than predetermined threshold value in response to the video variance Result processed.
9. device according to claim 8, wherein described device is applied to client, then the acquisition subelement is specific For:
The action type and the corresponding number of operations of the action type in current screen recording process are recorded, and is obtained Action type during other screen recordings preserved and the corresponding number of operations of the action type.
10. device according to claim 8, wherein described device is applied to server, then the computing unit is specifically used In:
Receive the action type in the current screen recording process of client record and the corresponding operation time of the action type Number, and obtain the action type during saved other screen recordings and the corresponding operation time of the action type Number.
11. device according to claim 8, wherein described device is applied to client, then the storage unit is specifically used In:
It is more than predetermined threshold value in response to the video variance, the local recording for preserving the current screen recording process is as a result, simultaneously The recording result of the current screen recording process is uploaded onto the server so that being preserved in the server.
12. device according to claim 8, wherein described device is applied to server, then the storage unit is specifically used In:
In response to the video variance be more than predetermined threshold value, triggering client preserve current screen recording process recording as a result, And in the recording result for locally preserving the current screen recording process received from the client.
13. device according to claim 8, wherein by client end response in the first preset trigger condition, automatic trigger is opened Beginning screen recording process;And/or in response to the second preset trigger condition, automatic trigger terminates screen recording process.
14. device according to claim 8, wherein described device is applied to server, then described device can also wrap It includes:
Transmission unit sends the clothes for the recording result watching request in response to user from the server to client The recording result of the screen recording process preserved in business device.
CN201510303218.9A 2015-06-05 2015-06-05 A kind of method and apparatus of screen recording Active CN104936002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510303218.9A CN104936002B (en) 2015-06-05 2015-06-05 A kind of method and apparatus of screen recording

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510303218.9A CN104936002B (en) 2015-06-05 2015-06-05 A kind of method and apparatus of screen recording

Publications (2)

Publication Number Publication Date
CN104936002A CN104936002A (en) 2015-09-23
CN104936002B true CN104936002B (en) 2018-11-06

Family

ID=54122912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510303218.9A Active CN104936002B (en) 2015-06-05 2015-06-05 A kind of method and apparatus of screen recording

Country Status (1)

Country Link
CN (1) CN104936002B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303331B (en) * 2016-08-18 2020-01-10 腾讯科技(深圳)有限公司 Video recording method, terminal, system and storage medium
CN107835452A (en) * 2017-10-17 2018-03-23 广东欧珀移动通信有限公司 Data processing method and related product
CN111565321B (en) * 2020-04-28 2022-03-15 聚好看科技股份有限公司 A terminal device, server and method for screen recording

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104020986A (en) * 2013-02-28 2014-09-03 腾讯科技(深圳)有限公司 Method and device for screen recording
CN104424092A (en) * 2013-08-22 2015-03-18 腾讯科技(深圳)有限公司 Page loading time length testing method and device
CN104461297A (en) * 2014-12-05 2015-03-25 上海斐讯数据通信技术有限公司 Mobile terminal with screen and screen image capturing method thereof
CN104581358A (en) * 2015-01-20 2015-04-29 卡内基投资科技有限公司 Method allowing multiple highlights to be recorded simultaneously
CN104636435A (en) * 2014-12-26 2015-05-20 中电科华云信息技术有限公司 Cloud terminal screen recording method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3559024B2 (en) * 2002-04-04 2004-08-25 マイクロソフト コーポレイション GAME PROGRAM AND GAME DEVICE
CN101527040B (en) * 2008-03-05 2012-12-19 华为终端有限公司 Method and system for processing images
CN102145228B (en) * 2010-02-05 2015-04-29 Pc概念有限公司 Method and apparatus for building an interactive video game using video recordings
CN103685355B (en) * 2012-09-05 2018-08-14 天津米游科技有限公司 A kind of online game operation implementation method based on cloud computing
US8798598B2 (en) * 2012-09-13 2014-08-05 Alain Rossmann Method and system for screencasting Smartphone video game software to online social networks
US20140270717A1 (en) * 2013-03-15 2014-09-18 General Instrument Corporation System and method for controlling and managing digital media recording
CN104683726A (en) * 2013-11-26 2015-06-03 北京畅游天下网络技术有限公司 Online game video recording and playing method
CN103823683A (en) * 2014-02-27 2014-05-28 北京六间房科技有限公司 Video recording device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104020986A (en) * 2013-02-28 2014-09-03 腾讯科技(深圳)有限公司 Method and device for screen recording
CN104424092A (en) * 2013-08-22 2015-03-18 腾讯科技(深圳)有限公司 Page loading time length testing method and device
CN104461297A (en) * 2014-12-05 2015-03-25 上海斐讯数据通信技术有限公司 Mobile terminal with screen and screen image capturing method thereof
CN104636435A (en) * 2014-12-26 2015-05-20 中电科华云信息技术有限公司 Cloud terminal screen recording method
CN104581358A (en) * 2015-01-20 2015-04-29 卡内基投资科技有限公司 Method allowing multiple highlights to be recorded simultaneously

Also Published As

Publication number Publication date
CN104936002A (en) 2015-09-23

Similar Documents

Publication Publication Date Title
US11450350B2 (en) Video recording method and apparatus, video playing method and apparatus, device, and storage medium
CN110399064B (en) Display interface switching method and device, storage medium and electronic device
CN104811787B (en) Game video recording method and device
US9384121B2 (en) Functional test automation for gesture-based mobile applications
CN111611121B (en) Hardware simulation testing methods, devices and equipment
US20180246626A1 (en) System and method for real-time visualization of website performance data
CN109598775B (en) Dynamic image synthesis method, device, terminal and storage medium
CN104965778B (en) Method of testing of playing and device
CN107484019A (en) The dissemination method and device of a kind of video file
CN104936002B (en) A kind of method and apparatus of screen recording
CN110851043B (en) Page display method and device, storage medium and electronic device
CN110898425B (en) Information synchronization method and device, storage medium and electronic device
CN109242940A (en) The generation method and device of three-dimensional dynamic images
JP2019050576A5 (en)
CN110052035A (en) The recording method of chat message and device, storage medium, electronic device in game
WO2018140434A1 (en) Systems and methods for creating video compositions
US20220410011A1 (en) Inter real-world and virtual world subject matter interchange
CN107168616A (en) Game interaction interface display method, device, electronic equipment and storage medium
CN109045694A (en) Virtual scene display method, apparatus, terminal and storage medium
CN109242892A (en) Method and apparatus for determining the geometric transform relation between image
CN105575198B (en) The methods of exhibiting and device of instructional video
CN107071550A (en) A kind of video data sharing method and device
CN110276404B (en) Model training method, device and storage medium
CN113440851B (en) Virtual picture rendering method and device, storage medium and electronic device
CN106060609B (en) Obtain the method and device of picture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 100094 1st floor, block a, building 7, West Zhongguancun Software Park, yard 10, northwest Wangdong Road, Haidian District, Beijing

Patentee after: NETEASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co.,Ltd.

Address before: 100084, room 3, building 1, Qinghua science park, No. 206, Zhongguancun East Road, Beijing, Haidian District

Patentee before: NETEASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210118

Address after: Room 303, building 3, No. 399, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province, 310052

Patentee after: Hangzhou Netease bamboo Information Technology Co.,Ltd.

Address before: 100094 1st floor, block a, building 7, West Zhongguancun Software Park, yard 10, northwest Wangdong Road, Haidian District, Beijing

Patentee before: NETEASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co.,Ltd.