Information processing method and system and electronic equipment
By using the circle selection and drag function on electronic devices, partial content is directly extracted and used from pictures, the problem of complex operation and inability to extract partial content in the existing technology is solved, and more efficient information processing and convenient creation are achieved process.
Patent Information
- Application Number
- CN202310674009.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-07
- Publication Date
- 2024-12-10
AI Technical Summary
The prior art when acquiring and using creative materials in electronic devices, the operation is complicated and it is impossible to extract part of the content, especially text, from the picture, resulting in users needing to manually enter or perform multi-step gallery processing.
Provides an information processing method, which uses the circle selection function to display a closed curve on an electronic device, supports users to directly circle and drag page content, including images and text, simplifies the process of obtaining and collecting information, and supports copying, saving and sharing. operate.
The steps for users to acquire and include information are simplified, the convenience and effectiveness of information processing are improved, and the user can directly extract and use some of the content they need from the pictures, reducing the need for manual entry and multi-step processing.
Smart Images

Figure CN119105687A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of electronic technology, and in particular, to an information processing method, system and electronic device. Background Art
[0002] When users use electronic devices to create works, they may need to search and download some pictures, texts and other content from other places (such as through search engines) as creative materials.
[0003] In the related art, when obtaining creative materials, only downloading pictures or directly dragging the entire picture to a note or a third-party application for saving is supported. In this way, when the user only needs a part of the image or text content of the picture as creative material, the electronic device needs to obtain the image and start related applications such as the gallery to process the image, which is complicated and has poor results. Summary of the invention
[0004] The embodiments of the present application provide an information processing method, system and electronic device to simplify the operation of extracting part of the content from a page.
[0005] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0006] In a first aspect, an information processing method is provided, the method being applied to an electronic device having a circle selection function, comprising:
[0007] The electronic device displays a first page; after the circle selection function is started, in response to the first circle selection operation on the first page, the electronic device displays a first closed curve corresponding to the first circle selection operation. Wherein, in the case where the area corresponding to the first circle selection operation includes a preset view object, the first closed curve includes the outline of the preset view object. The preset view object may specifically include an image and / or text. This helps the user to better distinguish between the target and the background, identify the main object, and accurately obtain the required page content. Further, for the first page content surrounded by the first closed curve on the first page, the electronic device supports the user to perform a preset operation on the first page content, and the preset operation is used to obtain and / or use the first page content. In this way, the operation process of obtaining and collecting information can be simplified, the convenience of information processing can be improved, and the effect of obtaining information can be improved. At the same time, the above-mentioned circle selection operation on the first page can be a circle selection by the user according to his own needs. Therefore, the page content circled based on the circle selection operation is more in line with the needs of the user.
[0008] In a possible implementation of the first aspect, after displaying a first closed curve corresponding to the first circle selection operation in response to a first circle selection operation on the first page, the method further includes: in response to a first drag operation on the first page content, dragging and displaying a first image corresponding to the first page content from a first initial position where the first page content is located. Thereafter, in response to a first release operation on the first image, releasing the first image.
[0009] In this solution, the electronic device supports the user to process the first page content by dragging directly on the first page after circling the first page content on the first page, for example, pasting the first image corresponding to the first page to other pages. In this way, compared with the operation mode in which the electronic device needs to respond to the copy operation triggered by the user, the operation of opening other pages, and the paste operation. Or the tablet computer saves the first image to the gallery in response to the save operation triggered by the user, and then obtains the first image from the gallery and pastes it on other pages in response to the operation of inserting a picture triggered by the user in other pages, this method is simpler to directly drag the first page content. Thereby further simplifying the steps for users to obtain and collect information and improving convenience.
[0010] In a possible implementation of the first aspect, after dragging and displaying the first image corresponding to the first page content from the first initial position where the first page content is located, and before releasing the first image in response to a first release operation on the first image, the method further includes: in response to a page switching operation on the first page, switching from the first page to displaying the second page. Wherein, in the process of switching from the first page to displaying the second page, the first image is continuously dragged and displayed on the currently displayed page. The currently displayed page includes any one of the first page, the second page, and the intermediate page switched from the first page to the second page. In this solution, for the full-screen display scenario, the electronic device can also support the user to drag the first image corresponding to the first page content while switching the displayed page. In this way, it is convenient to drag the dragged first image to other pages.
[0011] In a possible implementation of the first aspect, in response to a first release operation on the first image, the first image is released, which may specifically include: if the first image is located on the first page, it means that the user may not need to drag the image to other pages, so the first image is placed at the first initial position. In this way, it is convenient for the user to reselect the operation to be performed on the first image corresponding to the content of the first page. If the first image is located on a second page other than the first page when the release operation is detected, the electronic device can place the first image on the second page. Thereby, the tablet computer is implemented to drag the first image from the first page and place it on the second page in response to the drag operation and release operation successively performed by the user on the content of the first page. In scenarios such as when the user needs part of the content in the first page for creation, the required part of the page content can be quickly obtained by circling and dragging, simplifying the steps of obtaining and collecting information and improving convenience.
[0012] In a possible implementation of the first aspect, in order to facilitate the user to operate the circled first page content, after displaying the first closed curve corresponding to the first circle selection operation in response to the first circle selection operation on the first page, the method further includes: displaying a first function control corresponding to the first page content; the first function control includes at least one of a first copy sub-control, a save sub-control, and a share sub-control. In response to a trigger operation on the first copy sub-control, copying a first image corresponding to the first page content, and storing the first image to a clipboard of the electronic device. Alternatively, in response to a trigger operation on the save sub-control, saving the first image corresponding to the first page content to a gallery of the electronic device. Alternatively, in response to a trigger operation on the share sub-control, displaying a second function control; the second function control is used to share the first image corresponding to the first page content.
[0013] In this solution, the electronic device supports users to copy, save and share the circled first page content, which can simplify the steps of obtaining and collecting information and improve convenience.
[0014] In a possible implementation of the first aspect, if the area corresponding to the first circle selection operation includes a text view object, the first function control may further include an identification text sub-control. In this implementation, the method further includes: in response to a trigger operation on the identification text sub-control, identifying text content corresponding to the text view object from the first page content. Displaying a selection box for indicating the selection of text content, and a third function control corresponding to the text content. The third function control includes at least one of a second copy sub-control, a translation sub-control, and a search sub-control. Further, in response to a trigger operation on the second copy sub-control, the text content is copied and stored in a clipboard. Alternatively, in response to a trigger operation on the translation sub-control, a fourth function control is displayed; the fourth function control is used to translate the text content. Alternatively, in response to a trigger operation on the search sub-control, a fifth function control is displayed; the fifth function control is used to provide search candidates.
[0015] In this solution, for the text view object contained in the picture, the electronic device can support the user to circle the text view object from it by circling, and then identify the corresponding text content for the text view object, and select the text content. After that, for the identified and selected text content, the user is supported to copy, translate and search. This can help users copy and use the text content directly from the picture, avoiding the problem that the user needs to manually enter the text content due to the inability to copy. In addition, in the above solution, the user selects the text content to be identified by circling in the picture. Therefore, in the scenario where the picture contains a lot of text, but the user only needs a part of the text, the above-mentioned method of circling to identify part of the text content in the picture can specifically identify and select the part of the text content required by the user, avoiding identifying and selecting redundant text content from the picture, thereby helping to save the user's operation process and time required to obtain text information from the picture.
[0016] In a possible implementation of the first aspect, after displaying a selection box for indicating selected text content, the electronic device further supports the user to drag the selected text content to other pages by dragging. The above method also includes: in response to a second drag operation on the selection box, dragging and displaying the text content from a second initial position where the text content is located. In response to a second release operation on the selection box, the text content is released. In this way, the function of acquiring and collecting text content from a picture can be realized, thereby improving the effect of acquiring information.
[0017] In a possible implementation of the first aspect, similar to supporting dragging of the first image, in response to the second release operation on the selection box, releasing the text content includes: if the text content is located on the first page, placing the text content at the second initial position. If the text content is located on a third page other than the first page, placing the text content on the third page. In this way, the step of obtaining the text content is further simplified.
[0018] In a possible implementation of the first aspect, in response to a first circling operation on the first page, after displaying a first closed curve corresponding to the first circling operation, the electronic device further supports the user to cancel the circled content. The above method also includes: in response to a click operation on an area outside the first page content of the first page, canceling the display of the first closed curve. In this way, if the content circled corresponding to the first circling operation does not completely meet the user's expectations, the electronic device can support the user to cancel the circled page content by clicking. It is convenient to re-circle.
[0019] In a possible implementation of the first aspect, in response to a first circling operation on a first page, after displaying a first closed curve corresponding to the first circling operation, the electronic device further supports the user to re-circle. The above method also includes: in response to a second circling operation on an area outside the first page content of the first page, canceling the display of the first closed curve, and displaying a second closed curve corresponding to the second circling operation. Among them, for the second page content surrounded by the second closed curve on the first page, the electronic device supports the user to perform a preset operation on the second page content. In this way, if the content circled corresponding to the first circling operation does not fully meet the user's expectations, the electronic device supports the user to re-circle directly in the area of the first page content, and the re-circling operation is simple.
[0020] In a possible implementation of the first aspect, in response to a first circling operation on the first page, after displaying a first closed curve corresponding to the first circling operation, the electronic device further supports the user to adjust the circled range. The above method also includes: in response to a third circling operation of an area outside the first page content of the first page, when the third circling operation meets a preset condition, adjusting the first closed curve to obtain a third closed curve based on the trajectory of the third circling operation, and displaying the third closed curve. The preset condition is used to indicate that it is allowed to add a selection area. For the third page content enclosed by the third closed curve on the first page, the electronic device supports the user to perform a preset operation on the third page content.
[0021] In a possible implementation of the first aspect, the electronic device establishes a connection with the electronic stylus. Specifically, the electronic device may display a first closed curve corresponding to the first circling operation performed by the electronic stylus on the first page in response to the first circling operation performed by the electronic stylus.
[0022] In a possible implementation of the first aspect, after the electronic device establishes a connection with the electronic stylus, the electronic device further displays a stylus function floating window corresponding to the electronic stylus. The electronic stylus function floating window includes a circle selection function entry. In response to a trigger operation of the electronic stylus on the circle selection function entry, the circle selection function is started. In this solution, the circle selection function entry is located in the function floating window of the electronic stylus.
[0023] In a possible implementation of the first aspect, when the area corresponding to the first circle selection operation does not include a preset view object, the first closed curve includes a track of the first circle selection operation. In this way, if the first circle selection area does not include a preset view object, the electronic device can support displaying a closed curve according to the track selected by the user.
[0024] In a second aspect, an electronic device is provided, comprising: a display screen, a processor and a memory; the display screen is used to display an interface of the electronic device. The memory is used to store computer-executable instructions, and when the electronic device is running, the processor executes the computer-executable instructions stored in the memory, so that the electronic device executes any information processing method as described in the first aspect above.
[0025] In a third aspect, an information processing system is provided, which may include an electronic stylus and the above electronic device. After the electronic device and the electronic stylus are connected, the electronic device allows a user to control the electronic device using the electronic stylus.
[0026] In a fourth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer can execute any one of the information processing system methods in the first aspect.
[0027] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on an electronic device, enables the electronic device to execute any one of the information processing system methods in the first aspect.
[0028] In a sixth aspect, a device (for example, the device may be a chip system) is provided, the device including a processor for supporting an electronic device to implement the functions involved in the first aspect above. In one possible design, the device also includes a memory for storing program instructions and data necessary for the electronic device. When the device is a chip system, it may be composed of a chip, or may include a chip and other discrete devices.
[0029] Among them, the technical effects brought about by any design method in the second to sixth aspects can refer to the technical effects brought about by different design methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1A A schematic diagram of an interface for a process of obtaining and using a picture provided in an embodiment of the present application;
[0031] Figure 1B A schematic diagram of a process for obtaining a portion of an image provided in an embodiment of the present application;
[0032] Figure 1C A schematic diagram of a picture containing text content provided in an embodiment of the present application;
[0033] Figure 2A A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0034] Figure 2B A software architecture block diagram of an electronic device provided in an embodiment of the present application;
[0035] Figure 3A A schematic diagram of a horizontal split-screen display scenario provided in an embodiment of the present application;
[0036] Figure 3B A schematic diagram of a vertical split-screen display scenario provided in an embodiment of the present application;
[0037] Figure 4A A flowchart of an information processing method provided in an embodiment of the present application;
[0038] Figure 4B A schematic diagram of an interface for starting a circle selection function provided in an embodiment of the present application;
[0039] Figure 4C A display schematic diagram of a circle selection function prompt control provided in an embodiment of the present application;
[0040] Figure 4D A display schematic diagram of a circle selection function prompt control provided in an embodiment of the present application;
[0041] Figure 5A A schematic diagram of an interface for a circle selection operation process provided in an embodiment of the present application;
[0042] Figure 5B A schematic diagram of an interface for a process of processing a first image provided in an embodiment of the present application;
[0043] Fig. 6A A schematic diagram of an interface for performing a drag operation on a first image provided in an embodiment of the present application;
[0044] Figure 6B A schematic diagram of another interface for performing a drag operation on a first image provided in an embodiment of the present application;
[0045] Figure 6C A schematic diagram of another interface for performing a drag operation on a first image provided in an embodiment of the present application;
[0046] Fig. 7A A schematic diagram of an interface for canceling a circle selection operation process provided in an embodiment of the present application;
[0047] Figure 7B A schematic diagram of an interface for adding a selection area operation process provided in an embodiment of the present application;
[0048] Figure 7C A schematic diagram of another interface for adding a selection area operation process provided in an embodiment of the present application;
[0049] Fig. 8A A schematic diagram of an interface for another operation flow of performing text recognition on a first image provided by an embodiment of the present application;
[0050] Figure 8B A schematic diagram of an interface for operating text content provided in an embodiment of the present application;
[0051] Figure 8C A schematic diagram of another interface for operating text content provided in an embodiment of the present application;
[0052] Fig.8D A schematic diagram of another interface for operating text content provided in an embodiment of the present application;
[0053] Fig. 8E A schematic diagram of another interface for operating a first image provided in an embodiment of the present application;
[0054] Fig.8F A schematic diagram of another interface for dragging a first image provided in an embodiment of the present application;
[0055] Figure 8G A schematic diagram of another interface for releasing a first image provided in an embodiment of the present application;
[0056] Fig. 9 A schematic diagram of the structure of a chip system provided for some embodiments of the present application. DETAILED DESCRIPTION
[0057] When users use electronic devices to create works, they may need to search and download some pictures, texts and other content from other places (such as through search engines) as creative materials.
[0058] In the related art, when obtaining creative materials, only downloading pictures or directly dragging the entire picture to a note or a third-party application for saving is supported. In this way, when the user only needs a part of the image or text content of the picture as creative material, for the electronic device, it is necessary to first obtain the image and start related applications such as the gallery to process the image, which is complicated and has poor results.
[0059] For example, the electronic device is a tablet computer. In some examples, please refer to Figure 1A , the tablet computer displays the search interface 10a of the browser. The search interface 10a includes a picture 101. If the user wants to use the picture 101 in the document, the tablet computer needs to trigger the display of the function control 102 on the search interface 10a. Then, the tablet computer can also save the picture 101 to the clipboard of the tablet computer in response to the user triggering the option [Copy Picture] in the function control 102, thereby realizing the function of collecting the picture in the search interface.
[0060] Afterwards, the tablet computer can display the background application process interface 10b in response to the user's operation. The background application process interface 10b includes a process 105 corresponding to the browser application and a process 106 corresponding to the document application. Then, in response to the user's triggering operation on the process 106 in the interface 10b, the tablet computer can switch from the browser application to the document application and enter the document editing interface 10c.
[0061] The document editing interface 10c includes a paste option 107. After the user triggers the paste option 107, the tablet computer can obtain the image 101 from the clipboard and paste the image 101 into the document; after pasting the image 101 into the document, the following is displayed: Figure 1A Interface 10d.
[0062] Figure 1A The search interface 10a of the browser shown in FIG. 1 includes a picture 101, which includes two view objects, a bird 103 and the sun and a flock of birds 104 around it. In another example, if the user only needs the bird 103 in the picture 101 as a material, the tablet computer usually needs to respond to the user's search. Figure 1A The triggering operation of the option [Save Picture] in the function control 102 shown saves the picture 101 to the gallery or other applications of the tablet computer. Afterwards, the tablet computer responds to the user's operation and performs operations such as cropping on the picture 101 with the help of the gallery or other image editing applications.
[0063] As an example, a user may Figure 1BThe image cropping interface 10e shown uses the image cropping function of the tablet computer's gallery or other applications. In response to the user's operation, the tablet computer can adjust the image border size based on the image cropping function to crop out the redundant part of the picture 101 and only keep the picture including the bird 103, as shown in FIG. Figure 1B The interface 10f shows the cropped picture 108. Afterwards, in response to the user's triggering operation on the save option 109, the tablet computer can save the cropped picture 108, thereby achieving the effect of collecting the cropped picture 108. Afterwards, the user can use the cropped picture 108 as a material for creation and apply it to other pages.
[0064] Generally, the image cropping function provided by applications such as the gallery of a tablet computer is adjusted with a rectangular frame, that is, it is usually only allowed to crop the original image into a rectangular image. Moreover, when cropping an image with a rectangular frame, it may not be possible to accurately distinguish the target image content required by the user from the redundant image content in the original image, and thus the desired part of the image content cannot be cropped for the user.
[0065] In addition, if Figure 1C As shown, the tablet computer displays a browser search interface 10g, which includes a picture 110. The picture 110 includes text content: "one two three four five six seven eight nine ten..." Usually, electronic devices do not support directly copying text from pictures, so the tablet computer cannot record the text content in the picture.
[0066] In summary, the methods of obtaining and collecting information such as pictures in related technologies are relatively complicated to operate, and useful information such as text cannot be directly extracted from pictures, resulting in poor extraction effect.
[0067] Based on this, an embodiment of the present application provides an information processing method. The method can be applied to an electronic device having a circle selection function. The information processing method can specifically display a first closed curve corresponding to the circle selection operation in response to a first circle selection operation based on the circle selection function in a page. Moreover, in the case where the area corresponding to the first circle selection operation includes a preset view object, the first closed curve can specifically be the contour line of the preset view object. At the same time, based on the first page content surrounded by the closed curve in the page, the tablet computer supports the user to directly perform a preset operation on the first page content to obtain and / or use the first page content. The tablet computer can detect whether the area corresponding to the first circle selection operation includes a preset view object, and if so, directly display the contour line of the preset view object, thereby helping the user to better distinguish between the target and the background, identify the main object, and accurately obtain the required page content. Thereby, the operation process of obtaining and collecting information can be simplified, the convenience of information processing can be improved, and the effect of obtaining information can be improved. At the same time, the circle selection operation on the first page can be a circle selection by the user according to his own needs, so the page content circled based on the circle selection operation is more in line with the needs of the user.
[0068] In some embodiments, the electronic device may be a mobile phone, a tablet computer, a personal computer (PC), a smart screen, a desktop, a laptop, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a smart watch and other wearable devices, an artificial intelligence (AI) speaker and a vehicle-mounted device, or various teaching aids (such as a learning machine, an early education machine), a smart toy, a portable robot, a personal digital assistant (PDA), an augmented reality (AR)\virtual reality (VR) device, a media player and other devices, or a device with a mobile office function, a device with a smart home function, a device with an audio-visual entertainment function, a device supporting smart travel, etc. The embodiment of the present application does not impose any special restrictions on the specific form of the electronic device.
[0069] In some embodiments, the circling operation in the information processing method provided in the embodiment of the present application can be completed by an electronic stylus. Therefore, in some embodiments, the information processing method provided in the embodiment of the present application is applied to an electronic device that supports electronic stylus control of the electronic device.
[0070] like Figure 2AThe figure shows a schematic diagram of the structure of an electronic device 200 provided in an embodiment of the present application. Exemplarily, the electronic device 200 may be a tablet computer. The electronic device 200 may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 250, an antenna, a communication module 260, an audio module 270, a sensor module 280, a button 290, a motor 291, a camera 293, and a display screen 294. Among them, the sensor module 280 may include a pressure sensor 280A, a touch sensor 280B, etc.
[0071] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0072] The processor 210 may include one or more processing units, for example: the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural network processor (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. For example, the processor 210 is used to execute the information processing method in the embodiment of the present application.
[0073] The controller may be the nerve center and command center of the electronic device 200. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0074] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0075] The USB interface 230 is an interface that complies with USB standard specifications, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 230 may be used to connect a charger to charge the electronic device 200, and may also be used to transmit data between the electronic device 200 and a peripheral device.
[0076] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0077] The internal memory 221 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 210 executes various functional applications and data processing of the electronic device 200 by running the instructions stored in the internal memory 221. The internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.).
[0078] In addition, the internal memory 221 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0079] The charging management module 240 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from the wired charger through the USB interface 230.
[0080] The power management module 241 is used to connect the battery 250, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 250 and / or the charging management module 240, and provides power to the processor 210, the internal memory 221, the external memory, the display screen 294, the camera 293, and the communication module 260.
[0081] In some other embodiments, the power management module 241 may also be disposed in the processor 210. In some other embodiments, the power management module 241 and the charging management module 240 may also be disposed in the same device.
[0082] The wireless communication function of the electronic device 200 can be implemented through the antenna 1, antenna, communication module 260, modem processor and baseband processor.
[0083] Antenna 1 and antenna are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0084] The communication module 260 can provide wireless communication solutions including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 200. The communication module 260 can be one or more devices integrating at least one communication processing module. The communication module 260 receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The communication module 260 can also receive the signal to be sent from the processor 210, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna.
[0085] In some embodiments, the antenna of the electronic device 200 is coupled to the communication module 260 so that the electronic device 200 can communicate with a network and other devices through wireless communication technology.
[0086] The electronic device 200 can implement audio functions such as music playing and recording through the audio module 270 and the application processor.
[0087] The audio module 270 is used to convert digital audio signals into analog audio signals for output, and is also used to convert analog audio inputs into digital audio signals. The audio module 270 can also be used to encode and decode audio signals. In some embodiments, the audio module 270 can be arranged in the processor 210, or some functional modules of the audio module 270 can be arranged in the processor 210.
[0088] The pressure sensor 280A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 280A can be set on the display screen 294. There are many types of pressure sensors 280A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 280A, the capacitance between the electrodes changes. The electronic device 200 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 294, the electronic device 200 detects the intensity of the touch operation based on the pressure sensor 280A. The electronic device 200 can also calculate the position of the touch based on the detection signal of the pressure sensor 280A.
[0089] The touch sensor 280B is also called a "touch panel". The touch sensor 280B can be arranged on the display screen 294, and the touch sensor 280B and the display screen 294 form a touch screen, also called a "touch screen". The touch sensor 280B is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 294. In other embodiments, the touch sensor 280B can also be arranged on the surface of the electronic device 200, which is different from the position of the display screen 294.
[0090] The key 290 includes a power key, a volume key, etc. The key 290 can be a mechanical key or a touch key. The electronic device 200 can receive key input and generate key signal input related to user settings and function control of the electronic device 200.
[0091] Motor 291 can generate vibration prompts. Motor 291 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
[0092] The electronic device 200 implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or change display information.
[0093] The display screen 294 is used to display images, videos, etc. In some embodiments, the electronic device 200 may include 1 or N display screens 294 , where N is a positive integer greater than 1.
[0094] The camera 293 is used to capture still images or videos. In some embodiments, the electronic device 200 may include 1 or N cameras 293, where N is a positive integer greater than 1.
[0095] The information processing methods in the following embodiments can all be implemented in the electronic device 200 having the above hardware structure.
[0096] The software system of the electronic device 200 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 200.
[0097] Figure 2B It is a software structure block diagram of the electronic device 200 according to an embodiment of the present application.
[0098] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom: application layer, application framework layer, Android runtime (ART) and native C / C++ library, hardware abstract layer (HAL) and kernel layer.
[0099] The application layer can include a series of application packages.
[0100] like Figure 2B As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0101] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0102] like Figure 2B As shown, the application framework layer may include a window manager, a content provider, a view system, a resource manager, a notification manager, an activity manager, an input manager, and the like.
[0103] The window manager provides window management services (WMS). WMS can be used for window management, window animation management, surface management, and as a transfer station for the input system.
[0104] Content providers are used to store and retrieve data and make it accessible to applications. This data can include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0105] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0106] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0107] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0108] The activity manager can provide activity management services (AMS), which can be used to start, switch, and schedule system components (such as activities, services, content providers, and broadcast receivers) as well as manage and schedule application processes.
[0109] The input manager can provide input management services (IMS), which can be used to manage system input, such as touch screen input, key input, sensor input, etc. IMS takes events from input device nodes and distributes them to appropriate windows through interaction with WMS.
[0110] The Android runtime includes the core library and the Android runtime. The Android runtime is responsible for converting source code into machine code. The Android runtime mainly uses the ahead of time (AOT) compilation technology and the just in time (JIT) compilation technology.
[0111] The core library is mainly used to provide basic Java class library functions, such as basic data structures, mathematics, IO, tools, databases, networks, etc. The core library provides an API for users to develop Android applications.
[0112] The native C / C++ library can include multiple functional modules, such as surface manager, media framework, libc, OpenGL ES, SQLite, Webkit, etc.
[0113] Among them, the surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media framework supports playback and recording of multiple commonly used audio and video formats, as well as static image files, etc. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. OpenGL ES provides drawing and operation of 2D graphics and 3D graphics in applications. SQLite provides a lightweight relational database for applications of electronic device 200.
[0114] The hardware abstraction layer runs in user space, encapsulates kernel layer drivers, and provides a calling interface to the upper layer.
[0115] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0116] The information processing method provided in the embodiment of the present application can be specifically applied to the scene of obtaining and collecting information. The method supports the user to circle the required page content in the page, and for the circled page content, the tablet computer supports the user to directly perform a preset operation on the first page content to obtain and / or use the first page content. In addition, in the case where the area corresponding to the first circle selection operation includes a preset view object, the first closed curve can specifically be the contour line of the preset view object. The tablet computer can detect whether the area corresponding to the first circle selection operation includes a preset view object, and if so, directly display the contour line of the preset view object, thereby helping the user to better distinguish the target from the background, identify the main object, and accurately obtain the required page content. Thereby simplifying the operation process of obtaining and collecting information, improving convenience, and improving the effect of obtaining information. At the same time, the above-mentioned circle selection operation on the first page can be a user's circle selection according to his own needs. Therefore, the page content circled based on the circle selection operation is more in line with the needs of the user.
[0117] For ease of understanding, the following embodiments of the present application will be described in detail with Figure 2A and Figure 2BTaking the electronic device of the structure shown as an example, the information processing method of the electronic device provided by the present application is specifically described in combination with the accompanying drawings and application scenarios. The following description is made by taking the electronic device as a tablet computer as an example.
[0118] Some tablet computers have a circle selection function. Usually, in order to avoid problems such as false triggering, the circle selection function can only be used after it is turned on. For example, after the circle selection function is turned on, the tablet computer supports the user to circle out part of the content from the display interface by performing a circle selection operation on the display interface. The tablet computer can display a closed curve corresponding to this circle selection operation to indicate the page content circled by the user. Afterwards, the tablet computer allows the user to perform preset operations and other operations on the circled page content, so that the user can directly obtain and collect the information corresponding to the required part of the page content in the display interface by circling. It should be noted that in different electronic devices, the circle selection function can have different names, such as "lasso function", "global lasso function", "extract function", etc. In some embodiments, the above-mentioned circle selection function may also be a function supported by some applications.
[0119] Some tablet computers have a split-screen display function, that is, displaying two or more pages on the same interface at the same time. In some examples, the tablet computer can display the first page and the second page on the left and right parts of the horizontal screen display interface respectively when the screen is in landscape mode. For example, please refer to Figure 3A , the tablet computer displays a horizontal screen display interface 30a. The horizontal screen display interface 30a simultaneously displays a first page 31 and a second page 32 in a split screen display manner.
[0120] In some other embodiments, the tablet computer can display the first page and the second page in the upper and lower parts of the vertical screen display interface respectively when the screen is displayed in portrait mode. Figure 3B The tablet computer displays a vertical screen display interface 30b, wherein the first page 33 and the second page 34 are simultaneously displayed in the vertical screen display interface 30b in a split screen manner.
[0121] In an optional example, the tablet computer displays a first page. The first page may contain material content required by the user, such as pictures, text content, etc. After starting the circle selection function, the tablet computer may display a first closed curve corresponding to the circle selection operation on the first page in response to the user's circle selection operation. The first closed curve is used to indicate the page content circled by the user on the first page. Wherein, in the case where the area corresponding to the first closed curve includes a preset view object, the first closed curve may specifically be a contour line of the preset view object. The preset view object may include an image, text, or the preset view object may include both an image and text.
[0122] In some embodiments, for the first page content enclosed by the first closed curve on the first page, the tablet computer supports the user to directly perform a preset operation on the first page content to obtain and / or use the first page content. In some embodiments, the preset operation may specifically include at least one of a copy operation, a save operation, a share operation, a drag operation, and a text recognition operation. This allows the user to circle part of the page content in the first page according to the range they need. In a scenario where the user only needs part of the content in the picture, the user can avoid saving the entire picture, and then using applications such as a gallery to crop the picture to obtain part of the image content or extract part of the text content from the picture, thereby simplifying the user's operation process for obtaining and collecting information and improving convenience.
[0123] In some optional embodiments, for the first image generated based on the circle selection operation, the tablet computer can also support the user to directly drag the first page content, thereby copying the first image corresponding to the first page content, and placing and pasting it to other pages. In some examples, in the split-screen display scenario, the tablet computer can directly drag the image corresponding to the first page content from one split-screen screen to another split-screen screen in response to the drag operation and release operation performed by the user. Thereby achieving the effect that the user can paste the circled part of the page content to other pages without switching pages. In other examples, in the full-screen display scenario, the tablet computer can also open another page in response to the page switching operation performed by the user during the process of the user dragging the first page content (dragging and displaying the first image corresponding to the first page content). Afterwards, after detecting the user's release operation on the first image, the first image is released. Thus, the user does not need to perform a save operation first, and then perform a paste operation in the newly opened page, and can directly paste the image corresponding to the first page content to other pages by dragging on the first page. In this way, the operation process of the user obtaining and collecting information is further simplified.
[0124] Furthermore, for pictures containing text content, users can also circle the text content in the picture of the first page by means of a circle selection operation. In other words, the above-mentioned first page content contains text content. When it is detected that the area corresponding to the first circle selection operation contains a text view object, the tablet computer can directly display the outline of the corresponding text content. It can be understood that the outline includes all the text content circled corresponding to the first circle selection operation. In this example, the tablet computer can also support the recognition of the text content of the first page content, and select the text content recognized from the first page content. Afterwards, in response to the user's operation, the tablet computer can directly copy, share, and translate the selected text content. Thus, for the scenario where the user wants to directly extract or copy the text content from the picture, the information processing method provided by the embodiment of the present application can also achieve the effect of copying the text content in the picture.
[0125] Please refer to Figure 4A , is a flow chart of an information processing method provided in an embodiment of the present application. The tablet computer supports an electronic stylus to control the tablet computer, and the tablet computer has a circle selection function. In some embodiments, the circle selection function of the tablet computer can be completed by relying on an electronic stylus connected to the tablet computer.
[0126] S301. The tablet computer establishes a connection with the electronic stylus pen.
[0127] S302. The tablet computer displays a stylus function floating window.
[0128] S303. In response to the triggering operation on the stylus function floating window, display the circle selection function sub-control.
[0129] As an example, see Figure 4B The tablet computer displays a stylus function floating window 401 on the currently displayed interface 40a. The user can enter the interface 40b by triggering the stylus function floating window. The interface 40b displays a stylus function control 402, which includes a circle selection function sub-control 4021.
[0130] S304: In response to a trigger operation on the circle selection function sub-control, start the circle selection function.
[0131] Exemplarily, the user may trigger the circle selection function sub-control 4021 in the interface 40b to start the circle selection function.
[0132] It should be noted that the triggering operation for the stylus function floating window and the circle selection function sub-control can be completed by the user through the stylus or by the user through the finger. In the embodiment of the present application, the implementation method of the triggering operation is not limited.
[0133] S305. Display the circle selection function prompt control.
[0134] In one example, after the tablet computer responds to the user's triggering operation on the circle selection function sub-control 4021, it can display Figure 4B The interface 40c shown in FIG. 40c includes a circle selection function prompt control 403, which is used to prompt the user that the circle selection function has been triggered. After that, the user can circle the required page content from the page by means of the circle selection operation.
[0135] In some embodiments, the circle selection function prompt control 403 may further include a circle selection function closing option 4031. The user may exit the circle selection function by triggering the circle selection function closing option 4031.
[0136] In addition, in order to prevent the circle selection function prompt control 403 from blocking the page content, the tablet computer can also support dragging the circle selection function prompt control 403 to other locations on the interface. Please refer to 4C. In some examples, the user can press and hold the circle selection function prompt control with a finger or a stylus and drag it to other locations on the interface. Figure 4C As shown in the interface 40e, during the dragging process, the tablet computer can replace the circle selection function prompt control with the circle selection function icon 404 for dragging display, so as to better prompt the user that the circle selection function prompt control is currently being dragged.
[0137] Afterwards, the user drags the circle selection function prompt control (i.e., the circle selection function icon) to another location, and can release (loosen) the circle selection function prompt control, and the tablet computer places the circle selection function prompt control at the location corresponding to the release operation. Figure 4C As shown in the interface 40f, in response to the user's release operation on the circle selection function prompt control, the circle selection function prompt control can be placed at position 405 for display. It can be understood that in other embodiments, the user can also place the circle selection function prompt control at other positions according to their own needs, such as Figure 4C The position 406 and the position 407 shown in the interface 40g, etc.
[0138] In some embodiments, several preset positions can be set for supporting the placement of the circle selection function prompt control. Taking the full-screen display scenario of a tablet computer in portrait mode as an example, the tablet computer can pre-set the positions supporting the placement of the circle selection function prompt control to the upper left corner, upper right corner, lower left corner and lower right corner of the interface, such as Figure 4C The illustrated interfaces 40d, 40e, 40f and 40g indicate the locations where the circled function controls are placed.
[0139] Taking the display state of a tablet computer in landscape mode (including the display state of a full-screen display scene and the display state of a split-screen display scene) as an example, the tablet computer can pre-set six positions to support the placement of the circle selection function prompt control: the upper left corner, the upper center, the upper right corner, the lower left corner, the lower center, and the lower right corner of the interface. Figure 4D The illustrated interface 40h shows an example of six locations where the tablet computer supports placement of the circle selection function prompt control in a horizontal split-screen display scenario.
[0140] Furthermore, in an embodiment that supports the placement of a circle selection function prompt control, when a user drags the circle selection function prompt control and then releases it, the tablet computer can place the circle selection function prompt control at the closest position based on the distance between the position where the user releases the circle selection function prompt control and a preset position.
[0141] Further, in Figure 4B-4D In the circle selection function prompt control displayed in the interface shown, the text content "circle selection function" is arranged horizontally as an example. In this way, when the tablet computer displays text content in English or other languages, the horizontal arrangement facilitates viewing of the complete text content. In other embodiments, the text content in the circle selection function prompt control can also be displayed in a vertical arrangement without affecting the viewing of the complete text content.
[0142] In the technical solution provided in the embodiment of the present application, a position supporting the placement of a circle selection function prompt control is pre-set, which can minimize the obstruction of the content displayed on the interface by the circle selection function prompt control.
[0143] It should be noted that the above dragging operation for the circle selection function prompt control can be completed by the user dragging with a stylus pen or by the user dragging with a finger. In the embodiment of the present application, the implementation method of the dragging operation is not limited.
[0144] S306. In response to a first circle selection operation on the first page, display a first closed curve corresponding to the first circle selection operation.
[0145] In some embodiments, the above S306 may specifically include: if the area corresponding to the first circle selection operation includes a preset view object, then the tablet computer may display the outline of the preset view object in response to the first circle selection operation on the first page. It can be understood that in this embodiment, the first closed curve is the outline of the preset view object.
[0146] In some embodiments, the outline of the image view object may be formed by an irregular curve. Therefore, the outline of the preset view object displayed by the tablet computer may be an irregular curve.
[0147] The preset view object may be an image, text, or may include an image and text. Figure 5A , which displays an interface 50a, in which a first page is displayed, and the first page includes an image 501. The image 501 includes an image view object 5011 and a text view object 5012. In some embodiments, the user may only need the image pair 5011 in the image 501 as a material, so the user can circle the part of the content he needs in the interface 50a based on the circle selection function, such as Figure 5A The track 502 shown is the track corresponding to the first circle selection operation described above.
[0148] In the embodiment of the present application, the circle selection function of the tablet computer supports the user to perform a circle selection operation on the page with an irregular track. Therefore, in some embodiments, the track corresponding to the first circle selection operation displayed by the tablet computer can be an irregular track, such as an irregular curve.
[0149] It can be understood that, in this example, the area corresponding to the first circle selection operation corresponding track 502 is the above-mentioned image view object 5011. Therefore, after determining that the area corresponding to the first circle selection operation includes the preset view object, the outline of the preset image view object can be displayed, such as Figure 5A An outline 503 of the interface 50b is shown.
[0150] It should be noted that the specific implementation process of the tablet computer determining whether the area corresponding to the first circle selection operation includes a preset view object can refer to the introduction in the relevant technology, which will not be described in detail in the embodiments of the present application.
[0151] In the technical solution provided in the embodiment of the present application, the tablet computer can help the user better circle the corresponding view object and the required page content with the help of the intelligent image recognition capability when the user performs the circle selection operation. In this way, it can help the user remove the complex background, identify the main object or text, and accurately obtain the creative material.
[0152] In other embodiments, if the position corresponding to the first circle selection operation does not include a preset view object, the tablet computer can directly display the trajectory of the first circle selection operation as a first closed curve. In other words, if the area corresponding to the circle selection operation does not include a preset view object, the tablet computer can directly display the trajectory selected by the user. Thus, it is ensured that the tablet computer can arbitrarily select the required page content on the page according to the user's intention.
[0153] Furthermore, after the tablet computer displays the first closed curve in response to the first circle selection operation, the tablet computer can also perform a corresponding operation on the first page content enclosed by the first closed curve on the first page in response to a preset operation performed by the user on the first page content, so that the user can obtain or use the first page content.
[0154] In some embodiments, the preset operation may specifically include at least one of a copy operation, a save operation, a share operation, a drag operation, and a text recognition operation, such as S307-S312.
[0155] S307. For the first page content enclosed by the first closed curve in the first page, display a first function control corresponding to the first page content.
[0156] In some embodiments, the tablet computer may display the first function control while displaying the first closed curve, so as to facilitate prompting the user to operate the first page content surrounded by the first closed curve.
[0157] In other embodiments, after displaying the first closed curve, the tablet computer may also display the first function control in response to the user's operation (such as a long press operation, a double click operation, etc.) on the area corresponding to the first closed curve. In this way, when the user needs to operate the content of the first page, the function control corresponding to the supported operation can be provided to the user.
[0158] Further, in some embodiments, the first functional control includes at least one of a first copy sub-control, a save sub-control, and a share sub-control. Figure 5B The interface 50c shown shows a first function control 504. The first function control 504 includes a copy sub-control 5041, a save sub-control 5042 and a share sub-control 5043.
[0159] It should be noted that, in order to distinguish it from other duplicate sub-controls, in this embodiment, the duplicate sub-control included in the first functional control is recorded as the first duplicate sub-control. "First" and "second" are only used to distinguish different names and do not represent any actual meaning.
[0160] S308. In response to the triggering operation on the first copy sub-control, copy the first image corresponding to the first page content, and copy and store the first image to the clipboard of the tablet computer.
[0161] In some embodiments, after the above S306, the above method further includes: generating and displaying a first image based on the first page included in the first page by the first closed curve. The image content of the first image corresponds to the page content enclosed by the first closed curve on the first page. And the first image is covered on the first page. In this way, it is convenient for the user to directly drag, copy, save or share the first image to obtain or use the first image circled from the first page. Further, in this embodiment, the above S308 may specifically include: in response to a trigger operation on the first copy sub-control, directly copying and storing the first image to the clipboard of the tablet computer.
[0162] In some other embodiments, the tablet computer may also generate a first image corresponding to the first page content after detecting the user's operation on the first page content. In this embodiment, the above S308 may specifically include: in response to the trigger operation on the first copy subcontrol, first copying the first image corresponding to the first page content, and then storing the first image to the clipboard of the tablet computer. The clipboard is an area in the memory, through which information can be transferred and shared between various applications.
[0163] For example, please refer to Figure 5B In response to the user triggering the copy subcontrol 5041 in the interface 50c, the tablet computer may display the interface 50d. The interface 50d includes the first prompt information 505, and the first prompt information 505 is used to prompt the user that the first image has been copied to the clipboard.
[0164] S309. In response to a trigger operation on the save subcontrol, save the first image corresponding to the first page content to a gallery of the tablet computer.
[0165] Please continue to refer to Figure 5B After the user selects to trigger the save sub-control 5042 in the interface 50c, the interface 50e may be displayed, and the interface 50e includes a second prompt message 506, and the second prompt message 506 is used to prompt the user that the first image has been saved to the gallery.
[0166] S310. In response to a trigger operation on the sharing sub-control, display a second function control.
[0167] The second function control is used to share the first image corresponding to the first page content. In some embodiments, the second function control can also provide multiple sharing candidates, which are used to provide the user with which application or function the first image needs to be shared to.
[0168] Please continue to refer to Figure 5BAfter the user selects to trigger the sharing sub-control 5043 in the interface 50c, the interface 50f may be displayed. The interface 50f includes a second function control 507, and the second function control 507 includes the following sharing options: Bluetooth, WLAN, email, and information, etc. The user can share the first image to the corresponding application by triggering any one of the sharing options in the second function control.
[0169] Similar to the user performing a trigger operation on the first copy sub-control of the first functional control, in an embodiment where the tablet computer generates and displays a first image corresponding to the first page content after displaying the first closed curve, the user's trigger operations on the save sub-control and the share sub-control can be directly performed on the first image. In other embodiments, for the trigger operations of the save sub-control and the share sub-control, the tablet computer needs to first generate a first image based on the first page content surrounded by the first closed curve, and then perform corresponding operations on the first image.
[0170] In some embodiments, after the tablet computer responds to the user performing a trigger operation on any sub-control in the first functional control, it indicates that the user has performed operations such as copying, saving, or sharing on the first image, and it can be considered that the user no longer needs the first image. Therefore, the tablet computer may no longer display the first closed curve.
[0171] Figure 5A and Figure 5B The page content surrounded by the first closed curve shown only includes image view objects, so the first functional control corresponding to the first image includes a copy sub-control, a save sub-control, and a share sub-control. In other embodiments, the page content surrounded by the first closed curve may also include a text view object. In this case, the user may want to extract the text content in the image for use as material. Therefore, in the case where it is detected that the page content surrounded by the first closed curve contains a text view object, the above-mentioned first functional control may also include a text recognition sub-control. Among them, the specific usage of the text recognition sub-control by the user will be described in detail in the following embodiments and will not be repeated here.
[0172] In the technical solution provided in the embodiment of the present application, the user can directly circle the part of the page content he needs on the page, and generate the corresponding first image for the circled page content. Afterwards, an image processing function is provided for the first image, supporting the user to directly perform operations such as saving, copying and sharing on the first image. In this way, in the scenario where the user only needs part of the content in the picture, the user does not need to download the entire picture, and then use applications such as gallery to perform editing operations such as cropping on the entire picture to obtain part of the image content or extract part of the text from the picture. Instead, you can directly use the circle selection method to complete the cropping in the original page of the picture, and only take the required page content. Thereby simplifying the steps for users to obtain and collect information and improving the convenience of information processing.
[0173] In addition, for the first page content surrounded by the first closed curve on the first page, the tablet computer may also support the user to directly drag the first page content, such as S311 and S312.
[0174] S311. In response to a first drag operation on a first page content, start dragging and displaying a first image corresponding to the first page content from a first initial position where the first page content is located.
[0175] The first initial position refers to the position of the corresponding area when the tablet computer displays the first closed curve. In the embodiment where the tablet computer generates the first image while displaying the first closed curve, similar to the copying, saving and sharing operations on the first page content, in response to the drag operation of the first page content, the tablet computer can directly drag the first image. In the embodiment where the tablet computer does not generate the corresponding first image for the first closed curve in advance, the above S311 may specifically include: in response to the first drag operation on the first page content, generating the first image based on the first page content; and then dragging and displaying the first image from the first initial position.
[0176] like Fig. 6A As shown, interface 60a shows the first closed curve circled by the user on the first page. The user can click any position in the area surrounded by the first closed curve (i.e., the area corresponding to the first page content) and drag on the interface to drag the first image corresponding to the first page content. 601 shown in interface 60a is the first initial position of the first image.
[0177] In response to the dragging operation, the tablet computer drags and displays the first image according to the dragging operation of the user. Fig. 6AThe first image displayed at position 601 in the interface 60b shown. It should be noted that, while the user is dragging the first image, the first image can still be overlaid on the screen displayed on the current interface. It can be understood that in a full-screen display scenario, the page displayed on the current interface can specifically include the first page, other pages (such as the second page), or any of the intermediate pages in the process of switching from the first page to the second page. In a split-screen display scenario, the page displayed on the current interface can specifically include the first page, other pages (such as the second page)
[0178] In some embodiments, the operations that can be performed by the user dragging the first image may specifically include any of the following: saving the first image to a gallery (dragging the first image to the gallery and releasing it), pasting it to other pages (dragging the first image to other pages and releasing it), and dragging the first image to a search engine for image search (dragging the first image to the search engine's search bar and releasing it), etc.
[0179] S312: In response to a first release operation on the first image, release the first image.
[0180] After the user drags the first image, if the first image is still released on the first page, it may mean that the user does not need to drag the first image temporarily. At this time, the tablet computer may consider that the user cancels the drag operation. Therefore, in some embodiments, the above S312 may specifically include: in response to the first release operation on the first image, if the first image is located on the first page, placing the first image at the first initial position.
[0181] Please refer to Fig. 6A If it is detected that the user performs a first release operation at the position where the first image 602 shown in the interface 60b is located, since the position is still within the first page, the tablet computer can release the first image to the first initial position, that is, Fig. 6A The first initial position 601 is shown in the interface 60a. It can be understood that, afterwards, the user can reselect the operation to be performed on the first image.
[0182] In the technical solution provided by the embodiment of the present application, if the user releases the first image on the first page while dragging the first image, the first image is returned to the first initial position, so that the user can reselect the operation to be performed on the first image.
[0183] In some other embodiments, the above S312 may specifically include: in response to a first release operation on the first image, if the first image is located on a second page other than the first page, placing the first image on the second page.
[0184] It should be noted that, in some embodiments, the tablet computer may consider that the first image is located on the first page (or the second page) when an image larger than a preset ratio in the first image is located on the first page (or the second page). The preset ratio may be set according to actual conditions, for example, the preset ratio may be set to 50%, 60%, etc.
[0185] As can be seen from the above description, some tablet computers support split-screen display scenarios. In some embodiments, when the tablet computer displays two pages simultaneously in a split-screen display mode, in the process of dragging and displaying the first image in response to the user's first drag operation, the first image can be dragged out of the first page. Exemplarily, in response to the user's first drag operation, the first image is dragged from the first page to the second page displayed in the split-screen display scenario. Afterwards, if the user releases the first image on the second page, the first image can be placed in the second page.
[0186] Please refer to Figure 6B , the tablet computer displays a split screen interface 60c in the split screen display scenario, and the split screen interface 60c includes a first page 603 and a second page 604. Combining the diagram, it can be determined that Figure 6B The first page 603 shown in the figure displays the picture, and the second page 604 displays the editing page of the note application. In the split screen interface 60c, the user can directly perform a drag operation on the first image and drag the first image from the first initial position of the first page 603 to the second page 604. Then release the first image and place it on the second page. Figure 6B The position 605 is shown in the interface 60d.
[0187] In some embodiments, in response to the first release operation on the first image, after detecting that the first image is on the second page, the tablet computer needs to determine whether the second page allows pasting of images. If it is determined that the second page allows pasting of images, the tablet computer can place the first image on the second page. It is understandable that Figure 6B The second page 604 is the editing page of the sticky note application. Usually, when editing a sticky note, pictures can be inserted. Figure 6B The second page shown allows pasting pictures. At this time, the tablet computer can respond to the first release operation for the first image and release the first image on the second page 604.
[0188] In other cases, if the second page is a page that does not allow pasting of pictures, for example, the second page displays an alarm clock application interface, and the alarm clock application interface does not allow pasting of pictures. Then, in response to the first release operation on the first image, even if it is detected that the first image is on the second page, the tablet computer should not place the first image on the second page. In some embodiments, in response to the first release operation on the first image, when it is detected that the first image is on the second page, if the second page does not allow pasting of images, the first image is placed at the first initial position. In this way, the user can reselect the operation to be performed and the place to be used for the first image.
[0189] The above embodiment describes the process of dragging the first image in a split-screen display scenario by a tablet computer. In other embodiments, when the tablet computer is in a full-screen display scenario, the user may also be supported to apply the first image corresponding to the first page content to other required locations by dragging. Figure 6C , the tablet computer displays a full-screen interface 60e. In the first page displayed in the full-screen interface 60e, the tablet computer has displayed a first closed curve in response to the first circle selection operation. In some embodiments, the tablet computer can support the user to use an electronic stylus to drag the first image corresponding to the first page content in the full-screen interface 60e.
[0190] In combination with the description of the above embodiment, it can be seen that in the process of dragging the first image corresponding to the first page content, the tablet computer displays the first image according to the dragging operation, such as Figure 6C Interface 60f is shown. At the same time, the user can interact with the tablet computer on the first page by using a finger. Exemplarily, the tablet computer can display a background application process interface 60g in response to the user's operation. The background application process interface 60g includes a process 605 corresponding to the browser application page and a process 606 corresponding to the note application editing page. When the tablet computer displays the background process application interface in response to the user's triggering operation by using a finger, since the user is also using an electronic stylus to drag the first image, the first image dragged by the user using the electronic stylus is also displayed in the interface 60g.
[0191] Further, in response to the user triggering the process 606 of the note application editing page with a finger to enter the note application editing page, as shown in FIG. Figure 6C Afterwards, after detecting that the user uses the electronic stylus to release the first image, the tablet computer can place and paste the first image on the second page, that is, interface 60h.
[0192] In the technical solution provided in the embodiment of the present application, the tablet computer supports the user to process the first page content by dragging directly on the first page after circling the first page content, for example, pasting the first image corresponding to the first page to other pages. In this way, compared with the operation mode in which the tablet computer needs to respond to the copy operation triggered by the user, the operation of opening other pages, and the paste operation. Or the tablet computer first saves the first image to the gallery in response to the save operation triggered by the user, and then obtains the first image from the gallery and pastes it on other pages in response to the operation of inserting a picture triggered by the user in other pages, the operation mode provided by the embodiment of the present application for directly dragging the first page content is simpler. Thereby further simplifying the steps for users to obtain and collect information and improving convenience.
[0193] Furthermore, in some embodiments, after performing the first circle selection operation on the first page, the user may no longer need the circled page content. Or, if the page content circled by the first circle selection operation cannot fully meet the user's needs, it may be necessary to circle again.
[0194] In some embodiments, after the tablet displays the first closed curve in response to the first circle selection operation and generates the first image, the tablet can also support the user to cancel the circled range. Fig. 7A The interface 70a shown shows the first closed curve 700 circled by the user from the first page. The user can quickly cancel the display of the first closed curve by clicking on the area outside the area surrounded by the first closed curve 700 on the first page, such as Fig. 7A That is, in some embodiments, in response to a click operation on an area outside the first image of the first page, the tablet computer may cancel displaying the first closed curve 700 and delete the first image at the same time.
[0195] Alternatively, for the first closed curve that has been circled and the first image that has been generated, the tablet computer may also support the user to directly perform a second circle selection operation on an area outside the first closed curve without canceling the first closed curve. In response to the second circle selection operation, the tablet computer may display a new closed curve. In some embodiments, in response to the second circle selection operation on an area outside the first image of the first page, a corresponding second closed curve is displayed based on the trajectory of the second circle selection operation. Fig. 7A The second closed curve 701 is shown in the interface 70c. Similar to the first closed curve, the tablet computer supports a preset operation for the second page content surrounded by the second closed curve on the first page to obtain and / or use the second page content.
[0196] Alternatively, for the first closed curve that has been circled and the first image that has been generated, the tablet computer may also support the user to adjust the first closed curve to obtain a third closed curve and display the third closed curve in response to the third circle selection operation without canceling the first closed curve. It is understandable that in this embodiment, the tablet computer does not cancel the display of the first closed curve, but directly responds to the third circle selection operation to adjust the first closed curve. It should be noted that the adjustment of the first closed curve may specifically be to increase the range circled by the first closed curve or to decrease the range circled by the first closed curve. It is understandable that the electronic device also supports preset operations on the third page content surrounded by the third closed curve on the first page.
[0197] For some examples, see Figure 7B , the user can perform the third circle selection operation in the first page shown in interface 70d. The dotted line track 702 shown in interface 70d represents the track corresponding to the third circle selection operation. In this example, there is an overlap between the range corresponding to the third circle selection operation and the range circled by the first closed curve 703. Therefore, the track of the third circle selection operation can be merged with the first closed curve to obtain a third closed curve. Figure 7B A third closed curve 704 of the interface 70e is shown.
[0198] In some embodiments, the tablet computer may determine whether the third circling operation satisfies a preset condition when the third circling operation is detected. In some embodiments, the preset condition is used to indicate that adding a selection area is allowed. Exemplarily, the preset condition may be that the overlapping portion of the trajectory corresponding to the third circling operation and the area corresponding to the first closed curve satisfies a certain condition.
[0199] In some embodiments, the tablet computer may, in response to the third circle selection operation, fuse the trajectory of the third circle selection operation with the first closed curve to obtain a third closed curve when it is detected that the proportion of the overlapping portion of the area corresponding to the trajectory of the third circle selection operation and the area corresponding to the first closed curve meets certain conditions. The proportion of the overlapping portion may be greater than the first preset threshold and less than the second preset threshold. The first preset threshold is less than the second preset threshold, and the first preset threshold and the second preset threshold may be set according to actual conditions. Generally speaking, if the user needs to adjust the first closed curve by adding a selection area, usually only the area outside the first closed curve is circled, and at the same time, the trajectory of the third circle selection operation is overlapped with a portion of the first closed curve, so that the tablet computer fuses the trajectory of the third circle selection operation with the first closed curve to obtain the third closed curve.
[0200] In some embodiments, the third closed curve is obtained by fusing the trajectory of the third circle selection operation with the first closed curve, which may specifically include: taking the union of the first area surrounded by the first closed curve and the second area surrounded by the trajectory corresponding to the third circle selection operation as the area surrounded by the third closed curve. Alternatively, in other embodiments, the third closed curve is obtained by fusing the trajectory of the third circle selection operation with the first closed curve, and the preset view object in the area jointly surrounded by the trajectory corresponding to the third circle selection operation and the first closed curve can also be identified, and the contour line of the preset view object is used as the third closed curve. If multiple preset view objects (such as pictures and texts) are included, the contour line including multiple preset view objects can be used as the third closed curve, and so on. It can be understood that in other embodiments, the tablet computer can also achieve the fusion of the trajectory corresponding to the third circle selection operation with the first closed curve to obtain the third closed curve in other ways.
[0201] In other embodiments, if the area corresponding to the trajectory of the third circling operation does not overlap with the area corresponding to the first closed curve, or the area corresponding to the trajectory of the third circling operation overlaps too much with the area corresponding to the first closed curve, it means that the user wants to abandon the area circled by the first closed curve and re-circle a new area on the first page through the third circling operation. Afterwards, the tablet computer can also display a new closed curve based on the trajectory corresponding to the third circling operation.
[0202] In other embodiments, after the user circles the first closed curve (corresponding to the first image) on the first page, the tablet computer may display a function control for adding a selection area to the first image. In some embodiments, after the function control for adding a selection area is triggered, the function of adding a selection area based on the first closed curve (corresponding to the first image) is entered. Afterwards, the tablet computer supports the user to adjust the first closed curve. In response to the third circling operation, the first closed curve is adjusted based on the trajectory of the third circling operation to obtain a third closed curve. That is, in this embodiment, the preset condition may specifically be that the function of adding a selection area has been activated.
[0203] For example, Figure 7C The interface 70f shown shows a function control 705 for adding a selection area to the first image. If the user triggers the function control 705 for adding a selection area on the interface 70f, the interface 70g is entered. The interface 70g includes a prompt control 706 for adding a selection area, which prompts the user that a selection area can be added based on the first closed curve. The prompt control 706 for adding a selection area also provides an option to exit adding a selection area.
[0204] Furthermore, the user can perform a third circle selection operation on the interface 70g. Afterwards, the tablet computer responds to the third circle selection operation and obtains a third closed curve 708 as shown in the interface 70h based on the trajectory 707 of the third circle selection operation and the first closed curve. At the same time, according to the page content surrounded by the third closed curve 708 on the first page, the tablet computer can also generate a corresponding third image. It can be understood that, similar to the first image, the tablet computer also supports the user to copy, save, share or drag the third image.
[0205] Combination Figure 7C It can be seen from the interface 70h shown that after the third closed curve is displayed in response to the user's third circle selection operation, the area enclosed by the third closed curve contains the text view object "Description Text". In this case, it is possible that the user needs to use the text view object as a material. Therefore, when it is detected that the page content enclosed by the closed curve includes a text view object, the first function control corresponding to the third image also includes a text recognition sub-control 709. The specific use of the text recognition sub-control 709 will be described in detail in the following embodiments and will not be repeated here.
[0206] In the technical solution provided in the embodiment of the present application, if the user is not satisfied with the first closed curve (corresponding to the first image) that has been circled, the user can cancel the first closed curve and re-circle it through the above-mentioned click operation, or directly re-circle it, or add a selection area based on the first closed curve, so that the user can re-circle the page content according to his or her needs on the first page. Afterwards, for the page content on the first page surrounded by the closed curve corresponding to the new circle selection operation, the tablet computer supports a preset operation for the page content corresponding to the new circle selection operation to obtain and / or use the page content. Thus, the user can more conveniently re-circle the page content according to his or her needs.
[0207] The above embodiments are all explained by taking the case where the page content required by the user is an image view object in a picture as an example. It can be seen from the description of the above embodiments that the user may also need to obtain text content from the picture. To this end, an embodiment of the present application also provides an information processing method, which supports the user to circle the text content contained in the picture. Then, based on the circled first page content, the tablet computer also supports the identification of the text content contained in the first page content, and supports the selection of the text content for the identified text content. Afterwards, for the selected text content, the tablet computer can also support text processing, such as copying, sharing or translating.
[0208] In some embodiments, when the area corresponding to the first circle selection operation includes a text view object, the first function control further includes an identification text sub-control. The above method further includes: in response to a trigger operation for the identification text sub-control, identifying text content corresponding to the text view object from the first page content. And, displaying a selection box for indicating the selection of the text content, and a third function control corresponding to the text content.
[0209] Please refer to Fig. 8A , which shows a split screen interface 80a. The split screen interface 80a includes a first page corresponding to a browser application and a third page corresponding to a note application. The first page displays a picture 801 containing a text view object. In the split screen interface 80a, the tablet computer has displayed a first closed curve 802 in response to a circle selection operation performed by the user. Since the page content enclosed by the first closed curve on the first page includes a text view object, the first function control displayed for the first closed curve includes a text recognition sub-control 803.
[0210] The tablet computer can respond to the user's triggering operation on the recognition text sub-control 803 in the first page of the split-screen interface 80a to enter the Fig. 8A The split screen interface 80b shown. A selection box 805 for indicating the selected text content is displayed on the first page of the split screen interface 80b. At the same time, the split screen interface 80b also displays a third function control 806 corresponding to the text content. Specifically, the third function control 806 includes a second copy sub-control 8061, a translation sub-control 8062 and a search sub-control 8063.
[0211] Further, in some embodiments, in response to the triggering operation on the second copy sub-control 8061, the text content is copied and stored in the clipboard. Figure 8B The third prompt information 807 in the interface 80c is used to prompt that the text content has been copied to the clipboard.
[0212] In response to a trigger operation on the translation sub-control 8062, the tablet computer may display the following Figure 8C The fourth function control 808 in the interface 80d is shown. The fourth function control 808 is used to translate text content.
[0213] In response to the trigger operation for the search sub-control 8063, the tablet computer may display the following Fig.8D The fifth function control 809 in the interface 80e is shown. The fifth function control 809 is used to provide search candidates, such as Fig.8D As shown, the fifth function control 809 provides three search candidate items, namely, browser 1, browser 2 and browser 3.
[0214] In the embodiment provided in the embodiment of the present application, for the text view object contained in the picture, the tablet computer can support the user to circle the text view object from it by circling, and then identify the corresponding text content for the text view object, and select the text content. After that, for the identified and selected text content, the user is supported to copy, translate and search. This can help users to copy and use the text content directly from the picture, avoiding the problem that the user needs to manually enter the text content due to the inability to copy. In addition, in the above scheme, the user selects the text content to be identified by circling in the picture. Therefore, in the scenario where the picture contains a lot of text, but the user only needs a part of the text, the above-mentioned method of circling to identify part of the text content in the picture can specifically identify and select the part of the text content required by the user, avoiding identifying and selecting redundant text content from the picture, thereby helping to save the user's operation process and time required to obtain text information from the picture.
[0215] In addition, for the text content recognized and selected from the first image, the tablet computer can also support the user to directly copy and paste it to other locations by dragging based on the selection box 805. In some embodiments, in response to a second drag operation on the selection box 805, the text content is displayed by dragging from the second initial position where the text content is located, such as Fig. 8E In the interface 80f shown, the user drags the selection box 810 with the electronic stylus to move to the third page. Afterwards, in response to a second release operation on the selection box 810, the text content is released.
[0216] Similar to dragging the first image, after detecting the second release operation on the selection box 805, if the text content is located on the first page, the text content is placed at the second initial position. If the text content is located on a third page other than the first page, the text content is placed on the third page. Fig. 8E As shown in interface 80g. It can be understood that in this embodiment, since the second drag operation is directed to the selection box corresponding to the text content, after the selection box is released on the third page, the text content is pasted on the third page in text format, that is, Fig. 8E In the interface 80g shown, the text content 811 pasted on the third page is pasted in text format.
[0217] In the embodiment provided in the embodiment of the present application, for the text view object contained in the picture, the tablet computer can support the user to circle the text view object from the picture, and then identify the corresponding text content for the text view object and select the text content. Afterwards, for the identified and selected text content, the user is supported to directly copy and paste the text content to other places by dragging. This can more efficiently help users obtain the required text content from the picture and improve the convenience of obtaining text information.
[0218] In addition, for Fig. 8A In the case where the area enclosed by the first circle selection operation includes text view objects, the user may also need images including these text views as materials. Fig. 8A The first closed curve shown corresponds to the first page content, and the tablet computer also supports the user to directly drag the first page content. Fig.8F In the interface 80h shown, the user can directly perform a second drag operation on the first image 812 in the interface 80h. In response to the second drag operation, the image can be dragged to the third page, such as Fig.8F The first image 813 shown in the interface 80i is shown. Afterwards, in response to the user's release operation on the first image on the third page, the tablet computer can place the first image on the third page, such as Figure 8G The text content 814 shown in the interface 80j is shown. It can be understood that the text content 814 in the interface 80j is pasted on the third page in the form of a picture.
[0219] Alternatively, in other embodiments, the user may also wish to search directly using the first image. Fig.8F The first function control corresponding to the first image 812 of the interface 80h also includes a search sub-control. The user can directly use the first image 812 to search for related content by triggering the search sub-control.
[0220] In the technical solution provided in the embodiment of the present application, the user can directly drag and search for the circled image containing the text view object, which can improve the processing efficiency of the page content containing the text view object.
[0221] It should be noted that, in the case where the page content surrounded by the first circle selection operation includes a text view object, Figure 8A-8G It is illustrated in the interface of the split screen display scene. It can be understood that in other embodiments, when the tablet computer is in the full screen display scene, the above solution is also applicable.
[0222] In addition, any operation such as the circle selection operation, trigger operation, click operation, drag operation, etc. on the display screen of the tablet computer involved in the above embodiments can be realized not only by the user using an electronic stylus, but also by the user using a finger to trigger directly on the display screen of the tablet computer. In the embodiments of the present application, the implementation method of the above operations is not limited.
[0223] Some other embodiments of the present application provide an electronic device (such as a tablet computer). The electronic device may include: a display screen, a memory, and one or more processors. The display screen and the memory are coupled to the processors respectively. The display screen is used to display the interface of the electronic device. The memory is also used to store computer program code, which includes computer instructions. When the processor executes the computer instructions, the electronic device can execute the various functions or steps performed by the tablet computer in the above method embodiment. The structure of the electronic device can refer to Figure 2A The structure of the electronic device 200 is shown.
[0224] The present application also provides a chip system, such as Fig. 9 As shown, the chip system 90 includes at least one processor 901 and at least one interface circuit 902. The processor 901 and the interface circuit 902 can be interconnected via lines. For example, the interface circuit 902 can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit 902 can be used to send signals to other devices (such as the processor 901). Exemplarily, the interface circuit 902 can read instructions stored in the memory and send the instructions to the processor 901. When the instruction is executed by the processor 901, the electronic device can execute the various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which are not specifically limited in the embodiments of the present application.
[0225] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device (such as a tablet computer), the electronic device executes each function or step executed by the tablet computer in the above-mentioned method embodiment.
[0226] The present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the functions or steps executed by the tablet computer in the above method embodiment. The computer may be an electronic device, such as a tablet computer.
[0227] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0228] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0229] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0230] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0231] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0232] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. An information processing method, characterized in that: The method is applied to an electronic device with a circle selection function; the method comprises: Display the first page; After the circle selection function is started, in response to a first circle selection operation on the first page, a first closed curve corresponding to the first circle selection operation is displayed; in the case where the area corresponding to the first circle selection operation includes a preset view object, the first closed curve includes a contour line of the preset view object; the preset view object includes an image and / or text; Among them, for the first page content enclosed by the first closed curve on the first page, the electronic device supports the user to perform a preset operation on the first page content, and the preset operation is used to obtain and / or use the first page content.
2. The method according to claim 1, characterized in that After displaying a first closed curve corresponding to the first circle selection operation in response to the first circle selection operation on the first page, the method further includes: In response to a first drag operation on the first page content, starting from a first initial position where the first page content is located, dragging and displaying a first image corresponding to the first page content; In response to a first release operation on the first image, the first image is released.
3. The method according to claim 2, characterized in that After dragging and displaying the first image corresponding to the first page content from the first initial position where the first page content is located, and before releasing the first image in response to a first release operation on the first image, the method further includes: In response to a page switching operation on the first page, switching from the first page to displaying a second page; Wherein, in the process of switching from the first page to displaying the second page, the first image is continuously displayed by dragging on the currently displayed page; the currently displayed page includes any one of the first page, the second page, and the intermediate page switched from the first page to the second page.
4. The method according to claim 2 or 3, characterized in that: In response to a first release operation on the first image, releasing the first image includes: If the first image is located on the first page, placing the first image at the first initial position; If the first image is located on a second page other than the first page, the first image is placed on the second page.
5. The method according to any one of claims 1 to 4, characterized in that After displaying a first closed curve corresponding to the first circle selection operation in response to the first circle selection operation on the first page, the method further includes: Displaying a first functional control corresponding to the first page content; the first functional control includes at least one of a first copy sub-control, a save sub-control, and a share sub-control; In response to a trigger operation on the first copy subcontrol, copy a first image corresponding to the first page content, and store the first image in a clipboard of the electronic device; Alternatively, in response to a trigger operation on the save subcontrol, saving a first image corresponding to the first page content to a gallery of the electronic device; Alternatively, in response to a triggering operation on the sharing sub-control, a second functional control is displayed; the second functional control is used to share a first image corresponding to the first page content.
6. The method according to claim 5, characterized in that In the case where the area corresponding to the first circle selection operation includes a text view object, the first function control further includes a text recognition sub-control; and the method further includes: In response to a triggering operation on the identification text subcontrol, identifying text content corresponding to the text view object from the first page content; Displaying a selection box for indicating that the text content is selected, and a third functional control corresponding to the text content; the third functional control includes at least one of a second copy sub-control, a translation sub-control, and a search sub-control; In response to a trigger operation on the second copy subcontrol, copying and storing the text content to the clipboard; In response to a trigger operation on the translation sub-control, a fourth function control is displayed; the fourth function control is used to translate the text content; In response to a trigger operation on the search sub-control, a fifth function control is displayed; the fifth function control is used to provide search candidates.
7. The method according to claim 6, characterized in that After displaying the selection box for indicating the selection of the text content, the method further includes: In response to a second drag operation on the selection box, dragging and displaying the text content from a second initial position where the text content is located; In response to a second release operation on the selection box, the text content is released.
8. The method according to claim 7, characterized in that The step of releasing the text content in response to a second release operation on the selection box includes: If the text content is located at the first page, placing the text content at the second initial position; If the text content is located on a third page other than the first page, the text content is placed on the third page.
9. The method according to any one of claims 1 to 8, characterized in that After displaying a first closed curve corresponding to the first circle selection operation in response to the first circle selection operation on the first page, the method further includes: In response to a click operation on an area of the first page other than the first page content, the first closed curve is canceled from being displayed.
10. The method according to any one of claims 1 to 9, characterized in that After displaying a first closed curve corresponding to the first circle selection operation in response to the first circle selection operation on the first page, the method further includes: In response to a second circling operation on an area outside the first page content of the first page, the first closed curve is canceled and a second closed curve corresponding to the second circling operation is displayed; wherein, for the second page content enclosed by the second closed curve on the first page, the electronic device supports the user to perform the preset operation on the second page content.
11. The method according to any one of claims 1 to 9, characterized in that After displaying a first closed curve corresponding to the first circle selection operation in response to the first circle selection operation on the first page, the method further includes: In response to a third circle selection operation on an area outside the first page content of the first page, when the third circle selection operation satisfies a preset condition, based on a trajectory of the third circle selection operation, the first closed curve is adjusted to obtain a third closed curve, and the third closed curve is displayed; the preset condition is used to indicate that adding a selection area is allowed; wherein, for the third page content enclosed by the third closed curve on the first page, the electronic device supports the user to perform the preset operation on the third page content.
12. The method according to any one of claims 1 to 11, characterized in that The electronic device is connected to the electronic stylus; and in response to a first circling operation on the first page, displaying a first closed curve corresponding to the first circling operation includes: In response to a first circling operation performed by the electronic stylus on the first page, a first closed curve corresponding to the first circling operation is displayed.
13. The method according to claim 12, characterized in that After the electronic device establishes a connection with the electronic stylus, the method further includes: Displaying a stylus function floating window corresponding to the electronic stylus; the stylus function floating window includes a circle selection function entrance; In response to a triggering operation of the electronic stylus pen on the circle selection function entry, the circle selection function is started.
14. The method according to any one of claims 1 to 13, characterized in that When the area corresponding to the first circle selection operation does not include a preset view object, the first closed curve includes a track of the first circle selection operation.
15. An electronic device, characterized in that: The electronic device comprises: a display screen, a processor and a memory; the display screen and the memory are respectively coupled to the processor; The display screen is used to display the interface of the electronic device; the memory stores computer program code, and the computer program code includes computer instructions. When the computer instructions are executed by the processor, the electronic device executes the method as described in any one of claims 1-14.
16. An information processing system, characterized in that: The electronic device comprises an electronic stylus and the electronic device as claimed in claim 15; after the electronic device establishes a connection with the electronic stylus, the electronic device allows a user to control the electronic device using the electronic stylus.
17. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method as claimed in any one of claims 1 to 14.
