CN110297925B - Data processing method and device and electronic equipment - Google Patents

Data processing method and device and electronic equipment Download PDF

Info

Publication number
CN110297925B
CN110297925B CN201910581810.3A CN201910581810A CN110297925B CN 110297925 B CN110297925 B CN 110297925B CN 201910581810 A CN201910581810 A CN 201910581810A CN 110297925 B CN110297925 B CN 110297925B
Authority
CN
China
Prior art keywords
information
application
classification
image
frame
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
CN201910581810.3A
Other languages
Chinese (zh)
Other versions
CN110297925A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910581810.3A priority Critical patent/CN110297925B/en
Publication of CN110297925A publication Critical patent/CN110297925A/en
Application granted granted Critical
Publication of CN110297925B publication Critical patent/CN110297925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/55Clustering; Classification
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a data processing method, a data processing device and electronic equipment, wherein the method comprises the following steps: the method comprises the steps of obtaining a first operation, wherein the first operation is used for obtaining at least one frame of image of current display content, obtaining first information of the current running state of the electronic equipment according to the first operation, and determining classification of the at least one frame of image according to the first information. According to the data processing method, the data processing device and the electronic equipment, when a user triggers a first operation, the relevant information of the current running state of the electronic equipment can be automatically detected and acquired, and the acquired information is used as a classification basis for the acquired image or video data, so that a subsequent user wants to search certain image video data, the search range can be rapidly narrowed and determined according to the known classification information, and the data search efficiency is improved.

Description

Data processing method and device and electronic equipment
Technical Field
The present application relates to data processing technologies, and in particular, to a data processing method and apparatus, and an electronic device.
Background
The mobile terminal is an important tool for people to communicate and work in a mobile manner, and when people use the mobile terminal, contents displayed on a display screen need to be selectively stored, so that the information can be conveniently and smoothly acquired when the information is needed. However, as more and more display contents are selectively saved by people, a user often needs to spend more effort and time in searching for a certain data content saved before in the later period.
Disclosure of Invention
Accordingly, the present invention is directed to a method for overcoming the problems in the art.
In order to achieve the purpose, the invention provides the following technical scheme:
a method of data processing, comprising:
obtaining a first operation, wherein the first operation is used for obtaining at least one frame of image of the current display content;
according to the first operation, first information of the current running state of the electronic equipment is obtained;
and determining the classification of the at least one frame of image according to the first information.
Optionally, if the first information of the current operating state includes information of an application currently being displayed and operated, the obtaining the first information of the current operating state of the electronic device according to the first operation includes:
according to the first operation, detecting application information of an application of the electronic equipment in a display state at present, wherein the application information comprises an application type;
determining a classification of the at least one frame of image according to the first information comprises:
determining a classification of the at least one frame of image based on the application type.
Optionally, if the first information of the current operating state includes a current operating mode of the electronic device, the determining, according to the first information, the classification of the at least one frame of image includes:
and classifying the at least one frame of image based on the current operation mode of the mobile phone.
Optionally, when the first operation is used to acquire at least two frames of images of a current display content, and the at least two frames of images are from different applications, the determining, according to the first information, a classification of the at least one frame of image includes:
and determining the classification of the at least two frames of images based on the first information and a preset multi-application strategy, wherein the multi-application strategy is a strategy for determining one application from at least two different applications.
Optionally, the multi-application policy includes: and determining a first application according to the category priority, the shooting time or the screen occupation ratio of different applications, wherein the first application is used for determining the classification of the at least two frames of images.
Optionally, after determining the classification of the at least one frame of image according to the first information, the method further includes:
determining a classification corresponding to first information input by a user based on the first information;
and displaying and outputting the image information or the video information under the classification.
Optionally, the method further includes:
acquiring input information of a user in the running process of the application;
said determining a classification of said at least one frame of image based on said application type comprises:
determining a classification of the at least one frame of image based on the input information and the application type.
Optionally, if the application information further includes an active interface, the determining the classification of the at least one frame of image according to the first information includes:
determining a classification of the at least one frame of image based on the application type and the active interface.
A data processing apparatus comprising:
the operation acquisition module is used for acquiring a first operation, wherein the first operation is used for acquiring at least one frame of image of the current display content;
the information acquisition module is used for acquiring first information of the current running state of the electronic equipment according to the first operation;
and the classification determining module is used for determining the classification of the at least one frame of image according to the first information.
An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the executable instructions to perform the data processing method of any of claims 1-8.
As can be seen from the foregoing technical solutions, compared with the prior art, an embodiment of the present invention discloses a data processing method, an apparatus, and an electronic device, where the method includes: the method comprises the steps of obtaining a first operation, wherein the first operation is used for obtaining at least one frame of image of current display content, obtaining first information of the current running state of the electronic equipment according to the first operation, and determining classification of the at least one frame of image according to the first information. According to the data processing method, the data processing device and the electronic equipment, when a user triggers a first operation, the relevant information of the current running state of the electronic equipment can be automatically detected and acquired, and the acquired information is used as a classification basis for the acquired image or video data, so that a subsequent user wants to search certain image video data, the search range can be rapidly narrowed and determined according to the known classification information, and the data search efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another data processing method disclosed in the embodiments of the present invention;
FIG. 3 is a flow chart of a third data processing method disclosed in the embodiments of the present invention;
FIG. 4 is a flowchart of a fourth data processing method disclosed in the embodiments of the present invention;
FIG. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another data processing apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a third data processing apparatus according to an embodiment of the disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the application can be applied to electronic equipment, and the electronic equipment can be mobile terminals such as mobile phones and tablet computers, and can also be other electronic equipment with image shooting and data processing functions.
Fig. 1 is a flowchart of a data processing method according to an embodiment of the present invention, and referring to fig. 1, the data processing method may include:
step 101: obtaining a first operation, wherein the first operation is used for acquiring at least one frame of image of the current display content.
The first operation may be a screenshot operation or a screen recording operation. When the first operation is screenshot operation, acquiring a frame of image, namely static image data; when the first operation is screen recording operation, video data at least comprising two frames of images is acquired.
The first operation may be a single click operation, and specifically may be an operation that a user clicks on a screen capture function selection page to trigger screen capture to be executed. The first operation may also be a double-click operation, a first click operation in the double-click operation may be an operation for clicking a selected page in the screen capture function to trigger screen recording to be started, and a second click operation in the double-click operation may be an operation for clicking a selected page to trigger screen recording to be terminated. Because the screen recording operation needs to acquire two frames of images at least and needs a certain time for acquiring at least two frames of images, the time interval between the first click operation and the second click operation in the double-click operation can be larger than a preset value, and the preset value can be 1 second. Of course, in this embodiment, specific content of the first operation is not specifically limited, and the first operation may be triggered to start the operation of acquiring an image on the electronic device.
After step 101, the process proceeds to step 102.
Step 102: and obtaining first information of the current running state of the electronic equipment according to the first operation.
The current operation state of the electronic device may be a state of an operation mode of the electronic device, or a state of an application running on the electronic device.
In a scene that the current operation state is the operation mode of the mobile phone, the first information of the current operation state includes the current operation mode, such as a game mode, a flight mode, a night mode, and the like, and after the current operation mode of the electronic device is determined, the at least one acquired frame of image may be subsequently classified according to the determined operation mode.
When the current running state is a running application state, the first information of the current running state includes information of the currently running application being displayed, and the information of the application may be, but is not limited to, any one of an application type, an application name, and an active interface. After the application information is determined, the at least one acquired frame of image may be subsequently classified according to the determined application information.
Of course, in this embodiment, the current operating state of the electronic device is described by taking the operating mode and the operating application state of the electronic device as examples, and in practical applications, the current operating state of the electronic device may further include other contents, such as the system time, the location, and the like of the electronic device when the first operation is obtained. For example, when a user goes abroad to learn, a plurality of images are acquired through screen recording or screen capturing operation in the learning process, and all the images are recorded with corresponding position information when acquiring, namely, the position of the electronic equipment (which can be determined through satellite positioning service) when acquiring the images, the system can automatically store the images and video information generated or acquired in a certain country or position in a folder named as a learning place name according to the position information, so that when a subsequent user needs to search a certain image in foreign learning from massive image data, the subsequent user can directly search the file named as the learning place name without sequentially browsing all the images and videos which are mixed together.
Step 103: and determining the classification of the at least one frame of image according to the first information.
After the first information is determined, the at least one frame of image may be classified directly with the first information as a classification criterion. For example, when the first information is an application name, the application name is directly used as a classification name, and the at least one frame of image is classified under the classification of the application name.
In this embodiment, the data processing method can automatically detect and acquire the relevant information of the current operating state of the electronic device when the user triggers the first operation, and use the acquired information as a classification basis for the acquired image or video data, so that a subsequent user wants to search for certain image video data, and can quickly reduce and determine a search range according to the known classification information, thereby improving data search efficiency.
Fig. 2 is a flowchart of another data processing method disclosed in the embodiment of the present invention, as shown in fig. 2, in another implementation, the data processing method may include:
step 201: obtaining a first operation, wherein the first operation is used for acquiring at least two frames of images of the current display content.
In this embodiment, at least two frames of images are acquired, so the first operation may be a screen recording operation. Wherein the at least two frames of images may be from different applications.
Step 202: according to the first operation, detecting application information of an application of the electronic equipment in a display state at present, wherein the application information comprises an application type.
When the at least two images obtained by the first operation are from different applications, application information of the different applications can be detected.
The following description is made for a case where the screen recording content includes a plurality of applications. In the screen recording time period, multiple applications can be simultaneously displayed on the display screen, for example, in the navigation driving process, the communication application has a new message, prompt information pops up above the display interface, in order to avoid missing important information, a user can select to view the new message of the communication application, but the navigation system still continues to display navigation information, at this time, the display screen of the electronic device can be divided into an upper area and a lower area, the upper area is used for displaying a communication application page, and the lower area is used for displaying a navigation application page.
For another example, in the screen recording period, the user first operates the page of the first application, then opens the second application, and operates the second application page, so that two applications also appear in the video obtained by screen recording.
Step 203: and determining the classification of the at least two frames of images based on the first information and a preset multi-application strategy, wherein the multi-application strategy is a strategy for determining one application from at least two different applications.
Wherein the multi-application policy may include, but is not limited to: and determining a first application according to the category priority, the shooting time or the screen occupation ratio of different applications, wherein the first application is used for determining the classification of the at least two frames of images.
For example, when the first operation is used to obtain at least two frames of images of the currently displayed content, and the at least two frames of images are from different applications, application information of multiple applications is detected, and at this time, a first application needs to be determined from the multiple applications, and the at least two frames of images are classified according to the application information of the first application. Each application has a priority level in the system, and the levels can be set by a user or automatically configured by the system according to a certain principle, for example, when a plurality of applications exist, the obtained at least two frames of images are determined to be classified according to the application information of the application with the highest priority level. Similarly, the first application can also be determined according to the shooting duration of different application pages or the occupation ratio of screens of different applications.
In this embodiment, for a situation that a screen recording content relates to multiple application pages in a screen recording application scene, a first application may be determined according to a preconfigured multi-application policy, and an obtained image or video may be classified based on application information of the first application. The data processing method disclosed by the embodiment expands the application scene of the image classification method, and by adopting the method, the searching efficiency of a user for searching the target image can be greatly improved, and the use of the user is facilitated.
Fig. 3 is a flowchart of a third data processing method disclosed in the embodiment of the present invention, and with reference to fig. 3, the data processing method may include:
step 301: obtaining a first operation, wherein the first operation is used for acquiring at least one frame of image of the current display content.
Step 302: and obtaining first information of the current running state of the electronic equipment according to the first operation.
Step 303: and determining the classification of the at least one frame of image according to the first information.
Step 304: based on first information input by a user, a classification corresponding to the first information is determined.
The images or videos stored in the system may include multiple categories, the first information input by the user may be a category name of the multiple categories, or partial information in the category name, where the first information input by the user is a retrieval condition, and a relatively small search range may be defined according to the retrieval condition input by the user, so that the user may quickly search for the target data.
Step 305: and displaying and outputting the image information or the video information under the classification.
After the classification is determined according to the first information input by the user, the data under the classification is directly displayed and output to the user, so that the user can conveniently find the target data from the data.
In the embodiment, the whole process of acquiring the image data, classifying the image data, subsequently searching the corresponding classification according to the first information and displaying the output is recorded, and by the data processing method disclosed by the embodiment, when a user wants to search for certain image data, the search range can be quickly locked according to the first information, so that the search efficiency of the searched data is improved.
Fig. 4 is a flowchart of a fourth data processing method disclosed in the embodiment of the present invention, and referring to fig. 4, the data processing method may include:
step 401: obtaining a first operation, wherein the first operation is used for acquiring at least one frame of image of the current display content.
Step 402: according to the first operation, detecting application information of an application of the electronic equipment in a display state at present, wherein the application information comprises an application type.
Step 403: and acquiring input information of a user in the running process of the application.
In this embodiment, in addition to obtaining the application information, the system also obtains the input information of the user during the running process of the application, and the input information may also become a basis for subsequently classifying the picture data.
Step 404: determining a classification of the at least one frame of image based on the input information and the application type.
For example, if the application type is a shopping application and the input information is "sports shoes", the determined classification of the at least one frame of image may be "shopping + sports shoes" specifically, and two elements, namely, a shopping application and sports shoes, are limited in the classification, and a user can quickly find target image data according to the two elements.
Of course, in the case where a plurality of restriction elements are included in the classification information, the restriction elements of the classification may be other contents than the input information of the user in the application. In other embodiments, when the first information of the current running state includes information of an application currently running in display, the determining the classification of the at least one frame of image according to the first information may include: determining a classification of the at least one frame of image based on the application type and the active interface. For example, if the application type is an A shopping application and the activity interface is "Member hub," then the category name can be subsequently determined using these two elements.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
The method is described in detail in the embodiments disclosed above, and the method of the present invention can be implemented by various types of apparatuses, so that the present invention also discloses an apparatus, and the following detailed description will be given of specific embodiments.
Fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention, and referring to fig. 5, the data processing apparatus 50 may include:
an operation obtaining module 501, configured to obtain a first operation, where the first operation is used to obtain at least one frame of image of a currently displayed content.
The first operation may be a screenshot operation or a screen recording operation. When the first operation is screenshot operation, acquiring a frame of image, namely static image data; when the first operation is screen recording operation, video data at least comprising two frames of images is acquired.
The first operation may be a single click operation or a double click operation. Of course, in this embodiment, specific content of the first operation is not specifically limited, and the first operation may be triggered to start the operation of acquiring an image on the electronic device.
The information obtaining module 502 is configured to obtain first information of a current operating state of the electronic device according to the first operation.
The current operation state of the electronic device may be a state of an operation mode of the electronic device, or a state of an application running on the electronic device.
In a scene that the current operation state is the operation mode of the mobile phone, the first information of the current operation state includes the current operation mode, such as a game mode, a flight mode, a night mode, and the like, and after the current operation mode of the electronic device is determined, the at least one acquired frame of image may be subsequently classified according to the determined operation mode.
When the current running state is a running application state, the first information of the current running state includes application information currently being displayed and running, and the application information may be, but is not limited to, any one of an application type, an application name, and an active interface. After the application information is determined, the at least one acquired frame of image may be subsequently classified according to the determined application information.
Of course, in this embodiment, the current operating state of the electronic device is described by taking the operating mode and the operating application state of the electronic device as examples, and in practical applications, the current operating state of the electronic device may further include other contents, such as the system time, the location, and the like of the electronic device when the first operation is obtained.
A classification determining module 503, configured to determine a classification of the at least one frame of image according to the first information.
After the first information is determined, the at least one frame of image may be classified directly with the first information as a classification criterion. For example, when the first information is an application name, the application name is directly used as a classification name, and the at least one frame of image is classified under the classification of the application name.
In this embodiment, when the user triggers the first operation, the data processing apparatus may automatically detect and acquire relevant information of the current operating state of the electronic device, and use the acquired information as a classification basis for the acquired image or video data, so that a subsequent user may search for certain image video data, and may quickly reduce and determine a search range according to known classification information, thereby improving data search efficiency.
In other embodiments, the operation acquiring module may acquire at least two frames of images, and in this case, the first operation may be a screen recording operation. Wherein the at least two frames of images may be from different applications. The information acquisition module is used for detecting application information of an application of the electronic equipment in a display state at present according to a first operation, wherein the application information comprises an application type. When at least two frames of images acquired by the first operation are from different applications, application information of the different applications can be detected. In this case, the classification determination module may be configured to determine the classification of the at least two frames of images based on the first information and a preset multi-application policy, where the multi-application policy is a policy for determining one application from at least two different applications.
Wherein the multi-application policy may include, but is not limited to: and determining a first application according to the category priority, the shooting time length or the screen occupation ratio of different applications, wherein the first application is used for determining the classification of the at least two frames of images.
In this embodiment, for a situation that a screen recording content relates to multiple application pages in a screen recording application scene, a first application may be determined according to a preconfigured multi-application policy, and an obtained image or video may be classified based on application information of the first application. The data processing device disclosed by the embodiment expands the application scene of the image classification method, and by adopting the method, the searching efficiency of a user for searching the target image can be greatly improved, and the use of the user is facilitated.
Fig. 6 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present invention, and as shown in fig. 6, the data processing apparatus 60 may include:
an operation obtaining module 501, configured to obtain a first operation, where the first operation is used to obtain at least one frame of image of a currently displayed content.
The information obtaining module 502 is configured to obtain first information of a current operating state of the electronic device according to the first operation.
A classification determining module 503, configured to determine a classification of the at least one frame of image according to the first information.
The classification searching module 601 is configured to determine a classification corresponding to first information input by a user based on the first information.
The images or videos stored in the system may include multiple categories, the first information input by the user may be a category name of the multiple categories, or partial information in the category name, where the first information input by the user is a retrieval condition, and a relatively small search range may be defined according to the retrieval condition input by the user, so that the user may quickly search for the target data.
And a display output module 602, configured to display and output the classified image information or video information.
After the classification is determined according to the first information input by the user, the data under the classification is directly displayed and output to the user, so that the user can conveniently find the target data from the data.
In the embodiment, the whole process of acquiring the image data, classifying the image data, subsequently searching the corresponding classification according to the first information and displaying the output is recorded, and through the data processing device disclosed by the embodiment, when a user wants to search for certain image data, the search range can be quickly locked according to the first information, so that the search efficiency of the searched data is improved.
Fig. 7 is a schematic structural diagram of a third data processing apparatus according to an embodiment of the disclosure, and as shown in fig. 7, the data processing apparatus 70 may include:
an operation obtaining module 501, configured to obtain a first operation, where the first operation is used to obtain at least one frame of image of a currently displayed content.
An information obtaining module 502, configured to detect, according to the first operation, application information of an application currently in a display state of the electronic device, where the application information includes an application type.
An input obtaining module 701, configured to obtain input information of a user during an operation process of the application.
In this embodiment, in addition to obtaining the application information, the system also obtains the input information of the user during the running process of the application, and the input information may also become a basis for subsequently classifying the picture data.
A classification determination module 503, configured to determine a classification of the at least one frame of image based on the input information and the application type.
For example, if the application type is a shopping application and the input information is "sports shoes", the determined classification of the at least one frame of image may be "shopping + sports shoes" specifically, and two elements, namely, a shopping application and sports shoes, are limited in the classification, and a user can quickly find target image data according to the two elements.
Of course, in the case where a plurality of restriction elements are included in the classification information, the restriction elements of the classification may be other contents than the input information of the user in the application. In other embodiments, when the first information of the current operating state includes information of an application currently being displayed, the classification determining module is specifically configured to: determining a classification of the at least one frame of image based on the application type and the active interface. For example, if the application type is an A shopping application and the activity interface is "Member hub," then the category name can be subsequently determined using these two elements.
Further, the embodiment of the present application also discloses an electronic device, where the electronic device includes a processor and a memory, where the memory is used to store executable instructions of the processor, and the executable instructions include: obtaining a first operation, wherein the first operation is used for obtaining at least one frame of image of the current display content; according to the first operation, first information of the current running state of the electronic equipment is obtained; and determining the classification of the at least one frame of image according to the first information.
The processor comprises a kernel, and the kernel calls a corresponding program module from the memory. The kernel can be set to be one or more, and data processing is realized by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
In one implementation, if the first information of the current operating state includes information of an application currently being displayed and run, the obtaining the first information of the current operating state of the electronic device according to the first operation includes:
according to the first operation, detecting application information of an application of the electronic equipment in a display state at present, wherein the application information comprises an application type;
determining a classification of the at least one frame of image according to the first information comprises:
determining a classification of the at least one frame of image based on the application type.
In another implementation, the determining the classification of the at least one frame of image according to the first information includes:
and classifying the at least one frame of image based on the current operation mode of the mobile phone.
When the first operation is used to acquire at least two frames of images of a currently displayed content, and the at least two frames of images are from different applications, the determining the classification of the at least one frame of image according to the first information includes:
and determining the classification of the at least two frames of images based on the first information and a preset multi-application strategy, wherein the multi-application strategy is a strategy for determining one application from at least two different applications.
Wherein the multi-application policy may include: and determining a first application according to the category priority, the shooting time or the screen occupation ratio of different applications, wherein the first application is used for determining the classification of the at least two frames of images.
Wherein, after determining the classification of the at least one frame of image according to the first information, the method may further include:
determining a classification corresponding to first information input by a user based on the first information;
and displaying and outputting the classified image information or video information.
Wherein, still include:
acquiring input information of a user in the running process of the application;
said determining a classification of said at least one frame of image based on said application type comprises:
determining a classification of the at least one frame of image based on the input information and the application type.
Wherein, if the application information further includes an active interface, the determining the classification of the at least one frame of image according to the first information includes:
determining a classification of the at least one frame of image based on the application type and the active interface.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method of data processing, comprising:
obtaining a first operation, wherein the first operation is used for obtaining at least one frame of image of the current display content;
according to the first operation, obtaining first information of the current running state of the electronic equipment, wherein the first information comprises: according to the first operation, detecting application information of an application of the electronic equipment in a display state at present, wherein the application information comprises an application type;
acquiring input information of a user in the running process of the application;
determining a classification of the at least one frame of image according to the first information, including: determining a classification of the at least one frame of image based on the input information and the application type.
2. The data processing method according to claim 1, wherein the first information of the current operating state includes a current operating mode of the electronic device, and the determining the classification of the at least one frame of image according to the first information includes:
and classifying the at least one frame of image based on the current operation mode of the mobile phone.
3. The data processing method according to claim 1, wherein when the first operation is used to obtain at least two frames of images of currently displayed content, and the at least two frames of images are from different applications, the determining the classification of the at least one frame of image according to the first information comprises:
and determining the classification of the at least two frames of images based on the first information and a preset multi-application strategy, wherein the multi-application strategy is a strategy for determining one application from at least two different applications.
4. The data processing method of claim 3, the multi-application policy comprising: and determining a first application according to the category priority, the shooting time length or the screen occupation ratio of different applications, wherein the first application is used for determining the classification of the at least two frames of images.
5. The data processing method of claim 1, further comprising, after said determining a classification of the at least one frame of image from the first information:
determining a classification corresponding to first information input by a user based on the first information;
and displaying and outputting the image information or the video information under the classification.
6. The data processing method of claim 1, the application information further comprising an active interface, the determining a classification of the at least one frame of image from the first information comprising:
determining a classification of the at least one frame of image based on the application type and the active interface.
7. A data processing apparatus comprising:
the operation acquisition module is used for acquiring a first operation, wherein the first operation is used for acquiring at least one frame of image of the current display content;
the information acquisition module is used for acquiring first information of the current running state of the electronic equipment according to the first operation, and comprises: according to the first operation, detecting application information of an application of the electronic equipment in a display state at present, wherein the application information comprises an application type;
the input acquisition module is used for acquiring input information of the user in the running process of the application;
a classification determination module, configured to determine a classification of the at least one frame of image according to the first information, including: determining a classification of the at least one frame of image based on the input information and the application type.
8. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the executable instructions to perform the data processing method of any of claims 1-6.
CN201910581810.3A 2019-06-30 2019-06-30 Data processing method and device and electronic equipment Active CN110297925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910581810.3A CN110297925B (en) 2019-06-30 2019-06-30 Data processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910581810.3A CN110297925B (en) 2019-06-30 2019-06-30 Data processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110297925A CN110297925A (en) 2019-10-01
CN110297925B true CN110297925B (en) 2022-05-31

Family

ID=68029665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910581810.3A Active CN110297925B (en) 2019-06-30 2019-06-30 Data processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110297925B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090762A (en) * 2014-07-10 2014-10-08 福州瑞芯微电子有限公司 Screenshot processing device and method
CN106202194A (en) * 2016-06-27 2016-12-07 北京小米移动软件有限公司 The storage method and device of screenshot picture
CN106911850A (en) * 2017-02-27 2017-06-30 努比亚技术有限公司 Mobile terminal and its screenshotss method
CN107632854A (en) * 2017-08-31 2018-01-26 维沃移动通信有限公司 A kind of screenshotss processing method and mobile terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7882091B2 (en) * 2008-01-09 2011-02-01 Stephen Schneider Record tagging, storage and filtering system and method
US8732587B2 (en) * 2011-03-21 2014-05-20 Symantec Corporation Systems and methods for displaying trustworthiness classifications for files as visually overlaid icons
CN102509256B (en) * 2011-11-17 2014-07-16 厦门游家网络有限公司 Batch adding and screenshot method and device for Flash game
US9129327B1 (en) * 2014-02-18 2015-09-08 Splendid Labs, Inc. Screenshot-based e-commerce
CN104978117B (en) * 2014-04-11 2018-11-09 阿里巴巴集团控股有限公司 A kind of method and apparatus for realizing screenshotss
CN106371718A (en) * 2016-08-19 2017-02-01 乐视控股(北京)有限公司 Screen capture method and device
CN109408384B (en) * 2018-10-16 2022-07-29 网易(杭州)网络有限公司 Software application testing method and device, processor and electronic device
CN109873901A (en) * 2018-12-28 2019-06-11 努比亚技术有限公司 A kind of screenshot method for managing resource and terminal, computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090762A (en) * 2014-07-10 2014-10-08 福州瑞芯微电子有限公司 Screenshot processing device and method
CN106202194A (en) * 2016-06-27 2016-12-07 北京小米移动软件有限公司 The storage method and device of screenshot picture
CN106911850A (en) * 2017-02-27 2017-06-30 努比亚技术有限公司 Mobile terminal and its screenshotss method
CN107632854A (en) * 2017-08-31 2018-01-26 维沃移动通信有限公司 A kind of screenshotss processing method and mobile terminal

Also Published As

Publication number Publication date
CN110297925A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
TWI498843B (en) Portable electronic device, content recommendation method and computer-readable medium
US8958650B1 (en) Device and computer readable medium for sharing image content based on collection proximity
WO2017129018A1 (en) Picture processing method and apparatus, and smart terminal
US20140044349A1 (en) Contextual dominant color name extraction
US20140250110A1 (en) Image attractiveness based indexing and searching
CN107133352B (en) Photo display method and device
CN110941736B (en) Electronic photograph display method and device and mobile equipment
CN110996154B (en) Video playing method and device and electronic equipment
US9977964B2 (en) Image processing device, image processing method and recording medium
CN105809162B (en) Method and device for acquiring WIFI hotspot and picture associated information
CN109120996B (en) Video information identification method, storage medium and computer equipment
CN109240678B (en) Code generation method and device
CN111104915B (en) Method, device, equipment and medium for peer analysis
CN110297925B (en) Data processing method and device and electronic equipment
US20170126951A1 (en) Updating an exposure table of an image sensor
US10489460B2 (en) Method and apparatus for providing local search suggestion
CN105320514A (en) Picture processing method and device
US20140108405A1 (en) User-specified image grouping systems and methods
CN111915637B (en) Picture display method and device, electronic equipment and storage medium
CN111338709B (en) Method, device, equipment and storage medium for jumping target scene in client
CN113342684A (en) Webpage testing method, device and equipment
CN112416482B (en) Interface switching method and device
CN108921802B (en) Image processing method and device
CN113973235A (en) Interactive information display method and device and computer equipment
CN113825023B (en) Video file processing method, device, equipment 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