CN114286976A - Game screen recording method and device and computer readable storage medium - Google Patents

Game screen recording method and device and computer readable storage medium Download PDF

Info

Publication number
CN114286976A
CN114286976A CN201980099741.0A CN201980099741A CN114286976A CN 114286976 A CN114286976 A CN 114286976A CN 201980099741 A CN201980099741 A CN 201980099741A CN 114286976 A CN114286976 A CN 114286976A
Authority
CN
China
Prior art keywords
screen recording
game
program
screen
foreground
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
CN201980099741.0A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN114286976A publication Critical patent/CN114286976A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

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

Abstract

A game screen recording method, device and computer readable storage medium, when the foreground starts to run a game program, triggering an in-program voice recognition process (101) corresponding to the game program; collecting external voice information (102) through an in-program voice recognition process; when an external screen recording request is recognized based on the voice information, screen recording is performed on foreground display contents in the running process of the game program (103). According to the scheme, the voice recognition process in the program which is automatically awakened is utilized to perform voice recognition on the external screen recording request, and then the game program running in the foreground is recorded, so that the operation complexity of the screen recording is greatly simplified, the operation timeliness of the screen recording is improved, and the interference of the screen recording to the normal game operation is effectively reduced.

Description

Game screen recording method and device and computer readable storage medium Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and an apparatus for recording a game screen, and a computer-readable storage medium.
Background
With the continuous development of terminal technology, a user can adopt a screen recording technology to record important game moments in the game process, so that the user can share or review the important game moments.
At present, when video recording is performed in a game program, a user usually needs to rely on a special screen recording function option in an application function menu, that is, if the user wants to perform game screen recording, the user needs to enter the function menu of the game application to find the screen recording function option, and then manually select the screen recording function option to trigger the game screen recording. In practical application, on one hand, the operation complexity of manually searching and selecting the screen recording function option is high, the operation timeliness is low, and the recording of important game contents is missed after the triggering of the game screen recording; on the other hand, the manual searching and the operation of selecting the screen recording function option have high interference, which can cause the current normal game operation of the user to be interrupted and influence the current game play of the user.
Technical problem
The embodiment of the application provides a game screen recording method, a game screen recording device and a computer readable storage medium, which can at least solve the problems of higher operation complexity, lower operation timeliness and higher operation interference caused by the fact that a user manually searches and selects a screen recording function option in a game program to record a game screen in the related technology.
Technical solution
The first aspect of the embodiments of the present application provides a game screen recording method, including:
when a foreground starts to run a game program, triggering an in-program voice recognition process corresponding to the game program;
acquiring external voice information through the voice recognition process in the program;
and when an external screen recording request is identified based on the voice information, recording screen of foreground display content in the running process of the game program.
A second aspect of the embodiments of the present application provides a game screen recording device, including:
the system comprises a triggering module, a voice recognition module and a control module, wherein the triggering module is used for triggering an in-program voice recognition process corresponding to a game program when the game program is started and run in a foreground;
the acquisition module is used for acquiring external voice information through the voice recognition process in the program;
and the screen recording module is used for recording the screen of the foreground display content in the running process of the game program when an external screen recording request is identified based on the voice information.
A third aspect of embodiments of the present application provides an electronic apparatus, including: the game screen recording method includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the steps of the game screen recording method provided by the first aspect of the embodiments of the present application are implemented.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, on which a computer program is stored, where when the computer program is executed by a processor, the steps in the game screen recording method provided in the first aspect of the embodiments of the present application are implemented.
Advantageous effects
As can be seen from the above, according to the game screen recording method, device and computer-readable storage medium provided by the present application, when the foreground starts to run a game program, an in-program speech recognition process corresponding to the game program is triggered; acquiring external voice information through a voice recognition process in a program; and when an external screen recording request is identified based on the voice information, recording screen of foreground display content in the running process of the game program. Through the implementation of the scheme, the voice recognition process in the program which is automatically awakened is utilized to perform voice recognition on the external screen recording request, and then the screen recording is performed on the game program which runs in the foreground, so that the operation complexity of the screen recording is greatly simplified, the operation timeliness of the screen recording is improved, and the interference of the screen recording to the normal game operation is effectively reduced.
Drawings
Fig. 1 is a schematic basic flow chart of a game screen recording method according to a first embodiment of the present application;
fig. 2 is a schematic flowchart of a screen recording effect control method according to a first embodiment of the present application;
fig. 3 is a schematic flowchart of a display method of a screen recording function control according to a first embodiment of the present application;
fig. 4 is a schematic flowchart of a display position determining method according to a first embodiment of the present application;
fig. 5 is a flowchart illustrating a voice recognition triggering method according to a first embodiment of the present application;
fig. 6 is a detailed flowchart of a game screen recording method according to a second embodiment of the present application;
fig. 7 is a schematic diagram of program modules of a game screen recording device according to a third embodiment of the present application;
fig. 8 is a schematic diagram of program modules of another game screen recording device according to a third embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
Modes for carrying out the invention
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to solve the defects of high operation complexity, low operation timeliness and high operation interference caused by manually searching and selecting a screen recording function option in a game program by a user in the related art, a first embodiment of the present application provides a game screen recording method, for example, fig. 1 is a basic flow chart of the game screen recording method provided by this embodiment, and the game screen recording method includes the following steps:
step 101, when the foreground starts to run the game program, triggering an in-program voice recognition process corresponding to the game program.
Specifically, the in-application voice recognition process is a process that supports voice-assisted operation only in the current application, and in this embodiment, when the current station triggers the game program to run, the in-application voice recognition process can be automatically woken up to perform the in-application voice-assisted operation, and the in-application voice recognition process does not need to be woken up by a special wakening word such as "Hey, Siri", and then the in-application voice-assisted operation can be performed, so that the instantaneity is higher. It should be noted that the game program of the present embodiment may be an independent game application program, or may be a game applet inside an application program such as WeChat.
And step 102, acquiring external voice information through a voice recognition process in the program.
Specifically, in this embodiment, during the running process of the game program, the voice information of the user is obtained in real time, so as to identify the screen recording related request of the user. The in-program voice recognition process of the embodiment can collect external voice information in real time through a full duplex mode, and support a synchronous downlink voice stream (the terminal responds and outputs to the user) while the voice recognition process continuously monitors the uplink voice stream (the user voice is transmitted to the terminal), so that the voice interaction experience can be effectively improved.
In some embodiments of this embodiment, before acquiring external voice information in real time, the method further includes: inquiring a preset game program white list, and judging whether the game program currently running in the foreground is the game program in the game program white list or not; and when the game program currently running in the foreground is the game program in the game program white list, executing the step of acquiring external voice information through the in-program voice recognition process.
Specifically, the game program white list of the embodiment includes all game programs supporting the game screen recording function of the embodiment, and the embodiment opens the game screen recording function only for the game programs in the game program white list, so that the differentiation requirements of users can be effectively met, and program operation errors, user operation interference, reduction and waste of terminal processing performance caused by blindly opening the game screen recording function of the embodiment for all applications are avoided. It should be understood that the white list of the game program of the embodiment may be a preset white list or a white list customized by the user, and may support the white list modification function.
And 103, recording the foreground display content in the running process of the game program when an external screen recording request is identified based on the voice information.
Specifically, in this embodiment, when the external screen recording intention is recognized through the voice recognition function, the video recording is performed on the foreground display content in the game running process by directly triggering, so that the operation convenience of screen recording is greatly improved, and the interference of the screen recording to normal game operation is effectively reduced. It should be noted that, in this embodiment, after the video recording is started, the voice acquisition function can be continuously kept turned on, so that subsequent screen recording related operations of the user, such as ending screen recording, can also be realized through voice, and the convenience of the overall operation is improved.
In some embodiments of this embodiment, before recognizing an external screen recording request based on the voice information, the method further includes: performing semantic analysis on text information corresponding to the voice information, and dividing the text information into a plurality of participles; respectively carrying out relevancy matching on the multiple word segments and the characteristic texts associated with the screen recording requests; and performing screen recording request identification based on the matching result.
Specifically, in the embodiment, the voice information is converted into the text information, then the text information is subjected to semantic analysis, the text information is subjected to word segmentation according to an analysis result, and then the multiple words are subjected to semantic disambiguation, semantic understanding and translation to obtain the screen recording intention of the user, so that the generalized understanding capability of the screen recording intention of the user is provided. The screen recording request identification based on the matching result includes but is not limited to the following two types:
the method comprises the steps of firstly, obtaining the highest correlation degree of all correlation degrees obtained by correlation degree matching, and carrying out screen recording request identification according to the comparison result of the highest correlation degree and a correlation degree threshold value; and when the highest correlation is greater than the correlation threshold, determining that the screen recording request is identified.
Obtaining the average correlation degree of all correlation degrees obtained by correlation degree matching, and performing screen recording request identification according to the comparison result of the average correlation degree and the correlation degree threshold; and when the average correlation is greater than the correlation threshold, determining that the screen recording request is identified.
In some embodiments of this embodiment, after recording the screen display content on the foreground during the running of the game program when the screen recording request carries the screen recording duration, the method further includes: and when the screen recording duration is reached, terminating the screen recording of the content displayed on the foreground. In other embodiments of this embodiment, when the screen recording request does not carry the screen recording duration, after the screen recording is performed on the foreground display content in the running process of the game program, the method further includes: and when the screen recording termination condition is met, terminating screen recording of the content displayed on the foreground.
Specifically, in this embodiment, in one case, for example, the collected voice information is "help me record a video for 30 s", so that the screen recording request identified from the voice information carries the screen recording duration, and after the screen recording is started, the screen recording ending time can be directly specified, and the video recording is automatically terminated when the screen recording ending time is reached.
In another case, for example, the collected voice information is "help me record video", so that only the current screen recording requirement of the user can be determined according to the screen recording request identified from the voice information, but the specific screen recording ending time cannot be determined, therefore, after the screen recording is started, the screen recording ending condition is determined in real time, and when the screen recording ending condition is determined to be met, the video recording is ended.
In addition, it should be noted that, in practical application, the screen recording termination condition may be: the accumulated screen recording duration from the screen recording starting moment reaches a preset duration threshold; or, a recording screen ending requirement of the user is identified through the collected voice information, for example, the collected voice information is "help me terminate video recording"; or, the current application exits foreground operation; or the time length for the current application to stop responding to the user operation exceeds the preset time length.
In some embodiments of this embodiment, after recording the foreground display content during the running process of the game program, the method further includes: when an external video interception request is identified based on voice information, video interception position information is acquired; and intercepting a video clip corresponding to the video interception position information from the currently recorded video file.
Specifically, in practical application, in a game screen recording process, a certain section of video in a game video which is recorded at present may be wonderful, and the importance degree for a user is high, so that the user has an interception requirement for the section of video. Certainly, in practical applications, if the identified video capture request does not carry the video capture duration, the video clip with the preset duration may be captured, or the capture start position and the capture end position may be automatically identified according to a specific rule to capture the video clip, which is not limited herein.
It should also be noted that, when the video is captured, if the video recording is not terminated, the video recording is continued, and after the screen recording is completed, both the captured video segment and the recorded complete video file can be stored in the terminal storage space. In addition, the embodiment can also perform voice recognition on the video search request, and directly jump to the storage location of the video file in response to the corresponding video search request after acquiring the voice information such as "where the video just recorded" for example.
Further, in some embodiments of this embodiment, after intercepting a video segment corresponding to the video interception location information from the currently recorded video file, the method further includes: when the video interception request is a non-first request in the process of continuously recording the video, acquiring the interval duration between the video interception request and the previous video interception request; and when the interval duration is less than the duration threshold, storing the video clips in the storage space, and deleting the video clips corresponding to the previous video interception request.
Specifically, in this embodiment, if the video capture request is frequently triggered by voice from the outside, content duplication may exist in the captured video segment due to the fact that the video capture request is relatively close in time, so that when the video capture request is triggered, in this embodiment, it is determined whether the interval duration between the current video capture request and the last video capture request exceeds a preset duration threshold, if not, it indicates that the current captured video segment and the previous video segment are duplicated, only the video segment is deduplicated, and the current captured video segment is used for performing overlay storage on the previous video segment, so as to improve the utilization rate of the storage space of the terminal and reduce the difficulty in searching for a useful video segment.
In some embodiments of this embodiment, when the screen recording request is a game commentary screen recording request, the game screen recording method further includes: when the screen is recorded, the external game explication voice is collected in real time through a voice recognition process; after recording the foreground display content in the running process of the game program, the method further comprises the following steps: acquiring a basic video file obtained when screen recording is finished; and synchronously adding the game commentary voice to the basic video file to generate a formal video file.
Specifically, in practical applications, if only the game screen displayed in real time on the foreground is recorded, the impression of the game screen may be limited, and in order to further improve the impression and improve the expressive power of the recorded video file, in this embodiment, when the external screen recording request is recognized by the voice, instead of the simple screen recording request for recording the game screen, the game screen is recorded on the foreground, the game comment voice of the user is also collected in real time through the in-program voice recognition process, and then after the recording of the game content displayed on the foreground is finished, the collected game comment voice is synchronously added to the basic video file, which is obtained by the screen recording and only includes the game screen, according to a time axis, and finally, the formal video file including the game comment is output.
As shown in fig. 2, which is a schematic flow chart of a screen recording effect control method provided in this embodiment, in some embodiments of this embodiment, the screen recording of foreground display content in a game program running process specifically includes the following steps:
step 201, obtaining attribute information of a game program;
step 202, determining corresponding screen recording effect control parameters based on the attribute information;
and 203, recording the screen of the foreground display content in the running process of the game program by adopting the screen recording effect control parameter.
Specifically, the attributes of different game programs are different, and the attribute information may include game types, game picture aspect ratios, game display resolutions, and the like, so that different screen recording effect control parameters may be correspondingly determined to control screen recording behaviors according to the different game attributes, thereby realizing differentiation of game screen recording effects and adapting to screen recording requirements under different conditions. It should be understood that the screen recording effect control parameter of the present embodiment may be a screen recording quality control parameter, or more specifically, may be a screen recording resolution control parameter.
As shown in fig. 3, which is a schematic flow chart of a display method of a screen recording function control provided in this embodiment, in some embodiments of this embodiment, the display method of the screen recording function control specifically includes the following steps:
step 301, after screen recording is carried out on foreground display content in the running process of a game program, a screen recording function control is generated;
step 302, determining the display position of the screen recording function control on a foreground display interface;
and 303, displaying the screen recording function control on a foreground display interface based on the display position.
Specifically, the screen recording function control is used for prompting screen recording state information after screen recording starts and/or responding to screen recording control operation. In this embodiment, after the screen recording is started, in addition to the screen recording control operation by voice recognition, a related screen recording function control, such as a termination screen recording key, may be displayed on the foreground display interface to respond to an external manual screen recording control operation; in addition, in practical application, in order to enable a user to perceive screen recording behaviors, the embodiment may further display and prompt related screen recording state information on the foreground display interface, for example, displaying real-time screen recording duration in a floating window manner in a preset area on the foreground display interface.
Further, in some embodiments of this embodiment, when the screen recording function control is a screen recording duration prompt control, displaying the screen recording function control on the foreground display interface based on the display position includes: displaying a screen recording duration prompting control on a foreground display interface based on the display position every interval of a first duration; the screen recording duration prompting control is used for prompting the accumulated screen recording duration in real time after the screen recording is started; and controlling the visual degree of the screen recording duration prompt control on the foreground display interface to gradually decrease to zero within a second duration after the screen recording duration prompt control is displayed.
Specifically, in this embodiment, the display prompt is started at every preset first time interval for the current accumulated screen recording time, and the visual degree of the screen recording time prompt content on the foreground display interface is controlled to be gradually reduced to zero in the second time interval from the current time, that is, the screen recording time prompt content is gradually hidden and disappeared in the second time interval. It should be understood that the fading away of the present embodiment may be a gradual increase of the blurring degree of the floating window on the foreground display interface, for example, the screen recording duration prompts, and the blurring degree is inversely related to the visual degree thereof. By controlling the fading of the screen recording duration prompt control, the effective arrival of the duration prompt can be fully ensured, and the interference of the display prompt on the foreground display content is reduced.
As shown in fig. 4, which is a flowchart of a method for determining a display position provided in this embodiment, further, in some embodiments of this embodiment, determining a display position of a screen recording function control on a foreground display interface specifically includes the following steps:
step 401, counting the frequency of each display position of a foreground display interface responding to the game operation input from the outside in a historical time period;
step 402, determining a target display position from all display positions according to a frequency statistical result;
and step 403, determining the display position of the screen recording function control on the foreground display interface based on the target display position.
Specifically, in practical application, in order to consider the friendliness of human-computer interaction, the display positions of the screen recording function controls on the foreground display interface need to be reasonably arranged. The embodiment correspondingly determines the display position of the control based on the game operation condition of the user when the game program is run in the historical time period. In one case, the method can be considered in the aspect of facilitating manual operation of the screen recording function control by a user, and a hot spot operation area with high game operation occurrence frequency is used as a display position of the screen recording function control; in another case, the cold area with low frequency of game operation occurrence can be used as the display position of the screen recording function control in consideration of avoiding the shielding of the game main body picture and avoiding the interference of the normal game operation of the user. In addition, it should be understood that the determined target display positions may be one or more, and when there are multiple target display positions, the multiple target display positions may be combined together to serve as the control display position, or an optimal target display position may be further determined from the multiple target display positions to serve as the control display position.
As shown in fig. 5, which is a schematic flow diagram of a voice recognition triggering method provided in this embodiment, in some embodiments of this embodiment, after external voice information is collected by an in-program voice recognition process, the method further includes the following steps:
501, extracting voiceprint characteristic data in voice information;
step 502, comparing the voiceprint characteristic data with legal voiceprint characteristic data;
step 503, when the voiceprint feature data comparison is passed, performing screen recording request identification based on the voice information.
Specifically, in practical application, the terminal use environment may be relatively complex, so that other environment voice information may exist besides the voice information of the terminal legal user, and therefore, in order to avoid that the voice information is mistakenly triggered to cause that the voice information does not conform to the actual use requirements of the terminal legal user or normal use is influenced, after the voice information is collected, the voice print characteristic data corresponding to the voice information is subjected to characteristic comparison, only when the comparison is legal, the voice information is triggered to be subjected to screen recording request identification, and the accuracy and the rationality of screen recording can be effectively improved.
In the following, a specific example is used to describe the above scheme, for example, a terminal is configured to only respond to a voice of a terminal owner in a game program, so that voice information of the terminal owner can be recorded in advance, and voiceprint feature extraction is performed on the voice information to obtain legal voiceprint feature data for storage, then in an actual use process, when the terminal owner operates the game program in a noisy environment (for example, in a subway), a voice uttered by another person around the terminal owner may be also collected by the terminal, which may cause a voice recognition error of the terminal, in order to avoid this situation, when the voice information is collected, the voiceprint feature information of the voice information is compared with the legal voiceprint feature information, and if the comparison is passed, the collected voice is sent by the terminal owner, which is legal voice information, and then carrying out screen recording request recognition on the voice information.
In some embodiments of this embodiment, the game screen recording method further includes: recording operation information of the external to foreground display content in the video recording process; correspondingly, after recording the foreground display content in the running process of the game program, the method further comprises the following steps: and adding an operation effect graphic representation to the video file obtained after the screen recording is terminated based on the operation information, and generating a formal video file.
Specifically, in the process of recording the game screen, the operation mode of the game content displayed by the user on the foreground is generally important for the user, the user generally expects to improve game skill by reviewing the game operation mode or share the game content with others and then can give other people operation guidance more intuitively.
It should be noted that, in this embodiment, after the recording is completed and a complete video file is generated or a complete video segment is intercepted, a video operation request of a user may be identified by collecting voice information, and a corresponding operation is performed on the complete video file or the video segment according to the video operation request. The video operation request can be a video storage request, a video deletion request, a video sharing request, and the like.
It should also be understood that, in the process of running the game program in the foreground, if an external screen recording request is not received, a non-screen recording control request of the user, such as a terminal parameter adjustment request, may be identified through voice acquisition, so as to expand the application scenario of voice control in the game. Of course, when an external screen recording request is received and the screen recording process is in progress, in order to avoid interference with the screen recording operation, responses to other non-screen recording control requests can be refused.
Based on the technical scheme of the embodiment of the application, when the foreground starts to run the game program, the in-program voice recognition process corresponding to the game program is triggered; acquiring external voice information through a voice recognition process in a program; and when an external screen recording request is identified based on the voice information, recording screen of foreground display content in the running process of the game program. Through the implementation of the scheme, the voice recognition process in the program which is automatically awakened is utilized to perform voice recognition on the external screen recording request, and then the screen recording is performed on the game program which runs in the foreground, so that the operation complexity of the screen recording is greatly simplified, the operation timeliness of the screen recording is improved, and the interference of the screen recording to the normal game operation is effectively reduced.
The method in fig. 6 is a detailed game screen recording method according to a second embodiment of the present application, where the game screen recording method includes:
step 601, when the foreground starts to run the game program, triggering an in-program voice recognition process corresponding to the game program.
Specifically, the in-application voice recognition process is a process that supports voice-assisted operation only in the current application, and in this embodiment, when the current station triggers the game program to run, the in-application voice recognition process can be automatically awakened to perform the in-application voice-assisted operation, and the in-application voice-assisted operation can be performed without awakening the in-application voice recognition process by a special awakening word.
Step 602, collecting external voice information through a voice recognition process in a program.
In this embodiment, during the running process of the game program, the voice information of the user is acquired in real time to identify the screen recording related request of the user, and the intra-program voice identification process of this embodiment may acquire the external voice information in real time through the full duplex mode.
Step 603, extracting voiceprint feature data in the voice information, and comparing the voiceprint feature data with legal voiceprint feature data.
And step 604, when the voiceprint feature data comparison is passed, performing screen recording request identification based on the voice information.
According to the voice screen recording method and device, after the voice information is collected, the voice print characteristic data corresponding to the voice information are compared in characteristic mode, the voice information is triggered to be subjected to screen recording request identification only when the comparison is legal, and accuracy and reasonability of screen recording can be effectively improved.
And step 605, when an external screen recording request is identified based on the voice information, determining a corresponding screen recording effect control parameter based on the attribute information of the game program.
And 606, recording the foreground display content in the running process of the game program by using the determined screen recording effect control parameter.
Specifically, in this embodiment, when the external screen recording intention is obtained through voice recognition, video recording is performed on the game content running on the foreground, so that the operation convenience of screen recording is greatly improved, and the interference of the screen recording to normal application operation is effectively reduced. It should be noted that, in the embodiment, different screen recording effect control parameters are correspondingly determined to control screen recording behaviors according to different game attributes, so that the difference of the game screen recording effects is realized, and screen recording requirements under different conditions are met.
And step 607, when an external video interception request is identified based on the real-time collected voice information, acquiring video interception position information.
And 608, intercepting a video segment corresponding to the video interception position information from the currently recorded video file.
In the embodiment, after the screen recording is started, voice information of a user is collected in real time to identify a video capturing request, and after the video capturing request is received, video capturing positions, namely a start capturing position and a stop capturing position (namely a start-stop moment), are obtained to capture corresponding video segments.
And step 609, when an external screen recording termination request is identified based on the real-time collected voice information, terminating screen recording of the foreground display content.
In addition, the embodiment also supports a voice recognition screen recording termination request to realize voice control for terminating screen recording. In this embodiment, after the screen recording is terminated, two types of video files may be stored in the terminal storage space, one is a video clip captured in front, and the other is an entire video file recorded in the entire screen recording process.
It should be understood that, the size of the serial number of each step in this embodiment does not mean the execution sequence of the step, and the execution sequence of each step should be determined by its function and inherent logic, and should not be limited uniquely to the implementation process of the embodiment of the present application.
The embodiment of the application discloses a game screen recording method, which comprises the steps that when a foreground starts a game program to run, an in-program voice recognition process corresponding to the game program is triggered; acquiring external voice information through a voice recognition process in a program; comparing voiceprint feature data in the voice information with legal voiceprint feature data, and performing screen recording request identification based on the voice information when the voiceprint feature data comparison is passed; and when an external screen recording request is identified based on the voice information, screen recording effect control parameters corresponding to the attribute information of the game program are adopted to record screen of foreground display contents in the running process of the game program. Through the implementation of the scheme, the voice recognition process in the automatically awakened program is utilized to perform voice recognition on the external screen recording related requirements, then the game program running in the foreground is triggered to record the screen, intercept the video clip and terminate screen recording control, the operation complexity of screen recording related operation is greatly simplified, the operation timeliness is improved, and the interference of the screen recording related operation on normal game operation is effectively reduced.
Fig. 7 is a game screen recording device according to a third embodiment of the present application. The game screen recording device can be used for realizing the game screen recording method in the embodiment. As shown in fig. 7, the game screen recording device mainly includes:
a triggering module 701, configured to trigger an in-program speech recognition process corresponding to a game program when the foreground starts running the game program;
an acquisition module 702, configured to acquire external voice information through an in-program voice recognition process;
and a screen recording module 703, configured to record a screen of a foreground display content during a game program running process when an external screen recording request is identified based on the voice information.
In some embodiments of this embodiment, the screen recording module 703 is specifically configured to: acquiring attribute information of a game program when an external screen recording request is identified based on voice information; determining corresponding screen recording effect control parameters based on the attribute information; and recording screen display contents displayed on a foreground in the running process of the game program by adopting the screen recording effect control parameters.
As shown in fig. 8, another game screen recording device provided in this embodiment is provided, in some embodiments of this embodiment, the game screen recording device further includes: the display module 704 is configured to generate a screen recording function control after recording a screen of foreground display content in a game program running process, where the screen recording function control is configured to prompt screen recording status information after a screen recording starts and/or respond to a screen recording control operation; determining the display position of the screen recording function control on a foreground display interface; and displaying the screen recording function control on the foreground display interface based on the display position.
Further, in some embodiments of this embodiment, when determining the display position of the screen recording function control on the foreground display interface, the display module 704 is specifically configured to: counting the frequency of each display position of a foreground display interface responding to the game operation input from the outside in a historical time period; determining a target display position from all display positions according to a frequency statistical result; and determining the display position of the screen recording function control on a foreground display interface based on the target display position.
Further, in some embodiments of this embodiment, when the screen recording function control is a screen recording duration prompt control, the display module 704 is specifically configured to, when the screen recording function control is displayed on the foreground display interface based on the display position: displaying a screen recording duration prompting control on a foreground display interface based on the display position every interval of a first duration, wherein the screen recording duration prompting control is used for prompting accumulated screen recording duration in real time after screen recording begins; and controlling the visual degree of the screen recording duration prompt control on the foreground display interface to gradually decrease to zero within a second duration after the screen recording duration prompt control is displayed.
Referring to fig. 8 again, in some embodiments of the present embodiment, the game screen recording device further includes: a generation module 705. Wherein, the collecting module 702 is further configured to: when the screen recording request is a game description screen recording request, external game description voice is collected in real time through a voice recognition process while screen recording is carried out; correspondingly, the generating module 705 is configured to, after recording a screen of foreground display content in the running process of the game program, obtain a basic video file obtained when the recording is finished; and synchronously adding the game commentary voice to the basic video file to generate a formal video file.
Referring to fig. 8 again, in some embodiments of the present embodiment, the game screen recording device further includes: a comparison module 706, configured to extract voiceprint feature data in the voice information after acquiring external voice information through an in-program voice recognition process; comparing the voiceprint characteristic data with legal voiceprint characteristic data; and when the voiceprint characteristic data comparison is passed, carrying out screen recording request identification based on the voice information.
It should be noted that, the game screen recording methods in the first and second embodiments can be implemented based on the game screen recording device provided in this embodiment, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the game screen recording device described in this embodiment may refer to the corresponding process in the foregoing method embodiment, and details are not described here.
According to the game screen recording device provided by the embodiment, when the foreground starts to run a game program, an in-program voice recognition process corresponding to the game program is triggered; acquiring external voice information through a voice recognition process in a program; and when an external screen recording request is identified based on the voice information, recording screen of foreground display content in the running process of the game program. Through the implementation of the scheme, the voice recognition process in the program which is automatically awakened is utilized to perform voice recognition on the external screen recording request, and then the screen recording is performed on the game program which runs in the foreground, so that the operation complexity of the screen recording is greatly simplified, the operation timeliness of the screen recording is improved, and the interference of the screen recording to the normal game operation is effectively reduced.
Referring to fig. 9, fig. 9 is an electronic device according to a fourth embodiment of the present disclosure. The electronic device can be used for realizing the game screen recording method in the embodiment. As shown in fig. 9, the electronic device mainly includes:
memory 901, processor 902, bus 903, and computer programs stored on memory 901 and executable on processor 902, memory 901 and processor 902 connected by bus 903. The processor 902, when executing the computer program, implements the game screen recording method in the foregoing embodiments. Wherein the number of processors may be one or more.
The Memory 901 may be a high-speed Random Access Memory (RAM) Memory or a non-volatile Memory (non-volatile Memory), such as a magnetic disk Memory. The memory 901 is used for storing executable program code, and the processor 902 is coupled to the memory 901.
Further, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium may be provided in an electronic device in the foregoing embodiments, and the computer-readable storage medium may be the memory in the foregoing embodiment shown in fig. 9.
The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the game screen recording method in the foregoing embodiments. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the game screen recording method, device and computer-readable storage medium provided by the present application, those skilled in the art will recognize that there may be variations in the embodiments and applications of the game screen recording method, device and computer-readable storage medium according to the concepts of the embodiments of the present application.

Claims (10)

  1. A game screen recording method is characterized by comprising the following steps:
    when a foreground starts to run a game program, triggering an in-program voice recognition process corresponding to the game program;
    acquiring external voice information through the voice recognition process in the program;
    and when an external screen recording request is identified based on the voice information, recording screen of foreground display content in the running process of the game program.
  2. The game screen recording method according to claim 1, wherein the screen recording of foreground display contents during the running of the game program comprises:
    acquiring attribute information of the game program;
    determining a corresponding screen recording effect control parameter based on the attribute information;
    and recording the screen of the foreground display content in the running process of the game program by adopting the screen recording effect control parameter.
  3. The game screen recording method according to claim 1, wherein after recording the foreground display content during the running of the game program, the method further comprises:
    generating a screen recording function control; the screen recording function control is used for prompting screen recording state information after screen recording starts and/or responding to screen recording control operation;
    determining the display position of the screen recording function control on a foreground display interface;
    and displaying the screen recording function control on the foreground display interface based on the display position.
  4. The game screen recording method according to claim 3, wherein the determining the display position of the screen recording function control on the foreground display interface comprises:
    counting the frequency of each display position of the foreground display interface responding to the game operation input from the outside in a historical time period;
    determining a target display position from all display positions according to a frequency statistical result;
    and determining the display position of the screen recording function control on a foreground display interface based on the target display position.
  5. The game screen recording method according to claim 3, wherein when the screen recording function control is a screen recording duration prompt control, the displaying the screen recording function control on the foreground display interface based on the display position includes:
    displaying the screen recording duration prompting control on the foreground display interface based on the display position every interval of first duration; the screen recording duration prompting control is used for prompting the accumulated screen recording duration in real time after the screen recording is started;
    and controlling the visual degree of the screen recording duration prompting control on the foreground display interface to gradually decrease to zero within a second duration after the screen recording duration prompting control is displayed.
  6. The game screen recording method according to any one of claims 1 to 5, wherein when the screen recording request is a game commentary screen recording request, the method further comprises:
    when the screen is recorded, the external game explication voice is collected in real time through the voice recognition process;
    after recording the foreground display content in the running process of the game program, the method further comprises the following steps:
    acquiring a basic video file obtained when screen recording is finished;
    and synchronously adding the game commentary voice to the basic video file to generate a formal video file.
  7. The game screen recording method according to any one of claims 1 to 5, wherein after the external voice information is collected by the in-program voice recognition process, the method further comprises:
    extracting voiceprint characteristic data in the voice information;
    comparing the voiceprint feature data with legal voiceprint feature data;
    and when the voiceprint characteristic data comparison is passed, carrying out screen recording request identification based on the voice information.
  8. A game screen recording device, comprising:
    the system comprises a triggering module, a voice recognition module and a control module, wherein the triggering module is used for triggering an in-program voice recognition process corresponding to a game program when the game program is started and run in a foreground;
    the acquisition module is used for acquiring external voice information through the voice recognition process in the program;
    and the screen recording module is used for recording the screen of the foreground display content in the running process of the game program when an external screen recording request is identified based on the voice information.
  9. An electronic device, comprising: the system comprises a memory, a processor and a bus, wherein the bus is used for realizing connection communication between the memory and the processor; the processor is configured to execute a computer program stored on the memory, and when the processor executes the computer program, the processor implements the steps of the method of any one of claims 1 to 7.
  10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201980099741.0A 2019-12-30 2019-12-30 Game screen recording method and device and computer readable storage medium Pending CN114286976A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/129999 WO2021134240A1 (en) 2019-12-30 2019-12-30 Game screen recording method and apparatus, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN114286976A true CN114286976A (en) 2022-04-05

Family

ID=76687500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980099741.0A Pending CN114286976A (en) 2019-12-30 2019-12-30 Game screen recording method and device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN114286976A (en)
WO (1) WO2021134240A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852767B (en) * 2021-09-23 2024-02-13 北京字跳网络技术有限公司 Video editing method, device, equipment and medium
CN114205447B (en) * 2021-12-16 2023-09-12 Oppo广东移动通信有限公司 Shortcut setting method and device of electronic equipment, storage medium and electronic equipment
CN114173182A (en) * 2022-01-17 2022-03-11 广州博冠信息科技有限公司 Game video recording method and device and game video reading method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100665622B1 (en) * 2005-09-23 2007-01-09 (주)인피니티 텔레콤 Mobile communication phone having the function for the game recognizable speech and method for the game recognizable speech using the mobile communication phone
CN108536383A (en) * 2018-03-28 2018-09-14 努比亚技术有限公司 A kind of game control method, equipment and computer readable storage medium
CN108600513A (en) * 2018-03-28 2018-09-28 努比亚技术有限公司 A kind of record screen control method, equipment and computer readable storage medium
CN108762631A (en) * 2018-04-27 2018-11-06 努比亚技术有限公司 A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8315876B2 (en) * 2008-05-09 2012-11-20 Plantronics, Inc. Headset wearer identity authentication with voice print or speech recognition
CN108595233A (en) * 2018-03-09 2018-09-28 福州米鱼信息科技有限公司 A kind of electronic evidence acquisition method and system based on voice prompt
CN108600669A (en) * 2018-03-30 2018-09-28 努比亚技术有限公司 Game video method for recording, mobile terminal and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100665622B1 (en) * 2005-09-23 2007-01-09 (주)인피니티 텔레콤 Mobile communication phone having the function for the game recognizable speech and method for the game recognizable speech using the mobile communication phone
CN108536383A (en) * 2018-03-28 2018-09-14 努比亚技术有限公司 A kind of game control method, equipment and computer readable storage medium
CN108600513A (en) * 2018-03-28 2018-09-28 努比亚技术有限公司 A kind of record screen control method, equipment and computer readable storage medium
CN108762631A (en) * 2018-04-27 2018-11-06 努比亚技术有限公司 A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
WO2021134240A1 (en) 2021-07-08

