CN112947826B - Information acquisition method and device and electronic equipment - Google Patents

Information acquisition method and device and electronic equipment Download PDF

Info

Publication number
CN112947826B
CN112947826B CN202110121205.5A CN202110121205A CN112947826B CN 112947826 B CN112947826 B CN 112947826B CN 202110121205 A CN202110121205 A CN 202110121205A CN 112947826 B CN112947826 B CN 112947826B
Authority
CN
China
Prior art keywords
content
selection frame
input
target
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110121205.5A
Other languages
Chinese (zh)
Other versions
CN112947826A (en
Inventor
刘亚洲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110121205.5A priority Critical patent/CN112947826B/en
Publication of CN112947826A publication Critical patent/CN112947826A/en
Application granted granted Critical
Publication of CN112947826B publication Critical patent/CN112947826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

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

Abstract

The application discloses an information acquisition method and device and electronic equipment, and belongs to the technical field of communication. The problem that the efficiency of the electronic equipment for acquiring information is low can be solved. The method comprises the following steps: receiving a first input under the condition of displaying a target page; in response to the first input, displaying a first selection frame to mark first content in the target page; receiving a second input to the first control; displaying at least one second selection frame in response to the second input to mark content in the target page corresponding to the first content; intercepting and identifying the area corresponding to the first selection frame and the area corresponding to the at least one second selection frame, and storing the first content in the first selection frame and the content in the at least one second selection frame obtained through identification in the target file. The embodiment of the application is applied to the process of copying the display content in the page by the electronic equipment.

Description

Information acquisition method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an information acquisition method, an information acquisition device and electronic equipment.
Background
In general, an electronic device may copy text or images included in one interface to use the text or images obtained by holding them in another interface (e.g., send text or images after editing them).
In the related art, when the electronic device displays the page 1, the user may trigger the electronic device to copy the text contained in the page 1, and after the electronic device switches the page 1 to the page 2, paste the copied text in the page 2 for editing or sending.
However, in the above method, if the user needs to trigger the electronic device to copy multiple sets of characters (the multiple sets of characters cannot be copied at the same time) included in the page 1 multiple times, so that when the user pastes the page 2, the user needs to trigger the electronic device multiple times to switch the page 1 and the page 2, so that the operation of the user is complex, and the efficiency of the electronic device for acquiring information is low.
Disclosure of Invention
The embodiment of the application aims to provide an information acquisition method and device and electronic equipment, which can solve the problem of low information acquisition efficiency of the electronic equipment.
In order to solve the technical problems, the application is realized as follows:
In a first aspect, an embodiment of the present application provides an information acquisition method, including: receiving a first input under the condition of displaying a target page; in response to the first input, displaying a first selection frame to mark first content in the target page; receiving a second input to the first control; displaying at least one second selection frame in response to the second input to mark content in the target page corresponding to the first content; intercepting and identifying the area corresponding to the first selection frame and the area corresponding to the at least one second selection frame, and storing the first content in the first selection frame and the content in the at least one second selection frame obtained through identification in the target file.
In a second aspect, an embodiment of the present application provides an information acquisition apparatus, including: the device comprises a receiving module, a display module, a processing module and a storage module. The receiving module is used for receiving a first input under the condition that the target page is displayed. And the display module is used for responding to the first input received by the receiving module and displaying the first selection frame so as to mark the first content in the target page. And the receiving module is also used for receiving a second input to the first control. And the display module is also used for responding to the second input received by the receiving module and displaying at least one second selection frame so as to mark the content corresponding to the first content in the target page. And the processing module is used for intercepting and identifying the area corresponding to the first selection frame and the area corresponding to the at least one second selection frame. And the storage module is used for storing the first content in the first selection frame and the content in the at least one second selection frame which are identified by the processing module in the target file.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In the embodiment of the application, when the electronic equipment displays the target page, a user can perform first input so that the electronic equipment can display a first selection frame in a screen to mark first content in the target page; and the user can make a second input to the first control so that the electronic device can display at least one second selection frame to mark the content corresponding to the first content in the target page through the second selection frame, so that the area corresponding to the first selection frame and the area corresponding to the at least one second selection frame can be intercepted and identified, and the first content in the first selection frame and the content in the at least one second selection frame obtained through identification are stored in the target file. Under the condition that the electronic equipment displays the target page, a user can trigger the electronic equipment to display a first selection frame through a first input so as to mark and display first content in the target page, and can trigger the electronic equipment to display at least one second selection frame through inputting a first control after the first content is marked and displayed, so that the electronic equipment can intercept the area corresponding to the first selection frame and the area corresponding to the at least one second selection frame, identify and obtain corresponding content from the intercepted image, simultaneously store the first content in the first selection frame and the content in the at least one second selection frame in the target file, and the user does not need to trigger the electronic equipment to acquire a plurality of contents in the target page through multiple inputs, so that the operation of the user can be simplified, and the information acquisition efficiency of the electronic equipment is improved.
Drawings
Fig. 1 is a schematic diagram of an information acquisition method according to an embodiment of the present application;
Fig. 2 is an example schematic diagram of an interface of a mobile phone according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a second example of an interface of a mobile phone according to an embodiment of the present application;
FIG. 4 is a third exemplary diagram of an interface of a mobile phone according to an embodiment of the present application;
FIG. 5 is a second schematic diagram of an information acquisition method according to an embodiment of the present application;
FIG. 6 is a diagram illustrating an example of an interface of a mobile phone according to an embodiment of the present application;
FIG. 7 is a fifth exemplary diagram of an interface of a mobile phone according to an embodiment of the present application;
FIG. 8 is a third diagram illustrating a method for obtaining information according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an information acquisition device according to an embodiment of the present application;
FIG. 10 is a second schematic diagram of an information acquisition device according to an embodiment of the present application;
fig. 11 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The information acquisition method provided by the embodiment of the application can be applied to the scene of the display content in the copy page of the electronic equipment, and the specific application scene can be determined according to the use requirement, so that the method is not limited.
Taking the example of copying the display content in the browser page by the electronic equipment, assuming that the page currently displayed by the electronic equipment is the browser page, when the user wants to copy three characters displayed in the browser page (the three characters are positioned at different positions in the browser page, namely, are not continuous characters), the user can trigger the electronic equipment to copy the first character so as to copy the first character into a cutting board, and then switch the page to a page (such as a contact dialogue page) to which the first character needs to be pasted for pasting; then triggering the electronic equipment to switch to the browser page again by the user, copying the second section of characters to copy the second section of characters into the cutting board, and then switching to the contact dialogue page for pasting; and finally, triggering the electronic equipment to switch to a browser page by the user, copying the first text segment, copying the third text segment to the cutting board, and switching to a contact dialogue page for pasting. Therefore, the user needs to paste the characters in the browser page for a plurality of times, so that the result of using a plurality of sections of characters can be achieved.
In the embodiment of the application, a user can input in the browser page, and the electronic equipment is triggered to display a plurality of selection frames so as to mark three sections of characters in the browser page through the plurality of selection frames, so that the electronic equipment can intercept and identify the marked display contents in the plurality of selection frames and store the identified display contents in a file, and therefore, when the contact person dialogue page is displayed, the three sections of characters can be pasted and used at the same time, thereby simplifying the operation of the user and improving the information acquisition efficiency of the electronic equipment.
The information acquisition method provided by the embodiment of the application is described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
An embodiment of the present application provides an information acquisition method, and fig. 1 shows a flowchart of the information acquisition method provided by the embodiment of the present application, where the method may be applied to an electronic device. As shown in fig. 1, the information acquisition method provided in the embodiment of the present application may include the following steps 201 to 205.
Step 201, in the case of displaying a target page, the electronic device receives a first input.
In the embodiment of the application, when the electronic device displays the target page, the user can perform first input to trigger the electronic device to display a first selection frame in the screen and mark the first content in the target page through the first selection frame, then the user can perform second input on the first control to trigger the electronic device to display at least one second selection frame in the screen and mark a plurality of contents corresponding to the first content in the target page through the at least one second selection frame, so that the electronic device can identify and acquire the first content in the first selection frame and the contents in the at least one second selection frame to store the contents in the target file.
Optionally, in the embodiment of the present application, the target page may be any page in the electronic device, where the target page may include multiple sections of text and multiple pictures, and the user may trigger the electronic device to copy the text or the pictures through input, so as to use the copied content in other pages.
Step 202, the electronic device displays a first selection frame to mark first content in a target page in response to a first input.
Optionally, in the embodiment of the present application, when the electronic device displays the first content in the first selection frame marking target page, the electronic device may perform a screen capturing operation on the first content in the first selection frame in real time, and simultaneously perform optical character recognition (Optical Character Recognition, OCR) on a picture obtained by the screen capturing, so as to extract text content or picture content in the picture (i.e. the first selection frame).
Optionally, in an embodiment of the present application, the first input includes a first sub-input and a second sub-input. The above step 202 may be specifically implemented by the following steps 202a and 202 b.
Step 202a, the electronic device displays a first checkbox at a first location in response to a first sub-input.
In the embodiment of the application, the first position is a display position where the content in the target page is matched with first key information, and the first key information is information input by a user.
Optionally, in the embodiment of the present application, the first sub-input is an input triggering the electronic device to execute the copy function (i.e. a control instruction preset to trigger the copy operation), and after the electronic device receives the first sub-input, a plurality of contents in the target page may be copied and stored at the same time according to the input of the user.
Optionally, in an embodiment of the present application, the first sub-input may be any one of the following: input of a physical key bound with the copy function, input of a preset gesture corresponding to the copy function, input of a control corresponding to the copy function in a status bar of the electronic device, and the like.
Optionally, in the embodiment of the present application, the first position is a default display position in the screen, and the user may input the first selection frame displayed in the first position to adjust the display position and size of the first selection frame in the screen.
An electronic device is exemplified as a mobile phone. As shown in fig. 2, in the case where the mobile phone displays the target page 10, the user may perform a sliding input of a preset gesture (for example, slide-input of a "Z" word in the screen) in the screen, so as to trigger the mobile phone to display the first selection frame 11 at a default position in the screen, so that the user may input the first selection frame 11, and adjust the display position and position of the first selection frame 11 to mark the content required by the user.
Step 202b, the electronic device responds to the second sub-input, and adjusts the display position and size of the first selection frame in the screen according to the input parameters of the second sub-input.
Optionally, in an embodiment of the present application, the second sub-input may be any one of the following: the method comprises the steps of dragging input of a user to a first selection frame displayed in a screen, zooming input of the user to the first selection frame displayed in the screen through two fingers, input of numerical values corresponding to the length and the width of the first selection frame by the user and the like.
Specifically, the user may click on the first selection frame and drag the first selection frame to select the first content in the frame; or the user can control the length and the width of the first selection frame in a two-point touch sliding mode, for example, the length of the first selection frame is controlled by transversely approaching or separating two points of a touch screen at the same time, the width of the first selection frame is controlled by longitudinally approaching or separating the two points of the touch screen, and the length and the width of the selection frame are controlled in equal proportion by obliquely approaching or separating the two points of the touch screen.
Optionally, in an embodiment of the present application, the input parameter of the second sub-input may be any one of the following: the dragging distance of the user to the first selection frame, the dragging distance of the user to the long side or the short side of the first selection frame, the corresponding numerical value of the length and the width of the first selection frame input by the user, and the like.
As shown in fig. 3, the user may drag and input the first selection frame 11, so that the first selection frame 11 is displayed in the area where the first content is located, so that the first content may be marked and displayed, and the user may adjust the display size of the first selection frame 11 by drag and input the four sides of the first selection frame 11, so that the first content may be completely attached.
In the embodiment of the application, after the electronic equipment responds to the first sub-input and displays the first selection frame at the first position, the user can perform the second sub-input on the first selection frame, so that the electronic equipment can adjust the display position and the display size of the first selection frame in the screen according to the input parameters of the second sub-input of the user, thereby marking the display area corresponding to the first content required by the user to identify the first content of the display area, and the flexibility of the electronic equipment in identifying and acquiring the content displayed in the page is higher.
Step 203, the electronic device receives a second input to the first control.
Optionally, in the embodiment of the present application, when the electronic device executes the copy function, a plurality of controls (for example, a new control, a save control, a cancel control, a copy control, etc.) may be displayed in a floating manner on the screen, so that when a user needs to start the electronic device to execute a certain operation, the user may input the corresponding control to trigger the electronic device to execute the corresponding operation.
Optionally, in the embodiment of the present application, the first control may be a new control, so as to trigger the electronic device to display a plurality of second marks in the screen, so that the user may select the corresponding content.
In step 204, the electronic device displays at least one second selection frame in response to the second input to mark the content corresponding to the first content in the target page.
Optionally, in the embodiment of the present application, the electronic device may retrieve at least one piece of content corresponding to the first content in the target page according to the first content marked in the first selection frame, so that when the electronic device displays at least one second selection frame, the electronic device may display at least one second selection frame in a display area corresponding to at least one piece of content corresponding to the first content in the target page.
Optionally, in the embodiment of the present application, after the electronic device displays at least one second selection frame, the user may adjust the content framed by each second selection frame by inputting each second selection frame, so that the at least one second selection frame marks multiple contents corresponding to the first content in the target page.
As shown in fig. 3, the user may trigger the mobile phone to display a plurality of controls at preset positions 12 in the screen through input, so that the user may input a new control (i.e., a first control), and as shown in fig. 4 (B), the mobile phone may display a plurality of second selection boxes 13 in the target page 10 in the area where the content corresponding to the first content is located, so as to display the corresponding content in a marked manner, so that the mobile phone may copy and store the content displayed in the marked manner at the same time.
Step 205, the electronic device intercepts and identifies an area corresponding to the first selection frame and an area corresponding to the at least one second selection frame, so as to store the first content in the first selection frame and the content in the at least one second selection frame obtained by identification in the target file.
Optionally, in the embodiment of the present application, the electronic device may identify, in real time, the content displayed in the first selection frame and the at least one second selection frame, so as to store the identified first content and the identified content in the at least one second selection frame in the target file.
Specifically, the embodiment of the application forms the content selection frame in the screen by combining the OCR technology and the screen capturing technology so as to determine the identification range according to the coordinates of the selection frame and automatically identify the frame-selected content, thereby meeting the requirement that a user can quickly and accurately acquire the required content as required.
The embodiment of the application provides an information acquisition method, wherein when an electronic device displays a target page, a user can perform first input so that the electronic device can display a first selection frame in a screen to mark first content in the target page; and the user can make a second input to the first control so that the electronic device can display at least one second selection frame to mark the content corresponding to the first content in the target page through the second selection frame, so that the area corresponding to the first selection frame and the area corresponding to the at least one second selection frame can be intercepted and identified, and the first content in the first selection frame and the content in the at least one second selection frame obtained through identification are stored in the target file. Under the condition that the electronic equipment displays the target page, a user can trigger the electronic equipment to display a first selection frame through a first input so as to mark and display first content in the target page, and can trigger the electronic equipment to display at least one second selection frame through inputting a first control after the first content is marked and displayed, so that the electronic equipment can intercept the area corresponding to the first selection frame and the area corresponding to the at least one second selection frame, identify and obtain corresponding content from the intercepted image, simultaneously store the first content in the first selection frame and the content in the at least one second selection frame in the target file, and the user does not need to trigger the electronic equipment to acquire a plurality of contents in the target page through multiple inputs, so that the operation of the user can be simplified, and the information acquisition efficiency of the electronic equipment is improved.
Optionally, in the embodiment of the present application, as shown in fig. 5 in conjunction with fig. 1, after the step 204, the information obtaining method provided in the embodiment of the present application may further include the following steps 301 to 303.
Step 301, the electronic device receives a third input to the target selection box.
In the embodiment of the present application, the target selection frame is a selection frame of the first selection frame and at least one second selection frame.
Optionally, in the embodiment of the present application, the user may input any one of the selection boxes (i.e., the selection boxes in the first selection box and the at least one second selection box) displayed in the screen of the electronic device, so as to adjust the display position and size of the selection box, thereby determining the content of the selection box mark.
Optionally, in the embodiment of the present application, the third input may be an input that triggers the electronic device to automatically identify a display area of the content; or the third input may be an input of a parameter of the target selection frame by the user; or the third input may be an input of the first key information by the user, so that the electronic device may determine the mark area of the target selection frame according to the first key information.
Optionally, in the embodiment of the present application, when the similar content is required to be screened out of the area included in the target selection frame, the text operation may be performed in real time by performing screen capturing recognition on the content in the target selection frame, and simultaneously performing OCR recognition on the screen captured image to extract text content, for example, if "small apple" is recognized in the target selection frame, the text content is scanned and recognized in the area outside the target selection frame, and when other similar content is recognized, the size of the target frame is automatically copied into several copies by judging how many similar content exist, and then the copied selection frames are translated to the area where the corresponding content is located, so as to mark the corresponding content.
In step 302, the electronic device responds to the third input, and adjusts the display position and size of the target selection frame in the screen according to the target information so as to determine the second content marked in the target page by the target selection frame.
In the embodiment of the present application, the target information includes at least one of a target coordinate, an adjustment parameter input by a user, and first key information input by the user, the second content is a content corresponding to the first key information, and the target coordinate is a coordinate corresponding to an area where the second content is located.
Optionally, in the embodiment of the present application, the electronic device may automatically identify coordinates of an area where the second content is located, so as to adjust a display position and a size of the target selection frame in the screen according to the identified coordinates of the display area.
Optionally, in the embodiment of the present application, the user may directly input the adjustment parameter (for example, the size information or the coordinate information of the target selection frame), so that the electronic device may directly determine the display position and the size of the target selection frame in the screen according to the adjustment parameter.
Optionally, in the embodiment of the present application, according to the first key information input by the user, the electronic device may automatically identify the content (i.e. the second content) corresponding to the first key information in the screen, so as to determine the display area corresponding to the content as the marking area of the target selection frame.
For example, assuming that the size of the target selection frame displayed in the electronic device screen is m×n, when the position and the size of the target selection frame need to be changed, the user may click on the target selection frame to set, for example, set the adjustment ratio t=2 times the width, and then the target selection frame is enlarged to the size of m×n, where t=2 is the height of the enlarged target selection frame, so as to implement the function of expanding the target selection frame, that is, the range of selecting the height of t areas can be expanded.
As another example, when the electronic device identifies a plurality of mark contents, calculating a minimum coverage range S of the plurality of mark contents in the screen, so as to compare a size m×n of the target selection frame with the minimum range S, and if the target selection frame can cover the minimum range S, directly translating the target selection frame to the corresponding mark contents in a translation manner; if the size m×n of the target selection frame cannot cover the plurality of mark contents, the size of the target selection frame is intelligently expanded in the same proportion, for example, the size of the minimum range S is two/or more of the sizes of the target selection frames, and the size of the automatically expanded target selection frame is (m×m) ×n, so as to determine that the target selection frame covers the corresponding mark contents.
Specifically, as shown in fig. 4 (B), for example, the user needs to select the content related to "apples" in the whole target page, and if related content exists in the first row and the third row in the screen, two ways of frame selection exist, where the first way of automatically splitting the second selection frame into two selection frames with the same size (i.e., at least one second selection frame) corresponds to the translation frame respectively to select the corresponding content; the second is to determine the corresponding height of the area containing the two parts of content, automatically expand the height of the second selection frame to the corresponding size, and then synchronously translate and cover to the area where the identified content is located.
For example, when the electronic device determines the second content corresponding to the first key information, the electronic device may determine a position of a display area corresponding to the second content in the screen, and set a lower left corner of the display area corresponding to the second content as an origin of coordinates, a lower boundary as an x axis, and a left side boundary as a y axis, and establish a rectangular coordinate system, four corners of the target selection frame are respectively: (0, 0); (x 0, 0); (x 0, y 0); (0, y 0). So that the electronic device can pass (0, 0); (x 0, 0); (x 0, y 0); the four coordinates (i.e., the target coordinates) of (0, y 0) determine the display position and size of the target selection frame, and translate the target selection frame to frame the corresponding second content.
Or the electronic device may determine the lower left corner of the screen as the origin of coordinates, the lower boundary of the screen is the x axis, the left boundary of the screen is the y axis, and a rectangular coordinate system is established, so that the four corners of the target selection frame are respectively: (x 1, y 1); (x 2, y 1); (x 2, y 2); (x 1, y 2). So that the electronic device can pass through (x 1, y 1); (x 2, y 1); (x 2, y 2); the four coordinates (i.e., the target coordinates) of (x 1, y 2) determine the display position and size of the target selection frame, and translate the target selection frame to frame the corresponding second content.
It should be noted that, before the electronic device adjusts the display position and size of the target selection frame in the screen according to the target information, the content framed by the target selection frame may include the second content and other contents, or the content framed by the target selection frame includes a part of the content in the second content (i.e., the target selection frame does not completely frame the second content), so that the electronic device may adjust the display position and size of the target selection frame in the screen according to the coordinates of the display area corresponding to the second content.
And 303, the electronic equipment stores the second content marked in the target page by the adjusted target selection frame in the target file.
Optionally, in the embodiment of the present application, the electronic device may re-identify the content displayed in the target selection frame, so as to store the identified second content in the target file.
In the embodiment of the application, the user can input any selection frame in the plurality of selection frames displayed in the electronic equipment, so that the electronic equipment can adjust the display position and the display size of the target selection frame in the screen according to the target information corresponding to the input of the user, thereby re-determining the marked content of the target selection frame in the target page as the second content and storing the second content in the target file, and the flexibility of the electronic equipment in identifying and acquiring the content displayed in the page can be improved.
Optionally, in the embodiment of the present application, after the step 205, the information obtaining method provided in the embodiment of the present application may further include steps 401 to 403 described below.
Step 401, the electronic device receives a fourth input of the second key information.
Optionally, in the embodiment of the present application, the user may modify the preset key information to modify the first key information into the second key information, so as to trigger the electronic device to redetermine the content marked by the selection frame.
In response to the fourth input, the electronic device redetermines the content of the first checkbox and the at least one second checkbox mark according to the second key information, step 402.
Alternatively, in the embodiment of the present application, the electronic device may scan and identify the content displayed in the screen according to the second key information, so as to determine the content corresponding to the second key information.
Optionally, in an embodiment of the present application, the electronic device may move the first selection frame and the at least one second selection frame to the redetermined display area of the content corresponding to the second key information, so as to mark the content.
Step 403, the electronic device stores the redetermined first selection frame and the content of the at least one second selection frame mark in the target file, records a target page corresponding to the first content of the first selection frame mark and the content of the at least one second selection frame mark, and displays a first icon in the screen to prompt the user for the recorded target page.
Optionally, in the embodiment of the present application, when the user modifies the incoming information to be the second key information, the electronic device may automatically update the size and the position of the selection frame according to the second key information, so as to update the mark content.
For example, if the first key information is "apple", and the second key information is updated to "crayfish", the selection frame is automatically identified and updated from the original marking range to a new marking range; or adding key information, the size and number of marquees may be expanded.
Optionally, in the embodiment of the present application, the electronic device may continue to store the markup page corresponding to the first key information, and form a floating icon (i.e., a first icon) by folding the markup page corresponding to the first key information (i.e., a page corresponding to a selection frame of the original content) and display the floating icon in a screen, where when a user needs to view the markup page corresponding to the first key information, the user may click the floating icon to view the floating icon; and displaying a marked page corresponding to the second key information in the screen.
In the embodiment of the application, the user can input the second key information to modify the first key information, so that the electronic equipment can be triggered to redetermine the content marked by the first selection frame and at least one second selection frame according to the second key information, the redetermined content is stored in the target file, and the marked content (namely, the first content marked by the first selection frame and the target page corresponding to the content marked by the at least one second selection frame) corresponding to the first key information is recorded by displaying the first icon in the screen, so that the user can conveniently view the marked content corresponding to the first key information again, and the flexibility of the electronic equipment for identifying and acquiring the content displayed in the page can be improved.
Optionally, in the embodiment of the present application, after the step 204, the information obtaining method provided in the embodiment of the present application may further include the following steps 501 to 504.
Step 501, the electronic device receives a sixth input.
Optionally, in the embodiment of the present application, the user may trigger the electronic device to display a plurality of controls through input, so that the user may input any control to trigger the electronic device to perform a corresponding operation.
Step 502, the electronic device displays a plurality of second controls in response to a sixth input.
Optionally, in the embodiment of the present application, the electronic device may hover display a plurality of second controls at preset positions in the screen.
Optionally, in an embodiment of the present application, the foregoing may include at least one of: new controls, save controls, undo controls, copy controls, etc.
Step 503, the electronic device receives a seventh input to a target control of the plurality of second controls.
Optionally, in the embodiment of the present application, the user may input any control (i.e., the target control) of the plurality of second controls, so as to trigger the electronic device to execute the corresponding function.
Step 504, the electronic device performs a target function corresponding to the target control in response to the seventh input.
In the embodiment of the present application, the target function is any one of the following functions: creating a selection frame, and canceling the last operation of the electronic equipment aiming at the selection frame, and storing the first content and the content in the second selection frame to a target storage position; the target storage position is a paste board or a target file, and the different second controls correspond to different functions.
Optionally, in the embodiment of the present application, in the case that the target control is a new control, the electronic device may create a selection frame in the screen, and mark and display new content; in the case where the target control is a cancel control, the electronic device may cancel a last step of operations performed by the electronic device with respect to the selection box (e.g., cancel adjusting a size or a position of the selection box); and under the condition that the target control is a storage control or a copy control, the electronic device can send the contents in the first content and the second selection frame to a target storage position, wherein when the target control is the copy control, the target storage position is a paste board, and when the target control is the storage control, the target storage position is a target file.
Optionally, in the embodiment of the present application, a minimizing control may be further included in the upper right corner of the target page (may trigger the electronic device to collect the current marked page), and the user may input the minimizing control to trigger the electronic device to collect the current page including the selection frame, where the operation may completely save the current operation state and the operation history of the user, collect the existing operation area, display the minimizing identifier (i.e., the first icon), and the electronic device may display the page before the information obtaining function is started (i.e., the target page that does not include the selection frame), so that the user may continue to browse the target page.
Optionally, in the embodiment of the present application, the user may input the minimization identifier, and trigger the electronic device to expand the frame selection page again (i.e. the target page including the selection frame). This operation restores the previous operation state and operation history of the user from the buffer area, and the user can continue with the previous content framing operation.
Optionally, in the embodiment of the present application, when the electronic device does not pack the target page including the selection frame, the user may continue to operate in the target page, but the user cannot operate the area corresponding to the selection frame, where the position of the area corresponding to the selection frame on the screen remains unchanged and does not change according to the page change.
Illustratively, in conjunction with fig. 4 (B), as shown in fig. 6 (a), the user may input the minimisation control 14 displayed in the target page 10 to trigger the mobile phone to stow the current page containing the selection frame, and record the operation state and operation history of the user in the current page, and as shown in fig. 6 (B), the mobile phone may hover display the minimisation identifier 15 in the target page 10 to indicate that the stowed target page containing the selection frame is minimised.
In the embodiment of the application, the user can trigger the electronic equipment to display a plurality of second controls through input and input the target control in the plurality of second controls, and trigger the electronic equipment to execute the target function corresponding to the target control, so that the flexibility of the electronic equipment to identify and acquire the content displayed in the page can be improved.
Optionally, in an embodiment of the present application, the target file includes at least one subfile. The above-mentioned "saving the first content in the identified first selection frame and the content in the at least one second selection frame in the target file" in step 205 may be specifically implemented by step 205a or step 205b described below.
In step 205a, the electronic device stores the first content in the first selection frame and the content in the at least one second selection frame in at least one sub-file in the target file respectively.
In the embodiment of the present application, one of the first content in the first selection frame and the content in the at least one second selection frame corresponds to one of the at least one subfile.
Optionally, in the embodiment of the present application, the electronic device may generate a folder on the desktop, so that when the user selects to save, the selected content may be saved in the folder.
Optionally, in the embodiment of the present application, the electronic device may divide the content corresponding to each selection frame into different files for saving, so as to save each content into one sub-file respectively.
It can be understood that the first content in the first selection frame and the content in the at least one second selection frame can be regarded as a mode of automatically dividing one document into a plurality of documents for saving, or a mode of automatically dividing a text/article into pictures and texts for saving in a plurality of subfiles. The pictures and texts selected by the selection frame can be divided and respectively stored, so that different contents (namely, characters and pictures) can be conveniently extracted and stored, and the independent pictures and the independent characters can be stored. For example, the content in the page is a mode of combining a plurality of pictures and texts, and the pictures and texts are respectively stored in separate documents, namely, are stored for forming different subfiles.
Step 205b, the electronic device stores the first content in the first selection frame and the content combination in the at least one second selection frame in the same sub-file in the target file.
Optionally, in the embodiment of the present application, the electronic device may splice all the marked contents sequentially from top to bottom into one file and store the file.
Optionally, in the embodiment of the present application, when the electronic device saves the file, a detailed time point may be recorded correspondingly, so as to distinguish files saved at different times. Meanwhile, the folder can be displayed according to the stored time point, so that the user can check conveniently.
The above-mentioned combined storage mode belongs to a synthetic storage method, for example, in the form of figures and characters, and is formed into a complete whole file by combining the figures and characters. For example, if the page comprises pictures and words, the pictures and words can be combined and stored integrally in a mode of combining pictures and words; or the content (including words and pictures) which belongs to different areas in the page originally can be stored by classifying and combining the pictures and words with similar content.
For example, in connection with fig. 4 (a), as shown in fig. 7 (a), after the user inputs a save control among a plurality of controls displayed in a preset position 12 in the screen, the mobile phone may display a save mode selection control 16 to prompt the user to save the content marked in the first selection frame 11 and the content marked in the plurality of second selection frames 13 in different files or in the same file. As shown in (B) of fig. 7, a plurality of subfiles may be included in the target file to correspond to a plurality of contents stored in the electronic device.
According to the embodiment of the application, the electronic equipment can store the first content in the first selection frame and the content in the at least one second selection frame in at least one subfile in the target file respectively according to the input of the user so as to store a plurality of contents separately; or the electronic device can store the first content in the first selection frame and the content combination in the at least one second selection frame in the same sub-file in the target file, so as to store a plurality of content combinations, thereby improving the flexibility of the electronic device for storing the acquired content.
Optionally, in the embodiment of the present application, as shown in fig. 8 in conjunction with fig. 1, after step 205, the information obtaining method provided in the embodiment of the present application may further include the following steps 601 and 602.
Step 601, the electronic device receives a fifth input for a target file.
Optionally, in the embodiment of the present application, a user may input a target file in the electronic device, so as to edit content in the target file, and classify at least one subfile included in the target file.
In response to the fifth input, the electronic device classifies at least one subfile included in the target file according to the target classification, and reorders according to the classification result 602.
In the embodiment of the present application, the above-mentioned target classification mode is any one of the following: the classification mode of the classification category is preset, the classification mode of the screening information is set by a user, and the classification mode of the classification is automatically carried out by a clustering algorithm.
Optionally, in the embodiment of the present application, the electronic device may reorder at least one sub-file included in the target file according to the input of the user, so as to automatically classify and reorder according to the preset categories, for example, three categories (category 1, category 2, and category 3) are preset, the electronic device classifies the plurality of sub-files into the three categories according to the similarity of the content, and when the similarity of the content is greater than or equal to the preset threshold, classifies the sub-files into corresponding categories, and then ranks the categories, so as to implement automatic combined ranking of the files.
Optionally, in the embodiment of the present application, under the condition that the user does not set the categories in advance, the electronic device may directly use a clustering manner to automatically aggregate all the sub-documents into N categories, and then automatically sort the categories.
Optionally, in the embodiment of the present application, the user may set the target content in advance, so that the electronic device screens out subfiles similar to the target content from the multiple subfiles and classifies the remaining subfiles into one type, thereby implementing automatic classification of the multiple subfiles into the target type and other types, obtaining the corresponding classification result, and sorting the subfiles.
Optionally, in the embodiment of the present application, the electronic device may further generate a preview interface according to the content and the sequence selected by the user, and provide an editing function, so that the user may edit and typeset the content again in the preview interface.
Optionally, in the embodiment of the application, the electronic device can provide some typesetting templates for users to select, so that the users can conveniently and rapidly edit the content in the document, and the text or picture content can be rapidly filled into the templates, thereby achieving the functions of beautifying and conveniently displaying.
Optionally, in the embodiment of the present application, after editing the content in the document, the electronic device may generate an electronic version and share the electronic version, so as to export the integrated document to the electronic document or share the integrated document to the friend. Wherein the exported electronic document supports a variety of document formats, such as: html format, excel format, word format, pdf format, txt format, and the like.
Optionally, in the embodiment of the application, the user can trigger the electronic device to open up a temporary storage space on the cloud to package the file and set the sharing effective duration, and upload the file to the cloud storage space, so that the requirement of information sharing between the user and friends can be met, and resources can be recovered and canceled in a timed manner.
In the embodiment of the application, after the electronic equipment stores a plurality of contents in the target file, at least one sub-file included in the target file can be classified according to the input of the user in a target classification mode, and the sub-files are reordered according to the classification result, so that the arrangement sequence of the sub-files in the target file can be adjusted according to the use requirement of the user, and the processing efficiency of the electronic equipment on the file can be improved.
It should be noted that, in the information acquisition method provided in the embodiment of the present application, the execution subject may be an information acquisition device, or a control module in the information acquisition device for executing the information acquisition method. In the embodiment of the application, an information acquisition device is taken as an example to execute a loading information acquisition method.
Fig. 9 shows a schematic diagram of one possible configuration of an information acquisition apparatus involved in an embodiment of the present application. As shown in fig. 9, the information acquisition device 70 may include: a receiving module 71, a display module 72, a processing module 73 and a saving module 74.
The receiving module 71 is configured to receive a first input when the target page is displayed. The display module 72 is configured to display a first selection frame to mark the first content in the target page in response to the first input received by the receiving module 71. The receiving module 71 is further configured to receive a second input to the first control. The display module 72 is further configured to display at least one second selection frame to mark the content corresponding to the first content in the target page in response to the second input received by the receiving module 71. And the processing module 73 is configured to intercept and identify an area corresponding to the first selection frame and an area corresponding to at least one second selection frame. A saving module 74, configured to save the first content in the first selection frame and the content in the at least one second selection frame identified by the processing module 73 in the target file.
In one possible implementation, the first input includes a first sub-input and a second sub-input. The display module 72 is specifically configured to display, in response to the first sub-input, the first selection frame at a first position, where the first position is a display position where the content in the target page matches first key information, and the first key information is information input by the user. The display module 72 is specifically further configured to adjust a display position and a size of the first selection frame in the screen according to an input parameter of the second sub-input in response to the second sub-input.
In a possible implementation, the receiving module 71 is further configured to receive a third input to the target selection frame after the display module 72 displays at least one second selection frame to mark the content in the target page corresponding to the first content. As shown in fig. 10, the information acquisition apparatus 70 provided in the embodiment of the present application may further include: an adjustment module 75. Wherein, the adjustment module 75 is configured to adjust the display position and size of the target selection frame in the screen according to the target information in response to the third input received by the receiving module 71. The saving module 74 is further configured to save the second content marked in the target page by the adjusted target selection frame in the target file. The target selection frame is a selection frame in the first selection frame and at least one second selection frame, the target information comprises at least one of target coordinates, adjustment parameters input by a user and first key information input by the user, and the second content is content corresponding to the first key information.
In a possible implementation, the receiving module 71 is further configured to receive a fourth input of the second key information after the saving module 74 saves the identified first content in the first selection frame and the content in the at least one second selection frame in the target file. The information acquisition device 70 provided in the embodiment of the present application may further include: and a determining module. Wherein the determining module is configured to re-determine the content of the first selection frame and the at least one second selection frame mark according to the second key information in response to the fourth input received by the receiving module 71. The saving module 74 is further configured to save the redetermined first selection frame and the content marked by the at least one second selection frame in the target file, and record a target page corresponding to the first content marked by the first selection frame and the content marked by the at least one second selection frame. The display module 72 is further configured to display a first icon on the screen to prompt the user for a target page recorded by the user.
In one possible implementation, the target file includes at least one subfile. A saving module 74, configured to save the first content in the first selection frame and the content in the at least one second selection frame in at least one sub-file in the target file, where one content corresponds to one sub-file; or the first content in the first selection frame and the content combination in the at least one second selection frame are stored in the same sub-file in the target file.
In a possible implementation, the receiving module 71 is further configured to receive a fifth input for the target file after the saving module 74 saves the first content in the identified first selection box and the content in the at least one second selection box in the target file. The processing module 73 is further configured to classify at least one subfile included in the target file according to the target classification mode in response to the fifth input received by the receiving module 71, and reorder the subfiles according to the classification result. Wherein, the target classification mode is any one of the following: the classification mode of the classification category is preset, the classification mode of the screening information is set by a user, and the classification mode of the classification is automatically carried out by a clustering algorithm.
The information acquisition device provided by the embodiment of the application can realize each process realized by the information acquisition device in the method embodiment, and detailed description is omitted here for avoiding repetition.
The embodiment of the application provides an information acquisition device, wherein under the condition that an electronic device displays a target page, a user can trigger the electronic device to display a first selection frame through a first input so as to mark and display first content in the target page, and after the first content is marked and displayed, the electronic device can be triggered to display at least one second selection frame through inputting a first control so as to mark content corresponding to the first content in the target page through the second selection frames, so that the electronic device can intercept the area corresponding to the first selection frame and the area corresponding to the at least one second selection frame, identify and obtain corresponding content from the intercepted image, simultaneously store the first content in the first selection frame and the content in the at least one second selection frame in the target file, and the user does not need to acquire a plurality of contents in the target page by inputting the first control for multiple times, thereby simplifying the operation of the user and improving the information acquisition efficiency of the electronic device.
The information acquisition device in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The information acquisition device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
Optionally, the embodiment of the present application further provides an electronic device, including a processor 110, a memory 109, and a program or an instruction stored in the memory 109 and capable of running on the processor 110, where the program or the instruction implements each process of the embodiment of the information obtaining method when executed by the processor 110, and the process can achieve the same technical effect, so that repetition is avoided, and no redundant description is provided herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine some components, or may be arranged in different components, which are not described in detail herein.
Wherein the user input unit 107 is configured to receive a first input in case of displaying a target page.
And a display unit 106 for displaying a first selection frame to mark the first content in the target page in response to the first input.
The user input unit 107 is further configured to receive a second input to the first control.
The display unit 106 is further configured to display at least one second selection frame to mark content corresponding to the first content in the target page in response to the second input.
And the processor 110 is configured to intercept and identify an area corresponding to the first selection frame and an area corresponding to at least one second selection frame.
And a memory 109 for storing the first content in the first selection frame and the content in the at least one second selection frame in the target file.
The embodiment of the application provides electronic equipment, wherein under the condition that the electronic equipment displays a target page, a user can trigger the electronic equipment to display a first selection frame through a first input so as to mark and display first content in the target page, and after the first content is marked and displayed, the electronic equipment can be triggered to display at least one second selection frame through inputting a first control so as to mark the content corresponding to the first content in the target page through the second selection frames, so that the electronic equipment can intercept the area corresponding to the first selection frame and the area corresponding to the at least one second selection frame, identify and obtain the corresponding content from the intercepted image, simultaneously store the first content in the first selection frame and the content in the at least one second selection frame in the target file, and the user does not need to input and trigger the electronic equipment to acquire a plurality of contents in the target page for multiple times, thereby simplifying the operation of the user and improving the information acquisition efficiency of the electronic equipment.
Optionally, the display unit 106 is specifically configured to display, in response to the first sub-input, a first selection frame at a first position, where the first position is a display position where the content in the target page matches first key information, and the first key information is preset information; and in response to the second sub-input, adjusting the display position and size of the first selection frame in the screen according to the input parameters of the second sub-input.
In the embodiment of the application, after the electronic equipment responds to the first sub-input and displays the first selection frame at the first position, the user can perform the second sub-input on the first selection frame, so that the electronic equipment can adjust the display position and the display size of the first selection frame in the screen according to the input parameters of the second sub-input of the user, thereby marking the display area corresponding to the first content required by the user to identify the first content of the display area, and the flexibility of the electronic equipment in identifying and acquiring the content displayed in the page is higher.
The user input unit 107 is further configured to receive a third input to the target selection box.
The processor 110 is further configured to adjust a display position and a size of the target selection frame in the screen according to the target information in response to the third input, so as to determine second content marked in the target page by the target selection frame.
The memory 109 is further configured to store the second content marked in the target page by the adjusted target selection frame in the target file.
In the embodiment of the application, the user can input any selection frame in the plurality of selection frames displayed in the electronic equipment, so that the electronic equipment can adjust the display position and the display size of the target selection frame in the screen according to the target information corresponding to the input of the user, thereby re-determining the marked content of the target selection frame in the target page as the second content and storing the second content in the target file, and the flexibility of the electronic equipment in identifying and acquiring the content displayed in the page can be improved.
The user input unit 107 is further configured to receive a fourth input of the second key information.
The processor 110 is further configured to re-determine the content of the first selection frame and the at least one second selection frame marker based on the second key information in response to the fourth input.
The memory 109 is further configured to store the redetermined first selection frame and the content marked by the at least one second selection frame in the target file, and record a target page corresponding to the first content marked by the first selection frame and the content marked by the at least one second selection frame.
The display unit 106 is further configured to display a first icon on the screen to prompt the user for a target page recorded.
In the embodiment of the application, the user can input the second key information to modify the first key information, so that the electronic equipment can be triggered to redetermine the content marked by the first selection frame and at least one second selection frame according to the second key information, the redetermined content is stored in the target file, and the marked content (namely, the first content marked by the first selection frame and the target page corresponding to the content marked by the at least one second selection frame) corresponding to the first key information is recorded by displaying the first icon in the screen, so that the user can conveniently view the marked content corresponding to the first key information again, and the flexibility of the electronic equipment for identifying and acquiring the content displayed in the page can be improved.
The memory 109 is specifically configured to store the first content in the first selection frame and the content in the at least one second selection frame in at least one subfile in the target file, where one content corresponds to one subfile; or the first content in the first selection frame and the content combination in the at least one second selection frame are stored in the same sub-file in the target file.
According to the embodiment of the application, the electronic equipment can store the first content in the first selection frame and the content in the at least one second selection frame in at least one subfile in the target file respectively according to the input of the user so as to store a plurality of contents separately; or the electronic device can store the first content in the first selection frame and the content combination in the at least one second selection frame in the same sub-file in the target file, so as to store a plurality of content combinations, thereby improving the flexibility of the electronic device for storing the acquired content.
The user input unit 107 is further configured to receive a fifth input for the target file.
The processor 110 is further configured to classify at least one subfile included in the target file according to a target classification mode in response to the fifth input, and reorder according to the classification result.
In the embodiment of the application, after the electronic equipment stores a plurality of contents in the target file, at least one sub-file included in the target file can be classified according to the input of the user in a target classification mode, and the sub-files are reordered according to the classification result, so that the arrangement sequence of the sub-files in the target file can be adjusted according to the use requirement of the user, and the processing efficiency of the electronic equipment on the file can be improved.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g. a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-described information acquisition method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the information acquisition method, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (14)

1. An information acquisition method, the method comprising:
receiving a first input under the condition of displaying a target page;
responding to the first input, displaying a first selection frame to mark first content in the target page, and performing screen capturing on the first content in the first selection frame to perform OCR (optical character recognition) on a picture obtained by screen capturing, and extracting text content or image content of the picture;
receiving a second input to the first control;
displaying at least one second selection frame in response to the second input to mark content in the target page similar to the text content or the image content of the picture;
Intercepting and identifying the area corresponding to the first selection frame and the area corresponding to the at least one second selection frame, and storing the first content in the first selection frame and the content in the at least one second selection frame obtained through identification in a target file.
2. The method of claim 1, wherein the first input comprises a first sub-input and a second sub-input;
The displaying a first selection frame in response to the first input, comprising:
Responding to the first sub-input, displaying the first selection frame at a first position, wherein the first position is a display position of the target page, the content of which is matched with first key information, and the first key information is information input by a user;
And responding to the second sub-input, and adjusting the display position and the display size of the first selection frame in the screen according to the input parameters of the second sub-input.
3. The method of claim 1, wherein after displaying at least one second marquee to mark content in the target page that is similar to the textual content or the image content of the picture, the method further comprises:
receiving a third input to the target selection frame;
adjusting the display position and the size of the target selection frame in the screen according to the target information in response to the third input;
Storing the second content marked in the target page by the adjusted target selection frame in a target file;
The target selection frame is a selection frame in the first selection frame and the at least one second selection frame, the target information comprises at least one of target coordinates, adjustment parameters input by a user and first key information input by the user, and the second content is content corresponding to the first key information.
4. The method of claim 3, wherein after the storing the identified first content in the first selection box and the identified content in the at least one second selection box in the target file, the method further comprises:
receiving a fourth input of the second key information;
responsive to the fourth input, redetermining content of the first checkbox and the at least one second checkbox mark according to the second key information;
Storing the redetermined contents of the first selection frame and the at least one second selection frame mark in the target file, recording the target page corresponding to the first contents of the first selection frame mark and the contents of the at least one second selection frame mark, and displaying a first icon in a screen to prompt a user to record the target page.
5. The method of any one of claims 1 to 4, wherein the target file comprises at least one subfile;
The storing the first content in the first selection frame and the content in the at least one second selection frame obtained through recognition in a target file comprises the following steps:
Storing the first content in the first selection frame and the content in the at least one second selection frame in the at least one subfile in the target file respectively, wherein one content corresponds to one subfile;
Or alternatively
And storing the first content in the first selection frame and the content combination in the at least one second selection frame in the same sub-file in the target file.
6. The method of any one of claims 1 to 4, wherein after the storing of the identified first content in the first selection box and the identified content in the at least one second selection box in the target file, the method further comprises:
receiving a fifth input for the target file;
Classifying at least one subfile included in the target file in a target classification manner in response to the fifth input, and reordering according to a classification result;
Wherein, the target classification mode is any one of the following: the classification mode of the classification category is preset, the classification mode of the screening information is set by a user, and the classification mode of the classification is automatically carried out by a clustering algorithm.
7. An information acquisition apparatus, characterized in that the information acquisition apparatus includes: the device comprises a receiving module, a display module, a processing module and a storage module;
the receiving module is used for receiving a first input under the condition of displaying a target page;
the display module is used for responding to the first input received by the receiving module and displaying a first selection frame so as to mark first content in the target page;
the processing module is used for performing screen capturing on the first content in the first selection frame so as to perform OCR (optical character recognition) on a picture obtained by screen capturing and extract text content or image content of the picture;
the receiving module is further used for receiving a second input to the first control;
The display module is further used for displaying at least one second selection frame in response to the second input received by the receiving module so as to mark the content similar to the text content or the image content of the picture in the target page;
the processing module is used for intercepting and identifying the area corresponding to the first selection frame and the area corresponding to the at least one second selection frame;
The storage module is used for storing the first content in the first selection frame and the content in the at least one second selection frame, which are obtained by the processing module in a recognition mode, in a target file.
8. The information acquisition apparatus according to claim 7, wherein the first input includes a first sub-input and a second sub-input;
the display module is specifically configured to respond to the first sub-input, display the first selection frame at a first position, where the first position is a display position where content in the target page matches first key information, and the first key information is information input by a user;
the display module is specifically further configured to respond to the second sub-input, and adjust a display position and a display size of the first selection frame in the screen according to an input parameter of the second sub-input.
9. The information acquisition device of claim 7, wherein the receiving module is further configured to receive a third input to a target selection frame after the display module displays at least one second selection frame to mark content in the target page that is similar to the text content or the image content of the picture;
the information acquisition device further includes: an adjustment module;
the adjusting module is used for responding to the third input received by the receiving module and adjusting the display position and the size of the target selection frame in the screen according to the target information;
the storage module is further used for storing the second content marked in the target page by the adjusted target selection frame in a target file;
The target selection frame is a selection frame in the first selection frame and the at least one second selection frame, the target information comprises at least one of target coordinates, adjustment parameters input by a user and first key information input by the user, and the second content is content corresponding to the first key information.
10. The information acquisition apparatus according to claim 9, wherein the receiving module is further configured to receive a fourth input of second key information after the saving module saves the identified first content in the first selection frame and the identified content in the at least one second selection frame in a target file;
The information acquisition device further includes: a determining module;
The determining module is used for responding to the fourth input received by the receiving module and re-determining the content marked by the first selection frame and the at least one second selection frame according to the second key information;
the storage module is further configured to store the redetermined contents of the first selection frame and the at least one second selection frame in the target file, and record the target page corresponding to the first contents of the first selection frame and the contents of the at least one second selection frame;
the display module is further used for displaying a first icon in the screen so as to prompt the user to record the target page.
11. The information acquisition apparatus according to any one of claims 7 to 10, wherein the target file includes at least one subfile;
The storage module is specifically configured to store, in the at least one sub-file in the target file, a first content in the first selection frame and a content in the at least one second selection frame respectively, where one content corresponds to one sub-file; or the first content in the first selection frame and the content combination in the at least one second selection frame are stored in the same sub-file in the target file.
12. The information acquisition apparatus according to any one of claims 7 to 10, wherein the receiving module is further configured to receive a fifth input for the target file after the saving module saves the identified first content in the first selection frame and the identified content in the at least one second selection frame in the target file;
The processing module is further configured to classify at least one subfile included in the target file according to a target classification manner in response to the fifth input received by the receiving module, and reorder the subfiles according to a classification result;
Wherein, the target classification mode is any one of the following: the classification mode of the classification category is preset, the classification mode of the screening information is set by a user, and the classification mode of the classification is automatically carried out by a clustering algorithm.
13. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor implements the steps of the information retrieval method according to any one of claims 1 to 6.
14. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the information acquisition method according to any one of claims 1 to 6.
CN202110121205.5A 2021-01-28 2021-01-28 Information acquisition method and device and electronic equipment Active CN112947826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110121205.5A CN112947826B (en) 2021-01-28 2021-01-28 Information acquisition method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110121205.5A CN112947826B (en) 2021-01-28 2021-01-28 Information acquisition method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112947826A CN112947826A (en) 2021-06-11
CN112947826B true CN112947826B (en) 2024-05-10

Family

ID=76238982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110121205.5A Active CN112947826B (en) 2021-01-28 2021-01-28 Information acquisition method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112947826B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377220B (en) * 2021-06-30 2023-05-05 维沃移动通信(杭州)有限公司 Information storage method and device
CN114863907B (en) * 2022-07-07 2022-10-28 北京中电慧声科技有限公司 Marking method and device for text-to-speech processing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375980A (en) * 2014-11-18 2015-02-25 小米科技有限责任公司 Selection method and device for text content
CN107967093A (en) * 2017-12-21 2018-04-27 维沃移动通信有限公司 A kind of multistage text clone method and mobile terminal
CN108416018A (en) * 2018-03-06 2018-08-17 北京百度网讯科技有限公司 Screenshotss searching method, device and intelligent terminal
CN110045897A (en) * 2019-03-12 2019-07-23 维沃移动通信有限公司 A kind of information display method and terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10216368B2 (en) * 2016-11-14 2019-02-26 Microsoft Technology Licensing, Llc Layered content selection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375980A (en) * 2014-11-18 2015-02-25 小米科技有限责任公司 Selection method and device for text content
CN107967093A (en) * 2017-12-21 2018-04-27 维沃移动通信有限公司 A kind of multistage text clone method and mobile terminal
CN108416018A (en) * 2018-03-06 2018-08-17 北京百度网讯科技有限公司 Screenshotss searching method, device and intelligent terminal
CN110045897A (en) * 2019-03-12 2019-07-23 维沃移动通信有限公司 A kind of information display method and terminal device

Also Published As

Publication number Publication date
CN112947826A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
EP3024213B1 (en) Image scanning apparatus and method for controlling the same
US7610274B2 (en) Method, apparatus, and program for retrieving data
US8726178B2 (en) Device, method, and computer program product for information retrieval
CN100382096C (en) Document scanner
US20080107337A1 (en) Methods and systems for analyzing data in media material having layout
JP5743443B2 (en) Image processing apparatus, image processing method, and computer program
US20120131520A1 (en) Gesture-based Text Identification and Selection in Images
US9372872B2 (en) Display control apparatus, display control method, and storage medium for displaying a content of a file on a display apparatus
US20160259766A1 (en) Ink experience for images
US20120159385A1 (en) Snipping tool
CN112947826B (en) Information acquisition method and device and electronic equipment
JP2000115476A (en) System and method for operating area of scanned image
JP2010072842A (en) Image processing apparatus and image processing method
US11914951B2 (en) Semantically-guided template generation from image content
US8023735B2 (en) Image processing apparatus for extracting representative characteristic from image data and storing image data to be associated with representative characteristic
JP2018097580A (en) Information processing device and program
US20070233675A1 (en) Document management device, document management method and document management program
JP2008040753A (en) Image processor and method, program and recording medium
CN111581922A (en) Document processing method, device, equipment and medium based on document editing software
JP2000322417A (en) Device and method for filing image and storage medium
US20150089335A1 (en) Smart processing of an electronic document
US11380032B2 (en) Image information processing apparatus, method and non-transitory computer readable medium storing program
US11010978B2 (en) Method and system for generating augmented reality interactive content
CN113436297A (en) Picture processing method and electronic equipment
US20230186540A1 (en) Information processing apparatus, information processing method, and storage medium

Legal Events

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