CN112395644B - Screen recording method and device and electronic equipment - Google Patents
Screen recording method and device and electronic equipment Download PDFInfo
- Publication number
- CN112395644B CN112395644B CN202011335624.0A CN202011335624A CN112395644B CN 112395644 B CN112395644 B CN 112395644B CN 202011335624 A CN202011335624 A CN 202011335624A CN 112395644 B CN112395644 B CN 112395644B
- Authority
- CN
- China
- Prior art keywords
- message
- screen
- input
- area
- recording
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000003993 interaction Effects 0.000 claims abstract description 48
- 230000004044 response Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 230000002452 interceptive effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000008447 perception Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/84—Protecting input, output or interconnection devices output devices, e.g. displays or monitors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Medical Informatics (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a screen recording method, a screen recording device and electronic equipment, and belongs to the field of computers. Comprising the following steps: under the condition of recording a message interaction interface, receiving a first message sent by a target object; controlling the screen to stretch under the condition that the first message comprises target content, keeping the area of the screen record unchanged, and displaying the first message in the increased screen area after stretching; wherein the target content comprises at least one of sensitive information and private information. In the application, because the screen recording operation is only limited to recording the message interaction interface, the first message including the target content displayed in the screen area added after the expansion of the telescopic screen is not recorded into the recording file, and the privacy requirement of the user on the fact that sensitive and privacy messages are not added in the screen recording file can be met on the basis of meeting the normal browsing of the message by the user.
Description
Technical Field
The application belongs to the field of computers, and particularly relates to a screen recording method, a screen recording device and electronic equipment.
Background
With the continuous development of electronic devices, the electronic devices can realize a screen recording function, so that messages displayed on a screen interface are recorded into a recording file for subsequent use or sharing.
At present, after the screen recording function is started, all messages in an interactive interface in a screen can be recorded, and when the electronic equipment receives a new message, the new message can be displayed on the interactive interface and recorded in a recording file.
However, in the recording process of the current scheme, part of the message received by the electronic device is not intended to be recorded by the user, such as an account number and password, or a financial related message. These messages, when displayed on the interactive interface and recorded, can result in a reduced user experience.
Disclosure of Invention
The embodiment of the application aims to provide a screen recording method, a screen recording device and electronic equipment, which are used for solving the problem that recorded messages cannot be screened in the recording process in the prior art.
In order to solve the technical problems, the application is realized as follows:
In a first aspect, an embodiment of the present application provides a screen recording method, including:
under the condition of recording a message interaction interface, receiving a first message sent by a target object;
controlling the screen to stretch under the condition that the first message comprises target content, and keeping the area of the screen unchanged;
Displaying the first message in an increased screen area after elongation;
Wherein the target content comprises at least one of sensitive information and private information.
In a second aspect, an embodiment of the present application provides a screen recording apparatus, where the apparatus includes:
the first receiving module is used for receiving a first message sent by the target object under the condition of recording the screen of the message interaction interface;
the first control module is used for controlling the screen to stretch and keeping the screen recording area unchanged under the condition that the first message comprises target content;
A first display module for displaying the first message in an increased screen area after elongation;
Wherein the target content comprises at least one of sensitive information and private information.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In the embodiment of the application, under the condition of recording a message interaction interface, a first message sent by a target object is received; controlling the screen to stretch under the condition that the first message comprises target content, keeping the area of the screen record unchanged, and displaying the first message in the increased screen area after stretching; wherein the target content comprises at least one of sensitive information and private information. In the application, because the screen recording operation is only limited to recording the message interaction interface, the first message including the target content displayed in the screen area added after the expansion of the telescopic screen is not recorded into the recording file, and the privacy requirement of the user on the fact that sensitive and privacy messages are not added in the screen recording file can be met on the basis of meeting the normal browsing of the message by the user.
Drawings
FIG. 1 is a schematic diagram of steps of a screen recording method according to an embodiment of the present application;
FIG. 2 is a schematic illustration of an interface provided by an embodiment of the present application;
FIG. 3 is a schematic illustration of another interface provided by an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating specific steps of a screen recording method according to an embodiment of the present application;
FIG. 5 is a schematic illustration of another interface provided by an embodiment of the present application;
FIG. 6 is a block diagram of a screen recording device according to an embodiment of the present application;
fig. 7 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The screen recording method, the screen recording device and the electronic equipment provided by the embodiment of the application are described in detail through specific embodiments and application scenes thereof by combining the attached drawings.
Referring to fig. 1, a schematic diagram of steps of a screen recording method according to an embodiment of the present application is applied to an electronic device including a retractable screen, including:
and step 101, receiving a first message sent by a target object under the condition of recording a message interaction interface.
In the embodiment of the application, the electronic equipment can be provided with the telescopic screen, and the telescopic screen can be extended or retracted according to actual requirements in the use process so as to increase or reduce the area of a screen display area.
Specifically, the embodiment of the application can be applied to a screen recording scene of a message interaction interface in a screen of the electronic equipment, and the electronic equipment can receive new messages in the screen recording process and is used for displaying the messages in the message interaction interface of the screen. The message interaction interface can be an interaction interface of social application software, and the message can be chat content, release content and the like.
It should be noted that, the first message sent by the target object may be a message sent by the electronic device of the other users to the electronic device, and the target object may be all other users, or may be one or more specified other users. In addition, when the message interaction interface occupies the full screen, the screen recording operation can be the full screen recording operation.
For example, referring to fig. 2, an interface schematic diagram provided by an embodiment of the present application is shown, where a screen 10 of an electronic device displays a message interaction interface 11, and the message interaction interface 11 is specifically a chat interface, where each message displayed is a message 12 in a chat scene.
And 102, controlling the screen to stretch, keeping the area of the screen record unchanged, and displaying the first message in the increased screen area after stretching when the first message comprises target content.
Wherein the target content comprises at least one of sensitive information and private information.
In the screen recording scene of the embodiment of the application, during the recording process, part of the first messages received by the electronic equipment are not intended to be recorded by the user, and the part of the first messages can be defined as first messages comprising target content, wherein the target content comprises at least one of sensitive information and privacy information. That is, the final recorded file may be a public or semi-public file, and in order to ensure privacy requirements, the user needs to avoid the first message meeting the sensitive and private information conditions from appearing in the final recorded file, but in order to satisfy the normal perception of the first message, the electronic device needs to display the first message.
Therefore, in the screen recording process, for each received first message, the first message may be cached to the background without being directly displayed, and whether the first message includes the target content is determined, if the first message includes the target content, the first message is considered to be not intended to be recorded into the recording file by the user, at this time, the electronic device may control the extension of the retractable screen, and display the first message including the target content only in the screen area added after extension.
It should be noted that, whether the first message includes the target content is determined, in an alternative manner, each piece of first message may be displayed by a browsing interface independent of the message interaction interface, and the user may select the first message including the target content by himself. In addition, the user may also specify some sensitive, private information features in advance, and the electronic device may automatically determine that the first message including the sensitive, private information features includes the target content.
For example, referring to fig. 2, assuming that a user does not want a brand of his own tv to be recorded in a recording file during the process of recording chat content, the user may designate a rule in advance, determine a first message having features such as a brand as including target content, and when receiving a first message of "XX" brand, the electronic device may consider that the first message includes target content, referring to fig. 3, which shows another interface schematic provided by an embodiment of the present application, where the electronic device may control the screen 10 to stretch out, and display the first message 13 including target content only in the screen area 20 added after stretching, and because the recording operation only records content in the message interaction interface 11, the first message 13 of which the content is "XX" is not recorded by the recording operation, and the user may browse the first message 13 normally by browsing the screen area 20 added after stretching.
In addition, if the received first message does not include the target content, the first message is considered to be not sensitive information and privacy information and can be recorded into a recording file, and at the moment, the electronic equipment can directly display the first message in a message interaction interface of a screen so as to meet the browsing requirement of a user on the first message.
In the embodiment of the application, because the screen recording operation is only limited to recording the message interaction interface in the screen, the first message including the target content displayed in the extended increased screen area cannot be recorded into the recording file, so that the obtained recording file does not contain the message meeting the conditions of sensitive and private messages, and the privacy requirement of a user can be met.
In summary, the embodiment of the application provides a screen recording method, which receives a first message sent by a target object under the condition of recording a screen of a message interaction interface; controlling the screen to stretch under the condition that the first message comprises target content, keeping the area of the screen record unchanged, and displaying the first message in the increased screen area after stretching; wherein the target content comprises at least one of sensitive information and private information. In the application, because the screen recording operation is only limited to recording the message interaction interface, the first message including the target content displayed in the screen area added after the expansion of the telescopic screen is not recorded into the recording file, and the privacy requirement of the user on the fact that sensitive and privacy messages are not added in the screen recording file can be met on the basis of meeting the normal browsing of the message by the user.
Referring to fig. 4, a specific step schematic diagram of a screen recording method provided by an embodiment of the present application is shown, including:
step 201, receiving a first message sent by a target object under the condition of recording a message interaction interface.
This step may refer to step 101, and will not be described herein.
And 202, controlling the screen to stretch, and displaying a preview interface comprising the first message in the screen area which is increased after stretching.
Alternatively, step 202 may be implemented by displaying a preview interface including the first message in an area outside the message interaction interface in the screen.
In some implementations, when the electronic device receives the first message, the user needs to browse the first message first, and determine whether the first message includes the target content according to the actual situation. In order to meet the preview requirement of a user, the embodiment of the application can control the expansion screen of the electronic equipment to extend relative to the screen after the first message is acquired, and display a preview interface comprising the first message in the expansion screen.
In another implementation manner, after the first message is acquired, the electronic device may be controlled to display a preview interface including the first message in an area other than the message interaction interface in the screen, where the screen needs to have a place capable of displaying the preview interface in addition to the message interaction interface.
Step 203, determining the selected first message as including the target content when a selection operation for the first message in the preview interface is received.
Specifically, each first message in the preview interface can be selected, and the user can select the first message considered to include the target content according to the actual requirement, and display the selected first message including the target content only in the screen area which is increased after elongation.
Further, the sensitive information, private information may include data in the form of key-value pairs, which are typically used to reflect account passwords, finance-related content, and may be generally considered sensitive, private information. In addition, the sensitive text feature may include keywords, which may be words that reflect sensitive, private information, such as: "password", "address", etc.
And 204, controlling the screen to stretch, keeping the area of the screen record unchanged, and displaying the first message in the increased screen area after stretching in the case that the first message comprises target content.
This step may refer to step 102, and will not be described herein.
Optionally, after the first message is displayed in the screen area that is increased after the stretching, the method may further include:
Step 205, receiving a first input of a user, wherein the first input is used for displaying an input keyboard and an input box.
Step 206, in response to the first input, displaying the input keyboard and the input box in the increased screen area after elongation.
In a social chat scenario, the message interaction interface may include a chat interface, in which a user may call out an input keyboard and an input box to implement message input during chat, and in the use process of the input keyboard and the input box, if the input keyboard and the input box are displayed in the message interaction interface, the probability that user privacy data is exposed in a recorded file is larger, so, referring to fig. 3, when a first input to the input keyboard and the input box 30 is received, the input keyboard and the input box 30 are displayed in the screen area 20 added after extension, so that an operation screen of the input keyboard and the input box 30 is prevented from being recorded in the recorded file.
Optionally, step 206 may specifically include:
substep 2061, obtaining the target areas of the input keyboard and the input box.
In the embodiment of the application, the electronic device can determine the respective outline sizes of the input keyboard and the input frame by determining the position coordinates of the pixel points to be displayed by the input keyboard and the input frame, so as to obtain the respective areas of the input keyboard and the input frame, and the respective areas of the input keyboard and the input frame are added to obtain the target area.
Substep 2062, controlling the screen to continue to stretch if the target area is greater than the area of the post-stretch added screen area until the target area is less than or equal to the area of the post-stretch added screen area, displaying the input keyboard and the input box at the post-stretch added screen area.
In an embodiment of the present application, referring to fig. 5, in which the increased screen area 20 after the screen 10 is extended may display a first message including a target content when the target area of the input keypad and the input box 30 is larger than the area of the increased screen area 20 after the extension in the state of the electronic device, there is insufficient space in the increased screen area 20 after the extension to display the input keypad and the input box 30.
Therefore, in this case, the electronic device may be changed from the a state to the b state, specifically, the control screen 10 continues to be elongated until the target area of the input keyboard and the input box 30 is less than or equal to the area of the increased screen area 20 after elongation, and the increased screen area 20 after elongation displays the input keyboard and the input box 30, so that there is enough space in the increased screen area 20 after elongation to display the input keyboard and the input box 30.
The area of the screen area increased after the extension may be determined by the height and length of the notification bar required to accommodate the first message before the screen continues to be extended, that is, the area of the screen area increased after the extension is greater than or equal to the area of the notification bar, but in order to avoid excessive extension of the screen, the difference between the area of the screen area increased after the extension and the area of the notification bar should not be too large, for example, the difference may be less than or equal to 0.25 square cm.
In the process of continuing to stretch the screen so as to display the input keyboard and the input frame in the screen area which is increased after stretching, the length of the screen which needs to continue to stretch out can be determined by the sum of the height of the keyboard and the height of the input frame, for example, the height of the keyboard is 5 cm, the height of the input frame is 1 cm, and the length of the screen which needs to continue to stretch out can be 6-6.25 cm.
When the target area is equal to the increased screen area 20 after extension, if the first message 13 including the target content is displayed in the increased screen area 20 after extension, the input keyboard and the input box 30 may be displayed after covering the first message 13, or the input keyboard and the input box 30 and the first message 13 may be displayed in a scrolling manner in the increased screen area 20 after extension. In addition, the screen 10 may be extended such that the extended increased screen area 20 can accommodate the input keypad, the input box 30, and the first message 13 at the same time.
In addition, the maximum screen area of the screen of the electronic device is generally limited, when the number of the first messages meeting the sensitive and private message conditions is large, and the display area sum of all the first messages meeting the sensitive and private message conditions is larger than the display area of the telescopic screen, part of the important first messages meeting the sensitive and private message conditions can be displayed in the increased screen area after extension, so that browsing of part of important first messages by a user is realized.
It should be noted that, if the display area provided by the fully extended screen of the electronic device is still smaller and a larger number of messages cannot be fully displayed, the messages can be displayed in a rolling manner on the fully extended screen.
Furthermore, in the screen recording process, when the received message is a notification popup message of other applications or software, the notification popup message can be displayed only in the screen area increased after extension, so that the notification popup message is prevented from appearing in the recorded file, and the simplicity of the recorded file is prevented from being influenced.
Optionally, the method further comprises:
Step 207, receiving a second message input in the input box.
Step 208, displaying the second message in the message interaction interface when the second message does not include the target content and the second message is sent.
In the embodiment of the application, the second message input by the user in the input box is not recorded in the recorded file because the input keyboard and the input box are only displayed in the screen area which is increased after extension, so that the privacy and the safety of the content input by the user are protected.
Specifically, among all the messages, the message including the target content is the message which the user does not want to record, the target content includes at least one of sensitive information and privacy information, and the message which does not include the target content can be considered as the message which the user needs to normally see in the message interaction interface. The second message input by the user is detected, and under the condition that the second message does not comprise the target content and the second message is sent, the second message can be considered to be required to be normally displayed in the message interaction interface, and the second message can be displayed in the message interaction interface at the moment so as to achieve the purpose that the user perceives the content sent by the user.
Optionally, the method may further include:
step 209, receiving a second input to collapse the screen.
Step 210, in response to the second input, displaying the first message at a corresponding position in the message interaction interface.
In this step, if the second input of the user to shrink the screen is received, it may be considered that the user defaults to the first message displayed in the screen area added after the original extension may not be hidden, and at this time, the electronic device may add all the first messages displayed in the screen area added after the original extension to the designated position in the message interaction interface to display, that is, restore the interface shown in fig. 3 to the interface shown in fig. 2.
Step 211, in the subsequent screen recording process, recording all the messages in the message interaction interface into a recording file.
After step 211 is performed, a subsequent recording process may record into a recording file based on all messages in the message interactive interface.
In addition, after receiving the second input, the recording may not be continued, but the recording may be automatically stopped, the previously recorded content may be saved as a recording file, and then the next recording operation may be triggered to realize the recording of the subsequent content.
In summary, the embodiment of the application provides a screen recording method, which receives a first message sent by a target object under the condition of recording a screen of a message interaction interface; controlling the screen to stretch under the condition that the first message comprises target content, keeping the area of the screen record unchanged, and displaying the first message in the increased screen area after stretching; wherein the target content comprises at least one of sensitive information and private information. In the application, because the screen recording operation is only limited to recording the message interaction interface, the first message including the target content displayed in the screen area added after the expansion of the telescopic screen is not recorded into the recording file, and the privacy requirement of the user on the fact that sensitive and privacy messages are not added in the screen recording file can be met on the basis of meeting the normal browsing of the message by the user.
Referring to fig. 6, a block diagram of a screen recording device according to an embodiment of the present application is shown, including:
the first receiving module 301 is configured to receive a first message sent by a target object under the condition that a screen is recorded on a message interaction interface;
The first control module 302 is configured to control, when the first message includes the target content, the screen to stretch, and keep the area of the screen unchanged;
A first display module 303 for displaying the first message in the increased screen area after elongation;
Wherein the target content comprises at least one of sensitive information and private information.
Optionally, the apparatus further includes:
The second receiving module is used for receiving a first input of a user, and the first input is used for displaying an input keyboard and an input box;
And a second display module for displaying the input keyboard and the input box in the increased screen area after the elongation in response to the first input.
Optionally, the apparatus further includes:
the area acquisition module is used for acquiring target areas of the input keyboard and the input frame;
A second control module, configured to control the screen to continue to stretch until the target area is less than or equal to the area of the screen area that increases after stretching, if the target area is greater than the area of the screen area that increases after stretching;
And a third display module for displaying the input keyboard and the input box in the increased screen area after the elongation.
Optionally, the apparatus further includes:
a third receiving module for receiving a second message input in the input box;
and the fourth display module is used for displaying the second message in the message interaction interface under the condition that the second message does not comprise target content and the second message is sent.
Optionally, the apparatus further includes:
a fourth receiving module for receiving a second input to collapse the screen;
And a fifth display module, configured to respond to the second input, and display the first message at a corresponding position in the message interaction interface.
The screen recording device in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in the terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The screen recording device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The screen recording device provided by the embodiment of the present application can implement each process implemented by the screen recording device in the method embodiments of fig. 1 and fig. 4, and in order to avoid repetition, a detailed description is omitted here.
In summary, the embodiment of the present application provides a screen recording device, which receives a first message sent by a target object when a screen recording is performed on a message interaction interface; controlling the screen to stretch under the condition that the first message comprises target content, keeping the area of the screen record unchanged, and displaying the first message in the increased screen area after stretching; wherein the target content comprises at least one of sensitive information and private information. In the application, because the screen recording operation is only limited to recording the message interaction interface, the first message including the target content displayed in the screen area added after the expansion of the telescopic screen is not recorded into the recording file, and the privacy requirement of the user on the fact that sensitive and privacy messages are not added in the screen recording file can be met on the basis of meeting the normal browsing of the message by the user.
Optionally, the embodiment of the present application further provides an electronic device, including a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction realizes each process of the embodiment of the screen recording method when executed by the processor, and the process can achieve the same technical effect, so that repetition is avoided, and no description is repeated here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 410 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 410 is configured to receive a first message sent by a target object under the condition of recording a screen of the message interaction interface; controlling the screen to stretch under the condition that the first message comprises target content, keeping the area of the screen record unchanged, and displaying the first message in the increased screen area after stretching; wherein the target content comprises at least one of sensitive information and private information.
In the application, because the screen recording operation is only limited to recording the message interaction interface, the first message including the target content displayed in the screen area added after the expansion of the telescopic screen is not recorded into the recording file, and the privacy requirement of the user on the fact that sensitive and privacy messages are not added in the screen recording file can be met on the basis of meeting the normal browsing of the message by the user.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above embodiment of the screen recording method, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the screen recording method, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.
Claims (8)
1. A screen recording method applied to an electronic device comprising a retractable screen, the method comprising:
under the condition of recording a message interaction interface, receiving a first message sent by a target object;
controlling the screen to stretch under the condition that the first message comprises target content, and keeping the area of the screen unchanged;
Displaying the first message in an increased screen area after elongation;
Receiving a second input to collapse the screen;
Responsive to the second input, displaying the first message at a corresponding location in the message interaction interface;
Wherein the target content comprises at least one of sensitive information and private information.
2. The method of claim 1, wherein after the increased screen area after elongation displays the message, the method further comprises:
Receiving a first input of a user, wherein the first input is used for displaying an input keyboard and an input box;
in response to the first input, the input keyboard and the input box are displayed in the increased screen area after elongation.
3. The method of claim 2, wherein the displaying the input keyboard and the input box in the extended added screen area comprises:
Acquiring target areas of the input keyboard and the input frame;
Controlling the screen to continue to stretch until the target area is smaller than or equal to the area of the screen area which is increased after stretching under the condition that the target area is larger than the area of the screen area which is increased after stretching;
the input keyboard and the input box are displayed in the screen area increased after the elongation.
4. The method of claim 2, wherein after the displaying the input keyboard and the input box in the extended added screen area, the method further comprises:
Receiving a second message input in the input box;
And displaying the second message in the message interaction interface under the condition that the second message does not comprise target content and the second message is sent.
5. A screen recording apparatus for use with an electronic device including a retractable screen, the apparatus comprising:
the first receiving module is used for receiving a first message sent by the target object under the condition of recording the screen of the message interaction interface;
the first control module is used for controlling the screen to stretch and keeping the screen recording area unchanged under the condition that the first message comprises target content;
A first display module for displaying the first message in an increased screen area after elongation;
a fourth receiving module for receiving a second input to collapse the screen;
A fifth display module for displaying the first message at a corresponding location in the message interaction interface in response to the second input;
Wherein the target content comprises at least one of sensitive information and private information.
6. The apparatus of claim 5, wherein the apparatus further comprises:
The second receiving module is used for receiving a first input of a user, and the first input is used for displaying an input keyboard and an input box;
And a second display module for displaying the input keyboard and the input box in the increased screen area after the elongation in response to the first input.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the area acquisition module is used for acquiring target areas of the input keyboard and the input frame;
A second control module, configured to control the screen to continue to stretch until the target area is less than or equal to the area of the screen area that increases after stretching, if the target area is greater than the area of the screen area that increases after stretching;
And a third display module for displaying the input keyboard and the input box in the increased screen area after the elongation.
8. The apparatus of claim 6, wherein the apparatus further comprises:
a third receiving module for receiving a second message input in the input box;
and the fourth display module is used for displaying the second message in the message interaction interface under the condition that the second message does not comprise target content and the second message is sent.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011335624.0A CN112395644B (en) | 2020-11-24 | 2020-11-24 | Screen recording method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011335624.0A CN112395644B (en) | 2020-11-24 | 2020-11-24 | Screen recording method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112395644A CN112395644A (en) | 2021-02-23 |
CN112395644B true CN112395644B (en) | 2024-08-23 |
Family
ID=74606997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011335624.0A Active CN112395644B (en) | 2020-11-24 | 2020-11-24 | Screen recording method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112395644B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908523A (en) * | 2017-11-22 | 2018-04-13 | 维沃移动通信有限公司 | Record screen method, apparatus and terminal device |
CN109597551A (en) * | 2018-11-21 | 2019-04-09 | 维沃移动通信有限公司 | A kind of display control method and terminal device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9898901B1 (en) * | 2016-11-30 | 2018-02-20 | Bank Of America Corporation | Physical security system for computer terminals |
WO2018119862A1 (en) * | 2016-12-29 | 2018-07-05 | 深圳市柔宇科技有限公司 | Smart terminal and control method therefor |
CN111694486B (en) * | 2017-05-16 | 2023-08-22 | 苹果公司 | Apparatus, method and graphical user interface for navigating between user interfaces |
-
2020
- 2020-11-24 CN CN202011335624.0A patent/CN112395644B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908523A (en) * | 2017-11-22 | 2018-04-13 | 维沃移动通信有限公司 | Record screen method, apparatus and terminal device |
CN109597551A (en) * | 2018-11-21 | 2019-04-09 | 维沃移动通信有限公司 | A kind of display control method and terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN112395644A (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112099705B (en) | Screen projection method and device and electronic equipment | |
US20140380375A1 (en) | Page turning method, page turning apparatus and terminal as well as computer readable medium | |
CN111816139B (en) | Screen refresh rate switching method and electronic equipment | |
EP2874054B1 (en) | Application text adjusting method, device, and terminal | |
CN112269522A (en) | Image processing method, image processing device, electronic equipment and readable storage medium | |
CN111695151A (en) | Application permission setting method and device, electronic equipment and readable storage medium | |
CN111857464A (en) | Information display method and device, electronic equipment and readable storage medium | |
CN112104785A (en) | Information display method and device | |
CN113835577A (en) | Display method, display device, electronic equipment and storage medium | |
US20240184434A1 (en) | Display method and apparatus | |
CN113867585B (en) | Interface display method, device, electronic equipment and storage medium | |
CN111813305A (en) | Application program starting method and device | |
US20230334740A1 (en) | Image display method, apparatus, and electronic device | |
CN111880701B (en) | Page switching method and device and electronic equipment | |
CN112395644B (en) | Screen recording method and device and electronic equipment | |
CN115866314B (en) | Video playing method and device | |
CN115202524B (en) | Display method and device | |
CN109756539B (en) | Screen capture control method and related equipment | |
EP4351117A1 (en) | Information display method and apparatus, and electronic device | |
CN116244028A (en) | Interface display method and device and electronic equipment | |
CN114286010B (en) | Shooting method, shooting device, electronic equipment and medium | |
CN107358117B (en) | Switching method, electronic equipment and computer storage medium | |
CN115277670A (en) | Network connection control method and device of target application and electronic equipment | |
CN114579239A (en) | Message management method and device | |
CN113268185B (en) | Information providing method and device and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |