Screen recording method, device and electronic device
By controlling the screen extension during the screen recording process and displaying sensitive or private information in the extended area, the problem of being unable to effectively filter and protect this information in the existing technology is solved, thereby improving user experience and protecting privacy.
Patent Information
- Application Number
- CN202011335624.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-24
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-11-24
AI Technical Summary
In the existing technology, the screen recording function cannot effectively filter and protect sensitive or private information, resulting in a degraded user experience.
During the screen recording process, when a message containing sensitive or private information is received, the screen is controlled to extend and the message is displayed in the extended area without recording it to a file, thereby meeting the user's normal browsing needs for messages. While protecting private information.
It realizes that sensitive or private information is not recorded during the screen recording process, improves user experience and privacy protection, and meets users' privacy needs for sensitive information not to be added to screen recording files.
Smart Images

Figure CN112395644B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computers, and specifically relates to a screen recording method, device and electronic device. Background Art
[0002] With the continuous development of electronic devices, electronic devices can implement a screen recording function, so that messages displayed on the screen interface are recorded into a recording file for subsequent use or sharing.
[0003] At present, after the screen recording function is started, all messages in the interactive interface on the screen can be recorded. When the electronic device receives a new message, the new message can be displayed on the interactive interface and recorded into the recording file.
[0004] However, during the recording process of the current solution, some messages received by the electronic device are not what the user wants to be recorded, such as account passwords, or financial related messages. When these messages are displayed on the interactive interface and recorded, the user experience will be reduced. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a screen recording method, device and electronic device to solve the problem in the prior art that the recorded messages cannot be filtered during the recording process.
[0006] In order to solve the above technical problems, this application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides a screen recording method, comprising:
[0008] When the message interaction interface is recorded, a first message sent by a target object is received;
[0009] When the first message includes the target content, controlling the screen to extend and keeping the screen recording area unchanged;
[0010] Displaying the first message in the screen area increased after the extension;
[0011] The target content includes at least one of sensitive information and private information.
[0012] In a second aspect, an embodiment of the present application provides a screen recording device, the device comprising:
[0013] A first receiving module, used to receive a first message sent by a target object when recording the message interaction interface;
[0014] A first control module, configured to control the screen to extend and keep the screen recording area unchanged when the first message includes target content;
[0015] A first display module, used for displaying the first message in the screen area increased after the extension;
[0016] The target content includes at least one of sensitive information and private information.
[0017] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0018] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0019] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0020] In an embodiment of the present application, when recording the message interaction interface, a first message sent by a target object is received; when the first message includes target content, the screen is controlled to extend, the area of the screen recording is kept unchanged, and the first message is displayed in the screen area increased after the extension; wherein the target content includes at least one of sensitive information and private information. In the present application, since the screen recording operation is limited to recording the message interaction interface, the first message including the target content displayed in the screen area increased after the telescopic screen is extended will not be recorded in the recording file. On the basis of satisfying the user's normal browsing of messages, it can also meet the user's privacy needs for sensitive and private messages not to be added to the screen recording file. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is a schematic diagram of the steps of a screen recording method provided in an embodiment of the present application;
[0022] Figure 2 This is a schematic diagram of an interface provided by an embodiment of the present application;
[0023] Figure 3 This is another interface schematic diagram provided in an embodiment of the present application;
[0024] Figure 4 It is a schematic diagram of specific steps of a screen recording method provided in an embodiment of the present application;
[0025] Figure 5 This is another interface schematic diagram provided in an embodiment of the present application;
[0026] Figure 6 It is a structural block diagram of a screen recording device provided in an embodiment of the present application;
[0027] Figure 7 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0030] The screen recording method, device and electronic device provided in the embodiments of the present application are described in detail below with reference to specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0031] Reference Figure 1 , which shows a schematic diagram of the steps of a screen recording method provided in an embodiment of the present application, which is applied to an electronic device including a retractable screen, including:
[0032] Step 101: While recording the message interaction interface, receive a first message sent by a target object.
[0033] In an embodiment of the present application, the electronic device may have a retractable screen. During use, the retractable screen may be extended or retracted according to actual needs to increase or decrease the area of the screen display area.
[0034] Specifically, the embodiments of the present application can be applied to the screen recording scenario of the message interaction interface on the screen of the electronic device. The electronic device can receive new messages during the screen recording process and display the messages in the message interaction interface on the screen. The message interaction interface can be the interaction interface of the social application software, and the message can be chat content, published content, etc.
[0035] It should be noted that the first message sent by the target object can be a message sent by another user's electronic device to the electronic device, and the target object can be all other users or one or more specified other users. In addition, when the message interaction interface fills the full screen, the screen recording operation can also be a full screen recording operation.
[0036] For example, refer to Figure 2 , which shows an interface schematic diagram provided in an embodiment of the present application, wherein a screen 10 of an electronic device displays a message interaction interface 11, and the message interaction interface 11 is specifically a chat interface, wherein each message displayed is a message 12 in a chat scenario.
[0037] Step 102: When the first message includes target content, control the screen to stretch, keep the recorded screen area unchanged, and display the first message in the screen area increased after stretching.
[0038] The target content includes at least one of sensitive information and private information.
[0039] In the screen recording scenario of the embodiment of the present application, during the recording process, some of the first messages received by the electronic device are not what the user wants to be recorded. These parts of the first messages can be defined as first messages including target content, and the target content includes at least one of sensitive information and private information. That is, the final recorded file may be a public or semi-public file. In order to ensure privacy requirements, the user needs to avoid the first message that meets the sensitive and private information conditions from appearing in the final recorded file. However, in order to meet the normal perception of the first message, the electronic device needs to display the first message.
[0040] Therefore, based on the above-mentioned requirements, in the embodiment of the present application, during the screen recording process, for each first message received, it may not be directly displayed first, but cached to the background, and a determination is made as to whether the first message includes the target content. If the first message includes the target content, it is considered that the first message is not what the user wants to be recorded into the recording file. At this time, the electronic device can control the retractable screen to extend, and only display the first message including the target content in the screen area increased after the extension. Since the screen recording operation is only limited to the recording of the message interaction interface in the screen, the first message displayed in the screen area increased after the extension will not be recorded into the recording file. In addition, displaying the first message including the target content in the screen area increased after the extension can also meet the user's basic browsing needs for the first message including the target content.
[0041] It should be noted that, in an optional manner, to determine whether the first message includes the target content, each first message may be displayed on a browsing interface independent of the message interaction interface, and the user may select the first message including the target content. In addition, the user may also specify some sensitive and private information features in advance, and the electronic device may automatically determine that the first message containing the sensitive and private message features includes the target content.
[0042] For example, refer to Figure 2 , assuming that the user does not want the brand of the TV he bought to be recorded in the recording file during the process of recording the chat content, the user can specify a rule in advance to determine that the first message with characteristics such as brand is included in the target content. When the electronic device receives the first message of "XX brand", it can be considered that the first message includes the target content. Figure 3 , which shows another interface schematic diagram provided by an embodiment of the present application. At this time, the electronic device can control the screen 10 to extend, and display the first message 13 including the target content only in the screen area 20 increased after the extension. Since the screen recording operation only records the content in the message interaction interface 11, the first message 13 with the content of "XX brand" will not be recorded by the screen recording operation, and the user can browse the first message 13 normally by browsing the screen area 20 increased after the extension.
[0043] In addition, if the received first message does not include the target content, it is considered that the first message is not sensitive information or privacy information and can be recorded into a recording file. At this time, the electronic device can directly display the first message in the message interaction interface on the screen to meet the user's browsing needs for the first message.
[0044] In an embodiment of the present application, since the screen recording operation is limited to recording the message interaction interface on the screen, the first message including the target content displayed in the increased screen area after extension will not be recorded in the recording file. Therefore, the obtained recording file does not contain messages that meet the sensitive and private message conditions, which can meet the user's privacy needs.
[0045] In summary, the embodiment of the present application provides a screen recording method, which receives a first message sent by a target object when recording a message interaction interface; when the first message includes target content, controls the screen to stretch, keeps the screen recording area unchanged, and displays the first message in the screen area increased after the stretching; wherein the target content includes at least one of sensitive information and private information. In the present application, since the screen recording operation is limited to the recording of the message interaction interface, the first message including the target content displayed in the screen area increased after the telescopic screen is stretched will not be recorded in the recording file. On the basis of satisfying the user's normal browsing of messages, it can also meet the user's privacy needs for sensitive and private messages not to be added to the screen recording file.
[0046] Reference Figure 4 , which shows a schematic diagram of specific steps of a screen recording method provided in an embodiment of the present application, including:
[0047] Step 201: While recording the message interaction interface, receive a first message sent by a target object.
[0048] This step may specifically refer to the above step 101, which will not be described in detail here.
[0049] Step 202: Control the screen to extend, and display a preview interface including the first message in the screen area increased after the extension.
[0050] Optionally, step 202 may also be implemented by displaying a preview interface including the first message in an area outside the message interaction interface on the screen.
[0051] 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 user's preview needs, the embodiment of the present application can control the retractable screen of the electronic device to extend relative to the screen after obtaining the first message, and display a preview interface including the first message on the retractable screen.
[0052] In another implementation, after obtaining the first message, the electronic device can be controlled to display a preview interface including the first message in an area outside the message interaction interface on the screen. In this case, the screen must have a place capable of displaying the preview interface in addition to the message interaction interface.
[0053] Step 203: When a selection operation is received for the first message in the preview interface, the selected first message is determined to include target content.
[0054] Specifically, each first message in the preview interface can be selected, and the user can select the first message that is considered to include the target content according to actual needs, and display the selected first message including the target content only in the screen area increased after stretching.
[0055] Furthermore, sensitive information and private information may include data in the format of key-value pairs, which are usually used to reflect account passwords and financial-related content, and can generally be considered sensitive and private information. In addition, sensitive text features may include some keywords, which may be words that can reflect sensitive and private information, such as "password", "address", etc.
[0056] Step 204: When the first message includes target content, control the screen to stretch, keep the recorded screen area unchanged, and display the first message in the screen area increased after stretching.
[0057] This step may specifically refer to the above step 102, which will not be described in detail here.
[0058] Optionally, after the screen area increased after the extension displays the first message, the method may further include:
[0059] Step 205: Receive a first input from the user, where the first input is used to display an input keyboard and an input box.
[0060] Step 206: In response to the first input, display the input keyboard and the input box in the screen area increased after the stretching.
[0061] In the social chat scenario, the message interaction interface may include a chat interface. During the chat, the user can enter messages by calling out the input keyboard and input box. Based on the user's privacy protection needs, if the input keyboard and input box are displayed in the message interaction interface during use, the user's privacy data will be more likely to be exposed in the recording file. Therefore, refer to Figure 3 The embodiment of the present application can display the input keyboard and the input box 30 in the screen area 20 increased after extension when receiving the first input to the input keyboard and the input box 30, thereby avoiding the operation screen of the input keyboard and the input box 30 from being recorded into the recording file.
[0062] Optionally, step 206 may specifically include:
[0063] Sub-step 2061: Obtain the target area of the input keyboard and the input box.
[0064] Among them, the target area can be the sum of the areas of the input keyboard and the input box. In the embodiment of the present application, the electronic device can determine the position coordinates of the pixel points to be displayed on the input keyboard and the input box, thereby determining the outline size of the input keyboard and the input box, and then obtain the respective areas of the input keyboard and the input box, and add up the respective areas of the input keyboard and the input box to obtain the target area.
[0065] Sub-step 2062: When the target area is larger than the area of the screen area increased after the stretching, control the screen to continue to stretch until the target area is less than or equal to the area of the screen area increased after the stretching, and display the input keyboard and the input box in the screen area increased after the stretching.
[0066] In the embodiments of this application, refer to Figure 5 , wherein, when the electronic device is in state a, the screen area 20 increased after the screen 10 is stretched can display a first message including target content. At this time, the target area of the input keyboard and the input box 30 is larger than the area of the screen area 20 increased after stretching, and there is not enough space in the screen area 20 increased after stretching to display the input keyboard and the input box 30.
[0067] Therefore, in this case, the electronic device can be changed from state a to state b, specifically, the screen 10 is controlled to continue to extend until the target area of the input keyboard and the input box 30 is less than or equal to the area of the screen area 20 increased after the extension, and the input keyboard and the input box 30 are displayed in the screen area 20 increased after the extension, so that there is enough space in the screen area 20 increased after the extension to display the input keyboard and the input box 30.
[0068] Among them, before continuing to extend the screen, the area of the screen area increased after the extension can be determined by the height and length of the notification bar required to accommodate the first message, 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 can be less than or equal to 0.25 square centimeters.
[0069] As the screen continues to extend in order to be able to display the input keyboard and input box in the increased screen area after extension, the length that the screen needs to extend further can be determined by the sum of the height of the keyboard and the height of the input box. For example, if the height of the keyboard is 5 cm and the height of the input box is 1 cm, the length that the screen needs to extend further may be 6-6.25 cm.
[0070] It should be noted that when the target area is equal to the screen area 20 increased after stretching, if the first message 13 including the target content is also displayed in the screen area 20 increased after stretching, the input keyboard and the input box 30 can be displayed after covering the first message 13, or the input keyboard, the input box 30 and the first message 13 can be displayed in a scrolling manner in the screen area 20 increased after stretching. In addition, the screen 10 can also be stretched so that the screen area 20 increased after stretching can accommodate the input keyboard, the input box 30 and the first message 13 at the same time.
[0071] In addition, the maximum screen area of an electronic device is generally limited. When the number of first messages that meet the sensitive and privacy message conditions is large and the retractable screen cannot display all of them in full, that is, the sum of the display areas of all first messages that meet the sensitive and privacy message conditions is larger than the display area of the retractable screen, some of the more important first messages that meet the sensitive and privacy message conditions can be displayed in the screen area increased after extension, thereby enabling users to browse some important first messages.
[0072] It should be noted that if the display area that can be provided by the screen of the electronic device after it is fully extended is still small and cannot fully display a large number of messages, the messages can be displayed in a scrolling manner on the fully extended screen.
[0073] Furthermore, when the electronic device is in the process of screen recording, when the message received is a pop-up notification message from other applications or software, the pop-up notification message can be displayed only in the screen area increased after stretching, thereby avoiding the pop-up notification message from appearing in the recorded file and affecting the simplicity of the recorded file.
[0074] Optionally, the method further includes:
[0075] Step 207: Receive a second message input in the input box.
[0076] Step 208: If the second message does not include the target content and the second message has been sent, display the second message in the message interaction interface.
[0077] In the embodiment of the present application, since the input keyboard and input box are displayed only in the screen area increased after extension, the second message entered by the user in the input box will not be recorded in the recording file, thereby protecting the privacy and security of the content entered by the user.
[0078] Specifically, among all the messages, only the messages that include the target content are the ones that the user does not want to be recorded. The target content includes at least one of sensitive information and private information. Messages that do not include the target content can be considered as messages that the user needs to see normally in the message interaction interface. Then, when the second message input by the user is detected and it is found that the second message does not include the target content and the second message has been sent, it can be considered that the second message needs to be displayed normally in the message interaction interface. At this time, the second message can be displayed in the message interaction interface to achieve the purpose of the user perceiving the content sent by himself.
[0079] Optionally, the method may further include:
[0080] Step 209: Receive a second input for shrinking the screen.
[0081] Step 210: In response to the second input, display the first message at a corresponding position in the message interaction interface.
[0082] In this step, if the second input of the user shrinking the screen is received, it can be considered that the user defaults that the first message displayed in the screen area increased after the original extension can be not hidden. At this time, the electronic device can add all the first messages displayed in the screen area increased after the original extension to the specified position in the message interaction interface for display, that is, Figure 3 The interface shown is restored to Figure 2 The interface shown.
[0083] Step 211: In the subsequent screen recording process, all messages in the message interaction interface are recorded into a recording file.
[0084] After executing step 211, the subsequent screen recording process can be recorded into a recording file based on all messages in the message interaction interface.
[0085] In addition, after receiving the second input, the recording may not continue, but the screen recording may be automatically stopped, and 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 subsequent content.
[0086] In summary, the embodiment of the present application provides a screen recording method, which receives a first message sent by a target object when recording a message interaction interface; when the first message includes target content, controls the screen to stretch, keeps the screen recording area unchanged, and displays the first message in the screen area increased after the stretching; wherein the target content includes at least one of sensitive information and private information. In the present application, since the screen recording operation is limited to the recording of the message interaction interface, the first message including the target content displayed in the screen area increased after the telescopic screen is stretched will not be recorded in the recording file. On the basis of satisfying the user's normal browsing of messages, it can also meet the user's privacy needs for sensitive and private messages not to be added to the screen recording file.
[0087] Reference Figure 6 , which shows a block diagram of a screen recording device provided in an embodiment of the present application, including:
[0088] The first receiving module 301 is used to receive a first message sent by a target object when recording the message interaction interface;
[0089] A first control module 302, configured to control the screen to extend and keep the screen recording area unchanged when the first message includes target content;
[0090] A first display module 303, configured to display the first message in the screen area increased after the extension;
[0091] The target content includes at least one of sensitive information and private information.
[0092] Optionally, the device further comprises:
[0093] A second receiving module, used to receive a first input from a user, where the first input is used to display an input keyboard and an input box;
[0094] The second display module is used for displaying the input keyboard and the input box in the screen area increased after the extension in response to the first input.
[0095] Optionally, the device further comprises:
[0096] An area acquisition module, used to acquire the target area of the input keyboard and the input box;
[0097] a second control module, configured to control the screen to continue to extend, when the target area is larger than the area of the screen area increased after the extension, until the target area is smaller than or equal to the area of the screen area increased after the extension;
[0098] A third display module is used to display the input keyboard and the input box in the screen area increased after the extension.
[0099] Optionally, the device further comprises:
[0100] A third receiving module, used to receive a second message input in the input box;
[0101] A fourth display module is used to display the second message in the message interaction interface when the second message does not include the target content and the second message has been sent.
[0102] Optionally, the device further comprises:
[0103] A fourth receiving module, configured to receive a second input for shrinking the screen;
[0104] A fifth display module is used to display the first message at a corresponding position in the message interaction interface in response to the second input.
[0105] The screen recording device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0106] The screen recording device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0107] The screen recording device provided in the embodiment of the present application can achieve Figure 1 and Figure 4 To avoid repetition, the various processes implemented by the screen recording device in the method embodiment will not be described here.
[0108] In summary, an embodiment of the present application provides a screen recording device, which receives a first message sent by a target object when recording a message interaction interface; when the first message includes target content, controls the screen to extend, keeps the screen recording area unchanged, and displays the first message in the screen area increased after the extension; wherein the target content includes at least one of sensitive information and private information. In the present application, since the screen recording operation is limited to recording the message interaction interface, the first message including the target content displayed in the screen area increased after the telescopic screen is extended will not be recorded in the recording file. On the basis of satisfying the user's normal browsing of messages, it can also meet the user's privacy needs for sensitive and private messages not to be added to the screen recording file.
[0109] Optionally, an embodiment of the present application also provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, each process of the above-mentioned screen recording method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0110] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0111] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0112] The electronic device 400 includes but is not limited to components such as a radio frequency unit 401 , a network module 402 , an audio output unit 403 , an input unit 404 , a sensor 405 , a display unit 406 , a user input unit 407 , an interface unit 408 , a memory 409 , and a processor 410 .
[0113] Those skilled in the art will appreciate that the electronic device 400 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0114] Among them, the processor 410 is used to receive a first message sent by a target object when recording the message interaction interface; when the first message includes target content, control the screen to stretch, keep the recorded area unchanged, and display the first message in the screen area increased after stretching; wherein the target content includes at least one of sensitive information and privacy information.
[0115] In the present application, since the screen recording operation is limited to the recording of the message interaction interface, the first message including the target content displayed in the screen area increased after the telescopic screen is extended will not be recorded in the recording file. On the basis of satisfying the user's normal browsing of messages, it can also meet the user's privacy needs for sensitive and private messages not to be added to the screen recording file.
[0116] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned screen recording method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0117] 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 computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0118] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned screen recording method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0119] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0120] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0122] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A screen recording method, applied to an electronic device including a retractable screen, characterized in that: The method comprises: When the message interaction interface is recorded, a first message sent by a target object is received; When the first message includes the target content, controlling the screen to extend and keeping the screen recording area unchanged; Displaying the first message in the screen area increased after the extension; receiving a second input for shrinking the screen; In response to the second input, displaying the first message at a corresponding position in the message interaction interface; The target content includes at least one of sensitive information and private information.
2. The method according to claim 1, characterized in that: After the message is displayed in the screen area increased after the extension, the method further includes: Receive a first input from a user, where the first input is used to display an input keyboard and an input box; In response to the first input, the input keyboard and the input box are displayed in the screen area increased after the extension.
3. The method according to claim 2, characterized in that The step of displaying the input keyboard and the input box in the screen area increased after the extension comprises: Obtaining target areas of the input keyboard and the input box; When the target area is larger than the area of the screen area increased after the extension, controlling the screen to continue to extend until the target area is smaller than or equal to the area of the screen area increased after the extension; The input keyboard and the input box are displayed in the screen area increased after the extension.
4. The method according to claim 2, characterized in that: After displaying the input keyboard and the input box in the screen area increased after the extension, the method further includes: receiving a second message input in the input box; When the second message does not include the target content and the second message has been sent, the second message is displayed in the message interaction interface.
5. A screen recording device, applied to an electronic device including a retractable screen, characterized in that: The device comprises: A first receiving module, used to receive a first message sent by a target object when recording the message interaction interface; A first control module, configured to control the screen to extend and keep the screen recording area unchanged when the first message includes target content; A first display module, used for displaying the first message in the screen area increased after the extension; A fourth receiving module, configured to receive a second input for shrinking the screen; a fifth display module, configured to display the first message at a corresponding position in the message interaction interface in response to the second input; The target content includes at least one of sensitive information and private information.
6. The device according to claim 5, characterized in that The device also includes: A second receiving module, used to receive a first input from a user, where the first input is used to display an input keyboard and an input box; The second display module is used for displaying the input keyboard and the input box in the screen area increased after the extension in response to the first input.
7. The device according to claim 6, characterized in that The device also includes: An area acquisition module, used to acquire the target area of the input keyboard and the input box; a second control module, configured to control the screen to continue to extend, when the target area is larger than the area of the screen area increased after the extension, until the target area is smaller than or equal to the area of the screen area increased after the extension; A third display module is used to display the input keyboard and the input box in the screen area increased after the extension.
8. The device according to claim 6, characterized in that The device also includes: A third receiving module, used to receive a second message input in the input box; A fourth display module is used to display the second message in the message interaction interface when the second message does not include the target content and the second message has been sent.
