CN109543383B - Information sharing method and related product - Google Patents

Information sharing method and related product Download PDF

Info

Publication number
CN109543383B
CN109543383B CN201811409611.6A CN201811409611A CN109543383B CN 109543383 B CN109543383 B CN 109543383B CN 201811409611 A CN201811409611 A CN 201811409611A CN 109543383 B CN109543383 B CN 109543383B
Authority
CN
China
Prior art keywords
data
area
fingerprint
touch
fingerprint identification
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
CN201811409611.6A
Other languages
Chinese (zh)
Other versions
CN109543383A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811409611.6A priority Critical patent/CN109543383B/en
Publication of CN109543383A publication Critical patent/CN109543383A/en
Application granted granted Critical
Publication of CN109543383B publication Critical patent/CN109543383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Abstract

The application discloses an information sharing method and a related product, wherein the method comprises the following steps: the electronic equipment displays first data to be shared in the first area, collects first touch data, and moves the first data from the first area to the second area according to the first touch data; acquiring first fingerprint data in the fingerprint identification area; the electronic equipment displays the first data to be shared again in the first area, collects second touch data, moves the first data from the first area to the second area according to the second touch data, and collects second fingerprint data in the fingerprint identification area; the electronic equipment verifies the first fingerprint data and the second fingerprint data, and shares the first data. The method and the device have the advantage of high user experience.

Description

Information sharing method and related product
Technical Field
The present application relates to the field of electronic technologies, and in particular, to an information sharing method and a related product.
Background
The finger of putting on the touch screen is shone to the light that utilizes the touch screen to send under the screen finger collection principle, and the light that the touch screen sent takes place the reflection when reaching the finger, sets up the light signal of receiving the reflection at the fingerprint identification module of touch screen below, because fingerprint unevenness's line, light absorption amplitude is different to obtain the fingerprint image of light and shade difference, then discern this fingerprint according to this fingerprint image.
For important information (such as photos, photo albums, videos and the like shared by lovers) shared by two or more people, the safety is very important, and the existing information sharing does not need the consent of two or more people, so that the unsafe disclosure of the important information can be caused, and the experience degree of users is influenced.
Disclosure of Invention
The embodiment of the application provides an information sharing method and related equipment, which can improve the safety of information sharing.
In a first aspect, an embodiment of the present application provides an information sharing method, where the method is applied to an electronic device, and the electronic device includes: treater, touch-control display screen, fingerprint identification module, the touch-control display screen includes: first region and second are regional, it is regional for fingerprint identification to have an area in first region and the second region, fingerprint identification module set up under the screen and with the regional position of fingerprint identification corresponds, the method includes the following step:
the electronic equipment displays first data to be shared in a first area and collects first touch data;
the electronic equipment moves first data from a first area to a second area according to the first touch data, and collects first fingerprint data in the fingerprint identification area;
the electronic equipment displays the first data to be shared again in the first area and collects second touch data;
the electronic equipment moves the first data from the first area to the second area according to the second touch data, the electronic equipment collects the second fingerprint data in the fingerprint identification area, verifies the first fingerprint data and the second fingerprint data, and shares the first data.
Optionally, the fingerprint identification module sets up under the screen of first region or second area and fingerprint collection scope covers first region or second area.
Optionally, the verifying, by the electronic device, the first fingerprint data and the second fingerprint data specifically includes:
the electronic equipment compares the first fingerprint data with the first template to determine consistency, and determines that the verification is passed when the second fingerprint data is compared with the second template to determine consistency and the first template and the second template do not belong to the same user.
Optionally, the type of the first data is a picture, a video, or a file.
Alternatively to this, the first and second parts may,
if the type of the first data is a picture, the first data is a thumbnail;
if the type of the first data is video, the first data is an icon;
if the type of the first data is a file, the first data is a summary.
Optionally, if the first data is a first picture, the verifying, by the electronic device, the first fingerprint data and the second fingerprint data specifically includes:
the electronic equipment identifies a plurality of face pictures in a first picture, the plurality of face pictures are input into a neural network model for operation to obtain a plurality of identities corresponding to the plurality of face pictures, a first identity of first fingerprint data is verified and determined for the first fingerprint data, a second identity of second fingerprint data is verified and determined for the second fingerprint data, if the plurality of identities comprise the first identity and the second identity, verification is determined to be passed, and if the plurality of identities do not comprise any one of the first identity and the second identity, verification is determined not to be passed.
Optionally, the method further includes:
and if the verification is determined not to be passed, sending early warning information to the plurality of identities.
In a second aspect, an electronic device is provided, the electronic device comprising: treater, touch-control display screen, fingerprint identification module, the touch-control display screen includes: a first region and a second region, wherein one of the first region and the second region is a fingerprint identification region, the fingerprint identification module is arranged under the screen and corresponds to the fingerprint identification region, wherein,
the touch display screen is used for displaying first data to be shared in a first area and acquiring the first touch data;
the processor is used for moving the first data from the first area to the second area according to the first touch data;
the fingerprint identification module is used for collecting first fingerprint data in the fingerprint identification area; the touch display screen is also used for displaying the first data to be shared again in the first area and acquiring second touch data;
the processor is further used for moving the first data from the first area to the second area according to the second touch data, and the fingerprint identification module is further used for collecting the second fingerprint data in the fingerprint identification area;
the processor is further used for verifying the first fingerprint data and the second fingerprint data, and controlling the communication module to share the first data.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in the method according to the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps described in the method according to the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps described in the method according to the first aspect of the present application. The computer program product may be a software installation package.
According to the technical scheme, after the first data to be shared are displayed in the first area, the first touch data and the first fingerprint information are collected, the first data are displayed again, the second touch data and the second fingerprint information are collected, after the first fingerprint information and the second fingerprint information are verified, when the two fingerprint information are determined not to be the same user, the first data are shared, so that the first data are shared by at least two people through fingerprints, the situation that one person operates to share the first data is avoided, the safety of the first data is improved, and the experience degree of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application 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 some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an information sharing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a mobile phone according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, 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 only partial embodiments of the present application, but not all 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 application.
The following are detailed below.
The terms "first," "second," and the like in the description and claims of the present application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Mobile terminals may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and the like, having wireless communication capabilities.
The electronic device according to the embodiment of the present application may include various handheld devices (e.g., smart phones), vehicle-mounted devices, Virtual Reality (VR)/Augmented Reality (AR) devices, wearable devices, computing devices or other processing devices connected to wireless modems, and various forms of User Equipment (UE), Mobile Stations (MSs), terminal devices (terminal devices), development/test platforms, servers, and so on, which have wireless communication functions. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device includes a control circuit and an input-output circuit, and the input-output circuit is connected to the control circuit.
The control circuitry may include, among other things, storage and processing circuitry. The storage circuit in the storage and processing circuit may be a memory, such as a hard disk drive memory, a non-volatile memory (e.g., a flash memory or other electronically programmable read only memory used to form a solid state drive, etc.), a volatile memory (e.g., a static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry may be used to control the operation of the electronic device. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry may be used to run software in the electronic device, such as play incoming call alert ringing application, play short message alert ringing application, play alarm alert ringing application, play media file application, Voice Over Internet Protocol (VOIP) phone call application, operating system functions, and so forth. The software may be used to perform some control operations, such as playing an incoming alert ring, playing a short message alert ring, playing an alarm alert ring, playing a media file, making a voice phone call, and performing other functions in the electronic device, and the embodiments of the present application are not limited.
The input-output circuit can be used for enabling the electronic device to input and output data, namely allowing the electronic device to receive data from the external device and allowing the electronic device to output data from the electronic device to the external device.
The input-output circuit may further include a sensor. The sensors may include ambient light sensors, optical and capacitive based infrared proximity sensors, ultrasonic sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, gravity sensors, and other sensors, etc. The input-output circuit may further include audio components that may be used to provide audio input and output functionality for the electronic device. The audio components may also include a tone generator and other components for generating and detecting sound.
The input-output circuitry may also include one or more display screens. The display screen can comprise one or a combination of a liquid crystal display screen, an organic light emitting diode display screen, an electronic ink display screen, a plasma display screen and a display screen using other display technologies. The display screen may include an array of touch sensors (i.e., the display screen may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The following of above-mentioned touch display screen can also set up optics fingerprint identification module, and commonly known as fingerprint under the screen to optics fingerprint identification module can be called the fingerprint identification region in touch display screen coverage area, and the regional area size of this fingerprint identification can be the big region that a plurality of fingerprints pressed simultaneously, and the little region that a fingerprint pressed is not supplied.
The input-output circuitry may further include communications circuitry that may be used to provide the electronic device with the ability to communicate with external devices. The communication circuitry may include analog and digital input-output interface circuitry, and wireless communication circuitry based on radio frequency signals and/or optical signals. The wireless communication circuitry in the communication circuitry may include radio frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless communication circuitry in the communication circuitry may include circuitry to support Near Field Communication (NFC) by transmitting and receiving near field coupled electromagnetic signals. For example, the communication circuit may include a near field communication antenna and a near field communication transceiver. The communications circuitry may also include cellular telephone transceiver and antennas, wireless local area network transceiver circuitry and antennas, and so forth.
The input-output circuit may further include other input-output units. Input-output units may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.
The electronic device may further include a battery (not shown) for supplying power to the electronic device.
For important information, because the important information is shared by multiple persons, the safety or privacy of the important information is very important, the important information is taken as a photo as an example, for one photo, the person A and the person B are arranged in the photo, and the photo is stored in a mobile phone of the user A, so that the user A can share the photo without the consent of the person B, and the situation inevitably causes the dissatisfaction of the person B, because the photo sharing is disclosed without the consent of the person B, so that the person B feels that the portrait right of the person B is infringed, and the experience of the user is influenced.
Referring to fig. 2, fig. 2 provides an information sharing method, which is applied to an electronic device, where the electronic device may be the electronic device shown in fig. 1, and of course, the electronic device may also include: treater, touch-control display screen, fingerprint identification module and communication module, wherein, this touch-control display screen, fingerprint identification module and communication module are connected with the treater respectively, and this touch display screen includes: first region and second area, an area in first region and the second area is the fingerprint identification region, and this fingerprint identification module sets up under the screen of this fingerprint identification region, and this method includes following step:
step S201, the electronic equipment displays first data to be shared in a first area and collects first touch data;
in an alternative embodiment, the first data may be a logo, while in another alternative embodiment, the first data may be a thumbnail picture, while in yet another alternative embodiment, the first data may be a shared summary, etc., and in any case, the first data may represent or distinguish the first data from the user.
Step S202, the electronic equipment moves first data from a first area to a second area according to the first touch data, and collects first fingerprint data in the fingerprint identification area;
optionally, the first fingerprint data may be collected when the first touch data of the user is pressed on the fingerprint identification area, and the first fingerprint data may be collected in an optical fingerprint collection manner.
Step S203, the electronic equipment displays the first data to be shared again in the first area and collects second touch data;
optionally, the second fingerprint data may be collected when the second touch data of the user is pressed in the fingerprint identification area, and the second fingerprint data may be collected in an optical fingerprint collection manner.
Step S204, the electronic device moves the first data from the first area to the second area according to the second touch data, the second fingerprint data is collected in the fingerprint identification area, the electronic device verifies the first fingerprint data and the second fingerprint data, and the first data is shared (the sharing includes but is not limited to permission removing, single person sending, group sending, friend circle publishing, self media publishing (microblog) and the like).
The technical scheme who this application provided is after first data that treat the sharing are shown in first region, gather first touch data and first fingerprint information, then show first data once more, gather second touch data and second fingerprint information, pass the back to first fingerprint information and second fingerprint information verification, when confirming that two fingerprint information are not same user, with this first data sharing, this first data sharing just needs two at least people to confirm the sharing through the fingerprint like this, avoided one's operation can be with first data sharing promptly, the security of first data has been improved, user's experience degree has been improved.
Optionally, the first area may be a fingerprint identification area or the second area may be a fingerprint identification area. Above-mentioned fingerprint identification module sets up under the screen of first region or second area and can gather first region or the fingerprint data of second area (this fingerprint identification module's fingerprint collection scope can cover whole first region or whole second area promptly).
In an implementation of the present application, the processor controls the fingerprint identification module to collect a signal of the first area, including: the processor sends an acquisition instruction to the fingerprint identification module, wherein the acquisition instruction is used for indicating the acquisition of a signal of a first area; the fingerprint identification module gathers the signal of first region, in order to obtain the first fingerprint data of finger.
The shape of the first region may be square, circular, rectangular, or elliptical, and is not limited herein.
The first predetermined area may be, for example, 8mm × 8nm, 10mm × 10mm, 8mm × 10mm, or other values.
It should be noted that, the fingerprint identification module realizes the collection of the fingerprint image due to collecting the signal of the first region, so the area of the collected first fingerprint data is equal to the area of the first region, namely, the area is the first preset area, and the shape of the first fingerprint data is the same as the shape of the first region.
In an implementation manner of the present application, before acquiring the first fingerprint data corresponding to the first touch data, the method further includes:
the processor lights up the fingerprint acquisition area to a first brightness;
before controlling the fingerprint identification module to collect the signal of the first area, the processor adjusts the brightness of a third area to a second brightness, wherein the second brightness is greater than the first brightness, and the area of the third area is smaller than that of the first area.
When the fingerprint acquisition area is lightened to a first brightness, the processor lightens an area of the touch screen except the fingerprint acquisition area (namely the first area) to a fourth brightness, wherein the fourth brightness can be equal to the first brightness, can be smaller than the first brightness, and can be larger than the first brightness; or the processor keeps the screen-off state of the touch screen except for the fingerprint acquisition area.
The first brightness may be a display brightness of the touch screen currently set by the mobile terminal, or may be a preset brightness, which is not limited herein.
Wherein the second brightness is a preset brightness; or the second brightness is determined by the mobile terminal according to the ambient light brightness of the current environment of the mobile terminal, and the second brightness corresponding to the ambient light brightness is determined according to the mapping relation between the ambient light brightness and the brightness of the fingerprint acquisition area; or the second brightness is determined by the mobile terminal according to the current geographic position of the mobile terminal, and the second brightness corresponding to the current geographic position is determined according to the mapping relation between the geographic position and the brightness of the fingerprint acquisition area; and so on.
The shape of the second area is the same as that of the first area, or the shape of the second area is different from that of the first area.
It can be seen that, in this application embodiment, light the fingerprint collection region to a lower luminance earlier, when the fingerprint collection region was touched control, improve the luminance in third region again, for improving the luminance in whole fingerprint collection region, this application only improves the luminance in third region, has reduced the consumption. In addition, fingerprint collection is performed after the brightness of the third area is improved, so that the quality of collected fingerprint images is improved.
Optionally, the first data may be: a picture or a video.
Optionally, the verifying the first fingerprint data and the second fingerprint data by the electronic device may specifically include:
the electronic equipment compares the first fingerprint data with the first template to determine consistency, and determines that the verification is passed when the second fingerprint data is compared with the second template to determine consistency and the first template and the second template do not belong to the same user.
Optionally, if the first data is a picture, the verifying the first fingerprint data and the second fingerprint data by the electronic device may specifically include:
the electronic equipment identifies a plurality of face pictures in a first picture, the plurality of face pictures are input into a neural network model for operation to obtain a plurality of identities corresponding to the plurality of face pictures, a first identity of first fingerprint data is verified and determined for the first fingerprint data, a second identity of second fingerprint data is verified and determined for the second fingerprint data, if the plurality of identities comprise the first identity and the second identity, verification is determined to be passed, and if the plurality of identities do not comprise any one of the first identity and the second identity, verification is determined not to be passed.
Optionally, the method may further include:
and if the verification is determined not to be passed, sending early warning information to a plurality of electronic devices corresponding to the plurality of identities. Therefore, the early warning information is sent under the condition, so that the early warning for the user can be realized.
The application scenario is that security of picture information, especially a person picture belonging to important information is very important, and for such pictures, a very important mode needs to be applied to embody, specifically, a common scheme is that if a person in the person picture agrees to disclose the picture, whether the picture is disclosed or not does not need to be entangled, based on the principle, the application firstly identifies the face picture of the picture to determine the identity of the person, then two fingerprint information determines two identities of the two fingerprints, and if the two identities are included in the person identity of the picture, the information can be shared, otherwise, the picture cannot be shared.
The above implementation method for inputting a plurality of face pictures into a neural network model to obtain a plurality of identities corresponding to the plurality of face pictures may specifically be:
and respectively inputting the plurality of face pictures into a neural network model for operation to obtain a plurality of forward operation results, and determining a plurality of identities according to the plurality of forward operation results.
The neural network model can be a deep learning model and can also be other face algorithm recognition models, and the applicant does not limit the concrete embodiment range of the neural network model.
Optionally, the multi-layer operation of inputting the first face picture of the plurality of face pictures into the neural network model operation to obtain the forward operation result includes, but is not limited to: and (5) performing convolution operation.
If the multilayer operation is executed and includes convolution operation, the input data [ CI ] [ H ] [ W ] can be obtained from the first face picture, and the specific manner can be that the first face picture is subjected to gray scale processing to obtain a gray scale image, gray scale values of all pixels in the gray scale image are sequentially combined to form the input data [ CI ] [ H ] [ W ], although other manners can also be adopted, for example, RGB values of all pixels of the first face picture are sequentially combined to form the input data [ CI ] [ H ] [ W ] according to RGB values of all pixels, wherein H, W are integers greater than or equal to 3, CI and CO are integers greater than or equal to 1, H is a height value, W is a width value, CI is a depth value, and CO is a number value.
Optionally, the performing the convolution operation may specifically include:
determining input data [ CI ] [ H ] [ W ] and convolution Kernel [ CO ] [ CI ] [3] [3] of convolution operation, wherein the numerical value is data which is self-configured by the neural network model, namely weight, cutting the convolution Kernel [ CO ] [ CI ] [3] along the CO direction to form CO Kernel [ CI ] [3] [3], performing three-dimensional convolution operation on the CO Kernel [ CI ] [3] and the input data to obtain CO three-dimensional convolution results, and combining the CO three-dimensional convolution results along the CO direction to obtain a final output result [ CO ] [ CI ] [ H ] [ 2] [ W-2 ].
The one-time three-dimensional convolution operation may specifically include, for example, cutting the input data [ CI ] [ H ] [ W ] into CI pieces of [ H ] [ W ] along the CI direction, cutting the Kernel [ CI ] [3] [3] into CI pieces of Kernel [3] [3] along the CI direction, performing convolution operation on [ H ] [ W ] and Kernel [3] [3] that are the same in the CI direction to obtain CI pieces of [ H-2] [ W-2], and arranging the CI pieces of [ H-2] [ W-2] along the CI direction to obtain the three-dimensional convolution result [ CI ] [ H ] [ 2] [ W-2 ].
The obtaining of CI [ H-2] [ W-2] by performing convolution operation on [ H ] [ W ] and Kernel [3] [3] that are the same in the CI direction may specifically include:
cutting the [ H ] [ W ] into H-2 matrixes [3] [ W ] along the H direction, performing convolution calculation on each matrix [3] [ W ] and Kernel [3] [3] to obtain a result of one row in the H direction in the [ H-2] [ W-2], and calculating the H-2 matrixes [3] [ W ] to obtain a result of the H-2 row to obtain a calculation result [ H-2] [ W-2 ];
the obtaining a row result in the H direction by performing convolution operation on the matrix [3] [ W ] and the Kernel [3] [3] may specifically include:
if w is 6, then the matrix [3] is set][6]Is cut into 3 [3] s by a moving step 1][4]Sub-matrix [3]][4]1、[3][4]2、[3][4]3Where the lower corner marks the sequence number of the submatrix, pair [3]][4]1Performing a unit operation to obtain [ H-2][W-2]The unit operation specifically includes: will [3]][4]1Extracting 4 elements in a row in the H direction each time, performing inner product on the first 3 elements of the 4 elements and the elements at the corresponding positions of the convolution Kernel to obtain a row of inner product results, and multiplying the last element of the 4 th element and the corresponding element of the convolution Kernel to obtain a product result, wherein the corresponding element of the convolution Kernel is Kernel [3]][3]Middle and high value isTake the value of one row in H direction, width value is the number of submatrix (if [3] is extracted)][4]1When H is 1, the element at the corresponding position is the 1 st element, and when H is 2, the element at the corresponding position is the 4 th element, if extracted [3]][4]2When H is 1, the element at the corresponding position is the 2 nd element, and when H is 2, the element at the corresponding position is the 5 th element), 3 times of unit operation is performed to obtain 3 inner product results and 3 product results, the 3 inner product results are added to obtain one element value, the 3 inner product results are added to obtain the sum of the first sequence number, and [3] pair of the sum of the first sequence number is obtained][4]2、[3][4]3Also performs unit operation to obtain [ H-2][W-2]The other element value, the further element value, the sum of the second ordinal number and the sum of the third ordinal number in the row in the H direction in [ H-2] is obtained by adding the sum of the first ordinal number, the sum of the second ordinal number and the sum of the third ordinal number][W-2]One more element value of a row in the H direction; arranging one element value, another element value and the element value in the w direction to obtain the result of one row in the H direction.
If w is greater than 6, the matrix is cut 3 times by the moving step 1, and the moving step in the w direction is converted into cutting the sub-matrix 2 times, which is equivalent to leaving one row of data in the w direction because the row of data has already been calculated.
For the scheme, the technical effect is that for the convolution data extraction, the existing equipment extracts data which are 128 bits each time, and because the existing data are based on the operation of floating point data, each floating point data is composed of 32 bits regardless of the size, the data which is 128 bits is extracted once is just one row of data in the H direction, when the data is extracted once, the same H data is only recorded once, namely 4 values are only recorded with one H data, so that the data extraction efficiency is saved, and the data extraction amount is also reduced.
Referring to fig. 3, fig. 3 provides an electronic device including: treater, touch-control display screen, fingerprint identification module and communication module, the touch-control display screen includes: a first region and a second region, wherein one of the first region and the second region is a fingerprint identification region, the fingerprint identification module is arranged under the screen and corresponds to the fingerprint identification region, wherein,
the touch display screen is used for displaying first data to be shared in a first area and acquiring the first touch data;
the processor is used for moving the first data from the first area to the second area according to the first touch data;
the fingerprint identification module is used for collecting first fingerprint data in the fingerprint identification area;
the touch display screen is also used for displaying the first data to be shared again in the first area and acquiring second touch data;
the processor is further configured to move the first data from the first area to the second area according to the second touch data;
the fingerprint identification module is also used for acquiring second fingerprint data in the fingerprint identification area;
the processor is further used for verifying the first fingerprint data and the second fingerprint data, and controlling the communication module to share the first data.
Optionally, the processor is specifically configured to compare the first fingerprint data with the first template to determine consistency, compare the second fingerprint data with the second template to determine consistency, and determine that the verification is passed when the first template and the second template do not belong to the same user.
Optionally, the processor is specifically configured to identify a plurality of face pictures in the first picture, input the plurality of face pictures into the neural network model for operation to obtain a plurality of identities corresponding to the plurality of face pictures, verify the first identity of the first fingerprint data with respect to the first fingerprint data, verify the second identity of the second fingerprint data with respect to the second fingerprint data, determine that the verification is passed if the plurality of identities include the first identity and the second identity, and determine that the verification is not passed if the plurality of identities do not include any one of the first identity and the second identity.
Optionally, the processor is specifically configured to control the communication module to send the warning information to the multiple identities if it is determined that the verification fails.
Optionally, the processor is specifically configured to input a first face picture of the plurality of face pictures into a neural network model operation to obtain a multi-layer operation in the forward operation result, where the multi-layer operation includes but is not limited to: and (5) performing convolution operation. The specific operation of performing the convolution operation may be completed by the processor, and the specific steps of the convolution operation may be referred to the description of the convolution operation, which is not described herein again.
Referring to fig. 4, fig. 4 provides a mobile terminal according to an embodiment of the present application, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing steps corresponding to the following methods:
displaying first data to be shared in a first area, and acquiring first touch data and first fingerprint data corresponding to the first touch data; moving the first data from the first area to the second area according to the first touch data; displaying the first data to be shared again in the first area, and acquiring second touch data and second fingerprint data corresponding to the second touch data; and moving the first data from the first area to the second area according to the second touch data, and sharing the first data when the electronic equipment passes the verification of the first fingerprint data and the second fingerprint data.
Fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal provided in an embodiment of the present application. Referring to fig. 5, the handset includes: the device comprises a Radio Frequency (RF) circuit, a memory, an input unit, a fingerprint identification module, an audio collector, a Wireless Fidelity (WiFi) module, an application processor AP, a power supply and the like. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components, for example, the rf circuitry may be coupled to multiple antennas.
The following describes each component of the mobile phone in detail with reference to fig. 5:
the input unit may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit may include a touch display screen, a fingerprint recognition module, a face recognition device, an iris recognition device, and other input devices. The input unit may also include other input devices. In particular, other input devices may include, but are not limited to, one or more of physical keys, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. Wherein the content of the first and second substances,
the touch display screen is used for displaying first data to be shared in a first area and acquiring the first touch data;
the fingerprint identification module is used for acquiring first fingerprint data corresponding to the first touch data;
the AP is used for moving the first data from the first area to the second area according to the first touch data;
the touch display screen is also used for displaying the first data to be shared again in the first area and acquiring second touch data;
the fingerprint identification module is also used for acquiring second fingerprint data corresponding to the second touch data;
the AP is further used for moving the first data from the first area to the second area according to the second touch data, verifying the first fingerprint data and the second fingerprint data, and controlling the communication module to share the first data.
The AP is a control center of the mobile phone, connects each part of the entire mobile phone by using various interfaces and lines, and executes various functions and processes data of the mobile phone by running or executing software programs and/or modules stored in the memory and calling data stored in the memory, thereby integrally monitoring the mobile phone. Optionally, the AP may include one or more processing units; optionally, the AP may integrate an application processor and a modem processor, wherein the application processor mainly handles an operating system, a user interface, an application program, and the like, and the modem processor mainly handles wireless communication. It will be appreciated that the modem processor described above may not be integrated into the AP.
Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
RF circuitry may be used for the reception and transmission of information. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications, general packet radio service, code division multiple access, wideband code division multiple access, long term evolution, new air interface, email, short message service, etc.
The handset may include at least one sensor, such as an ultrasonic sensor, an angle sensor, a light sensor, a motion sensor, and other sensors, in addition to the humidity sensor. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the touch display screen according to the brightness of ambient light, and the proximity sensor may turn off the touch display screen and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The audio collector, the loudspeaker and the microphone can provide an audio interface between a user and the mobile phone. The audio collector can transmit the electric signal after the received audio data is converted to a loudspeaker, and the electric signal is converted to a sound signal by the loudspeaker to be played; on the other hand, the microphone converts the collected sound signals into electric signals, the electric signals are received by the audio collector and then converted into audio data, the audio data are played and processed by the AP, and then the audio data are sent to another mobile phone through the RF circuit or played to the memory for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a WiFi module, and provides wireless broadband internet access for the user. Although fig. 5 shows a WiFi module, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope of not changing the essence of the application.
The mobile phone further includes a power supply (such as a battery) for supplying power to each component, and optionally, the power supply may be logically connected to the AP through a power management system, so that the functions of managing charging, discharging, power consumption management, and the like are implemented through the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, a light supplement device, a light sensor, and the like, which are not described herein again.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. 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 in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (20)

