Element processing method and device, electronic equipment and computer readable storage medium
By performing a trigger operation between the first screen area and the second screen area of the electronic device, the element part is directly eliminated or hidden in the first screen area, the problem of low switching efficiency of stylus operation is solved and the efficiency of element processing is improved and operational consistency.
Patent Information
- Application Number
- CN202310540053.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-11
- Publication Date
- 2024-11-12
AI Technical Summary
In electronic devices, when using a stylus for writing or erasing operations, switching to other operations requires the stylus to switch to the corresponding port, resulting in low element processing efficiency.
By performing a trigger operation between the first screen area and the second screen area of the electronic device, the corresponding element part is determined, and the element part is eliminated or hidden in the element processing page of the first screen area, avoiding the need to switch to elimination operate.
Improves the efficiency of element processing, allows the user to operate in a more coherent manner, reduces the need to switch operations in the first screen area, and improves processing speed.
Smart Images

Figure CN118939132A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of software interaction technology, and in particular to an element processing method, device, electronic device and computer-readable storage medium. Background Art
[0002] As the functions of electronic devices become more and more complete, users can use a stylus pen to write or erase on the screen of the electronic device. When using the stylus pen to write or erase, if you need to switch to other operations, you need to switch the stylus pen to the port of other operations and then operate, which has the problem of low efficiency of element processing. Summary of the invention
[0003] Embodiments of the present application provide an element processing method, device, electronic device, computer-readable storage medium, and computer program product, which can improve the efficiency of element processing.
[0004] In a first aspect, the present application provides an element processing method, which is applied to an electronic device, wherein the electronic device includes a first screen area and a second screen area. The method includes:
[0005] Displaying an element processing page in the first screen area; displaying each element in the element processing interface;
[0006] In response to a first trigger operation on the second screen area, it is determined that the first trigger operation corresponds to an element portion in an element processing page of the first screen area, and the element portion is eliminated or hidden in the element processing page of the first screen area.
[0007] In a second aspect, the present application further provides an element processing device, which is applied to an electronic device, wherein the electronic device includes a first screen area and a second screen area. The device includes:
[0008] A page display module, used to display an element processing page in the first screen area; each element is displayed in the element processing interface;
[0009] The element processing module is used to respond to the first trigger operation on the second screen area, determine the element part in the element processing page of the first screen area corresponding to the first trigger operation, and eliminate or hide the element part in the element processing page of the first screen area.
[0010] In a third aspect, the present application further provides an electronic device. The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0011] Displaying an element processing page in the first screen area; displaying each element in the element processing interface;
[0012] In response to a first trigger operation on the second screen area, it is determined that the first trigger operation corresponds to an element portion in an element processing page of the first screen area, and the element portion is eliminated or hidden in the element processing page of the first screen area.
[0013] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0014] Displaying an element processing page in the first screen area; displaying each element in the element processing interface;
[0015] In response to a first trigger operation on the second screen area, it is determined that the first trigger operation corresponds to an element portion in an element processing page of the first screen area, and the element portion is eliminated or hidden in the element processing page of the first screen area.
[0016] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0017] Displaying an element processing page in the first screen area; displaying each element in the element processing interface;
[0018] In response to a first trigger operation on the second screen area, it is determined that the first trigger operation corresponds to an element portion in an element processing page of the first screen area, and the element portion is eliminated or hidden in the element processing page of the first screen area.
[0019] The above-mentioned element processing method, device, electronic device, computer-readable storage medium and computer program product display an element processing page in the first screen area, and each element is displayed in the element processing interface; in response to a first trigger operation on the second screen area, it is determined that the first trigger operation corresponds to the element part in the element processing page of the first screen area, so that the element part can be eliminated or hidden directly in the element processing page of the first screen area, avoiding the need to switch to the elimination operation in the first screen area to eliminate or hide the element part, thereby improving the efficiency of element processing in the first screen area. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 An application environment diagram of an element processing method in an embodiment;
[0022] Figure 2 is a schematic diagram of a folding screen device in one embodiment;
[0023] Figure 3 is a structural block diagram of an element processing device in one embodiment;
[0024] Figure 4 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0026] In one embodiment, Figure 1 As shown, an element processing method is provided. This embodiment uses the method applied to an electronic device as an example, and the electronic device can be a terminal or a server. It can be understood that the method can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server.
[0027] In this embodiment, the electronic device includes a first screen area and a second screen area. The element processing method includes the following steps:
[0028] Step S102, displaying an element processing page in the first screen area; displaying each element in the element processing interface.
[0029] Optionally, the first screen area and the second screen area may be in the same screen or in different screens.
[0030] Optionally, the sizes of the first screen area and the second screen area are not limited, and the area of the first screen area and the area of the second screen area may be the same or different.
[0031] Exemplarily, the electronic device includes a screen, which includes a first screen area and a second screen area, and the area of the first screen area is the same as the area of the second screen area, that is, the first screen area can be the left half of the screen, and the second screen area can be the right half of the screen.
[0032] Exemplarily, the electronic device is a foldable display device, including a first screen and a second screen, the first screen including a first screen area, and the second screen including a second screen area. The foldable display device may be a foldable screen device, the first screen is a main screen, and the second screen is a sub-screen; or the first screen is a sub-screen, and the second screen is a main screen; the area of the main screen is larger than the area of the sub-screen.
[0033] The element processing page is a page for processing elements. The elements may include text, patterns, photos or links, etc., but are not limited thereto. In the element processing page, the methods for processing the elements may include eliminating, adding, hiding, enlarging or reducing, etc., but are not limited thereto.
[0034] Step S104, in response to the first trigger operation on the second screen area, determining that the first trigger operation corresponds to an element portion in the element processing page of the first screen area, and eliminating or hiding the element portion in the element processing page of the first screen area.
[0035] The first trigger operation may be a click operation, a long press operation, a sliding operation, or a drag operation, etc., but is not limited thereto. If the long press operation lasts longer than a preset time, the element part of the long press operation is eliminated or hidden. The preset time can be set as needed, such as 1 second.
[0036] The first trigger operation corresponds to the element part in the element processing page in the first screen area, which may include the entire element or a part of the element, which is not limited here.
[0037] It can be understood that the first trigger operation on the second screen area is used to eliminate or hide the element; and the second trigger operation on the first screen area is used to generate the element.
[0038] Optionally, the electronic device determines to eliminate the element in response to the first trigger operation on the second screen area, determines that the first trigger operation corresponds to the element part selected in the element page of the first screen area, and eliminates or hides the selected element part.
[0039] Optionally, the method further includes: synchronously displaying an element processing page in the second screen area, and in response to a first trigger operation on the second screen area, eliminating or hiding the element part in the element processing page in the second screen area.
[0040] Optionally, the method further includes: in response to a second trigger operation on the first screen area, generating a target element corresponding to the second trigger operation in an element processing page of the first screen area.
[0041] The second trigger operation may be a click operation, a long press operation or a slide operation, etc., but is not limited thereto. The target element is an element generated by triggering the first screen area; the target element may include text, a pattern, a photo or a link, etc., but is not limited thereto.
[0042] Exemplarily, the electronic device may add text content, or generate a pattern, etc. in response to the second trigger operation on the first screen area.
[0043] Optionally, the electronic device can, in response to a first trigger operation of the first trigger object on the second screen area, determine that the first trigger operation corresponds to an element portion in an element processing page of the first screen area, and eliminate or hide the element portion in the element processing page of the first screen area; and in response to a second trigger operation of the second trigger object on the first screen area, generate a target element corresponding to the second trigger operation in the element processing page of the first screen area.
[0044] The first trigger object and the second trigger object may be the same or different, and may be set as required.
[0045] Exemplarily, the first trigger object is a finger, and the second trigger object is a stylus; the first trigger object is a stylus, and the second trigger object is a finger; the first trigger object is a palm, and the second trigger object is a stylus or a finger; the first trigger object is a finger, and the second trigger object is also a finger.
[0046] When the stylus triggers the first screen area or the second screen area, the first screen area or the second screen area can determine whether it is a stylus according to the existence of a detection protocol of the screen for the stylus.
[0047] The electronic device can determine whether it is triggered by a finger or a palm based on the capacitive change of the screen. If there is a capacitive change on the screen, it means that it is triggered by a finger or a palm.
[0048] The above-mentioned element processing method displays an element processing page in the first screen area, and each element is displayed in the element processing interface; in response to a first trigger operation on the second screen area, it is determined that the first trigger operation corresponds to the element part in the element processing page in the first screen area, so that the element part can be eliminated or hidden directly in the element processing page in the first screen area, avoiding the need to switch to the elimination operation in the first screen area to eliminate or hide the element part, thereby improving the efficiency of element processing in the first screen area.
[0049] Furthermore, the electronic device can generate a target element in response to a second trigger operation on the first screen area, and can eliminate or hide part of the element in response to the first trigger operation on the second screen area. Then, the user can trigger the first screen area to generate the target element with one hand, and trigger the second screen area to eliminate or hide part of the element with the other hand, which can improve the consistency of element processing.
[0050] In one embodiment, in response to a first trigger operation on the second screen area, it is determined that the first trigger operation corresponds to an element part in the element processing page of the first screen area, and the element part is text, then the text is eliminated or hidden. The first trigger operation can be a double-click operation, or a circle operation within a preset range of the text.
[0051] In one embodiment, the above method also includes: displaying a trigger pointer corresponding to the second screen area in the element processing page of the first screen area; in response to a first trigger operation on the second screen area, determining the element part in the element processing page of the first screen area corresponding to the first trigger operation, including: in response to the first trigger operation on the second screen area, determining the element part triggered by the trigger pointer in the element processing page of the first screen area.
[0052] The trigger pointer corresponding to the second screen area is a position identifier of the first trigger operation in the element processing page of the first screen area. It is understandable that the electronic device moves the trigger pointer in the element processing page of the first screen area to the corresponding position in response to the sliding operation on the second screen area.
[0053] Exemplarily, an element processing page is displayed in the first screen area, and each element and a trigger pointer corresponding to the second screen area are displayed in the element processing page; a user can generate a new target element in the first screen area, and can also perform a first trigger operation on the second screen to eliminate or hide part of the element in the first screen area; the electronic device responds to the first trigger operation on the second screen area, determines the part of the element triggered by the trigger pointer of the element processing page in the first screen area, and can directly eliminate or hide the part of the element.
[0054] In this embodiment, the electronic device displays a trigger pointer corresponding to the second screen area in the element processing page of the first screen area. When it is necessary to eliminate or hide an element portion in the element processing page of the first screen area, the user can accurately determine the positional relationship between the trigger pointer and the element portion, thereby more accurately and quickly performing the first trigger operation on the second screen area to eliminate or hide the element portion.
[0055] In one embodiment, in response to a first trigger operation on a second screen area, determining the element portion in an element processing page in a first screen area corresponding to the first trigger operation includes: in response to the first trigger operation on the second screen area, determining a trigger feature generated by the first trigger operation; if the trigger feature generated by the first trigger operation satisfies a preset feature condition, determining that the first trigger operation corresponds to the element portion in the element processing page in the first screen area.
[0056] The trigger characteristics generated by the first trigger operation may include at least one of the trigger area size and the trigger circuit characteristics. The trigger characteristics generated by the first trigger operation may also include the trigger duration, the trigger strength or the number of triggers, etc., but are not limited thereto.
[0057] The trigger circuit characteristics include capacitive characteristics and electrical characteristics; if the trigger characteristic generated by the first trigger operation is a capacitive characteristic, it means that the biological object performs the first trigger operation on the second screen area; if the trigger characteristic generated by the first trigger operation is an electrical characteristic, it means that the non-biological object performs the first trigger operation on the second screen area. Biological objects include human fingers or palms, etc.; non-biological objects include styluses, clothing, etc.
[0058] The preset characteristic condition may include at least one of a preset size and a preset circuit characteristic value, and may also include a trigger duration threshold, a trigger strength threshold, or a trigger number threshold, etc. The preset size may include a preset area threshold and a preset shape.
[0059] Optionally, the trigger feature generated by the first trigger operation includes a trigger area size; if the trigger feature generated by the first trigger operation satisfies a preset feature condition, then the first trigger operation is determined to correspond to the element part in the element processing page in the first screen area, including: if the trigger area size generated by the first trigger operation satisfies a preset size in the preset feature condition, then the first trigger operation is determined to correspond to the element part in the element processing page in the first screen area.
[0060] The trigger area size may include the area and shape of the trigger area.
[0061] Optionally, if the size of the trigger area generated by the first trigger operation is larger than a preset size in the preset characteristic condition, it is determined that the first trigger operation corresponds to an element part in the element processing page in the first screen area.
[0062] If the area of the trigger area generated by the first trigger operation is larger than the preset area threshold in the preset characteristic condition, and / or the shape of the trigger area matches the preset shape, it means that the user performs an elimination or hiding operation, and determines that the first trigger operation corresponds to the element part in the element processing page in the first screen area.
[0063] Optionally, the electronic device determines the trigger circuit characteristics generated by the first trigger operation in response to the first trigger operation on the second screen area; if the trigger circuit characteristics are capacitive characteristics, the preset characteristic conditions are met, and it is determined that the first trigger operation corresponds to the element part of the element processing page in the first screen area.
[0064] Optionally, the electronic device determines the trigger circuit characteristics and trigger area size generated by the first trigger operation in response to the first trigger operation on the second screen area; if the trigger circuit characteristics are capacitive characteristics and the trigger area size is greater than a preset size, it is determined that the first trigger operation corresponds to the element part of the element processing page in the first screen area.
[0065] It can be understood that if the trigger circuit characteristic is a capacitive characteristic, it means that the biological object performs the first trigger operation on the second screen area; if the trigger area size is larger than the preset size, it means that the biological object is larger in size. Therefore, if the trigger circuit characteristic is a capacitive characteristic, and the trigger area size is larger than the preset size, it means that a biological object with a larger size, such as a palm, performs the first trigger operation on the second screen area, indicating that the element part needs to be eliminated or hidden, then the first trigger operation is determined to correspond to the element part in the element processing page of the first screen area, so as to eliminate or hide the element part.
[0066] In this embodiment, the electronic device determines the trigger feature generated by the first trigger operation. If the trigger feature satisfies the preset feature condition, indicating that the first trigger operation is an operation to eliminate or hide part of the element, then it is determined that the first trigger operation corresponds to the element part in the element processing page in the first screen area, and the element part can be accurately eliminated or hidden.
[0067] The trigger feature generated by the first trigger operation includes the trigger area size; if the trigger area size generated by the first trigger operation meets the preset size in the preset feature condition, the first trigger operation can be further determined as an operation to eliminate or hide part of the element, thereby accurately eliminating or hiding part of the element.
[0068] In one embodiment, the first trigger operation is a pattern drawing operation; in response to the first trigger operation on the second screen area, determining that the first trigger operation corresponds to the element part in the element processing page of the first screen area, including: in response to the pattern drawing operation on the second screen area, determining that the pattern drawing operation corresponds to the element part within the pattern drawn in the element processing page of the first screen area.
[0069] Optionally, when the electronic device performs a pattern drawing operation in the second screen area, the first screen area may synchronously perform the pattern drawing operation, thereby determining an element portion within the pattern drawn in the element processing page of the first screen area.
[0070] Optionally, after performing the pattern drawing operation on the second screen area, the electronic device may send the pattern obtained by the pattern drawing operation to the first screen area, and determine the element part within the pattern in the element processing page of the first screen area.
[0071] Optionally, the electronic device obtains a pattern of the pattern drawing operation in response to the pattern drawing operation on the second screen area; if the pattern matches a specific pattern, indicating an elimination or hiding operation, it is determined that the pattern drawing operation corresponds to the element part within the pattern drawn in the element processing page of the first screen area.
[0072] The specific pattern may be a circle pattern, a square pattern or other custom patterns, but is not limited thereto.
[0073] In this embodiment, in response to the pattern drawing operation on the second screen area, the electronic device can determine that the pattern drawing operation corresponds to an element portion within the pattern drawn in the element processing page of the first screen area, thereby accurately eliminating or hiding the element portion.
[0074] In one embodiment, the electronic device is a foldable display device; the first screen area and the second screen area are distributed in different screens; when the element processing page is displayed in the first screen area, the second screen area is in a screen-off state.
[0075] Among them, the foldable display device is a device with a hardware device folding function and includes at least two screens.
[0076] like Figure 2 As shown, the electronic device is a folding screen device, including a first screen 202 and a second screen 204, the first screen area is distributed in the first screen 202, and the second screen area is distributed in the second screen 204; the area of the first screen 202 is larger than the area of the second screen 204; the first screen 202 can be used as a main screen, and the second screen 204 can be used as a sub-screen.
[0077] It can be understood that when the electronic device displays an element processing page in the first screen area, it means that the user is looking at the first screen area at this time, then the second screen area can be controlled to be in the screen-off state, that is, the second screen is in the screen-off state, which can save the power consumption of the electronic device.
[0078] Optionally, when the element processing page is displayed in the second screen area, indicating that the user is looking at the second screen area at this time, the first screen area can be controlled to be in the screen-off state, that is, the first screen is in the screen-off state, which can save power consumption of the electronic device.
[0079] It should be noted that when the second screen area is in the screen-off state, the second screen area can still respond to trigger operations, so that the user can quickly eliminate or hide part of the element while processing the elements in the element processing page of the first screen area.
[0080] Similarly, when the first screen is in the screen-off state, the first screen can also respond to the trigger operation, so that the target element can be quickly generated while the user processes the elements in the element processing page in the second screen area.
[0081] In one embodiment, another element processing method is provided, which is applied to a foldable display device, wherein the foldable display device includes a first screen area and a second screen area, and the first screen area and the second screen area are distributed in different screens; the element processing method includes the following steps:
[0082] Step A1, displaying the element processing page in the first screen area; displaying each element and the trigger pointer corresponding to the second screen area in the element processing interface; when the element processing page is displayed in the first screen area, the second screen area is in a screen-off state.
[0083] Step A2, in response to a first trigger operation on the second screen area, determining the size of the trigger area generated by the trigger pointer corresponding to the first trigger operation; the first trigger operation is a pattern drawing operation.
[0084] Step A3: if the size of the triggering area satisfies the preset size in the preset characteristic condition, determining that the pattern drawing operation corresponds to an element part in the pattern drawn in the element processing page in the first screen area.
[0085] Step A4: in the element processing page of the first screen area, eliminate or hide the element part.
[0086] Step A5: In response to the second trigger operation on the first screen area, generating a target element corresponding to the second trigger operation in the element processing page of the first screen area.
[0087] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0088] Based on the same inventive concept, the embodiment of the present application also provides an element processing device for implementing the element processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more element processing device embodiments provided below can refer to the limitations on the element processing method above, and will not be repeated here.
[0089] In one embodiment, Figure 3 As shown, an element processing device is provided, including: a page display module 302 and an element processing module 304, wherein:
[0090] The page display module 302 is used to display the element processing page in the first screen area; each element is displayed in the element processing interface.
[0091] The element processing module 304 is used to respond to the first trigger operation on the second screen area, determine the element part in the element processing page of the first screen area corresponding to the first trigger operation, and eliminate or hide the element part in the element processing page of the first screen area.
[0092] The above-mentioned element processing device displays an element processing page in the first screen area, and each element is displayed in the element processing interface; in response to a first trigger operation on the second screen area, it is determined that the first trigger operation corresponds to the element part in the element processing page in the first screen area, so that the element part can be eliminated or hidden directly in the element processing page in the first screen area, avoiding the need to switch to the elimination operation in the first screen area to eliminate or hide the element part, thereby improving the efficiency of element processing in the first screen area.
[0093] In one embodiment, the page display module 302 is also used to display the trigger pointer corresponding to the second screen area in the element processing page of the first screen area; the element processing module 304 is also used to determine the element part triggered by the trigger pointer in the element processing page of the first screen area in response to the first trigger operation on the second screen area.
[0094] In one embodiment, the above-mentioned element processing module 304 is also used to determine the trigger feature generated by the first trigger operation in response to the first trigger operation on the second screen area; if the trigger feature generated by the first trigger operation meets the preset feature condition, it is determined that the first trigger operation corresponds to the element part in the element processing page of the first screen area.
[0095] In one embodiment, the trigger feature generated by the first trigger operation includes a trigger area size; the above-mentioned element processing module 304 is also used to determine the element part in the element processing page of the first screen area corresponding to the first trigger operation if the trigger area size generated by the first trigger operation meets the preset size in the preset feature condition.
[0096] In one embodiment, the first trigger operation is a pattern drawing operation; the element processing module 304 is further used to respond to the pattern drawing operation on the second screen area and determine the element portion of the pattern drawn in the element processing page of the first screen area corresponding to the pattern drawing operation.
[0097] In one embodiment, the element processing module 304 is further configured to generate a target element corresponding to the second trigger operation in the element processing page of the first screen area in response to the second trigger operation on the first screen area.
[0098] In one embodiment, the electronic device is a foldable display device; the first screen area and the second screen area are distributed in different screens; when the element processing page is displayed in the first screen area, the second screen area is in a screen-off state.
[0099] Each module in the above-mentioned element processing device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in an electronic device in the form of hardware, or can be stored in a memory in an electronic device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0100] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Figure 4As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an element processing method is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.
[0101] Those skilled in the art will understand that Figure 4 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0102] The embodiment of the present application also provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, the processors execute the steps of the element processing method.
[0103] An embodiment of the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the element processing method.
[0104] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0105] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0106] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0107] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for element processing, characterized in that: Applied to an electronic device, the electronic device includes a first screen area and a second screen area; the method includes: Displaying an element processing page in the first screen area; displaying each element in the element processing interface; In response to a first trigger operation on the second screen area, it is determined that the first trigger operation corresponds to an element portion in an element processing page of the first screen area, and the element portion is eliminated or hidden in the element processing page of the first screen area.
2. The method according to claim 1, characterized in that: The method further comprises: Displaying a trigger pointer corresponding to the second screen area in an element processing page of the first screen area; The step of determining, in response to a first trigger operation on the second screen area, an element portion in an element processing page of the first screen area corresponding to the first trigger operation includes: In response to a first trigger operation on the second screen area, an element portion triggered by the trigger pointer in the element processing page of the first screen area is determined.
3. The method according to claim 1, characterized in that The step of determining, in response to a first trigger operation on the second screen area, an element portion in an element processing page of the first screen area corresponding to the first trigger operation includes: In response to a first trigger operation on the second screen area, determining a trigger feature generated by the first trigger operation; If the trigger feature generated by the first trigger operation meets a preset feature condition, it is determined that the first trigger operation corresponds to an element part in the element processing page of the first screen area.
4. The method according to claim 3, characterized in that The trigger characteristics generated by the first trigger operation include the size of the trigger area; If the trigger feature generated by the first trigger operation satisfies a preset feature condition, determining the element part in the element processing page of the first screen area corresponding to the first trigger operation includes: If the size of the triggering area generated by the first triggering operation meets the preset size in the preset characteristic condition, it is determined that the first triggering operation corresponds to an element part in the element processing page of the first screen area.
5. The method according to claim 1, characterized in that The first trigger operation is a pattern drawing operation; The step of determining, in response to a first trigger operation on the second screen area, an element portion in an element processing page of the first screen area corresponding to the first trigger operation includes: In response to a pattern drawing operation on the second screen area, it is determined that the pattern drawing operation corresponds to an element portion within a pattern drawn in an element processing page of the first screen area.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: In response to a second trigger operation on the first screen area, a target element corresponding to the second trigger operation is generated in an element processing page of the first screen area.
7. The method according to any one of claims 1 to 5, characterized in that: The electronic device is a foldable display device; the first screen area and the second screen area are distributed in different screens; when an element processing page is displayed in the first screen area, the second screen area is in a screen-off state.
8. An element processing device, characterized in that: Applied to an electronic device, the electronic device comprises a first screen area and a second screen area; the device comprises: A page display module, used to display an element processing page in the first screen area; each element is displayed in the element processing interface; The element processing module is used to respond to the first trigger operation on the second screen area, determine the element part in the element processing page of the first screen area corresponding to the first trigger operation, and eliminate or hide the element part in the element processing page of the first screen area.
9. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor is caused to perform the steps of the element processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