Similar Documents

Publication Publication Date Title
CN114286976A (en) Game screen recording method and device and computer readable storage medium
CN104992709A (en) Method for executing voice command and voice recognition equipment
US20220206994A1 (en) Method and Apparatus for Generating Multimedia File
CN109309751B (en) Voice recording method, electronic device and storage medium
CN114424157A (en) Video recording method and device and computer readable storage medium
JP7281521B2 (en) Voice control method and voice control device, electronic device and storage medium
CN114766093A (en) Screen recording method and device and computer readable storage medium
CN108475221B (en) Method and apparatus for providing a multitasking view
US20170242832A1 (en) Character editing method and device for screen display device
CN114930867A (en) Screen recording method and device and computer readable storage medium
CN109782997B (en) Data processing method, device and storage medium
CN115176456A (en) Content operation method, device, terminal and storage medium
CN111782427A (en) Content operation method and device and computer readable storage medium
WO2016192258A1 (en) Prompt method for voice use, and terminal device
CN104243500A (en) Intelligent login method and system for users
CN114902687A (en) Game screen recording method and device and computer readable storage medium
US20230109852A1 (en) Data processing method and apparatus, device, and medium
CN107291238B (en) Data processing method and device
CN115150660A (en) Video editing method based on subtitles and related equipment
EP3282680B1 (en) Blowing action-based method for operating mobile terminal and mobile terminal
CN114930278A (en) Screen recording method and device and computer readable storage medium
CN109979446A (en) Sound control method, storage medium and device
US20230300429A1 (en) Multimedia content sharing method and apparatus, device, and medium
CN110111816B (en) Audio recording method, audio processing method, electronic equipment and server
WO2018044626A1 (en) Execution of task instances relating to at least one application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination