CN111860497A - Information identification method and device - Google Patents
Information identification method and device Download PDFInfo
- Publication number
- CN111860497A CN111860497A CN202010607511.5A CN202010607511A CN111860497A CN 111860497 A CN111860497 A CN 111860497A CN 202010607511 A CN202010607511 A CN 202010607511A CN 111860497 A CN111860497 A CN 111860497A
- Authority
- CN
- China
- Prior art keywords
- brightness value
- display area
- target brightness
- information
- display
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000004044 response Effects 0.000 claims description 4
- 230000008569 process Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 239000003086 colorant Substances 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/25—Determination of region of interest [ROI] or a volume of interest [VOI]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/255—Detecting or recognising potential candidate objects based on visual cues, e.g. shapes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The application discloses an information identification method and device, and belongs to the technical field of communication. The method mainly comprises the steps of obtaining a first target brightness value of a first display area collected by a first color sensor, wherein the first target brightness value is a luminous brightness value of each pixel point in the first display area; and identifying the display content in the first display area according to the first target brightness value of the first display area. The method provided by the embodiment of the application can solve the problems of complex identification information and low efficiency.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to an information identification method and device.
Background
With the gradual improvement of hardware configuration and the expansion of functions of electronic equipment, the electronic equipment has become an indispensable necessity in daily life of people. The frequency of social contact of users using electronic devices is also increasing, for example, users can share pictures or texts with other users through the electronic devices. If the pictures or texts contain sensitive information such as privacy information or payment two-dimensional code information, the sensitive information can be shared with other users without the perception of the users, so that the privacy information can be leaked, and unnecessary loss can be caused.
At present, a mode of identifying whether an image or a text includes privacy information is mainly used for judging whether an image feature in a screenshot where the privacy information is located meets a certain preset condition, and if the image feature meets the certain preset condition, it is determined that the screenshot includes the privacy information. However, in this way, the user needs to capture a picture first and then can identify the image features in the captured picture, which increases the operation complexity of the user; in addition, the definition of the screenshot affects the recognition result, and is not suitable for some scenes such as scenes in which information is required to be recognized quickly.
Disclosure of Invention
The embodiment of the application aims to provide an information identification method and an information identification device, which can solve the problems of complex identification information and low efficiency.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an information identification method, which is applied to an electronic device, where the electronic device includes a first color sensor disposed below a screen, and the method includes:
acquiring a first target brightness value of a first display area acquired by a first color sensor, wherein the first target brightness value is a luminous brightness value of each pixel point in the first display area;
And identifying the display content in the first display area according to the first target brightness value of the first display area.
In a second aspect, an embodiment of the present application provides an information identification apparatus, which is applied to an electronic device, where the electronic device includes a first color sensor disposed below a screen, and the apparatus includes:
the first acquisition module is used for acquiring a first target brightness value of a first display area acquired by the first color sensor, wherein the first target brightness value is a luminous brightness value of each pixel point in the first display area;
and the identification module is used for identifying the display content in the first display area according to the first target brightness value of the first display area.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, implement the method steps as related to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the method steps as related to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method steps according to the first aspect.
In the embodiment of the application, the display content in the first display area is identified by acquiring a first target brightness value of the first display area acquired by a first color sensor arranged below a screen. Because the display area can be always bright when the user uses the electronic equipment, the brightness value of the display area in the electronic equipment can be obtained in real time, the display content in the display area can be recognized in real time without triggering recognition operation by the user, and the recognition efficiency is improved while the user operation is reduced.
Drawings
Fig. 1 is a schematic view of an application scenario of an information identification method according to an embodiment of the present application;
fig. 2 is a flowchart of an information identification method according to an embodiment of the present application;
fig. 3 is a schematic interface diagram of information identification according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an information identification apparatus according to an embodiment of the present application;
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application 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 is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. The objects distinguished by "first", "second", and the like are usually a class, and the number of the objects is not limited, and for example, the first object may be one or a plurality of objects. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
Based on this, the information identification method provided by the embodiment of the present application is described in detail below with reference to fig. 1 to fig. 3 through a specific embodiment and an application scenario thereof.
Referring to fig. 1, first, in an embodiment of the present application, an electronic device is provided, where the electronic device includes a first color sensor, such as a color temperature sensor, disposed below a screen. The color temperature sensor is disposed below an Organic Light-Emitting Diode (OLED) screen of the electronic device, and is configured to collect a first target brightness value of each pixel in the OLED screen, where the first target brightness value may include a brightness value of an RGB color mode, and/or detect a brightness value of each pixel in a display area in the OLED screen of the electronic device. Here, the luminance values of RGB (e.g., red, green, and blue) components of each pixel point corresponding to the display region can be collected. It should be noted that the collected RGB luminance values are in a uniform unit.
In the embodiment of the present application, the principle of identifying the target information by using the color temperature sensor may be that the color temperature sensor collects RGB components (such as red, green, and blue components) in the light emission amount of the light-emitting object to identify the color of the object, then, the OLED screen itself in the embodiment of the present application may emit light, when the content displayed thereon is different, the RGB of the light emission of each pixel point may also be different, and in the embodiment of the present application, the content displayed in the current display area may be analyzed and identified by collecting RGB light emission brightness values of each pixel point (or, brightness values of each pixel point in the display area).
Based on the above, the display content in the first display area identified by the color temperature sensor, such as the first display area 10 where a certain picture, a short message, a video and the like are located, is obtained; then, according to the first target brightness value of the first display area, the shape of at least one object in the first display area is constructed; display content in the first display area is identified according to the shape of the at least one object.
And under the condition that the display content is determined to include target information such as privacy information or sensitive information of the user and other information which the user does not want to share or display publicly, prompt information is displayed and used for prompting that the display content includes the target information which needs to be hidden, so that the user is prevented from watching the target information by others or the privacy information is prevented from being leaked when a picture or a text is sent.
Based on this, in the embodiment of the application, the display content in the first display area is identified by acquiring the first target brightness value of the first display area acquired by the first color sensor arranged below the screen. Therefore, when the user uses the electronic equipment, the display area can be constantly bright, and the brightness value of the display area in the electronic equipment can be acquired in real time, so that the display content in the display area can be recognized in real time without triggering recognition operation by the user, user operation is reduced, and recognition efficiency is improved.
In addition, the embodiment of the application can realize that the user does not need to trigger the identification operation, so that the user operation can be reduced, whether the display content comprises the target information such as the privacy information or the sensitive information can be identified in real time, and the user is prompted to comprise the privacy information in the first information under the condition that the display content comprises the target information, so that the privacy information is prevented from being leaked when the user sends the picture or the text.
It should be noted that, in addition to the above-mentioned scenes for identifying the private information according to the identification method provided in the present application, the scenes involved in the embodiments of the present application may also be applied to any scenes that capture the brightness value of the display area through a first color sensor, such as a color temperature sensor, so as to perform information identification through the brightness value, such as in a video clip, and through the above-mentioned manner, identify the sensitive information in the video or the user preset information (such as the name of an advertiser who does not want to appear in the video), and so on. Therefore, a new identification method for identifying information through the brightness value is provided, the information identification efficiency is improved, and meanwhile, the privacy information of the user is ensured not to be easily leaked.
According to the application scenario, the information identification method provided by the embodiment of the present application is described in detail below with reference to fig. 2 to 3.
Fig. 2 is a flowchart of an information identification method according to an embodiment of the present application.
As shown in fig. 2, the information identification method may be applied to an electronic device, where the electronic device includes a first color sensor disposed below a screen, and based on this, may specifically include the following steps:
first, in step 210, a first target brightness value of a first display area acquired by a first color sensor is taken, where the first target brightness value is a light-emitting brightness value of each pixel point in the first display area.
Then, in step 220, the display content in the first display area is identified according to the first target brightness value of the first display area.
Therefore, the display content in the first display area is identified in a mode of acquiring a first target brightness value of the first display area acquired by a first color sensor arranged below the screen. Therefore, when the user uses the electronic equipment, the display area can be constantly bright, and the brightness value of the display area in the electronic equipment can be acquired in real time, so that the display content in the display area can be recognized in real time without triggering recognition operation by the user, and the recognition efficiency is improved while the user operation is reduced.
The above steps are described in detail below, specifically as follows:
First, referring to step 220, the following three ways of identifying the display content in the first display area are provided in the embodiment of the present application, which are specifically shown as follows:
mode (1), in one possible embodiment, the display content in the first display area is identified by a first target brightness value obtained by a first color sensor disposed below the screen of the electronic device. Here, the first color sensor is, for example, a color temperature sensor.
The method comprises the steps that the shape of at least one object in a first display area is constructed based on a first target brightness value of each pixel point in the first display area acquired by a color temperature sensor; display content in the first display area is identified according to the shape of the at least one object.
For example, a full-screen color temperature sensor is used for detecting in real time in a first display area, a channel group formed by rgb components of each pixel point in a plurality of pixel points in the first display area is obtained to determine a brightness value corresponding to each pixel point, and then the shape of at least one object in the first display area, such as the shape of "3", is obtained according to the brightness value corresponding to each pixel point; based on the shape of the at least one object, identifying the display content in the first display area as identifying the shape as the number "3" based on the shape "3".
Mode (2), in another possible embodiment, in some scenarios, in order to ensure the accuracy of identifying the display content in the first display region, the accuracy of determining the display content is improved. In this way, in a case where the electronic device further includes a second color sensor disposed above the screen, identifying the display content in the first display region may specifically include:
acquiring a second target brightness value acquired by a second color sensor, wherein the second target brightness value is the brightness value of the environment where the electronic equipment is located; and identifying the display content in the first display area according to the first target brightness value and the second target brightness value.
Wherein the shape of the at least one object in the first display area may be constructed according to the first target brightness value and the second target brightness value; display content in the first display area is identified according to the shape of the at least one object.
For example, the brightness values of two different aspects are acquired, namely a first target brightness value corresponding to each pixel point acquired by a full-screen color temperature sensor in real time, and a second target brightness value of the environment where the electronic device is located acquired by a second color sensor such as an environment photosensitive sensor. In some scenarios, the ambient light may affect the display brightness of the first display area, for example, if the ambient light is too high, the display brightness of the first display area may be reduced, otherwise, if the ambient light is too dark, the display brightness of the first display area may be increased, and thus, it can be understood that the second target brightness value may affect the first target brightness value to some extent. In this way, in order to ensure the accuracy of identifying the display content, the shape of at least one object with higher accuracy, such as the shape of "3", can be obtained better according to the first target brightness value and the second target brightness value corresponding to each pixel point of the first display area; based on the shape of the at least one object, identifying the display content in the first display area as identifying the shape as the number "3" based on the shape "3".
It should be noted that the ambient light sensor in the embodiment of the present application may be disposed on a screen of the electronic device, and is used for detecting and acquiring a brightness value of an environment where the electronic device is located.
Mode (3) based on mode (2), in another possible embodiment, this application may provide a specific mode for identifying the display content according to the first target brightness value and the second target brightness value, as follows:
respectively adjusting the brightness value of each pixel point corresponding to the first target brightness value based on the second target brightness value to obtain a third target brightness value of each pixel point;
constructing the shape of at least one object in the first display area based on the third target brightness value of each pixel point;
display content in the first display area is identified according to the shape of the at least one object.
Based on this, the luminance value of the light emission and the luminance value of each pixel point are respectively adjusted based on the second target luminance value, and a third target luminance value of each pixel point in the first display area is obtained for example:
firstly, acquiring a light-emitting brightness value of each pixel point in a first display area acquired by a color temperature sensor of a full screen in real time, such as an RGB channel group (red, green and blue) [ R1, R2, R3.. Rn ], [ G1, G2, G3... Gn ], [ B1, B2 and B3.. Bn ]; then, a second target brightness value, such as RGB (LR, LG, LB), of the environment where the electronic device is located, acquired by the environment photosensitive sensor, is obtained.
Then, a second target brightness value, namely [ (R1-LR), (R2-LR), (R3-LR) … … (Rn-LR) ], [ (G1-LG), (G2-LG), (G3-LG).. Gn-LG ], [ (B1-LB), (B2-LG), (B3-LG).. Bn-LG ], which is the influence of ambient light in the filtered RGB channel group is obtained, and thereby, a third target brightness value of each pixel point on the first display region is obtained.
Based on the first target brightness value, the shape of at least one object in the first display area can be constructed based on the determined third target brightness value of each pixel point; display content in the first display area is identified according to the shape of the at least one object.
For example, the shape of at least one object in the first display region is separated and recognized by the third target luminance value acquired as described above.
The first display area may be distinguished by displaying different colors by each pixel point in the first display area, and the information in the first display area may be determined according to the third target brightness value of each pixel point, which is described below by taking the identification of the number 3 as an example.
First, assume that the value 3 is displayed in the form of white black matrix on the screen of the electronic device, wherein the size of the first display area in the screen is 30 × 30 pixels.
Next, a third target luminance value corresponding to 30 × 30 pixel points is acquired. That is, the third target brightness value of the 900 pixel points corresponding to the 30 × 30 pixel point may be represented as: [ (R1-LR), (R2-LR), (R3-LR.).. (R900-LR) ], [ (G1-LG), (G2-LG), (G3-LG.. G900-LG ], [ (B1-LB), (B2-LG), (B3-LG.. B900-LG ].
Then, the ground color area and the numerical area are distinguished, and the boundary is defined. The process of distinguishing the background color from the digital color can be adopted, the third target brightness value corresponding to the 900 pixel points is traversed, all the pixel points with the same light emission quantity (or brightness value) are counted and classified, if the example only has black and white colors, the number of the white pixel points is 300 through traversal, and the number of the black pixel points is 600, so that the colors of the digital display area and the color of the background color area are distinguished. It needs to be pointed out that, for the more complex information in the first display area, the above process can be adopted to distinguish the ground color from the digital color, and in the application, the distinction can be performed by presetting different threshold values. Then, the shape of the number is identified by the component occupied by the third target brightness value of the 900 pixel points in the whole display screen.
It should be noted that, if the shape of at least one object in the first display area is separated and identified by using the first target brightness value, in this example, the third target brightness value may be replaced by the first target brightness value, and the first target brightness value of 900 pixels corresponding to 30 × 30 pixels may be represented as: [ (R1), (R2), (R3.). (R900) ], [ (G1), (G2), (G3).. G900], [ (B1), (B2), (B3).. B900], so that the principle is as shown in the above example and will not be described again here.
In another possible embodiment, the steps of constructing the shape of the at least one object in the first display area according to the third target brightness value in the above manners (1) - (3) may specifically include:
acquiring coordinate information of pixel points corresponding to each third target brightness value in the first display area;
and constructing the shape of at least one object in the first display area according to the coordinate information.
For example, in the above example, the colors of the numbers are shaded in the above manner, wherein a color number set of the numbers, that is, a set of RGB third target luminance values corresponding to the above 300 white pixels, is obtained by obtaining coordinate values [ (x1, y1), (x2, y2) ] of the display screen corresponding to the 300 white pixels, circularly traversing the coordinate values of the 300 white pixels, and solving the euclidean distance between two adjacent coordinates, and connecting the two adjacent coordinates to obtain a rough shape.
Then, the data of the rough shape obtained above is input to a target recognition model, the similarity between the rough shape and a preset shape is obtained, and when the similarity satisfies the preset similarity, the rough shape is determined to be a numerical value "3". Similarly, according to the above manner, all of the at least one object in the first display region is identified to identify the display content in the first display region according to the shape of the at least one object.
Therefore, the content identification can be further carried out by combining the brightness values acquired by the color temperature sensor and the environment photosensitive sensor, namely, the influence of the brightness value of the environment where the electronic equipment is positioned in the brightness value acquired by the color temperature sensor is eliminated, so that the accuracy of determining the target information is improved while the precision of the target luminous brightness value is ensured.
Based on the above manner (1) - (3), the display content in the first display area is identified, and the embodiment of the present application further provides a scenario for implementing text identification based on the above information identification method, that is, after step 220, the method further includes: through the above identification manner, it is identified whether the display content in the first display area includes the target information, where the target information may include at least one of the following information: sensitive information, private information and information preset by a user.
Therefore, when the step identifies that the display content comprises the target information, displaying the prompt information, wherein the prompt information is used for prompting that the display content comprises the information needing the hiding processing; receiving a first input of a prompt message; in response to the first input, when the display content is transmitted to the first user, the target information is subjected to hiding processing so that the target information is displayed in a non-plaintext manner in a second display area displayed on a device corresponding to the first user.
For example, according to the shape of at least one object, it is determined that target information meeting a preset rule is included in the display content. Wherein the preset rule may include at least one of the following: whether the shape of at least one object is the continuous 11-digit matching of the telephone number or not, and the matching of common sensitive characters such as the identity card number, the bank card number and the like, and sensitive information preset by a user.
Then, as shown in fig. 3, when receiving a first input that the user triggers the screen capture action, or the target information to be sent, the prompt information is displayed to prompt the user whether to display the target information in a non-plaintext manner or a plaintext manner in the second display area of the first user when sending the target information to the first user,
Upon receiving a user selection "display in non-plaintext at the first user", as shown in the right diagram of fig. 3, the target information is displayed in a non-plaintext manner in the second display area displayed on the device corresponding to the first user. Based on this, when the first information is transmitted to the first user, the target information is subjected to the hiding processing so that the target information is displayed in a non-plaintext manner in the second display area displayed on the device corresponding to the first user.
Like this, utilize the colour temperature sensor can promote the display effect of electronic equipment's display screen, utilize the characteristics of RGB in the colour temperature sensor discernment light source again, come dynamic identification current display area's display content through algorithm simulation, compare in the characteristics that other identification information's mode has certain quick characteristics and power saving, in addition, can also real-time whether have target information in reminding the user current display area, improve user experience.
In summary, in the embodiment of the present application, the display content in the first display area is identified by acquiring the first target brightness value of the first display area collected by the first color sensor disposed below the screen. Because the display area can be always bright when the user uses the electronic equipment, the brightness value of the display area in the electronic equipment can be obtained in real time, the display content in the display area can be recognized in real time without triggering recognition operation by the user, and the recognition efficiency is improved while the user operation is reduced.
In addition, whether target information such as privacy information or sensitive information is included in the display content can be identified in real time without triggering identification operation by a user, and the user is prompted to include the privacy information in the first information under the condition that the target information is determined to be included in the display content, so that the user is prevented from revealing the privacy information when pictures or texts are sent.
It should be noted that, in the information identification method provided in the embodiment of the present application, the execution subject may be an information identification device, or a control module in the information identification device for executing the information identification method. In the embodiment of the present application, a method for performing information identification by an information identification apparatus is taken as an example, and the information identification apparatus provided in the embodiment of the present application is described with reference to fig. 4.
Fig. 4 is a schematic structural diagram of an information identification apparatus according to an embodiment of the present application.
As shown in fig. 4, the information recognition apparatus 40 may specifically include:
a first obtaining module 401, configured to obtain a first target brightness value of a first display area, where the first target brightness value is a light-emitting brightness value of each pixel point in the first display area, and the first target brightness value is collected by a first color sensor;
the identifying module 402 is configured to identify display content in the first display area according to the first target brightness value of the first display area.
Therefore, the display content in the first display area is identified in a mode of acquiring a first target brightness value of the first display area acquired by a first color sensor arranged below the screen. Because the display area can be always bright when the user uses the electronic equipment, the brightness value of the display area in the electronic equipment can be obtained in real time, the display content in the display area can be recognized in real time without triggering recognition operation by the user, and the recognition efficiency is improved while the user operation is reduced.
The information recognition device 40 will be described in detail below, specifically as follows:
in a possible embodiment, the information identification apparatus 40 further includes a second obtaining module 403, configured to, in a case that the electronic device further includes a second color sensor disposed above the screen, obtain a second target brightness value acquired by the second color sensor, where the second target brightness value is a brightness value of an environment where the electronic device is located.
Based on this, the identifying module 402 is specifically configured to identify the display content in the first display area according to the first target brightness value and the second target brightness value.
In a possible embodiment, the identifying module 402 is specifically configured to adjust the brightness value of each pixel point corresponding to the first target brightness value based on the second target brightness value, to obtain a third target brightness value of each pixel point;
Constructing the shape of at least one object in the first display area based on the third target brightness value of each pixel point;
display content in the first display area is identified according to the shape of the at least one object.
In another possible embodiment, the identifying module 402 is specifically configured to, in the first display area, obtain coordinate information of a pixel point corresponding to each third target brightness value;
and constructing the shape of at least one object in the first display area according to the coordinate information.
In addition, in yet another possible embodiment, information identification device 40 further includes a display module 404, a receiving module 405, and a processing module 406; wherein,
a display module 404, configured to display a prompt message when it is identified that the display content includes the target information, where the prompt message is used to prompt that the display content includes information that needs to be hidden;
a receiving module 405, configured to receive a first input of a prompt message;
and the processing module 406 is configured to, in response to the first input, perform hiding processing on the target information when the display content is sent to the first user, so that the target information is displayed in a non-plaintext manner in a second display area displayed on a device corresponding to the first user.
The information identification device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in an electronic apparatus. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The information identification device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The information identification device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 3, and is not described here again to avoid repetition.
In summary, in the embodiment of the present application, the display content in the first display area is identified by acquiring the first target brightness value of the first display area collected by the first color sensor disposed below the screen. Therefore, when the user uses the electronic equipment, the display area can be constantly bright, and the brightness value of the display area in the electronic equipment can be acquired in real time, so that the display content in the display area can be recognized in real time without triggering recognition operation by the user, and the recognition efficiency is improved while the user operation is reduced.
In addition, the user operation can be reduced without triggering the identification operation by the user, whether target information such as privacy information or sensitive information is included in the display content can be identified in real time, and under the condition that the target information is determined to be included in the display content, the user is prompted that the first information includes the privacy information, so that the user is prevented from revealing the privacy information when the user sends pictures or texts.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in this embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the above-mentioned information identification method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The sensor 605 is configured to obtain a first target brightness value of a first display area acquired by a first color sensor, where the first target brightness value is a light-emitting brightness value of each pixel point in the first display area;
The processor 610 is configured to identify display content in the first display area according to the first target brightness value of the first display area.
Therefore, the display content in the first display area is identified in a mode of acquiring a first target brightness value of the first display area acquired by a first color sensor arranged below the screen. Because the display area can be always bright when the user uses the electronic equipment, the brightness value of the display area in the electronic equipment can be obtained in real time, the display content in the display area can be recognized in real time without triggering recognition operation by the user, and the recognition efficiency is improved while the user operation is reduced.
It should be understood that in the embodiment of the present application, the sensor 605 may include a first color sensor, such as a color temperature sensor, and/or a second color sensor, such as an ambient light sensor, for obtaining the brightness value. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 609 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 610 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned information identification method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device 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 (RAM), a magnetic disk or an optical disk.
In addition, an embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the information identification method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. An information identification method is applied to an electronic device, the electronic device comprises a first color sensor arranged below a screen, and the method is characterized by comprising the following steps:
acquiring a first target brightness value of a first display area acquired by the first color sensor, wherein the first target brightness value is a luminous brightness value of each pixel point in the first display area;
and identifying the display content in the first display area according to the first target brightness value of the first display area.
2. The method according to claim 1, wherein before identifying the display content in the first display region according to the first target brightness value of the first display region, the method further comprises:
Under the condition that the electronic equipment further comprises a second color sensor arranged above the screen, acquiring a second target brightness value acquired by the second color sensor, wherein the second target brightness value is the brightness value of the environment where the electronic equipment is located;
the identifying the display content in the first display area according to the first target brightness value of the first display area comprises:
and identifying the display content in the first display area according to the first target brightness value and the second target brightness value.
3. The method of claim 2, wherein identifying display content in the first display region based on the first target brightness value and the second target brightness value comprises:
respectively adjusting the brightness value of each pixel point corresponding to the first target brightness value based on the second target brightness value to obtain a third target brightness value of each pixel point;
constructing the shape of at least one object in the first display area based on the third target brightness value of each pixel point;
according to the shape of the at least one object, display content in the first display area is identified.
4. The method according to claim 3, wherein said constructing the shape of at least one object in the first display area based on the third target brightness value of each pixel point comprises:
acquiring coordinate information of pixel points corresponding to each third target brightness value in the first display area;
and constructing the shape of at least one object in the first display area according to the coordinate information.
5. The method of claim 1, wherein after identifying the display content in the first display region, the method further comprises:
displaying prompt information under the condition that the display content is identified to comprise target information, wherein the prompt information is used for prompting that the display content comprises information needing hiding;
receiving a first input of the prompt message;
in response to the first input, when the display content is sent to a first user, the target information is subjected to hiding processing, so that the target information is displayed in a non-plaintext manner in a second display area displayed on a device corresponding to the first user.
6. An information recognition apparatus applied to an electronic device including a first color sensor disposed below a screen, comprising:
A first obtaining module, configured to obtain a first target brightness value of a first display area, where the first target brightness value is a light-emitting brightness value of each pixel point in the first display area, and the first target brightness value is collected by the first color sensor;
and the identification module is used for identifying the display content in the first display area according to the first target brightness value of the first display area.
7. The apparatus according to claim 6, wherein the information recognition apparatus further comprises a second obtaining module, configured to, in a case where the electronic device further includes a second color sensor disposed above the screen, obtain a second target brightness value collected by the second color sensor, where the second target brightness value is a brightness value of an environment in which the electronic device is located;
the identification module is specifically configured to identify display content in the first display area according to the first target brightness value and the second target brightness value.
8. The apparatus according to claim 7, wherein the identifying module is specifically configured to adjust a brightness value of each pixel corresponding to the first target brightness value based on the second target brightness value, respectively, to obtain a third target brightness value of each pixel;
Constructing the shape of at least one object in the first display area based on the third target brightness value of each pixel point;
according to the shape of the at least one object, display content in the first display area is identified.
9. The apparatus according to claim 8, wherein the identifying module is specifically configured to, in the first display area, obtain coordinate information of a pixel point corresponding to each of the third target brightness values;
and constructing the shape of at least one object in the first display area according to the coordinate information.
10. The apparatus of claim 6, wherein the information recognition apparatus further comprises a display module, a receiving module and a processing module; wherein,
the display module is used for displaying prompt information under the condition that the display content is identified to comprise target information, wherein the prompt information is used for prompting that the display content comprises information needing to be hidden;
the receiving module is used for receiving a first input of the prompt message;
the processing module is configured to, in response to the first input, perform hiding processing on the target information when the display content is sent to a first user, so that the target information is displayed in a non-plaintext manner in a second display area displayed on a device corresponding to the first user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010607511.5A CN111860497A (en) | 2020-06-30 | 2020-06-30 | Information identification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010607511.5A CN111860497A (en) | 2020-06-30 | 2020-06-30 | Information identification method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111860497A true CN111860497A (en) | 2020-10-30 |
Family
ID=72988697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010607511.5A Pending CN111860497A (en) | 2020-06-30 | 2020-06-30 | Information identification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111860497A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104036707A (en) * | 2014-05-26 | 2014-09-10 | 京东方科技集团股份有限公司 | Display device detection device and method and display system |
CN104065959A (en) * | 2014-06-20 | 2014-09-24 | 成都绿洲电子有限公司 | LED based display screen luminance uniformity assessment method |
CN206196081U (en) * | 2016-07-27 | 2017-05-24 | 欧普照明股份有限公司 | Lighting device and terminal |
CN109740519A (en) * | 2018-12-29 | 2019-05-10 | 联想(北京)有限公司 | Control method and electronic equipment |
-
2020
- 2020-06-30 CN CN202010607511.5A patent/CN111860497A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104036707A (en) * | 2014-05-26 | 2014-09-10 | 京东方科技集团股份有限公司 | Display device detection device and method and display system |
CN104065959A (en) * | 2014-06-20 | 2014-09-24 | 成都绿洲电子有限公司 | LED based display screen luminance uniformity assessment method |
CN206196081U (en) * | 2016-07-27 | 2017-05-24 | 欧普照明股份有限公司 | Lighting device and terminal |
CN109740519A (en) * | 2018-12-29 | 2019-05-10 | 联想(北京)有限公司 | Control method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107613202B (en) | Shooting method and mobile terminal | |
CN108701439B (en) | Image display optimization method and device | |
CN105117122A (en) | Terminal screenshot method and terminal | |
CN113808120B (en) | Image processing method, device, electronic equipment and storage medium | |
CN111859900B (en) | Message display method and device and electronic equipment | |
CN112422817B (en) | Image processing method and device | |
CN112783594A (en) | Message display method and device and electronic equipment | |
CN113296649A (en) | Icon display method and device and electronic equipment | |
US20240089331A1 (en) | Display Method, Related Device, and Non-Transitory Readable Storage Medium | |
CN111884908A (en) | Contact person identification display method and device and electronic equipment | |
CN112462990A (en) | Image sending method and device and electronic equipment | |
CN112533072A (en) | Image sending method and device and electronic equipment | |
CN114120307A (en) | Display content identification method, device, equipment and storage medium | |
CN109670507A (en) | Image processing method, device and mobile terminal | |
CN113747076A (en) | Shooting method and device and electronic equipment | |
US10438377B2 (en) | Method and device for processing a page | |
CN112764606A (en) | Identification display method and device and electronic equipment | |
CN111968605A (en) | Exposure adjusting method and device | |
CN112764700A (en) | Image display processing method, device, electronic equipment and storage medium | |
CN112511890A (en) | Video image processing method and device and electronic equipment | |
CN111860497A (en) | Information identification method and device | |
CN112468794B (en) | Image processing method and device, electronic equipment and readable storage medium | |
CN112637588B (en) | Method and device for detecting contamination of camera and electronic equipment | |
CN111859356B (en) | Application program login method and device | |
CN106484215B (en) | Method and device for managing desktop of mobile terminal |
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 |