1. An information sharing method is applied to an electronic device, and the electronic device comprises: treater, touch-control display screen and fingerprint identification module, the touch-control display screen includes: first region and second are regional, it is regional for fingerprint identification to have an area in first region and the second region, fingerprint identification module set up under the screen and with the regional position of fingerprint identification corresponds, the method includes the following step:
the electronic equipment displays first data to be shared in the first area, collects first touch data,
the electronic equipment moves first data from the first area to the second area according to first touch data; acquiring first fingerprint data in the fingerprint identification area;
the electronic equipment displays the first data to be shared again in the first area, collects second touch data,
the electronic equipment moves first data from the first area to the second area according to the second touch data, and collects second fingerprint data in the fingerprint identification area; the electronic equipment verifies that the first fingerprint data and the second fingerprint data pass, and if the first fingerprint data and the second fingerprint data are determined not to belong to the same user, the first data are shared;
wherein, prior to the fingerprint identification area acquiring the first fingerprint data, the method further comprises: and lighting the fingerprint identification area to a first brightness, and adjusting the brightness of a third area to a second brightness, wherein the second brightness is greater than the first brightness, and the area of the third area is smaller than that of the fingerprint identification area.
2. The method of claim 1,
the fingerprint identification module sets up under the screen of first region or second area and fingerprint acquisition scope covers first region or second area.
3. The method according to claim 1, wherein the electronic device verifying the first fingerprint data and the second fingerprint data specifically comprises:
the electronic equipment compares the first fingerprint data with the first template to determine consistency, and determines that the verification is passed when the second fingerprint data is compared with the second template to determine consistency and the first template and the second template do not belong to the same user.
4. The method of claim 1, wherein the type of the first data is a picture, a video, or a file.
5. The method of claim 4,
if the type of the first data is a picture, the first data is a thumbnail;
if the type of the first data is video, the first data is an icon;
if the type of the first data is a file, the first data is a summary.
6. The method according to claim 4, wherein if the first data is a first picture, the electronic device verifies the first fingerprint data and the second fingerprint data by specifically including:
the electronic equipment identifies a plurality of face pictures in a first picture, the plurality of face pictures are input into a neural network model for operation to obtain a plurality of identities corresponding to the plurality of face pictures, a first identity of first fingerprint data is verified and determined for the first fingerprint data, a second identity of second fingerprint data is verified and determined for the second fingerprint data, if the plurality of identities comprise the first identity and the second identity, verification is determined to be passed, and if the plurality of identities do not comprise any one of the first identity and the second identity, verification is determined not to be passed.
7. The method of claim 6, further comprising:
and if the verification is determined not to pass, sending early warning information to the terminals corresponding to the plurality of identities.
8. The method of claim 2, wherein if the first area is a fingerprint identification area, the acquiring the first touch data and the first fingerprint data corresponding to the first touch data specifically comprises:
gather first touch-control data, gather the signal in first region through the fingerprint identification module and obtain first fingerprint data.
9. The method of claim 8, wherein before acquiring the first fingerprint data by the fingerprint identification module, the method further comprises:
and selecting a part of the first area as a third area, and adjusting the brightness of the third area.
10. An electronic device, characterized in that the electronic device comprises: treater, touch-control display screen, fingerprint identification module, the touch-control display screen includes: a first region and a second region, wherein one of the first region and the second region is a fingerprint identification region, the fingerprint identification module is arranged under the screen and corresponds to the fingerprint identification region, wherein,
the touch display screen is used for displaying first data to be shared in the first area and collecting the first touch data;
the processor is used for moving first data from the first area to the second area according to first touch data;
the fingerprint identification module is used for collecting first fingerprint data in the fingerprint identification area;
the touch display screen is further used for displaying the first data to be shared again in the first area and collecting second touch data;
the processor is further configured to move the first data from the first area to the second area according to the second touch data;
the fingerprint identification module is also used for acquiring second fingerprint data in the fingerprint identification area;
the processor is further configured to verify that the first fingerprint data and the second fingerprint data pass, and share the first data if it is determined that the first fingerprint data and the second fingerprint data do not belong to the same user;
the processor is further configured to light the fingerprint identification area to a first brightness and adjust a brightness of a third area to a second brightness before the fingerprint identification area collects the first fingerprint data, where the second brightness is greater than the first brightness, and an area of the third area is smaller than an area of the fingerprint identification area.
11. The electronic device of claim 10,
the fingerprint identification module sets up under the screen of first region or second area and fingerprint acquisition scope covers first region or second area.
12. The electronic device of claim 10,
the processor is specifically configured to compare the first fingerprint data with the first template to determine consistency, compare the second fingerprint data with the second template to determine consistency, and determine that the verification is passed when the first template and the second template do not belong to the same user.
13. The electronic device of claim 10, wherein the type of the first data is a picture, a video, or a file.
14. The electronic device of claim 13,
if the type of the first data is a picture, the first data is a thumbnail;
if the type of the first data is video, the first data is an icon;
if the type of the first data is a file, the first data is a summary.
15. The electronic device of claim 13, wherein if the first data is a first picture,
the processor is specifically configured to identify a plurality of face pictures in a first picture, input the plurality of face pictures into a neural network model for operation to obtain a plurality of identities corresponding to the plurality of face pictures, verify the first identity of first fingerprint data for the first fingerprint data, verify the second identity of second fingerprint data for the second fingerprint data, determine that the verification is passed if the plurality of identities include the first identity and the second identity, and determine that the verification is not passed if the plurality of identities do not include any one of the first identity and the second identity.
16. The electronic device of claim 15, further comprising a communication module;
the processor is specifically configured to control the communication module to send the warning information to the plurality of identities if the verification is determined not to pass.
17. The electronic device of claim 11,
fingerprint identification module specifically is used for gathering the signal in first region and obtains first fingerprint data.
18. The electronic device of claim 17,
the processor is specifically configured to select a partial area from the first area as a third area, and control the touch display screen to adjust the brightness of the third area.
19. A mobile terminal, characterized in that the mobile terminal comprises a touch screen, a processor and a fingerprint recognition module, the touch screen comprising a first area and a second area, one of the first area and the second area being a fingerprint recognition area, the fingerprint recognition module being provided below the fingerprint recognition area, the mobile terminal further comprising a memory, a communication interface, and one or more programs, the one or more programs being stored in the memory and configured to be executed by the processor, the program comprising instructions for performing the steps in the method according to any of claims 1-9.
20. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-9.
CN201811409611.6A 2018-11-23 2018-11-23 Information sharing method and related product Active CN109543383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811409611.6A CN109543383B (en) 2018-11-23 2018-11-23 Information sharing method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811409611.6A CN109543383B (en) 2018-11-23 2018-11-23 Information sharing method and related product

Publications (2)

Publication Number Publication Date
CN109543383A CN109543383A (en) 2019-03-29
CN109543383B true CN109543383B (en) 2022-02-11

Family

ID=65850164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811409611.6A Active CN109543383B (en) 2018-11-23 2018-11-23 Information sharing method and related product

Country Status (1)

Country Link
CN (1) CN109543383B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063644A (en) * 2014-06-25 2014-09-24 深圳市中兴移动通信有限公司 Fingerprint identifying method, terminal and server
CN105160227A (en) * 2015-08-28 2015-12-16 广东欧珀移动通信有限公司 Remote fingerprint verification method, user terminal and fingerprint verification system
CN105353874A (en) * 2015-10-30 2016-02-24 维沃移动通信有限公司 Multimedia content sharing method and terminal
CN106384058A (en) * 2016-09-12 2017-02-08 广东欧珀移动通信有限公司 Method and device for posting picture
CN107733868A (en) * 2017-09-13 2018-02-23 深圳市三阶微控实业有限公司 Mobile terminal and fingerprint simultaneously close checking implementation method and storage medium
CN107770369A (en) * 2017-09-28 2018-03-06 努比亚技术有限公司 Control method, device and the computer-readable recording medium of mobile terminal
KR20180061272A (en) * 2016-06-07 2018-06-07 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 Method and apparatus for data processing between terminals, device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063644A (en) * 2014-06-25 2014-09-24 深圳市中兴移动通信有限公司 Fingerprint identifying method, terminal and server
CN105160227A (en) * 2015-08-28 2015-12-16 广东欧珀移动通信有限公司 Remote fingerprint verification method, user terminal and fingerprint verification system
CN105353874A (en) * 2015-10-30 2016-02-24 维沃移动通信有限公司 Multimedia content sharing method and terminal
KR20180061272A (en) * 2016-06-07 2018-06-07 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 Method and apparatus for data processing between terminals, device and storage medium
CN106384058A (en) * 2016-09-12 2017-02-08 广东欧珀移动通信有限公司 Method and device for posting picture
CN107733868A (en) * 2017-09-13 2018-02-23 深圳市三阶微控实业有限公司 Mobile terminal and fingerprint simultaneously close checking implementation method and storage medium
CN107770369A (en) * 2017-09-28 2018-03-06 努比亚技术有限公司 Control method, device and the computer-readable recording medium of mobile terminal

Also Published As

Publication number Publication date
CN109543383A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
CN109583356B (en) Fingerprint identification method and related product
CN109614865B (en) Fingerprint identification method and related product
CN107967129B (en) Display control method and related product
CN108492246B (en) Image processing method and device and mobile terminal
CN107292235B (en) fingerprint acquisition method and related product
CN108108137B (en) Display control method and related product
CN110475020B (en) Equipment control method and related product
CN111338725A (en) Interface layout method and related product
CN107317918B (en) Parameter setting method and related product
CN107743108B (en) Method and device for identifying medium access control address
CN105187692A (en) Video recording method and device
CN108495349A (en) A kind of switching method and mobile terminal of carrier network
CN107864299B (en) Picture display method and related product
CN110198421B (en) Video processing method and related product
CN108287745A (en) A kind of display methods and terminal device at the interfaces WebApp
CN108989546B (en) Approach detection method of electronic device and related product
CN108121583B (en) Screen capturing method and related product
CN110162264B (en) Application processing method and related product
CN108540951A (en) A kind of recharge method and mobile terminal
CN108419283A (en) A kind of method and mobile terminal of WIFI hot spot scanning
CN107895108B (en) Operation management method and mobile terminal
CN109543383B (en) Information sharing method and related product
CN107484168B (en) Biometric unlocking method and related product
CN109358796A (en) A kind of game visual field sharing method, terminal and readable storage medium storing program for executing

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