WO2023011143A1 - Card information management method and electronic device - Google Patents

Card information management method and electronic device Download PDF

Info

Publication number
WO2023011143A1
WO2023011143A1 PCT/CN2022/106041 CN2022106041W WO2023011143A1 WO 2023011143 A1 WO2023011143 A1 WO 2023011143A1 CN 2022106041 W CN2022106041 W CN 2022106041W WO 2023011143 A1 WO2023011143 A1 WO 2023011143A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
electronic device
interface
information
user
Prior art date
Application number
PCT/CN2022/106041
Other languages
French (fr)
Chinese (zh)
Inventor
范明超
Original Assignee
荣耀终端有限公司
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 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2023011143A1 publication Critical patent/WO2023011143A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images

Definitions

  • the present application relates to the field of computer technology, in particular to a card information management method and electronic equipment.
  • Physical cards such as ID cards, bank cards, etc.
  • ID cards are commonly used objects in people's lives and work.
  • the user will take photos to obtain a photo containing the physical card, which is also called card information. Therefore, the card information is used to replace the physical card, and it is used in some occasions, for example, to print a copy of the card and send it to others as a voucher.
  • card information in the form of photos will be stored in the gallery in the same way as ordinary photos. With more and more photos in the gallery, the above-mentioned card information is easily overwhelmed, which is not conducive to the search of card information, and also leads to poor human-computer interaction in the process of searching card information.
  • the present application provides a card information management method and an electronic device, which can use the memorandum application program to manage card information and improve the efficiency of man-machine interaction for searching card information.
  • a card information management method provided by an embodiment of the present application is applied to an electronic device including a memo application, and the method includes: the electronic device receives the user's first operation on the memo application; In response to the first operation, the device displays a first interface of the memo application; the first interface includes a first control for viewing card notes; the electronic device receives a user's second control on the first control Two operations; the electronic device displays the second interface of the memo application in response to the second operation; the second interface is used to display at least one card note that has been created, and the card note and the collected Corresponding to the card information; the electronic device receives a third operation of the user on the card note; and when the electronic device responds to the third operation, displays the card information corresponding to the card note.
  • the memo application can realize the function of managing the created card information, such as managing the display of the card information.
  • the memo note and the card note in the memo application can be displayed separately.
  • the electronic device when the electronic device is running the memo application, it displays a first interface containing memo notes, wherein the memo notes are an interface for viewing regular memo items. Afterwards, after the electronic device receives the operation on the first control, it can switch to display the second interface containing the card notes. In addition, when the electronic device receives an operation on the card note, it can display the card information corresponding to the card note.
  • the method before displaying the second interface of the memo application, the method further includes: the electronic device receives a user's instruction to create a fourth operation of a card note; the electronic device responds to the The fourth operation is to obtain the card information, and create the card note in the memo application according to the card information.
  • the fourth operation of instructing to create a card note may be that the user operates a control in the memo for instructing to create a card note. After the electronic device receives the fourth operation, the function of configuring card notes in the memorandum can be activated.
  • the card note can be created based on the user's operation in the memo application.
  • the memo provides an entry to add card notes, which is convenient for users to save the card information corresponding to the physical card in the form of card notes.
  • it is convenient for users to use.
  • the electronic device includes a camera; the card information includes a card scan image; the acquiring the card information includes: after receiving the fourth operation, the electronic The device displays a fourth interface including a scanning frame; wherein, the scanning frame corresponds to a collection area of the camera; when the physical card is placed in the collection area corresponding to the scanning frame, the electronic device responds to the first Rectangular correction is performed on the image area to obtain a scan preview; the first image area is the area where the physical card is displayed in the preview image collected by the camera; the electronic device displays edge information of the scan preview; When the edge information is displayed and a user instruction to scan is received, the card scan image is acquired; the electronic device acquires the card information according to the card scan image.
  • the electronic device is triggered to preprocess the collected preview image, so as to obtain the scanned preview image of the physical card based on the preview image.
  • the edge of the preview image and the scan preview image is displayed synchronously, so that the user can know the actual display size of the card scan image that can be obtained based on the current preview image, and the user can also make a confirmation scan operation based on this, so that the electronic device can immediately It can capture the currently displayed preview interface and get the corresponding card information.
  • the electronic device displays the fourth interface before the electronic device displays the fourth interface, it further includes: the electronic device displays a fifth interface; the fifth interface includes reminder information for guiding the user to draw the scanning frame;
  • the electronic device displaying a fourth interface including a scanning frame includes: the electronic device receiving a user's first sliding operation on the fifth interface; the electronic device receiving a first sliding operation corresponding to the first sliding operation; A trace, displaying the fourth interface including the scan frame.
  • the display position and display size of the obtained card scan image can be determined in advance, so as to improve the problem that the user cannot obtain a card scan image that meets the demand after repeated scanning. It also improves the problem that users need to manually adjust the size and display position of the card scan image in the later stage, thereby improving the efficiency of human-computer interaction.
  • the advantages are more obvious when the card scan images of multiple physical cards need to be laid out on the same display interface.
  • the card information further includes watermark text information;
  • the acquiring the card information further includes: after receiving the fourth operation, the electronic device displays a sixth interface;
  • the sixth interface includes a watermark text input area;
  • the electronic device receives a second sliding operation of the user in the watermark text input area;
  • the electronic device displays a Watermark text information of handwriting features;
  • the electronic device obtains the card information according to the card scan image, including: the electronic device combines the card scan image and the watermark text information to obtain the Card information.
  • the determined watermark text information has the characteristics of the user's notes. On the one hand, it can support card information to authorize scanning for users, and on the other hand, it is helpful for users to configure the use rights of card information.
  • the method further includes: when the electronic device displays the card information, the electronic device receives a sixth operation instructing printing from the user; the electronic device responds to the The sixth operation is to send the card information to the printing device.
  • the method further includes: the electronic device identifying expiration information in the card information; wherein, the expiration information includes the expiration date in the card scan image or the watermark The use period in the text information; the electronic device sets reminders for the card note according to the period information, which is used to remind the expiration time of the card note.
  • the method before displaying the card information corresponding to the card note, the method further includes: the electronic device displays a password input box; the electronic device receives the password input by the user The authentication password input in the box; the displaying the card information corresponding to the card note includes: displaying the corresponding card information when the authentication password matches the pre-configured access password.
  • an electronic device provided by an embodiment of the present application, includes one or more processors, a memory, and a wireless communication module; the electronic device also includes a memo application, and the memory, the wireless communication module and the The processors are coupled, and the memory is used to store computer program codes.
  • the computer program codes include computer instructions.
  • the one or more processors execute the computer instructions, the one or more processors are used to: receive the user's application of the memo the first operation; in response to the first operation, displaying the first interface of the memo application; the first interface includes a first control for viewing card notes; receiving the user's second control on the first control Two operations; in response to the second operation, display the second interface of the memo application; the second interface is used to display at least one card note that has been created, and the card note corresponds to the collected card information ; receiving a third operation of the user on the card note; in response to the third operation, displaying card information corresponding to the card note.
  • the one or more processors are further configured to: before displaying the second interface of the memorandum, receive a fourth operation instructing the user to create a card note; in response to the fourth The operation is to obtain the card information, and create the card note in the memorandum according to the card information.
  • the electronic device includes a camera; the card information includes a card scan image; and the one or more processors are further configured to: after receiving the fourth operation, display A fourth interface including a scanning frame; wherein, the scanning frame corresponds to a collection area of the camera; when the physical card is placed in the collection area corresponding to the scanning frame, rectangular correction is performed on the first image area, Obtain a scan preview; the first image area is the area where the physical card is displayed in the preview image collected by the camera; display the edge information of the scan preview; when the edge information is displayed and the user receives the When an operation of scanning is instructed, the card scan image is acquired; and the card information is acquired according to the card scan image.
  • the one or more processors are further configured to: display a fifth interface; the fifth interface includes information for guiding the user to draw the Reminder information of the scanning frame; receiving a first sliding operation of the user on the fifth interface; and displaying the fourth interface including the scanning frame according to a first track corresponding to the first sliding operation.
  • the card information further includes watermark text information; the one or more processors are further configured to: display a sixth interface after receiving the fourth operation; the first The sixth interface includes a watermark text input area; receiving the second sliding operation of the user in the watermark text input area; displaying watermark text information with handwriting characteristics according to the second track corresponding to the second sliding operation; The card scan image is combined with the watermark text information to obtain the card information.
  • the one or more processors are further configured to: when the card information is displayed, receive a sixth operation instructing printing from the user; in response to the sixth operation, Send the card information to the printing device.
  • the one or more processors are further configured to: identify the expiration date information in the card information; wherein the expiration date information includes the expiration date in the card scan image or The service life in the watermark text information; according to the time limit information, a reminder is set for the card note, which is used to remind the expiration time of the card note.
  • the one or more processors are further configured to: display a password input box; The authentication password entered in; if the authentication password matches the pre-configured access password, the corresponding card information is displayed.
  • a computer storage medium provided by an embodiment of the present application includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device executes the electronic device according to the first aspect and any possible design thereof. method described in the method.
  • an embodiment of the present application provides a computer program product.
  • the computer program product runs on a computer, the computer executes the method described in the first aspect and any possible design manner thereof.
  • the electronic device described in the second aspect and any possible design thereof provided above, the computer storage medium described in the third aspect, and the computer program product described in the fourth aspect are all used to execute
  • the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding methods provided above, and will not be repeated here.
  • Fig. 1 is one of the display schematic diagrams provided in the embodiment of the present application.
  • FIG. 2 is a schematic diagram of a hardware architecture of an electronic device provided in an embodiment of the present application.
  • Fig. 3 is one of the step flow charts of a card information management method provided by the embodiment of the present application.
  • Figure 4 is the second schematic diagram of the display provided in the embodiment of the present application.
  • Figure 5 is the third schematic diagram of the display provided in the embodiment of the present application.
  • Figure 6 is the fourth schematic diagram of the display provided in the embodiment of the present application.
  • Figure 7 is the fifth schematic diagram of the display provided in the embodiment of the present application.
  • Figure 8 is the sixth schematic diagram of the display provided in the embodiment of the present application.
  • Figure 9 is the seventh schematic diagram of the display provided in the embodiment of the present application.
  • Figure 10 is the eighth schematic diagram of the display provided in the embodiment of the present application.
  • Figure 11 is the ninth schematic diagram of the display provided in the embodiment of the present application.
  • Figure 12 is the tenth display schematic diagram provided in the embodiment of the present application.
  • Figure 13 is the eleventh display schematic diagram provided in the embodiment of the present application.
  • Figure 14 is the twelveth display schematic diagram provided in the embodiment of this application.
  • FIG. 15 is a schematic diagram of the architecture of the memo application program provided in the embodiment of the present application.
  • FIG. 16 is a schematic diagram of the scanning principle provided in the embodiment of the present application.
  • Fig. 17 is the second flowchart of steps of a card information management method provided by the embodiment of the present application.
  • Fig. 18 is the third step flow chart of a card information management method provided by the embodiment of the present application.
  • FIG. 19 is a schematic diagram of the principle of text extraction provided by the embodiment of the present application.
  • FIG. 20 is an example diagram of a chip system provided by an embodiment of the present application.
  • the original card is required to make a replacement card.
  • the original ID card needs to be used for printing.
  • the original ID card is also required to be scanned.
  • the user will use the electronic device to collect the image of the original card, and obtain the photo containing the card as the card information.
  • the user can make a substitute at any time according to the above card information.
  • a user uses an electronic device to take a photo of an ID card to obtain a photo containing the ID card.
  • the electronic device can respond to the user's operation and send the photo containing the ID card to the printing device, and the printing device will print it.
  • the card information obtained by taking photos is uniformly stored in the gallery of electronic devices.
  • the above card information is easily overwhelmed.
  • the large number of photos in the gallery also makes it difficult for users to find card information. That is, in the related art, there is a problem of poor human-computer interaction in the process of managing card information.
  • an embodiment of the present application provides a card information management method.
  • the problem of poor human-computer interaction is managed and displayed by the memo application of the electronic device in a unified manner.
  • FIG. 1 shows the desktop 101 of the mobile phone, also known as the main interface, and the desktop 101 includes icons of application programs (Application, APP) installed in the mobile phone, such as memo The icon 102 of the APP.
  • the mobile phone may display an interface 103 as shown in (b) in FIG. 1 , also called the first interface, in response to the user's operation on the icon 102, also called the first operation, such as a click operation.
  • the interface 103 includes a plurality of created notes, such as memo content 1, memo content 2, and memo content 3, etc., and the above notes are notes in conventional memos, also called memo notes.
  • the memo note can be used to instruct to display the corresponding general memo information, so that when the mobile phone receives an operation on the memo note, it can display an interface containing the corresponding memo item.
  • the above-mentioned interface 103 also includes a note option 104 and a certificate option 105 .
  • the aforementioned note option 104 and certificate option 105 respectively refer to different functional modes of the memo app.
  • the note option 104 above corresponds to the note taking function mode of the memo APP.
  • the above certificate option 105 also known as the first control, corresponds to the certificate management function mode of the Memo APP.
  • the above-mentioned interface 103 is a display interface corresponding to the note recording function mode
  • the interface 106 shown in (c) in FIG. 1 is a display interface corresponding to the certificate management function mode.
  • the mobile phone can switch the display interface 106 in response to the user's selection operation on the certificate option 105 in the interface 103 , for example, a click operation, also referred to as a second operation.
  • the above-mentioned interface 106 can also be called a card management interface, and the interface 106 also includes a note option 104 and a certificate option 105 .
  • the mobile phone may also switch the display interface 103 in response to the user's selection operation on the note option 104 in the interface 106 , for example, a click operation.
  • the interface 106 also includes a plurality of card notes, such as a note 107 titled ID 1, a note 108 titled ID 2, and a note 109 titled ID 3, etc.
  • Each card note corresponds to a created card information.
  • each card note is also an access entry for card information, which is used to trigger the display of the card information.
  • the mobile phone can respond to the user's operation on the note 107, as shown in (d) in FIG. 1, the mobile phone can display the card information of the certificate 1.
  • the card information can be managed and displayed separately.
  • the user needs to inquire about the card information, he only needs to trigger the display interface 106 of the mobile phone through an operation, which is convenient for the user to find the card information, and at the same time, improves the efficiency of human-computer interaction.
  • the above-mentioned electronic device may also be other devices.
  • the above-mentioned electronic device can also be a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, a personal computer (personal computer, PC), a netbook, a cellular phone, a personal digital assistant (personal digital assistant, PDA) , wearable devices (such as smart watches), car computers, game consoles, and augmented reality (augmented reality, AR) ⁇ virtual reality (virtual reality, VR) equipment and other equipment.
  • the embodiment of the present application does not specifically limit the specific form of the electronic device.
  • FIG. 2 shows a schematic structural diagram of the mobile phone.
  • the mobile phone can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, A speaker 170A, a receiver 170B, a microphone 170C, an earphone jack 170D, a sensor module 180 and the like.
  • a processor 110 an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, A speaker 170A, a receiver 170B, a microphone 170C, an earphone jack 170D, a sensor module 180 and the like.
  • a processor 110 an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module
  • the structure shown in the embodiment of the present invention does not constitute a specific limitation on the mobile phone.
  • the mobile phone may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit, NPU
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
  • the wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in a mobile phone can be used to cover single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied to mobile phones.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
  • the wireless communication module 160 can provide applications on mobile phones including wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system ( Global navigation satellite system (GNSS), frequency modulation (frequency modulation, FM), near field communication (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the mobile phone is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • LTE long term evolution
  • BT GNSS
  • WLAN NFC
  • FM
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou satellite navigation system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the mobile phone realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the mobile phone may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the mobile phone can realize shooting function through ISP, camera 193 , video codec, GPU, display screen 194 and application processor.
  • the ISP is used for processing the data fed back by the camera 193 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the mobile phone may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone selects the frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
  • Video codecs are used to compress or decompress digital video.
  • a mobile phone can support one or more video codecs.
  • the mobile phone can play or record videos in multiple encoding formats, such as: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the processor 110 executes various functional applications and data processing of the mobile phone by executing instructions stored in the internal memory 121 .
  • the internal memory 121 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the mobile phone can realize the audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and is also used for converting analog audio input into digital audio signal.
  • the audio module 170 may also be used to encode and decode audio signals.
  • the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the mobile phone may be provided with at least one microphone 170C.
  • the mobile phone can be provided with two microphones 170C, which can also implement a noise reduction function in addition to collecting sound signals.
  • the mobile phone can also be equipped with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and realization of directional recording functions, etc.
  • the mobile phone may also include a charging management module, a power management module, a battery, buttons, an indicator, and one or more SIM card interfaces, etc., which are not limited in this embodiment of the present application.
  • the mobile phone also includes a software system.
  • the software system of the above-mentioned mobile phone may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture.
  • the Android system with layered architecture is taken as an example to illustrate the software structure of the mobile phone.
  • the above layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
  • the Android system is divided into four layers, which are respectively the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer from top to bottom.
  • the application layer can consist of a series of application packages.
  • the application program layer may include: APPs such as call, memo, browser, camera, gallery, calendar, short message, and desktop.
  • APPs such as call, memo, browser, camera, gallery, calendar, short message, and desktop.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a print manager, an alarm manager (AlarmManager), a window manager, a content provider, a view system, a resource manager, a notification manager, and the like.
  • AlarmManager alarm manager
  • the window manager may include a content provider, a view system, a resource manager, a notification manager, and the like.
  • the print manager is a print frame provided by the mobile phone, and the PrintJob print class provided by the above print manager can be used to create a print job, that is, convert the content to be printed into a printable document.
  • the above-mentioned print manager can also send a document to be printed (such as a print job) to the connected printing device, so as to instruct the printing device to complete the printing job.
  • the application framework layer also includes a print adapter that cooperates with the print manager, and the print adapter is used to select a printer and print options.
  • the above-mentioned AlarmManger provides an access interface to the timing service of the system, so that the developer can arrange to run the target application at a specific time (eg, a specified time in the future).
  • a specific time eg, a specified time in the future.
  • the system broadcasts the pre-registered intent (Intent). If the target application has not been started at this time, the system can also automatically start the target application. Even if the mobile phone goes to sleep, it can also wake up the processor, such as waking up the central processing unit (CPU), which can ensure that the CPU can work normally every time it needs to perform a specific task.
  • the processor such as waking up the central processing unit (CPU), which can ensure that the CPU can work normally every time it needs to perform a specific task.
  • CPU central processing unit
  • the window manager described above is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • the above-mentioned content providers are used to store and obtain data, and make these data accessible to applications.
  • Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
  • Each display interface can consist of one or more controls.
  • controls may include interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets (Widgets).
  • the resource manager mentioned above provides various resources for the application, such as localized strings, icons, pictures, layout files, video files and so on.
  • the above-mentioned notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify the download completion, message reminder, etc.
  • the notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sending out prompt sounds, vibrating, and flashing lights, etc.
  • the system library may include multiple functional modules. For example: layer integrator (SurfaceFlinger), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • SurfaceFlinger is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the Android Runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application program layer and the application program framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least a camera driver, an audio driver, a sensor driver, etc., which are not limited in this embodiment of the present application.
  • the above-mentioned card note may be created by the mobile phone in response to the user's operation in the memo APP.
  • the above method may include the following steps:
  • the mobile phone displays a card management interface.
  • the mobile phone may display the interface 103 in response to the user's selection operation on the icon of the memo APP, such as clicking, the memo runs in the note-taking function mode by default. Afterwards, in response to the user's click operation on the certificate option 105 on the interface 103, the mobile phone triggers the memorandum to enable the certificate management function mode, and displays the interface 106, that is, the card management interface.
  • the mobile phone displays a note creation interface in response to the user's operation on the card management interface.
  • the user can trigger the mobile phone to display the above-mentioned note creation interface by operating a designated control.
  • the above specified control may be a control for instructing to create a card note in the card management interface, such as the control 401 shown in (a) of FIG. 4 , which is also called the second control. That is, after the mobile phone receives the user's operation on the control 401, such as a click operation, the note creation interface can be displayed, such as the interface 402 shown in (b) in FIG. 4 .
  • the user can also use a specified operation to trigger the mobile phone to display the above note creation interface.
  • the specified operation may also be a preset gesture input by the user on the note creation interface, such as an S-shaped gesture or a slide gesture.
  • the preset gesture can be preconfigured in the mobile phone.
  • the mobile phone can prompt the user with the preset gesture and the function triggered by the preset gesture when displaying the card management interface. For example, prompting the preset gesture can trigger the mobile phone display interface 402 to realize the function of creating card information.
  • note creation interface may be an interface for creating card information. Users can configure card information in the note creation interface.
  • the mobile phone receives the user's operation on the note creation interface, and creates a card note according to the configuration process template.
  • the above-mentioned note creation interface includes a functional interface for configuring card information, such as called the first interface.
  • the first interface in the note creation interface can be divided into an interface for configuring image data, an interface for configuring text, and the like.
  • the mobile phone can acquire card information according to the user's operation on the first interface.
  • the interface 402 includes multiple first interfaces.
  • the above-mentioned first interface includes a control 403 named "picture”, a control 404 named “voice” and a control 405 named "handwriting".
  • the picture control 403 is an interface for entering image data.
  • the aforementioned voice control 404 and handwriting control 405 are interfaces for inputting text.
  • the user can determine the card information from the image dimension by operating the picture control 403 . For example, by operating the picture control 403, an image including a card is entered. In this way, the mobile phone can acquire the image information of the original card in response to the user's operation on the picture control 403 .
  • the user can also determine the card information from the text dimension by operating the voice control 404 or the handwriting control 405 , for example, by operating the voice control 404 or the handwriting control 405 to mark the use authority and expiration date of the card.
  • the mobile phone can respond to the user's operation on the voice control 404 or the handwriting control 405 , receive the user's input content, and convert it into text for display on the interface 402 .
  • the mobile phone may collect sound data in response to the user's click operation on the voice control 404, and convert the collected sound data into text.
  • the mobile phone in response to the user's click operation on the handwriting control 405, the mobile phone can obtain the user's sliding track on the display screen, and convert it into unique text, that is, text with personal handwriting characteristics.
  • At least one method may be used to determine the card information from the text dimension.
  • the card information in the image dimension can also be obtained in at least one way. For example, the method of enabling the camera in real time to shoot, the method of obtaining from the existing library, and the method of enabling the camera in real time to scan the card, etc.
  • the mobile phone may display a selection window 406 as shown in (c) of FIG. 4 after receiving that the user clicks on the picture control 403 .
  • the selection window 406 includes at least one selection item, for example, the selection item 407 named "photograph”, the selection item 408 named “scan”, and the selection item 409 named "gallery".
  • Each option represents a way to obtain card information.
  • the photographing option 407 is used to indicate that the image information including the card is obtained by direct photographing.
  • the scan selection item 408 is used to instruct to call the camera to scan the original card, so as to obtain the card information.
  • the gallery selection item 409 is used to instruct to search the stored image information containing the card from the gallery.
  • the mobile phone may display a viewfinder interface for photographing.
  • the viewfinder frame in the viewfinder interface can display a preview image collected by the camera.
  • the viewfinder interface 501 includes a viewfinder frame 502 , and the viewfinder frame 502 displays a captured preview image including a contract and a bank card.
  • the viewfinder interface 501 also includes a control 503 for instructing shooting.
  • the mobile phone receives the user's operation on the control 503, the mobile phone determines the preview image in the viewing frame 502 as the card information to be selected, and displays the interface 504 shown in (b) in FIG. 5 .
  • image 505 is included in interface 504 .
  • This image 505 is an image including a contract and a bank card.
  • the interface 504 may also include a retake control 506 , a save control 507 and a print control 508 .
  • the retake control 506 is used to instruct to discard the image 505 and recapture.
  • the save control 507 is used to indicate that the confirmation image 505 is card information and saved.
  • the print control 508 is used to instruct to determine that the image 505 is card information and print it.
  • the mobile phone when the mobile phone receives the user's operation on the retake control 506, such as a click operation, the mobile phone displays the viewfinder interface 501 again, so as to re-capture.
  • the mobile phone When the mobile phone receives the user's operation on the save control 507, such as a click operation, as shown in (c) in Figure 5, the mobile phone displays the interface 402 again, and the interface 402 at this time includes the collected card information (that is, image 505), to indicate that the scan is complete.
  • the interface 402 also includes an input box for indicating the input title, and the mobile phone can determine the name of the card information created this time according to the user's input operation in the input box, so as to facilitate user division.
  • the mobile phone receives an operation on the confirmation control 410, the mobile phone generates a card note according to the content in the interface 402.
  • the mobile phone When the mobile phone receives the user's operation on the printing control 508, such as a click operation, the mobile phone sends the image 505 as card information to the connected printer for printing.
  • the user operates the scan option 408 in the interface 402, and the mobile phone can receive the user's operation on the scan option 408, and the mobile phone can display the screen shown in (b) in Figure 6 interface 601 .
  • a selection window 602 is included in the interface 601 .
  • the selection window 602 includes multiple configuration items. Different configuration items can correspond to process templates for configuring different cards.
  • the number of card sides to be scanned may be different.
  • an ID card usually needs to be scanned on both sides, while a student ID card only needs to scan the front side.
  • different types of cards may have different shapes and sizes. For example, an ID card is a smaller rectangle, while a graduation certificate is a larger rectangle. Therefore, different types of cards require different configuration process templates.
  • the required configuration process templates can be the same.
  • dedicated provisioning process templates may be preset for common cards. For example, for ID cards, bank cards, passports, driving licenses and driver’s License configuration item 606 and driver's license configuration item 607. Among them, each configuration item corresponds to the process template for configuring the corresponding certificate. In addition to the dedicated process templates corresponding to the above enumerated types of cards, dedicated process templates can also be preset for other cards, which is not specifically limited in this embodiment of the present application.
  • a configuration process template applicable to all cards can also be preset, such as a common process template.
  • the selection window 602 can also include a general configuration item 608 for enabling the general process template to obtain card information.
  • the mobile phone can start a corresponding configuration process template according to the configuration item selected by the user in the selection window 602, thereby instructing the user to complete the configuration of the card information.
  • the mobile phone can display a scanning interface 701 as shown in (a) in FIG. 7 , which is also called the fourth interface.
  • the scanning interface 701 is used to guide the user to use the mobile phone to scan the front of the ID card.
  • the scanning interface 701 includes a scanning frame 702 .
  • a preview image captured by the camera can be displayed in the scanning frame 702 .
  • the scan frame 702 also includes a scan frame 703, which is used to indicate the ideal position of the front of the ID card (that is, the physical card) in the preview image. Understandably, the real space displayed by the preview image can be regarded as the capture range of the camera.
  • Each image area in the preview image corresponds to an acquisition area in the acquisition range.
  • the scanning frame 703 may correspond to the collection area 1 in the collection range, then in the real space, the user puts the ID card in the collection area 1, then the ID card can be displayed in the scanning frame 703 of the preview image.
  • the mobile phone instructs the user to adjust the position and angle between the mobile phone and the original ID card by displaying the scan frame 703, so that the front of the ID card in the collected preview image is within the scan frame 703, and the ID card The edge of is close to the scan frame 703 .
  • the scanning interface 701 also includes a shooting control 704 for instructing shooting.
  • the mobile phone before receiving the user's operation on the shooting control 704, the mobile phone may perform preprocessing on the preview image collected by the camera.
  • the process that the mobile phone can preprocess the preview image captured by the camera includes: when the ID card is placed in the collection area corresponding to the scanning frame 703, the mobile phone recognizes the display area of the ID card in the preview image, such as is the first image area. Rectangular correction is then performed on the first image area to obtain a scanned preview image of the ID card. The obtained edge information of the scanned preview image is obtained, and the edge information is displayed on the scanning interface 701 . In this way, the user can preview the size and position of the scanned image of the ID card that can be obtained by operating the shooting control 704 at this time according to the edge information displayed on the scanning interface 701 , so as to facilitate the user to decide whether to operate the shooting control 704 .
  • the mobile phone After the mobile phone receives the user's operation on the shooting control 704, the mobile phone first saves the preview image collected by the camera at this time, for example, it is called storage image 1 . According to the instruction of the scanning frame 703, the mobile phone obtains the scanned image of the front of the ID card from the stored image 1.
  • the way to obtain the scanned image of the front of the ID card from the stored image 1 may be: the mobile phone obtains the recognition area indicated by the scanned frame 703 from the stored image 1 according to the instruction of the scanned frame 703 .
  • the above identification area is the image area enclosed by the scanning frame 703 after the scanning frame 703 is mapped to the stored image 1 .
  • the ID card in the stored image 1 may be located in the identification area.
  • the mobile phone automatically recognizes the outline information of the ID card from the recognition area, thereby cutting out the image data indicating the ID card based on the outline information.
  • the cropped image data is rectified to obtain a scanned image of the front of the ID card.
  • the process of "the mobile phone automatically recognizes the outline of the ID card in the stored image, cuts out the image data indicating the ID card, and performs rectangle correction on the cut out image data” can also be called automatic correction.
  • the mobile phone may display a scanning interface 705 as shown in (b) of FIG. 7 .
  • the scanning interface 705 is used to guide the user to use the mobile phone to scan the reverse side of the ID card.
  • the scanning interface 705 includes a scanning box 706 .
  • a preview image captured by the camera can be displayed in the scanning frame 706 .
  • the scan frame 706 also includes a scan frame 707, which is used to indicate the ideal position of the reverse side of the ID card in the preview image.
  • the mobile phone displays the scanning frame 707 to instruct the user to adjust the position and angle between the mobile phone and the original ID card, so that the reverse side of the ID card in the collected preview image is within the scanning frame 707, and the ID card The edge of is close to the scan border 707 .
  • the scan interface 705 also includes a capture control 708 for instructing capture. After the mobile phone receives the user's operation on the shooting control 708, the mobile phone first saves the preview image collected by the camera at this time, for example, it is called the stored image 2 .
  • the mobile phone obtains the scanned image of the reverse side of the ID card from the stored image 2. Understandably, the principle of obtaining the scanned image of the reverse side of the ID card is the same as that of obtaining the front side of the ID card, and will not be repeated here.
  • the above process of scanning the front and back pages of the ID card is part of the process template for configuring the ID card.
  • the mobile phone may also switch to other configuration flow templates in response to user operations.
  • both the scanning interface 701 and the scanning interface 705 include an ID card control 709 , a bank card control 710 , a passport control 711 and the like.
  • the ID card control 709 is used to indicate the process template for configuring the "ID card”.
  • the ID card control 709 is in a selected state.
  • the above-mentioned bank card control 710 is used to indicate the configuration process template of "bank card”.
  • the aforementioned passport control 711 is used to indicate the "passport" configuration process template. Of course, it may also include a control for instructing other card configuration process templates, which will not be repeated here.
  • the user can trigger the mobile phone to switch from the process template for configuring the ID card to other process templates by selecting the bank card control 710 or the passport control 711 . Therefore, it is convenient for the user to switch the configuration process flexibly, and the human-computer interaction is improved.
  • the mobile phone can directly store the scanned front and back sides of the ID card as card information. In other embodiments, after the mobile phone scans the front and back of the ID card, the mobile phone can adjust the front and back of the ID card in response to user operations. Then use the adjusted front and back of the ID card as the card information and save it.
  • configuring the process template of the ID card may also include a process of adjusting the front and back of the scanned ID card. That is, after scanning the front and back of the ID card, the mobile phone may display an interface 801 as shown in (a) in FIG. 8 , which is also called the sixth interface.
  • the above-mentioned interface 801 includes the front and back sides of the scanned ID card.
  • the above-mentioned interface 801 also includes controls for instructing to adjust the front and back sides of the ID card, such as manual correction controls, retake controls, watermark controls (also called third controls), encryption controls, and the like.
  • the manual correction control is used to trigger manual rectangle correction for the front or back of the ID card.
  • the retake control is used to instruct to rescan the front and back of the ID card.
  • the watermark control is used to instruct to add specific marks, such as text, pattern, etc., on the interface including the front and back pages of the ID card.
  • the encryption control is used to trigger the addition of access rights for the front and back of the ID card.
  • the mobile phone when it receives the user's operation on the manual correction control, it may display the interface 802 shown in (b) in FIG. 8 .
  • the interface 802 includes a stored image 1 corresponding to the front of the ID card and a contour determination box 803 .
  • the mobile phone can prompt the user to adjust the positions of the four vertices 804 of the contour determination frame 803 so that the adjusted contour determination frame 803 coincides with the actual contour of the ID card in the stored image 1.
  • the mobile phone cuts out the image area displaying the ID card (that is, the image area containing the ID card) from the stored image 1 according to the outline determination frame 803, and performs rectangle correction on the image area to obtain the scanned identity card. certificate positive.
  • the mobile phone can display the interface 805 shown in (c) in FIG. 8 .
  • the interface 805 includes the stored image 2 corresponding to the reverse side of the ID card and a contour determination box 806 .
  • the mobile phone can prompt the user to adjust the positions of the four vertices 807 of the contour determination frame 806, so that the adjusted contour determination frame 806 coincides with the actual contour of the ID card in the stored image 2.
  • the mobile phone cuts out the image area displaying the ID card (that is, the image area containing the ID card) from the stored image 2 according to the outline determination frame 806, and performs rectangular correction on the image area to obtain the scanned identity card. Negative proof.
  • the manually corrected card information is obtained.
  • the contour information of the card (eg, ID card) in the stored image is manually determined by adjusting the position of each vertex of the contour determination frame.
  • the image area where the card is actually displayed is more accurately cropped.
  • the mobile phone performs rectangle correction on the cropped image area, a more accurate scan image of the card can be obtained.
  • the obtained card scan image can better meet the user's needs, reduce the number of repeated scans by the user, and improve the efficiency of human-computer interaction in card scanning.
  • the above embodiment describes the manual correction of the scanned images of the front and back sides of the ID card in sequence.
  • it may be specified to perform manual correction only on the front side of the ID card, or it may be specified to perform manual correction only on the reverse side of the ID card.
  • the mobile phone receives the user's operation on the manual correction control, if it receives the user's operation on the front of the ID card in the interface 801, such as a click operation, the interface 802 is displayed.
  • the mobile phone displays the interface 801 again, and at this time the front of the ID card in the interface 801 is the manually corrected image.
  • the interface 805 is displayed.
  • the mobile phone displays the interface 801 again, and at this time, the reverse side of the ID card in the interface 801 is the manually corrected image.
  • the mobile phone may re-display the scanning interface 701, thereby restarting the process template for configuring the ID card.
  • the mobile phone receives the user's operation on the watermark control, which is also called the fifth operation, such as a click operation, and may display an interface 901 shown in (a) of FIG. 9 , also called the seventh interface.
  • the interface 901 includes not only the scanned image of the card (eg, the front and back sides of the scanned ID card), but also a watermark text input area.
  • the above-mentioned interface 901 also includes a text watermark control and a handwritten watermark control.
  • the above-mentioned text watermark control and handwriting watermark control are both used to trigger the mobile phone to receive watermark information input by the user, such as text, specific symbols, etc., and display them in the watermark text input area.
  • the display is as shown in (b) in FIG. 9
  • the interface 901 also includes a virtual keyboard 902 and a cursor 903 .
  • the user can input watermark information through the virtual keyboard 902 , so that the mobile phone can obtain the watermark information input by the user according to the user's input operation on the virtual keyboard 902 .
  • the mobile phone receives the watermark information input by the user as "this scanned copy is only for renting a house”.
  • the interface 801 at the time also includes the watermark information set by the user, such as "this scanned copy is only for rental use” displayed between the front and back of the ID card.
  • the card information with watermark is obtained.
  • the cursor 903 may indicate the display position of the above watermark information in the interface 801 . Understandably, the user can click on different positions in the interface 901 to change the position of the cursor 903 . That is, the mobile phone can determine the clicked position according to the click operation received from the user on the interface 901 , and display the cursor 903 at the clicked position.
  • the user can also set the watermark information by operating the handwritten watermark control.
  • the user can handwrite the watermark text in the interface, and the process of handwriting the watermark text can be regarded as a second sliding operation.
  • the mobile phone determines the second trajectory according to the second sliding operation. And display the second track as watermark text information.
  • the above-mentioned second trajectory is actually a character stroke handwritten by the user with personal handwriting characteristics.
  • the user can also adjust the size and display position of the second sliding track year-on-year by operating the mobile phone. In this way, the obtained card information contains the watermark text information written by the user himself. Improve the problem that users can only write the usage rights in paper card information.
  • the above card information can be obtained by combining the scanned image of the card and the watermark text information.
  • the mobile phone may receive the access password configured by the user for the scanned front and back of the ID card, so as to obtain encrypted card information.
  • the interface 801 also includes a confirmation control 904 .
  • the confirmation control 904 is also used to indicate that the configuration of the confirmation card information is completed.
  • the mobile phone may display an interface 1001 as shown in (a) in FIG. 10 , such as a card preview interface.
  • the interface 1001 includes card information for storage, and the card information includes the front and back of the ID card and configured watermark information.
  • the interface 1001 also includes a control 1002 for indicating completion and a control 1003 for indicating printing, also referred to as a fourth control.
  • the mobile phone can display the interface 402 again.
  • the interface 402 at this time includes the card information corresponding to the ID card and an input box for indicating the input title.
  • the name of the card information created this time for example, if the mobile phone receives the user input "Certificate 4" in the input box of the title, then it is determined that the name of the card information created this time is "Certificate 4".
  • the mobile phone receives an operation on the confirmation control 410, the mobile phone generates a card note according to the content in the interface 402.
  • the user operations received by the mobile phone can be regarded as the fourth operation.
  • the mobile phone when the mobile phone receives the user's operation on the control 1003 that instructs to print, also known as the sixth operation, and generates card notes, share the card information to the printer communicating with the mobile phone, so as to make a copy of the ID card .
  • the above-mentioned interface 106 may also be referred to as a second interface.
  • the interface 106 also includes a card note 1101 named "Certificate 4". Understandably, in the process of creating the card note 1101, if an access password is configured, when the mobile phone receives the user's click operation on the card note 1101, the interface 1102 shown in (b) in Figure 11 can be realized , the interface 1102 includes a password input box 1103 for receiving an authentication password input by the user.
  • the mobile phone After receiving the authentication password input by the user in the password input box 1103, the mobile phone compares the authentication password with the pre-configured access password, and if the two match, as shown in (c) in Figure 11, the interface 1102 The display of the password input box 1103 is canceled, and the card information corresponding to the certificate 4 is displayed, that is, the third interface is displayed.
  • the card information corresponding to the above-mentioned certificate 4 may also be called the first card information.
  • the above-mentioned click operation on the card note 1101 and/or the operation of inputting the authentication password may be referred to as a third operation.
  • the interface 1102 also includes a control 1104 for instructing printing, which is also called a fifth control.
  • a control 1104 for instructing printing which is also called a fifth control.
  • the mobile phone receives the user's operation on the control 1104, which can also be referred to as the sixth operation, the card information displayed on the interface 1102 is shared with the printer communicating with the mobile phone, so as to make a copy of the ID card.
  • the special process template using the ID card is enumerated to create the card information corresponding to the ID card.
  • the special process templates for other cards are similar to the special process templates for ID cards. For example, the cards need to be scanned first, and then the scanned card information can also be adjusted in response to user operations.
  • the difference between different dedicated process templates may be different number of scanned sides, different shapes of scanned borders, or different title types, etc.
  • the mobile phone's memo APP also includes a general process template to meet different card scanning needs of users.
  • the user can operate the general configuration item 608, so that the mobile phone can respond to the user's operation on the general configuration item 608, and display the Interface 1201 is also called the fifth interface.
  • the interface 1201 may be used to remind the user to determine the scan frame within the range of the scan frame 1202, for example, a reminder message may be displayed to guide the user to draw the scan frame.
  • the user can draw the shape of the scanning frame in the scanning frame 1202 according to the shape of the actually scanned card.
  • the user's operation of drawing a scanning frame on the interface 1201 may also be referred to as a first sliding operation.
  • the above-mentioned first sliding operation corresponds to a first track, that is, a track displayed by the mobile phone in response to the first sliding operation.
  • the required scanning card is a circular medal
  • the user can draw a circular trajectory in the scanning frame 1202, so that the mobile phone responds to the user's operation in the scanning frame 1202, as shown in FIG.
  • a scan frame 1203 is displayed in the center, and the interface 1201 displayed with the scan frame may also be referred to as a fourth interface.
  • a preview image captured by the camera can also be displayed in the scanning frame 1202 .
  • the scan frame 1203 is used to indicate the ideal position of the circular medal in the preview image.
  • the mobile phone instructs the user to adjust the position and angle between the mobile phone and the circular medal by displaying the scan frame 1203, so that the circular medal in the collected preview image is located within the scan frame 1203, and the medal's The edges are close to the scan border 1203 .
  • the user can draw multiple scanning frames in the scanning frame 1202 at the same time, so that the mobile phone determines multiple scanning frames after receiving the user's first sliding operation in the interface 1201 .
  • the interface 1201 also includes a control 1204 for instructing shooting.
  • the mobile phone After the mobile phone receives the user's operation on the control 1204, the mobile phone first saves the preview image collected by the camera at this time, and the saved preview image is also the captured preview image, for example, it is called the stored image 3 .
  • the mobile phone acquires the scanned image of the medal from the stored image 3 according to the instruction of the scanning frame 1203 . Understandably, the principle of obtaining the scanned image of the medal is the same as the principle of obtaining the scanned image of the ID card, and will not be repeated here.
  • a confirmation window 1205 is displayed on the interface 1201 .
  • the determination window 1205 is used to prompt the user whether to continue scanning other sides of the card.
  • a control 1206 indicating to continue scanning and a control 1207 indicating not to continue scanning are included in the confirmation window 1205 .
  • the mobile phone receives the user's operation on the control 1206, the mobile phone displays the interface 1201 again.
  • an interface 1301 as shown in FIG. 13 is displayed.
  • the interface 1301 is similar to the interface 801, the difference is that the interface 1301 displays a scanned image of a medal.
  • the user can also operate the controls in the interface 1301 (eg, manual correction control, retake control, watermark control, encryption control, etc.), thereby triggering the mobile phone to adjust the medal scan image.
  • the process of adjusting the scanned image and finally creating the corresponding card note can refer to the implementation process of adjusting the front and back of the ID card and creating the corresponding card note in the aforementioned embodiment, which will not be repeated here. repeat.
  • the display position and size of the scanned image of the medal in the interface 1301 are determined by the scanning frame 1203.
  • the user can use each scanning frame to scan to obtain a scanned image of the physical card.
  • the mobile phone can capture multiple scan images of the physical card through multiple scan frames.
  • the multiple scans may be scans corresponding to different sides of the same physical card, or may be scans of different cards.
  • the handset may capture a preview image in response to a user action.
  • the preview image if the card appears in any scan frame, the corresponding scan image can be obtained.
  • the mobile phone may display the confirmation window 1205 after obtaining the corresponding scan image through at least one scanning frame, until the mobile phone obtains the corresponding scan image through all the scanning frames or the mobile phone receives the user's operation on the control 1207 .
  • the last scan image obtained through the scan frame can be determined as the corresponding scan image.
  • the mobile phone determines the scanning frame a and the scanning frame b in response to the first sliding operation input by the user.
  • the card appears in the scanning frame a, but the card does not appear in the scanning frame b, then a scanned image of the card appearing in the scanning frame a can be obtained, at this time, a confirmation window 1205 can be displayed , after the user clicks the control 1206, the scan frame a and the scan frame b continue to be displayed.
  • the mobile phone can capture the preview image again in response to the user operation.
  • a card appears in the scan frame b, and the scan frame can be obtained The scanned image corresponding to the card appears in b.
  • the scanned images obtained through the above-mentioned multiple scanned frames can be displayed on the same interface.
  • the scanned images corresponding to the scanning frame a and the scanning frame b can be displayed on the same interface.
  • the positions and sizes of the display of the multiple scan images are the same as those of the multiple scan borders. In this way, when the user needs to arrange multiple card scans on the same display interface, he can arrange the layout of each scan in advance (for example, determine the location and size of each scan). Reduce the running load required for arranging multiple scans on the mobile phone to ensure user experience.
  • the function of scanning the card can also be integrated into other applications, for example, integrated into the camera APP, that is, the function of scanning the card and creating card information is realized in the camera APP. Then store the card information in the gallery in the form of pictures.
  • the mobile phone displays the interface 402 shown in (a) in Figure 14, it receives the user's operation on the gallery selection item 409, and displays the interface 1401 shown in (b) in Figure 14, and the interface 1401 displays There is card information collected by the camera APP.
  • the user can select the target card information from the interface 1401, so that the mobile phone can display the interface 402 shown in (c) in FIG. 14 in response to the user's selection operation on the card information.
  • the interface 402 includes card information selected by the user in the gallery. Afterwards, the mobile phone can also create a card note corresponding to the card information.
  • the mobile phone can determine the valid period extracted from the reverse side of the ID card as the recognized period information.
  • the mobile phone may determine the usage period in the watermark information as the identified expiration date information.
  • the mobile phone can remind the user of the time limit according to the time limit information, thereby reminding the user of the validity of the card note.
  • the form of the reminder can be a reminder inside the memo APP.
  • the corresponding time limit information is displayed at the card note, as shown in (a) in Figure 11, the card notes indicating the ID card all display corresponding time limit information.
  • the form of the above-mentioned reminder can also be an alarm clock reminder or a calendar reminder, that is, when the system time of the mobile phone reaches the time point indicated by the deadline information, the alarm clock APP or the calendar APP is triggered to remind the due date . Understandably, the embodiment of the present application does not specifically limit the form of implementing the reminder.
  • card notes can also be created automatically. For example, after other applications create card information, mark the card information and notify the memo APP. The memo APP obtains the card information with the mark, and creates a card note based on the card information.
  • the method provided in the embodiment of the present application can be run in the memo APP of the mobile phone.
  • the memo APP can include: data production function, data management function, data transfer function and artificial intelligence.
  • the data production function can be jointly realized by modules such as text editing, multimedia insertion, handwriting, and web page view.
  • modules such as text editing, multimedia insertion, handwriting, and web page view.
  • the data management function includes modules such as replacement, data classification, data protection, and agency reminders.
  • the above replacement module is used to indicate the function of transferring notes between different devices.
  • the above-mentioned data protection module may include control modules such as recycle bin and data encryption.
  • the above-mentioned data classification module is similar to the memo APP in the related art, the difference is that a new card-related folder is added to store notes marked as cards, so that when the user operates on the certificate option 105, the mobile phone can respond In this operation, the notes in the folder related to the card are displayed on the interface 106 .
  • the agent reminding module includes time reminding, location reminding and repeated reminding. The time reminder can be used to realize the reminder of the expiration date of the card.
  • the data transfer function includes modules such as sharing, sharing applications and multi-terminal synchronization.
  • modules such as sharing, sharing applications and multi-terminal synchronization.
  • sharing module and the multi-terminal synchronization module reference may be made to the Memorandum APP in the related art, which will not be repeated here.
  • the printing in the sharing application module can be used to send the card notes to the connected printing device.
  • the artificial intelligence function also includes the card scanning function, which is used to obtain the scanned image of the card.
  • the principle of the card scanning module to obtain the card scan image is as follows:
  • the scanning interface 701, the scanning interface 705, the interface 1201, the viewing interface 501, and the like are displayed.
  • Step 1603 may be implemented by camera fragments. Understandably, a camerafragment is an easy-to-use Android fragment that can be used to preview a camera view (ie, a preview image), and provides an API for triggering capture of the preview image. This API can be called by controls for instructing capture.
  • a camerafragment is an easy-to-use Android fragment that can be used to preview a camera view (ie, a preview image), and provides an API for triggering capture of the preview image. This API can be called by controls for instructing capture.
  • the preview image may be preprocessed by an image rectification engine (dr engine).
  • the above preprocessing may include processing such as card detection, edge extraction, and rectangle correction on the card in the preview image.
  • the dr engine can detect whether there is a card in the preview image, such as detecting whether a physical card appears within the scanning frame.
  • the card scan image for preview is obtained by preprocessing the preview image, which is also called a scan preview image.
  • the image area corresponding to the physical card (for example, referred to as the first image area) can be obtained from the preview image, and preprocessing such as rectangle correction is performed on the image area, so as to obtain the card scan image.
  • the edge information of the scanned image of the card can be obtained and displayed. In this way, it is convenient for the user to preview the shape and position of the scanned card.
  • the mobile phone when it receives the user's operation on the control indicating to shoot, it can trigger the capture of a preview image as a stored image, such as stored image 1 and stored image 2 in the foregoing embodiments.
  • the image stored in step 1604 may correspond to a preview scan image, also called a card image.
  • a sub-thread in the Shadow Process can be enabled from the image correction result view (dr resultview) to perform image processing on the card picture.
  • the card picture is converted into image data in BGR format by Shadow Processes.
  • the above-mentioned image processing may include processing such as shadow removal processing and image rectangle correction to improve the scanning effect.
  • image processing may also include image sharpening and other processing to improve image display quality.
  • the above image processing can be realized by calling the corresponding algorithm from Shadow Proces, for example, the shadow removal process can be realized by calling the shadow removal algorithm from Shadow Proces.
  • the scanned image of the card can be obtained, that is, the scanned image of the physical card. Afterwards, the scanned image can also be displayed in a corresponding preview interface. In the case of collecting multiple scans at the same time, for example, scanning the front and back of the ID card, multiple scans can be displayed in the same preview interface.
  • the above scanning process also includes:
  • the dr engine retrieves the card picture from the stored image according to the user's card edge determination operation. After deshading the card image, perform rectangle correction again.
  • the automatically generated scan image is replaced with the re-corrected card image, and the display is updated.
  • text recognition may be performed on the obtained scanned image, and the recognized text information may be stored in a specified field, for example, the attachment_detail field of the attachment information.
  • the method provided in the embodiment of the present application may further include:
  • the sizes of the scanned images are adjusted to be the same.
  • the mobile phone can respond to the user's operation, edit the display position and size of the scanned image in the preview interface, and add watermark information to the scanned image.
  • a print manager is invoked to effect printing.
  • the mobile phone After the mobile phone receives the user's operation on the control for instructing printing, it calls the print manager in the mobile phone application framework layer to implement. For example, create a print job by calling the PrintJob print class. Wherein, the print job includes print name, print document adapter and print attribute. The above print job can be used to instruct the print document adapter to print with the above print attributes.
  • the card information in the card note can also be displayed on the preview interface.
  • the mobile phone may also print the content displayed in the preview interface in response to the user's operation on the control for instructing printing.
  • the method provided in the embodiment of the present application may further include:
  • the memo APP when the memo APP starts running, it is acquired whether the mobile phone supports optical character recognition (Optical Character Recognition, OCR) capability.
  • OCR Optical Character Recognition
  • the mobile phone may trigger the text detection engine to extract text in response to a specified extraction event.
  • each scan obtains a scan image, and it may be determined that an extraction event is generated. That is, every time a scanned image is scanned, the text detection engine will be triggered to extract text from the scanned image.
  • an extraction event is generated. That is, when receiving the user's instruction to save the card information, the text detection engine is triggered to extract text from the scanned image in the card information.
  • triggering the text detection engine to perform text extraction may be: after detecting an extraction event, checking whether the text detection engine is initialized. In the case of initialization, character extraction is performed. And from the extracted text, it is judged whether there is deadline information.
  • the text detection engine can also be released when the text extraction is completed.
  • the above-mentioned period information may also be referred to as the validity period of the card information.
  • a reminder is set for the card information, which is used to remind the expiration time of the card note.
  • the mobile phone can perform format verification on the identified validity period.
  • the format of the validity period can also be converted into long data.
  • the AlarmManager can be called, combined with the validity period after the format conversion, the method of setting the alarm clock (setAlarmClock) can be used to set the alarm.
  • the text detection engine can also be freed in cases where the term information is not extracted.
  • an embodiment of the present application further provides an electronic device, and the electronic device may include: a memory and one or more processors.
  • the memory is coupled to the processor.
  • the memory is used to store computer program code comprising computer instructions.
  • the electronic device can be made to perform various steps performed by the mobile phone in the foregoing embodiments.
  • the electronic device includes, but is not limited to, the aforementioned memory and one or more processors.
  • the structure of the electronic device may refer to the structure of the mobile phone shown in FIG. 2 .
  • the chip system includes at least one processor 2201 and at least one interface circuit 2202 .
  • the processor 2201 may be a processor in the aforementioned electronic device.
  • the processor 2201 and the interface circuit 2202 may be interconnected through wires.
  • the processor 2201 can receive and execute computer instructions from the memory of the above-mentioned electronic device through the interface circuit 2202.
  • the electronic device can be made to perform various steps performed by the mobile phone in the above-mentioned embodiments.
  • the chip system may also include other discrete devices, which is not specifically limited in this embodiment of the present application.
  • the chip system can also be applied to the wearable device in the foregoing embodiments, and the chip system includes at least one processor 2201 and at least one interface circuit 2202 .
  • the processor 2201 may be the processor in the aforementioned wearable device.
  • the processor 2201 and the interface circuit 2202 may be interconnected through wires.
  • the processor 2201 can receive and execute computer instructions from the memory of the wearable device through the interface circuit 2202 .
  • the wearable device can be made to perform various steps performed by the wristband in the above-mentioned embodiments.
  • Each functional unit in each embodiment of the embodiment of the present application may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage
  • the medium includes several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other various media capable of storing program codes.

Landscapes

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

Abstract

The present application relates to the technical field of computers, and provides a card information management method and an electronic device, which solve the problem of poor human-computer interaction during the process of finding card information in an electronic device. A specific solution is as follows: an electronic device receives a first operation of a user on a memo application; the electronic device displays a first interface of the memo application in response to the first operation; the first interface comprises a first control for viewing card notes; the electronic device receives a second operation of the user on the first control; the electronic device displays a second interface of a memo in response to the second operation; the second interface is used to display at least one created card note, and the card note corresponds to collected card information; the electronic device receives a third operation of the user on the card note; and the electronic device displays card information corresponding to the card note in response to the third operation.

Description

一种卡证信息管理方法及电子设备Card information management method and electronic device
本申请要求于2021年8月6日提交国家知识产权局、申请号为202110904212.2、发明名称为“一种卡证信息管理方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110904212.2 and the title of the invention "a card information management method and electronic equipment" submitted to the State Intellectual Property Office on August 6, 2021, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种卡证信息管理方法及电子设备。The present application relates to the field of computer technology, in particular to a card information management method and electronic equipment.
背景技术Background technique
实体卡证(如,身份证、银行卡等)是人们生活和工作中常使用的物件。通常用户会采用拍摄的方式,得到包含实体卡证的照片,又称为卡证信息。从而,利用卡证信息替代实体卡证,在一些场合中使用,比如,用于打印卡证的复印件、作为凭证发给其他人。Physical cards (such as ID cards, bank cards, etc.) are commonly used objects in people's lives and work. Usually, the user will take photos to obtain a photo containing the physical card, which is also called card information. Therefore, the card information is used to replace the physical card, and it is used in some occasions, for example, to print a copy of the card and send it to others as a voucher.
然而,照片形式的卡证信息和普通照片一样都会统一存储在图库中。随着图库中的照片越来越多,上述卡证信息容易被淹没,不利于卡证信息的查找,也导致查找卡证信息的过程中人机交互性较差。However, card information in the form of photos will be stored in the gallery in the same way as ordinary photos. With more and more photos in the gallery, the above-mentioned card information is easily overwhelmed, which is not conducive to the search of card information, and also leads to poor human-computer interaction in the process of searching card information.
发明内容Contents of the invention
本申请提供一种卡证信息管理方法及电子设备,可以利用备忘录应用程序管理卡证信息,提升查找卡证信息的人机交互效率。The present application provides a card information management method and an electronic device, which can use the memorandum application program to manage card information and improve the efficiency of man-machine interaction for searching card information.
为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
第一方面,本申请实施例提供的一种卡证信息管理方法,应用于包括备忘录应用的电子设备,所述方法包括:所述电子设备接收用户对所述备忘录应用第一操作;所述电子设备响应于所述第一操作,显示所述备忘录应用的第一界面;所述第一界面包括用于查看卡证笔记的第一控件;所述电子设备接收用户对所述第一控件的第二操作;所述电子设备响应于所述第二操作,显示所述备忘录应用的第二界面;所述第二界面用于显示已创建的至少一条卡证笔记,所述卡证笔记与采集的卡证信息对应;所述电子设备接收用户对所述卡证笔记的第三操作;所述电子设备响应于所述第三操作时,显示所述卡证笔记对应的所述卡证信息。In the first aspect, a card information management method provided by an embodiment of the present application is applied to an electronic device including a memo application, and the method includes: the electronic device receives the user's first operation on the memo application; In response to the first operation, the device displays a first interface of the memo application; the first interface includes a first control for viewing card notes; the electronic device receives a user's second control on the first control Two operations; the electronic device displays the second interface of the memo application in response to the second operation; the second interface is used to display at least one card note that has been created, and the card note and the collected Corresponding to the card information; the electronic device receives a third operation of the user on the card note; and when the electronic device responds to the third operation, displays the card information corresponding to the card note.
在上述实施例中,备忘录应用可以实现管理已创建的卡证信息的功能,如管理卡证信息的显示。示例性地,备忘录应用中的备忘笔记和卡证笔记可分开显示。例如,电子设备在运行备忘录应用时,显示包含备忘笔记的第一界面,其中,备忘笔记为查看常规备忘事项的接口。之后,在电子设备接收到针对第一控件的操作后,可切换显示包含卡证笔记的第二界面。另外,在电子设备接收到针对卡证笔记的操作时,可显示该卡证笔记所对应的卡证信息。In the above embodiment, the memo application can realize the function of managing the created card information, such as managing the display of the card information. Exemplarily, the memo note and the card note in the memo application can be displayed separately. For example, when the electronic device is running the memo application, it displays a first interface containing memo notes, wherein the memo notes are an interface for viewing regular memo items. Afterwards, after the electronic device receives the operation on the first control, it can switch to display the second interface containing the card notes. In addition, when the electronic device receives an operation on the card note, it can display the card information corresponding to the card note.
这样,即使备忘录应用中包括大量的备忘笔记,依然不会影响到用户查找及查看已创建的卡证信息,从而,有效地提高查找卡证信息的人机交互效率。In this way, even if the memo application includes a large number of memo notes, it will not affect the user to search and view the created card information, thereby effectively improving the efficiency of man-machine interaction for searching card information.
在一些可能的实施例中,在显示所述备忘录应用的第二界面之前,所述方法还包括:所述电子设备接收用户指示创建卡证笔记的第四操作;所述电子设备响应于所述 第四操作,获取所述卡证信息,并根据所述卡证信息在所述备忘录应用中创建所述卡证笔记。In some possible embodiments, before displaying the second interface of the memo application, the method further includes: the electronic device receives a user's instruction to create a fourth operation of a card note; the electronic device responds to the The fourth operation is to obtain the card information, and create the card note in the memo application according to the card information.
其中,上述指示创建卡证笔记的第四操作可以是用户对备忘录中用于指示创建卡证笔记的控件进行操作。在电子设备接收到该第四操作后,可以启动备忘录的配置卡证笔记的功能。Wherein, the fourth operation of instructing to create a card note may be that the user operates a control in the memo for instructing to create a card note. After the electronic device receives the fourth operation, the function of configuring card notes in the memorandum can be activated.
示例性地,启用配置卡证笔记的功能后,可以选用扫描的方式得到卡证信息。并据此,创建对应的卡证笔记。For example, after enabling the function of configuring card notes, you can choose to scan to obtain card information. And based on this, create corresponding card notes.
又示例性地,启用配置卡证笔记的功能后,可以选用查找电子设备内已存储的卡证信息。并据此,创建对应的卡证笔记。As another example, after enabling the function of configuring card notes, you can choose to search the stored card information in the electronic device. And based on this, create corresponding card notes.
再示例性地,启用配置卡证笔记的功能后,可以选用拍照的方式得到卡证信息。并据此,创建对应的卡证笔记。As another example, after enabling the function of configuring card notes, you can choose to take pictures to obtain card information. And based on this, create corresponding card notes.
在上述实施例中,卡证笔记可以基于用户在备忘录应用程序中的操作而创建。换句话说,备忘录提供了添加卡证笔记的入口,方便用户将实体卡证所对应的卡证信息以卡证笔记的形式进行保存。从而适应大量实体卡证的归纳,方便用户使用。In the above embodiment, the card note can be created based on the user's operation in the memo application. In other words, the memo provides an entry to add card notes, which is convenient for users to save the card information corresponding to the physical card in the form of card notes. In order to adapt to the induction of a large number of physical cards, it is convenient for users to use.
在一些可能的实施例中,所述电子设备包括摄像头;所述卡证信息包括卡证扫描图;所述获取所述卡证信息,包括:在接收到所述第四操作之后,所述电子设备显示包括扫描边框的第四界面;其中,所述扫描边框与所述摄像头的一采集区域对应;在实体卡证置于所述扫描边框对应的采集区域内时,所述电子设备对第一图像区域进行矩形矫正,得到扫描预览图;所述第一图像区域为所述摄像头采集的预览图像中显示所述实体卡证的区域;所述电子设备显示所述扫描预览图的边缘信息;在显示有所述边缘信息且接收到用户指示扫描的操作时,获取所述卡证扫描图;所述电子设备根据所述卡证扫描图,获取所述卡证信息。In some possible embodiments, the electronic device includes a camera; the card information includes a card scan image; the acquiring the card information includes: after receiving the fourth operation, the electronic The device displays a fourth interface including a scanning frame; wherein, the scanning frame corresponds to a collection area of the camera; when the physical card is placed in the collection area corresponding to the scanning frame, the electronic device responds to the first Rectangular correction is performed on the image area to obtain a scan preview; the first image area is the area where the physical card is displayed in the preview image collected by the camera; the electronic device displays edge information of the scan preview; When the edge information is displayed and a user instruction to scan is received, the card scan image is acquired; the electronic device acquires the card information according to the card scan image.
在上述实施例中,实体卡证进入扫描边框对应的采集区域后,会触发启动电子设备对采集到的预览图像进行预处理,从而基于预览图像得到实体卡证的扫描预览图。并该预览图像和扫描预览图的边缘同步显示,这样用户即可了解基于当前的预览图像可得到的卡证扫描图的实际显示尺寸,用户也可据此作出确定扫描的操作,这样电子设备即可捕获当前显示的预览界面,并得到对应的卡证信息。改善由于用户不满意而反复扫描的问题,提高扫描实体卡证的人机交互效率。In the above embodiment, after the physical card enters the collection area corresponding to the scanning frame, the electronic device is triggered to preprocess the collected preview image, so as to obtain the scanned preview image of the physical card based on the preview image. And the edge of the preview image and the scan preview image is displayed synchronously, so that the user can know the actual display size of the card scan image that can be obtained based on the current preview image, and the user can also make a confirmation scan operation based on this, so that the electronic device can immediately It can capture the currently displayed preview interface and get the corresponding card information. Improve the problem of repeated scanning due to user dissatisfaction, and improve the efficiency of human-computer interaction for scanning physical cards.
在一些可能的实施例中,在所述电子设备显示第四界面之前,还包括:所述电子设备显示第五界面;所述第五界面包括用于引导用户勾画所述扫描边框的提醒信息;所述电子设备显示包括扫描边框的第四界面,包括:所述电子设备接收用户在所述第五界面上的第一滑动操作;所述电子设备根据所述第一滑动操作所对应的第一轨迹,显示包括所述扫描边框的所述第四界面。In some possible embodiments, before the electronic device displays the fourth interface, it further includes: the electronic device displays a fifth interface; the fifth interface includes reminder information for guiding the user to draw the scanning frame; The electronic device displaying a fourth interface including a scanning frame includes: the electronic device receiving a user's first sliding operation on the fifth interface; the electronic device receiving a first sliding operation corresponding to the first sliding operation; A trace, displaying the fourth interface including the scan frame.
在上述实施例中,对不同形状的实体卡证进行扫描时,可提前确定得到的卡证扫描图的显示位置和显示尺寸,改善用户反复扫描而无法得到满足需求的卡证扫描图的问题,也改善用户后期需要手动调整卡证扫描图的大小和显示位置的问题,从而,提升人机交互效率。在需要将多个实体卡证的卡证扫描图布局于同一显示界面的情况下优势越明显。In the above embodiment, when scanning physical cards of different shapes, the display position and display size of the obtained card scan image can be determined in advance, so as to improve the problem that the user cannot obtain a card scan image that meets the demand after repeated scanning. It also improves the problem that users need to manually adjust the size and display position of the card scan image in the later stage, thereby improving the efficiency of human-computer interaction. The advantages are more obvious when the card scan images of multiple physical cards need to be laid out on the same display interface.
在一些可能的实施例中,所述卡证信息还包括水印文本信息;所述获取所述卡证 信息,还包括:在接收到所述第四操作之后,所述电子设备显示第六界面;所述第六界面包括水印文本输入区;所述电子设备接收用户在所述水印文本输入区的第二滑动操作;所述电子设备根据所述第二滑动操作所对应的第二轨迹,显示具有笔迹特征的水印文本信息;所述电子设备根据所述卡证扫描图,获取所述卡证信息,包括:所述电子设备将所述卡证扫描图和所述水印文本信息组合,得到所述卡证信息。In some possible embodiments, the card information further includes watermark text information; the acquiring the card information further includes: after receiving the fourth operation, the electronic device displays a sixth interface; The sixth interface includes a watermark text input area; the electronic device receives a second sliding operation of the user in the watermark text input area; the electronic device displays a Watermark text information of handwriting features; the electronic device obtains the card information according to the card scan image, including: the electronic device combines the card scan image and the watermark text information to obtain the Card information.
在上述实施例中,依据第二滑动操作的第二轨迹,所确定出的水印文本信息,具有用户的笔记特征。一方面,可以佐证卡证信息为用户授权扫描,另一方面,有利于用户配置卡证信息的使用权限。In the above embodiment, according to the second track of the second sliding operation, the determined watermark text information has the characteristics of the user's notes. On the one hand, it can support card information to authorize scanning for users, and on the other hand, it is helpful for users to configure the use rights of card information.
在一些可能的实施例中,所述方法还包括:在所述电子设备显示所述卡证信息的情况下,所述电子设备接收到用户指示打印的第六操作;所述电子设备响应于所述第六操作,将所述卡证信息向打印设备发送。In some possible embodiments, the method further includes: when the electronic device displays the card information, the electronic device receives a sixth operation instructing printing from the user; the electronic device responds to the The sixth operation is to send the card information to the printing device.
在一些可能的实施例中,所述方法还包括:所述电子设备识别所述卡证信息中的期限信息;其中,所述期限信息包括所述卡证扫描图中的有效期限或者所述水印文本信息中的使用期限;所述电子设备根据所述期限信息为所述卡证笔记设置提醒事项,用于提示所述卡证笔记的失效时间点。In some possible embodiments, the method further includes: the electronic device identifying expiration information in the card information; wherein, the expiration information includes the expiration date in the card scan image or the watermark The use period in the text information; the electronic device sets reminders for the card note according to the period information, which is used to remind the expiration time of the card note.
在一些可能的实施例中,在显示所述卡证笔记对应的所述卡证信息之前,所述方法还包括:所述电子设备显示密码输入框;所述电子设备接收用户在所述密码输入框中输入的认证密码;所述显示所述卡证笔记对应的所述卡证信息,包括:在所述认证密码与预先配置的访问密码匹配的情况下,显示对应的所述卡证信息。In some possible embodiments, before displaying the card information corresponding to the card note, the method further includes: the electronic device displays a password input box; the electronic device receives the password input by the user The authentication password input in the box; the displaying the card information corresponding to the card note includes: displaying the corresponding card information when the authentication password matches the pre-configured access password.
第二方面,本申请实施例提供的一种电子设备,所述电子设备包括一个或多个处理器、存储器和无线通信模块;所述电子设备还包括备忘录应用,所述存储器、无线通信模块与处理器耦合,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,所述一个或多个处理器,用于:接收用户对所述备忘录应用的第一操作;响应于所述第一操作,显示所述备忘录应用的第一界面;所述第一界面包括用于查看卡证笔记的第一控件;接收用户对所述第一控件的第二操作;响应于所述第二操作,显示所述备忘录应用的第二界面;所述第二界面用于显示已创建的至少一条卡证笔记,所述卡证笔记与采集的卡证信息对应;接收用户对所述卡证笔记的第三操作;响应于所述第三操作时,显示所述卡证笔记对应的卡证信息。In the second aspect, an electronic device provided by an embodiment of the present application, the electronic device includes one or more processors, a memory, and a wireless communication module; the electronic device also includes a memo application, and the memory, the wireless communication module and the The processors are coupled, and the memory is used to store computer program codes. The computer program codes include computer instructions. When the one or more processors execute the computer instructions, the one or more processors are used to: receive the user's application of the memo the first operation; in response to the first operation, displaying the first interface of the memo application; the first interface includes a first control for viewing card notes; receiving the user's second control on the first control Two operations; in response to the second operation, display the second interface of the memo application; the second interface is used to display at least one card note that has been created, and the card note corresponds to the collected card information ; receiving a third operation of the user on the card note; in response to the third operation, displaying card information corresponding to the card note.
在一些可能的实施例中,所述一个或多个处理器,还用于:在显示所述备忘录的第二界面之前,接收用户指示创建卡证笔记的第四操作;响应于所述第四操作,获取所述卡证信息,并根据所述卡证信息在所述备忘录中创建所述卡证笔记。In some possible embodiments, the one or more processors are further configured to: before displaying the second interface of the memorandum, receive a fourth operation instructing the user to create a card note; in response to the fourth The operation is to obtain the card information, and create the card note in the memorandum according to the card information.
在一些可能的实施例中,所述电子设备包括摄像头;所述卡证信息包括卡证扫描图;所述一个或多个处理器,还用于:在接收到所述第四操作之后,显示包括扫描边框的第四界面;其中,所述扫描边框与所述摄像头的一采集区域对应;在实体卡证置于所述扫描边框对应的采集区域内时,对第一图像区域进行矩形矫正,得到扫描预览图;所述第一图像区域为所述摄像头采集的预览图像中显示所述实体卡证的区域;显示所述扫描预览图的边缘信息;在显示有所述边缘信息且接收到用户指示扫描的操作时,获取所述卡证扫描图;根据所述卡证扫描图,获取所述卡证信息。In some possible embodiments, the electronic device includes a camera; the card information includes a card scan image; and the one or more processors are further configured to: after receiving the fourth operation, display A fourth interface including a scanning frame; wherein, the scanning frame corresponds to a collection area of the camera; when the physical card is placed in the collection area corresponding to the scanning frame, rectangular correction is performed on the first image area, Obtain a scan preview; the first image area is the area where the physical card is displayed in the preview image collected by the camera; display the edge information of the scan preview; when the edge information is displayed and the user receives the When an operation of scanning is instructed, the card scan image is acquired; and the card information is acquired according to the card scan image.
在一些可能的实施例中,在所述电子设备显示第四界面之前,所述一个或多个处理器,还用于:显示第五界面;所述第五界面包括用于引导用户勾画所述扫描边框的提醒信息;接收用户在所述第五界面上的第一滑动操作;根据所述第一滑动操作所对应的第一轨迹,显示包括所述扫描边框的所述第四界面。In some possible embodiments, before the electronic device displays the fourth interface, the one or more processors are further configured to: display a fifth interface; the fifth interface includes information for guiding the user to draw the Reminder information of the scanning frame; receiving a first sliding operation of the user on the fifth interface; and displaying the fourth interface including the scanning frame according to a first track corresponding to the first sliding operation.
在一些可能的实施例中,所述卡证信息还包括水印文本信息;所述一个或多个处理器,还用于:在接收到所述第四操作之后,显示第六界面;所述第六界面包括水印文本输入区;接收用户在所述水印文本输入区的第二滑动操作;根据所述第二滑动操作所对应的第二轨迹,显示具有笔迹特征的水印文本信息;将所述卡证扫描图和所述水印文本信息组合,得到所述卡证信息。In some possible embodiments, the card information further includes watermark text information; the one or more processors are further configured to: display a sixth interface after receiving the fourth operation; the first The sixth interface includes a watermark text input area; receiving the second sliding operation of the user in the watermark text input area; displaying watermark text information with handwriting characteristics according to the second track corresponding to the second sliding operation; The card scan image is combined with the watermark text information to obtain the card information.
在一些可能的实施例中,所述一个或多个处理器,还用于:在显示所述卡证信息的情况下,接收到用户指示打印的第六操作;响应于所述第六操作,将所述卡证信息向打印设备发送。In some possible embodiments, the one or more processors are further configured to: when the card information is displayed, receive a sixth operation instructing printing from the user; in response to the sixth operation, Send the card information to the printing device.
在一些可能的实施例中,所述一个或多个处理器,还用于:识别所述卡证信息中的期限信息;其中,所述期限信息包括所述卡证扫描图中的有效期限或者所述水印文本信息中的使用期限;根据所述期限信息为所述卡证笔记设置提醒事项,用于提示所述卡证笔记的失效时间点。In some possible embodiments, the one or more processors are further configured to: identify the expiration date information in the card information; wherein the expiration date information includes the expiration date in the card scan image or The service life in the watermark text information; according to the time limit information, a reminder is set for the card note, which is used to remind the expiration time of the card note.
在一些可能的实施例中,在显示所述卡证笔记对应的所述卡证信息之前,所述一个或多个处理器,还用于:显示密码输入框;接收用户在所述密码输入框中输入的认证密码;在所述认证密码与预先配置的访问密码匹配的情况下,显示对应的所述卡证信息。In some possible embodiments, before displaying the card information corresponding to the card note, the one or more processors are further configured to: display a password input box; The authentication password entered in; if the authentication password matches the pre-configured access password, the corresponding card information is displayed.
第三方面,本申请实施例提供的一种计算机存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如第一方面及其任一种可能的设计方式所述的方法。In the third aspect, a computer storage medium provided by an embodiment of the present application includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device executes the electronic device according to the first aspect and any possible design thereof. method described in the method.
第四方面,本申请实施例提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第一方面及其任一种可能的设计方式所述的方法。In a fourth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect and any possible design manner thereof.
可以理解地,上述提供的第二方面及其任一种可能的设计方式所述的电子设备,第三方面所述的计算机存储介质,以及第四方面所述的计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。It can be understood that the electronic device described in the second aspect and any possible design thereof provided above, the computer storage medium described in the third aspect, and the computer program product described in the fourth aspect are all used to execute For the corresponding methods provided herein, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding methods provided above, and will not be repeated here.
附图说明Description of drawings
图1为本申请实施例中提供的显示示意图之一;Fig. 1 is one of the display schematic diagrams provided in the embodiment of the present application;
图2为本申请实施例提供的一种电子设备的硬件架构示意图;FIG. 2 is a schematic diagram of a hardware architecture of an electronic device provided in an embodiment of the present application;
图3为本申请实施例提供的一种卡证信息管理方法的步骤流程图之一;Fig. 3 is one of the step flow charts of a card information management method provided by the embodiment of the present application;
图4为本申请实施例中提供的显示示意图之二;Figure 4 is the second schematic diagram of the display provided in the embodiment of the present application;
图5为本申请实施例中提供的显示示意图之三;Figure 5 is the third schematic diagram of the display provided in the embodiment of the present application;
图6为本申请实施例中提供的显示示意图之四;Figure 6 is the fourth schematic diagram of the display provided in the embodiment of the present application;
图7为本申请实施例中提供的显示示意图之五;Figure 7 is the fifth schematic diagram of the display provided in the embodiment of the present application;
图8为本申请实施例中提供的显示示意图之六;Figure 8 is the sixth schematic diagram of the display provided in the embodiment of the present application;
图9为本申请实施例中提供的显示示意图之七;Figure 9 is the seventh schematic diagram of the display provided in the embodiment of the present application;
图10为本申请实施例中提供的显示示意图之八;Figure 10 is the eighth schematic diagram of the display provided in the embodiment of the present application;
图11为本申请实施例中提供的显示示意图之九;Figure 11 is the ninth schematic diagram of the display provided in the embodiment of the present application;
图12为本申请实施例中提供的显示示意图之十;Figure 12 is the tenth display schematic diagram provided in the embodiment of the present application;
图13为本申请实施例中提供的显示示意图之十一;Figure 13 is the eleventh display schematic diagram provided in the embodiment of the present application;
图14为本申请实施例中提供的显示示意图之十二;Figure 14 is the twelveth display schematic diagram provided in the embodiment of this application;
图15为本申请实施例中提供的备忘录应用程序的架构示意图;FIG. 15 is a schematic diagram of the architecture of the memo application program provided in the embodiment of the present application;
图16为本申请实施例中提供的扫描原理示意图;FIG. 16 is a schematic diagram of the scanning principle provided in the embodiment of the present application;
图17为本申请实施例提供的一种卡证信息管理方法的步骤流程图之二;Fig. 17 is the second flowchart of steps of a card information management method provided by the embodiment of the present application;
图18为本申请实施例提供的一种卡证信息管理方法的步骤流程图之三;Fig. 18 is the third step flow chart of a card information management method provided by the embodiment of the present application;
图19为本申请实施例提供的文字提取的原理示意图;FIG. 19 is a schematic diagram of the principle of text extraction provided by the embodiment of the present application;
图20为本申请实施例提供的芯片系统的示例图。FIG. 20 is an example diagram of a chip system provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图对本实施例的实施方式进行详细描述。The implementation of this embodiment will be described in detail below in conjunction with the accompanying drawings.
人们在生活或工作过程中,经常会使用到个人证件和银行卡等各类卡证。其中,用作凭证是卡证的常见用途。在一些场景下,用于凭证的卡证需要交于他人保存。然而,卡证原件不可直接交给他人留存。故,实际作为凭证的是卡证的替代件,如,复印件、扫描件等。In the process of life or work, people often use various cards such as personal certificates and bank cards. Among them, being used as a credential is a common use of a card. In some scenarios, the card used for the voucher needs to be handed over to others for storage. However, the original card cannot be directly handed over to others for storage. Therefore, what is actually used as a certificate is a substitute for the card, such as a photocopy or a scanned copy.
一般而言,制作卡证的替代件需使用到卡证的原件。比如,制作身份证复印件时,需利用身份证原件进行打印。再比如,制作身份证扫描件时,也需利用身份证原件进行扫描。Generally speaking, the original card is required to make a replacement card. For example, when making a copy of an ID card, the original ID card needs to be used for printing. For another example, when making a scanned copy of an ID card, the original ID card is also required to be scanned.
然而,对于大部分用户而言,很少随时携带卡证原件。如此,在临时需要卡证替代件的场景下,未携带卡证原件的用户将非常不方便。However, for most users, it is seldom to carry the original card at all times. In this way, it will be very inconvenient for users who do not carry the original card in the scenario where a replacement card is temporarily needed.
故,相关技术中,用户会利用电子设备对卡证原件进行图像采集,得到包含卡证的照片,以作为卡证信息。这样,用户可随时根据上述卡证信息,制作替代件。例如,用户利用电子设备对身份证进行拍照,得到包含身份证的照片。在用户需要制作身份证复印件时,电子设备可响应用户操作将包含身份证的照片发送给打印设备,并由打印设备进行打印。Therefore, in the related technology, the user will use the electronic device to collect the image of the original card, and obtain the photo containing the card as the card information. In this way, the user can make a substitute at any time according to the above card information. For example, a user uses an electronic device to take a photo of an ID card to obtain a photo containing the ID card. When the user needs to make a copy of the ID card, the electronic device can respond to the user's operation and send the photo containing the ID card to the printing device, and the printing device will print it.
与电子设备所拍摄的其他照片一样,通过拍摄得到的卡证信息统一存储于电子设备的图库中。但是,随着图库中的照片越来越多,上述卡证信息容易被淹没。图库中海量的照片也给用户查找卡证信息增加了难度。也即,相关技术中,在管理卡证信息的过程中,存在人机交互性差的问题。Like other photos taken by electronic devices, the card information obtained by taking photos is uniformly stored in the gallery of electronic devices. However, with more and more photos in the gallery, the above card information is easily overwhelmed. The large number of photos in the gallery also makes it difficult for users to find card information. That is, in the related art, there is a problem of poor human-computer interaction in the process of managing card information.
为了改善上述问题,本申请实施例提供了一种卡证信息管理方法。为了改善查找卡证信息的过程,人机交互性差的问题,由电子设备的备忘录应用统一管理并展示已存储的卡证信息。In order to improve the above problems, an embodiment of the present application provides a card information management method. In order to improve the process of finding card information, the problem of poor human-computer interaction is managed and displayed by the memo application of the electronic device in a unified manner.
以电子设备是手机为例,图1中的(a)示出了手机的桌面101,又称为主界面,桌面101中包括手机内安装的应用程序(Application,APP)的图标,如,备忘录APP的图标102。手机可响应于用户对图标102的操作,又称为第一操作,如点击操作,显示如图1中的(b)所示的界面103,又称为第一界面。其中,界面103中包括多条 已创建的笔记,如,备忘录内容1、备忘录内容2和备忘录内容3等,以上笔记为常规备忘录中的笔记,又称为备忘笔记。备忘笔记可用于指示显示对应的普通备忘信息,这样,手机接收到针对备忘笔记的操作时,可显示包含对应的备忘事项的界面。Taking the electronic device as a mobile phone as an example, (a) in FIG. 1 shows the desktop 101 of the mobile phone, also known as the main interface, and the desktop 101 includes icons of application programs (Application, APP) installed in the mobile phone, such as memo The icon 102 of the APP. The mobile phone may display an interface 103 as shown in (b) in FIG. 1 , also called the first interface, in response to the user's operation on the icon 102, also called the first operation, such as a click operation. Among them, the interface 103 includes a plurality of created notes, such as memo content 1, memo content 2, and memo content 3, etc., and the above notes are notes in conventional memos, also called memo notes. The memo note can be used to instruct to display the corresponding general memo information, so that when the mobile phone receives an operation on the memo note, it can display an interface containing the corresponding memo item.
此外,上述界面103还包括笔记选项104和证件选项105。In addition, the above-mentioned interface 103 also includes a note option 104 and a certificate option 105 .
上述笔记选项104和证件选项105分别指代备忘录APP的不同功能模式。例如,上述笔记选项104对应着备忘录APP的笔记记录功能模式。上述证件选项105,又称为第一控件,对应着备忘录APP的证件管理功能模式。上述界面103是笔记记录功能模式所对应的显示界面,而图1中的(c)所示的界面106是证件管理功能模式所对应的显示界面。The aforementioned note option 104 and certificate option 105 respectively refer to different functional modes of the memo app. For example, the note option 104 above corresponds to the note taking function mode of the memo APP. The above certificate option 105, also known as the first control, corresponds to the certificate management function mode of the Memo APP. The above-mentioned interface 103 is a display interface corresponding to the note recording function mode, and the interface 106 shown in (c) in FIG. 1 is a display interface corresponding to the certificate management function mode.
示例性地,手机可以响应于用户在界面103中对证件选项105的选中操作,比如,点选操作,又称为第二操作,可切换显示界面106。Exemplarily, the mobile phone can switch the display interface 106 in response to the user's selection operation on the certificate option 105 in the interface 103 , for example, a click operation, also referred to as a second operation.
上述界面106又可称为卡证管理界面,界面106中也包括笔记选项104和证件选项105。手机也可以响应于用户在界面106中对笔记选项104的选中操作,比如,点选操作,切换显示界面103。The above-mentioned interface 106 can also be called a card management interface, and the interface 106 also includes a note option 104 and a certificate option 105 . The mobile phone may also switch the display interface 103 in response to the user's selection operation on the note option 104 in the interface 106 , for example, a click operation.
与界面103不同的是,界面106还包括多条卡证笔记,如,标题为证件1的笔记107、标题为证件2的笔记108和标题为证件3的笔记109等。每一条卡证笔记对应一个已创建的卡证信息。换句话说,每一条卡证笔记也是一个卡证信息的访问入口,用于触发显示该卡证信息。例如,手机可响应于用户对笔记107的操作,如图1中的(d)所示,手机可显示证件1的卡证信息。Different from the interface 103, the interface 106 also includes a plurality of card notes, such as a note 107 titled ID 1, a note 108 titled ID 2, and a note 109 titled ID 3, etc. Each card note corresponds to a created card information. In other words, each card note is also an access entry for card information, which is used to trigger the display of the card information. For example, the mobile phone can respond to the user's operation on the note 107, as shown in (d) in FIG. 1, the mobile phone can display the card information of the certificate 1.
如此,备忘录APP中,卡证信息可被单独管理和显示。用户需查询卡证信息时,通过操作触发手机显示界面106即可,方便用户查找卡证信息,同时,也提高人机交互效率。In this way, in the Memo APP, the card information can be managed and displayed separately. When the user needs to inquire about the card information, he only needs to trigger the display interface 106 of the mobile phone through an operation, which is convenient for the user to find the card information, and at the same time, improves the efficiency of human-computer interaction.
当然,上述电子设备除了可以是手机之外,还可以是其他设备。示例性地,上述电子设备还可以是平板电脑、桌面型、膝上型、手持计算机、笔记本电脑、个人计算机(personal computer,PC),上网本,蜂窝电话,个人数字助理(personal digital assistant,PDA),可穿戴式设备(如智能手表),车载电脑,游戏机,以及增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备等设备。本申请实施例对该电子设备的具体形态不作特殊限制。Certainly, besides the mobile phone, the above-mentioned electronic device may also be other devices. Exemplarily, the above-mentioned electronic device can also be a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, a personal computer (personal computer, PC), a netbook, a cellular phone, a personal digital assistant (personal digital assistant, PDA) , wearable devices (such as smart watches), car computers, game consoles, and augmented reality (augmented reality, AR) \ virtual reality (virtual reality, VR) equipment and other equipment. The embodiment of the present application does not specifically limit the specific form of the electronic device.
以电子设备为手机举例,图2示出了手机的结构示意图。Taking the electronic device as an example of a mobile phone, FIG. 2 shows a schematic structural diagram of the mobile phone.
手机可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180等。The mobile phone can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, A speaker 170A, a receiver 170B, a microphone 170C, an earphone jack 170D, a sensor module 180 and the like.
可以理解的是,本发明实施例示意的结构并不构成对手机的具体限定。在本申请另一些实施例中,手机可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure shown in the embodiment of the present invention does not constitute a specific limitation on the mobile phone. In other embodiments of the present application, the mobile phone may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit, GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
手机的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。手机中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。 Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in a mobile phone can be used to cover single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在手机上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied to mobile phones. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
无线通信模块160可以提供应用在手机上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on mobile phones including wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system ( Global navigation satellite system (GNSS), frequency modulation (frequency modulation, FM), near field communication (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
在一些实施例中,手机的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得手机可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou  navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the mobile phone is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
手机通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The mobile phone realizes the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the mobile phone may include 1 or N display screens 194, where N is a positive integer greater than 1.
手机可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The mobile phone can realize shooting function through ISP, camera 193 , video codec, GPU, display screen 194 and application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used for processing the data fed back by the camera 193 . For example, when taking a picture, open the shutter, the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be located in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,手机可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other image signals. In some embodiments, the mobile phone may include 1 or N cameras 193, where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone selects the frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
视频编解码器用于对数字视频压缩或解压缩。手机可以支持一种或多种视频编解码器。这样,手机可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. A mobile phone can support one or more video codecs. In this way, the mobile phone can play or record videos in multiple encoding formats, such as: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行手机的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放 功能等)等。存储数据区可存储手机使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The internal memory 121 may be used to store computer-executable program codes including instructions. The processor 110 executes various functional applications and data processing of the mobile phone by executing instructions stored in the internal memory 121 . The internal memory 121 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
手机可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The mobile phone can realize the audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
其中,音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。Wherein, the audio module 170 is used for converting digital audio information into analog audio signal output, and is also used for converting analog audio input into digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。手机可以设置至少一个麦克风170C。在另一些实施例中,手机可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,手机还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C. The mobile phone may be provided with at least one microphone 170C. In some other embodiments, the mobile phone can be provided with two microphones 170C, which can also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the mobile phone can also be equipped with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and realization of directional recording functions, etc.
当然,手机还可以包括充电管理模块、电源管理模块、电池、按键、指示器以及1个或多个SIM卡接口等,本申请实施例对此不做任何限制。Of course, the mobile phone may also include a charging management module, a power management module, a battery, buttons, an indicator, and one or more SIM card interfaces, etc., which are not limited in this embodiment of the present application.
此外,手机还包括软件系统。上述手机的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明手机的软件结构。In addition, the mobile phone also includes a software system. The software system of the above-mentioned mobile phone may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present application, the Android system with layered architecture is taken as an example to illustrate the software structure of the mobile phone.
上述分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The above layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, which are respectively the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer from top to bottom.
应用程序层可以包括一系列应用程序包。The application layer can consist of a series of application packages.
示例性地,应用程序层中可以包括:通话,备忘录,浏览器,相机,图库,日历,短信息、桌面等APP。Exemplarily, the application program layer may include: APPs such as call, memo, browser, camera, gallery, calendar, short message, and desktop.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
示例性地,应用程序框架层可以包括打印管理器、提醒管理器(AlarmManager)、窗口管理器、内容提供器、视图系统、资源管理器、通知管理器等。Exemplarily, the application framework layer may include a print manager, an alarm manager (AlarmManager), a window manager, a content provider, a view system, a resource manager, a notification manager, and the like.
其中,打印管理器是手机提供的打印框架,上述打印管理器提供的PrintJob print类可用于创建打印作业,也即,将需要打印的内容转化为可打印的文档。此外,上述打印管理器还可以向连接的打印设备发送待打印文档(如称为打印作业),以指示打印设备完成该打印作业。另外,在应用程序框架层中还包括与打印管理器配合的打印适配器,该打印适配器用于选择打印机和打印选项。Wherein, the print manager is a print frame provided by the mobile phone, and the PrintJob print class provided by the above print manager can be used to create a print job, that is, convert the content to be printed into a printable document. In addition, the above-mentioned print manager can also send a document to be printed (such as a print job) to the connected printing device, so as to instruct the printing device to complete the printing job. In addition, the application framework layer also includes a print adapter that cooperates with the print manager, and the print adapter is used to select a printer and print options.
上述AlarmManger提供了对系统定时服务的访问接口,使开发者可以安排在特定时间(如,未来的一指定时间)运行目标应用。当系统时间到达提醒设定时间,系统广播预先注册的意图(Intent)。如果此时目标应用还没有启动,系统还可自动启动目 标应用。即使手机进入睡眠,也可唤醒处理器,如唤醒中央处理器(central processing unit,CPU),可以保证每次需要执行特定的任务时CPU都能正常工作。The above-mentioned AlarmManger provides an access interface to the timing service of the system, so that the developer can arrange to run the target application at a specific time (eg, a specified time in the future). When the system time reaches the reminder setting time, the system broadcasts the pre-registered intent (Intent). If the target application has not been started at this time, the system can also automatically start the target application. Even if the mobile phone goes to sleep, it can also wake up the processor, such as waking up the central processing unit (CPU), which can ensure that the CPU can work normally every time it needs to perform a specific task.
上述窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。The window manager described above is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
上述内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。The above-mentioned content providers are used to store and obtain data, and make these data accessible to applications. Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
上述视图系统可用于构建应用程序的显示界面。每个显示界面可以由一个或多个控件组成。一般而言,控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、微件(Widget)等界面元素。The above view system can be used to build the display interface of the application. Each display interface can consist of one or more controls. Generally speaking, controls may include interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets (Widgets).
上述资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager mentioned above provides various resources for the application, such as localized strings, icons, pictures, layout files, video files and so on.
上述通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,振动,指示灯闪烁等。The above-mentioned notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sending out prompt sounds, vibrating, and flashing lights, etc.
又示例性地,系统库可以包括多个功能模块。例如:图层整合器(SurfaceFlinger),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。SurfaceFlinger用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。2D图形引擎是2D绘图的绘图引擎。As another example, the system library may include multiple functional modules. For example: layer integrator (SurfaceFlinger), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc. SurfaceFlinger is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc. 2D graphics engine is a drawing engine for 2D drawing.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application program layer and the application program framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
内核层是硬件和软件之间的层。内核层至少包含摄像头驱动,音频驱动,传感器驱动等,本申请实施例对此不做任何限制。The kernel layer is the layer between hardware and software. The kernel layer includes at least a camera driver, an audio driver, a sensor driver, etc., which are not limited in this embodiment of the present application.
上述硬件结构和软件系统构造了实现本申请实施例所提供的技术方案的运行环境。下面以电子设备为手机为例,结合附图,对本申请实施例中的技术方案进行描述。其中,在本申请的描述中,除非另有说明,“至少一个”是指一个或多个,“多个”是指两个或多于两个。另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。The above-mentioned hardware structure and software system constitute an operating environment for implementing the technical solutions provided by the embodiments of the present application. Taking the electronic device as a mobile phone as an example, the technical solutions in the embodiments of the present application will be described in conjunction with the accompanying drawings. Wherein, in the description of the present application, unless otherwise specified, "at least one" refers to one or more, and "multiple" refers to two or more than two. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect. Those skilled in the art can understand that words such as "first" and "second" do not limit the number and execution order, and words such as "first" and "second" do not necessarily limit the difference.
在一些实施例中,上述卡证笔记可以是手机响应于用户在备忘录APP中的操作而创建。如图3所示,上述方法可以包括以下步骤:In some embodiments, the above-mentioned card note may be created by the mobile phone in response to the user's operation in the memo APP. As shown in Figure 3, the above method may include the following steps:
S101,手机显示卡证管理界面。S101. The mobile phone displays a card management interface.
在一些实施例中,手机响应于用户对备忘录APP图标的选中操作,如点击操作后,备忘录默认运行于笔记记录功能模式,可显示界面103。之后,手机响应于用户在界面103对证件选项105的点选操作,触发备忘录启用证件管理功能模式,并显示界面106,也即,卡证管理界面。In some embodiments, the mobile phone may display the interface 103 in response to the user's selection operation on the icon of the memo APP, such as clicking, the memo runs in the note-taking function mode by default. Afterwards, in response to the user's click operation on the certificate option 105 on the interface 103, the mobile phone triggers the memorandum to enable the certificate management function mode, and displays the interface 106, that is, the card management interface.
S102,手机响应于用户在卡证管理界面中的操作,显示笔记创建界面。S102. The mobile phone displays a note creation interface in response to the user's operation on the card management interface.
在一些实施例中,用户可以采用对指定控件进行操作的方式,触发手机显示上述笔记创建界面。其中,上述指定控件可以是卡证管理界面中用于指示创建卡证笔记的控件,如,图4中的(a)所示的控件401,又称为第二控件。也即,手机接收到用户对控件401的操作,如点击操作后,可显示笔记创建界面,如,显示如图4中的(b)所示的界面402。In some embodiments, the user can trigger the mobile phone to display the above-mentioned note creation interface by operating a designated control. Wherein, the above specified control may be a control for instructing to create a card note in the card management interface, such as the control 401 shown in (a) of FIG. 4 , which is also called the second control. That is, after the mobile phone receives the user's operation on the control 401, such as a click operation, the note creation interface can be displayed, such as the interface 402 shown in (b) in FIG. 4 .
在其他一些实施例中,用户还可以采用指定操作,触发手机显示上述笔记创建界面。上述指定操作还可以是用户在上述笔记创建界面输入的预设手势,如S形手势或者下滑手势等。该预设手势可以预先配置在手机中。并且,手机可以在显示卡证管理界面时向用户提示该预设手势,以及该预设手势所触发的功能,如,提示预设手势可触发手机显示界面402,实现创建卡证信息的功能。In some other embodiments, the user can also use a specified operation to trigger the mobile phone to display the above note creation interface. The specified operation may also be a preset gesture input by the user on the note creation interface, such as an S-shaped gesture or a slide gesture. The preset gesture can be preconfigured in the mobile phone. In addition, the mobile phone can prompt the user with the preset gesture and the function triggered by the preset gesture when displaying the card management interface. For example, prompting the preset gesture can trigger the mobile phone display interface 402 to realize the function of creating card information.
可以理解的,上述笔记创建界面可以是用于创建卡证信息的界面。用户可以在笔记创建界面中配置卡证信息。It can be understood that the above note creation interface may be an interface for creating card information. Users can configure card information in the note creation interface.
S103,手机接收用户在笔记创建界面的操作,根据配置流程模板创建卡证笔记。S103. The mobile phone receives the user's operation on the note creation interface, and creates a card note according to the configuration process template.
其中,上述笔记创建界面包括用于配置卡证信息的功能接口,如称为第一接口。作为一种示例,可以将笔记创建界面内的第一接口分为用于配置图像数据的接口和用于配置文字的接口等。Wherein, the above-mentioned note creation interface includes a functional interface for configuring card information, such as called the first interface. As an example, the first interface in the note creation interface can be divided into an interface for configuring image data, an interface for configuring text, and the like.
在一些实施例中,手机可以根据用户对第一接口的操作,获取卡证信息。In some embodiments, the mobile phone can acquire card information according to the user's operation on the first interface.
示例性地,界面402中包括多个第一接口。其中,上述第一接口包括命名为“图片”的控件403、命名为“语音”的控件404和命名为“手写”的控件405。上述图片控件403是用于录入图像数据的接口。上述语音控件404和手写控件405为用于输入文字的接口。用户可以通过对图片控件403的操作,从图像维度确定卡证信息。例如,通过操作图片控件403,录入包含卡证的图像。这样,手机可以响应于用户对图片控件403的操作,获取卡证原件的图像信息。Exemplarily, the interface 402 includes multiple first interfaces. Wherein, the above-mentioned first interface includes a control 403 named "picture", a control 404 named "voice" and a control 405 named "handwriting". The picture control 403 is an interface for entering image data. The aforementioned voice control 404 and handwriting control 405 are interfaces for inputting text. The user can determine the card information from the image dimension by operating the picture control 403 . For example, by operating the picture control 403, an image including a card is entered. In this way, the mobile phone can acquire the image information of the original card in response to the user's operation on the picture control 403 .
当然,用户也可以通过对语音控件404或手写控件405的操作,从文字维度确定卡证信息,比如,通过操作语音控件404或手写控件405标注卡证的使用权限和使用期限等。如此,手机可以响应于用户对语音控件404或手写控件405的操作,接收用户的输入内容,并转化为文字进行显示于界面402。例如,手机可响应于用户对语音控件404的点击操作后,采集声音数据,并将采集到的声音数据转化为文字。再例如,手机可响应于用户对手写控件405的点击操作后,获取用户在显示屏上的滑动轨迹,并转化为独有的文字,也即具有个人笔迹特征的文字。Of course, the user can also determine the card information from the text dimension by operating the voice control 404 or the handwriting control 405 , for example, by operating the voice control 404 or the handwriting control 405 to mark the use authority and expiration date of the card. In this way, the mobile phone can respond to the user's operation on the voice control 404 or the handwriting control 405 , receive the user's input content, and convert it into text for display on the interface 402 . For example, the mobile phone may collect sound data in response to the user's click operation on the voice control 404, and convert the collected sound data into text. For another example, in response to the user's click operation on the handwriting control 405, the mobile phone can obtain the user's sliding track on the display screen, and convert it into unique text, that is, text with personal handwriting characteristics.
不难理解,上述实施例中,可以采用至少一种方式从文字维度确定卡证信息。同 样,在获取卡证信息的过程中,图像维度的卡证信息也可通过至少一种方式获得。例如,通过实时启用摄像头进行拍摄的方式、从已有图库中获取的方式和实时启用摄像头进行卡证扫描的方式等。It is not difficult to understand that in the above embodiments, at least one method may be used to determine the card information from the text dimension. Similarly, in the process of obtaining the card information, the card information in the image dimension can also be obtained in at least one way. For example, the method of enabling the camera in real time to shoot, the method of obtaining from the existing library, and the method of enabling the camera in real time to scan the card, etc.
示例性地,手机接收到用户点击图片控件403,可显示如图4中的(c)所示的选择窗口406。其中,选择窗口406包括至少一个选择项,如,命名为“拍照”的选择项407、命名为“扫描”的选择项408和命名为“图库”的选择项409。每个选择项代表一种获取卡证信息的方式。例如,拍照选择项407用于指示直接拍摄的方式获取包含卡证的图像信息。扫描选择项408用于指示调用摄像头扫描卡证原件,从而得到卡证信息。图库选择项409用于指示从图库中查找已存储的包含卡证的图像信息。Exemplarily, the mobile phone may display a selection window 406 as shown in (c) of FIG. 4 after receiving that the user clicks on the picture control 403 . Wherein, the selection window 406 includes at least one selection item, for example, the selection item 407 named "photograph", the selection item 408 named "scan", and the selection item 409 named "gallery". Each option represents a way to obtain card information. For example, the photographing option 407 is used to indicate that the image information including the card is obtained by direct photographing. The scan selection item 408 is used to instruct to call the camera to scan the original card, so as to obtain the card information. The gallery selection item 409 is used to instruct to search the stored image information containing the card from the gallery.
以通过直接拍摄的方式采集卡证信息进行举例。在手机接收到用户对拍照选择项407的操作,手机可显示拍照的取景界面。其中,取景界面中的取景框可显示摄像头采集的预览图像。如图5中的(a)所示,取景界面501中包括取景框502,取景框502中显示采集到的包含合同和银行卡的预览图像。Take the card card information collection by direct shooting as an example. When the mobile phone receives the user's operation on the photographing option 407, the mobile phone may display a viewfinder interface for photographing. Wherein, the viewfinder frame in the viewfinder interface can display a preview image collected by the camera. As shown in (a) of FIG. 5 , the viewfinder interface 501 includes a viewfinder frame 502 , and the viewfinder frame 502 displays a captured preview image including a contract and a bank card.
此外,取景界面501中还包括用于指示拍摄的控件503。在手机接收到用户对控件503的操作后,手机将取景框502中的预览图像确定为待选的卡证信息,并显示图5中的(b)所示的界面504。这样,界面504中包括图像505。该图像505是包括合同和银行卡的图像。此外,该界面504中还可以包括重拍控件506、保存控件507以及打印控件508。其中,重拍控件506用于指示丢弃图像505并重新采集。保存控件507用于指示确认图像505为卡证信息并保存。打印控件508用于指示确定图像505为卡证信息并打印。In addition, the viewfinder interface 501 also includes a control 503 for instructing shooting. After the mobile phone receives the user's operation on the control 503, the mobile phone determines the preview image in the viewing frame 502 as the card information to be selected, and displays the interface 504 shown in (b) in FIG. 5 . As such, image 505 is included in interface 504 . This image 505 is an image including a contract and a bank card. In addition, the interface 504 may also include a retake control 506 , a save control 507 and a print control 508 . Wherein, the retake control 506 is used to instruct to discard the image 505 and recapture. The save control 507 is used to indicate that the confirmation image 505 is card information and saved. The print control 508 is used to instruct to determine that the image 505 is card information and print it.
换句话说,在手机接收到用户对重拍控件506的操作,如点击操作时,手机再次显示取景界面501,以便重新进行采集。In other words, when the mobile phone receives the user's operation on the retake control 506, such as a click operation, the mobile phone displays the viewfinder interface 501 again, so as to re-capture.
在手机接收到用户对保存控件507的操作,如点击操作时,如图5中的(c)所示,手机再次显示界面402,此时的界面402中包括采集到的卡证信息(也即图像505),以指示完成本次扫描。另外,在界面402中还包括用于指示输入标题的输入框,手机可以根据用户在该输入框中的输入操作,确定本次创建的卡证信息的名称,以便于用户分区。之后,手机接收到对确认控件410的操作时,手机根据界面402中的内容,生成一条卡证笔记。When the mobile phone receives the user's operation on the save control 507, such as a click operation, as shown in (c) in Figure 5, the mobile phone displays the interface 402 again, and the interface 402 at this time includes the collected card information (that is, image 505), to indicate that the scan is complete. In addition, the interface 402 also includes an input box for indicating the input title, and the mobile phone can determine the name of the card information created this time according to the user's input operation in the input box, so as to facilitate user division. Afterwards, when the mobile phone receives an operation on the confirmation control 410, the mobile phone generates a card note according to the content in the interface 402.
在手机接收到用户对打印控件508的操作,如点击操作时,手机将图像505作为卡证信息向连接的打印机发送,以便于进行打印。When the mobile phone receives the user's operation on the printing control 508, such as a click operation, the mobile phone sends the image 505 as card information to the connected printer for printing.
再以通过扫描的方式获取卡证信息为例。如图6中的(a)所示,用户在界面402中对扫描选择项408操作,手机可接收到用户对扫描选择项408的操作,手机可显示如图6中的(b)所示的界面601。在界面601中包括选择窗602。其中,上述选择窗602中包括多个配置项。不同的配置项可对应配置不同卡证的流程模板。在一些实施例中,不同类型的卡证,所需扫描的卡证面数可能不同。比如,身份证通常需要扫描正反两面,而学生证只需扫描正面一面。同时,不同类型的卡证,卡证形状和尺寸也可能不同。比如,身份证是尺寸较小的长方形,而毕业证是尺寸较大的长方形。故,不同类型的卡证所需的配置流程模板可以不同。但是,相同类型的卡证,所需的配置流程模板可以是相同的。Take the card card information obtained by scanning as an example. As shown in (a) in Figure 6, the user operates the scan option 408 in the interface 402, and the mobile phone can receive the user's operation on the scan option 408, and the mobile phone can display the screen shown in (b) in Figure 6 interface 601 . A selection window 602 is included in the interface 601 . Wherein, the selection window 602 includes multiple configuration items. Different configuration items can correspond to process templates for configuring different cards. In some embodiments, for different types of cards, the number of card sides to be scanned may be different. For example, an ID card usually needs to be scanned on both sides, while a student ID card only needs to scan the front side. At the same time, different types of cards may have different shapes and sizes. For example, an ID card is a smaller rectangle, while a graduation certificate is a larger rectangle. Therefore, different types of cards require different configuration process templates. However, for cards of the same type, the required configuration process templates can be the same.
在一些示例中,可以为常见的卡证预设专用的配置流程模板。如,为身份证、银行卡、护照、行驶证及驾照预设专用的配置流程模板,如选择窗602中的配置项包括身份证配置项603、银行卡配置项604、护照配置项605、行驶证配置项606和驾驶证配置项607。其中,各配置项对应着配置相应证件的流程模板。除了以上枚举的几类卡证对应有专用的流程模板之外,还可以为其他卡证预设专用的流程模板,对此本申请实施例不作具体限定。In some examples, dedicated provisioning process templates may be preset for common cards. For example, for ID cards, bank cards, passports, driving licenses and driver’s License configuration item 606 and driver's license configuration item 607. Among them, each configuration item corresponds to the process template for configuring the corresponding certificate. In addition to the dedicated process templates corresponding to the above enumerated types of cards, dedicated process templates can also be preset for other cards, which is not specifically limited in this embodiment of the present application.
此外,还可以预设适用于所有卡证的配置流程模板,如称为通用的流程模板,这样,选择窗602还可以包括通用配置项608,用于启用通用的流程模板获取卡证信息。In addition, a configuration process template applicable to all cards can also be preset, such as a common process template. In this way, the selection window 602 can also include a general configuration item 608 for enabling the general process template to obtain card information.
在一些实施例中,手机可根据用户在选择窗602中选择的配置项,启动对应的配置流程模板,从而指示用户完成对卡证信息的配置。In some embodiments, the mobile phone can start a corresponding configuration process template according to the configuration item selected by the user in the selection window 602, thereby instructing the user to complete the configuration of the card information.
以手机接收到对身份证配置项603的操作为例,手机可显示如图7中的(a)所示的扫描界面701,又称为第四界面。扫描界面701用于引导用户利用手机扫描身份证正面。该扫描界面701中包括扫描框702。扫描框702中可显示摄像头采集的预览图像。其中,该扫描框702中还包括扫描边框703,该扫描边框703用于指示身份证(也即实体卡证)正面在预览图像中的理想位置。可理解地,预览图像所显示的真实空间可视为摄像头的可采集范围。预览图像中每一个图像区域均对应着可采集范围中的一块采集区域。比如,扫描边框703可以对应可采集范围中的采集区域1,那么在真实空间中,用户将身份证置于该采集区域1中,那么身份证可显示于预览图像的扫描边框703内。Taking the mobile phone receiving the operation on the configuration item 603 of the ID card as an example, the mobile phone can display a scanning interface 701 as shown in (a) in FIG. 7 , which is also called the fourth interface. The scanning interface 701 is used to guide the user to use the mobile phone to scan the front of the ID card. The scanning interface 701 includes a scanning frame 702 . A preview image captured by the camera can be displayed in the scanning frame 702 . Wherein, the scan frame 702 also includes a scan frame 703, which is used to indicate the ideal position of the front of the ID card (that is, the physical card) in the preview image. Understandably, the real space displayed by the preview image can be regarded as the capture range of the camera. Each image area in the preview image corresponds to an acquisition area in the acquisition range. For example, the scanning frame 703 may correspond to the collection area 1 in the collection range, then in the real space, the user puts the ID card in the collection area 1, then the ID card can be displayed in the scanning frame 703 of the preview image.
在一些实施例中,手机通过显示扫描边框703的方式,实现指示用户调整手机与身份证原件之间位置和角度,以使采集到的预览图像中身份证正面位于扫描边框703内,且身份证的边缘接近扫描边框703。In some embodiments, the mobile phone instructs the user to adjust the position and angle between the mobile phone and the original ID card by displaying the scan frame 703, so that the front of the ID card in the collected preview image is within the scan frame 703, and the ID card The edge of is close to the scan frame 703 .
此外,扫描界面701还包括用于指示拍摄的拍摄控件704。In addition, the scanning interface 701 also includes a shooting control 704 for instructing shooting.
在一些实施例中,在接收到用户对拍摄控件704的操作之前,手机可以对摄像头采集到的预览图进行预处理。In some embodiments, before receiving the user's operation on the shooting control 704, the mobile phone may perform preprocessing on the preview image collected by the camera.
作为一种示例,手机可以对摄像头采集到的预览图进行预处理的过程包括:在身份证置于扫描边框703对应的采集区域内时,手机识别身份证在预览图像中的显示区域,如称为第一图像区域。再对第一图像区域进行矩形矫正,得到身份证的扫描预览图。获取所得到的扫描预览图的边缘信息,并将该边缘信息显示于扫描界面701。这样,用户可以根据显示于扫描界面701的边缘信息,预览此时对拍摄控件704进行操作可得到的身份证扫描图的尺寸和位置,从而便于用户决策是否对拍摄控件704进行操作。As an example, the process that the mobile phone can preprocess the preview image captured by the camera includes: when the ID card is placed in the collection area corresponding to the scanning frame 703, the mobile phone recognizes the display area of the ID card in the preview image, such as is the first image area. Rectangular correction is then performed on the first image area to obtain a scanned preview image of the ID card. The obtained edge information of the scanned preview image is obtained, and the edge information is displayed on the scanning interface 701 . In this way, the user can preview the size and position of the scanned image of the ID card that can be obtained by operating the shooting control 704 at this time according to the edge information displayed on the scanning interface 701 , so as to facilitate the user to decide whether to operate the shooting control 704 .
在手机接收到用户对拍摄控件704的操作之后,手机先保存此时摄像头采集到的预览图像,如称为存储图像1。手机根据扫描边框703的指示,从存储图像1中获取身份证正面的扫描图。After the mobile phone receives the user's operation on the shooting control 704, the mobile phone first saves the preview image collected by the camera at this time, for example, it is called storage image 1 . According to the instruction of the scanning frame 703, the mobile phone obtains the scanned image of the front of the ID card from the stored image 1.
作为一种实现方式,从存储图像1中获取身份证正面的扫描图的方式可以是:手机按照扫描边框703的指示,从存储图像1中获取扫描边框703所指示的识别区域。上述识别区域是扫描边框703映射到存储图像1后,由扫描边框703所围住的图像区域。存储图像1中的身份证可位于该识别区域中。然后,手机再从识别区域中自动识 别身份证的轮廓信息,从而,基于该轮廓信息裁剪出指示身份证的图像数据。最后,将裁剪出的图像数据进行矩形矫正,以得到身份证正面的扫描图。As an implementation, the way to obtain the scanned image of the front of the ID card from the stored image 1 may be: the mobile phone obtains the recognition area indicated by the scanned frame 703 from the stored image 1 according to the instruction of the scanned frame 703 . The above identification area is the image area enclosed by the scanning frame 703 after the scanning frame 703 is mapped to the stored image 1 . The ID card in the stored image 1 may be located in the identification area. Then, the mobile phone automatically recognizes the outline information of the ID card from the recognition area, thereby cutting out the image data indicating the ID card based on the outline information. Finally, the cropped image data is rectified to obtain a scanned image of the front of the ID card.
可以理解的,“手机自动识别存储图像中的身份证轮廓,裁剪出指示身份证的图像数据,并对裁剪出的图像数据进行矩形矫正”这一过程又可称为自动矫正。在得到身份证正面的扫描图之后,继续进行身份证反面的扫描。在一些实施例中,手机可显示如图7中的(b)所示的扫描界面705。扫描界面705用于引导用户利用手机扫描身份证反面。该扫描界面705中包括扫描框706。扫描框706中可显示摄像头采集的预览图像。其中,该扫描框706中还包括扫描边框707,该扫描边框707用于指示身份证反面在预览图像中的理想位置。在一些实施例中,手机通过显示扫描边框707的方式,实现指示用户调整手机与身份证原件之间位置和角度,以使采集到的预览图像中身份证反面位于扫描边框707内,且身份证的边缘接近扫描边框707。此外,扫描界面705还包括用于指示拍摄的拍摄控件708。在手机接收到用户对拍摄控件708的操作之后,手机先保存此时摄像头采集到的预览图像,如称为存储图像2。手机根据扫描边框707的指示,从存储图像2中获取身份证反面的扫描图。可理解地,获取身份证反面的扫描图与获取身份证正面的原理相同,在此不再赘述。Understandably, the process of "the mobile phone automatically recognizes the outline of the ID card in the stored image, cuts out the image data indicating the ID card, and performs rectangle correction on the cut out image data" can also be called automatic correction. After getting the scanned image of the front of the ID card, proceed to scan the reverse side of the ID card. In some embodiments, the mobile phone may display a scanning interface 705 as shown in (b) of FIG. 7 . The scanning interface 705 is used to guide the user to use the mobile phone to scan the reverse side of the ID card. The scanning interface 705 includes a scanning box 706 . A preview image captured by the camera can be displayed in the scanning frame 706 . Wherein, the scan frame 706 also includes a scan frame 707, which is used to indicate the ideal position of the reverse side of the ID card in the preview image. In some embodiments, the mobile phone displays the scanning frame 707 to instruct the user to adjust the position and angle between the mobile phone and the original ID card, so that the reverse side of the ID card in the collected preview image is within the scanning frame 707, and the ID card The edge of is close to the scan border 707 . In addition, the scan interface 705 also includes a capture control 708 for instructing capture. After the mobile phone receives the user's operation on the shooting control 708, the mobile phone first saves the preview image collected by the camera at this time, for example, it is called the stored image 2 . According to the instruction of the scanning frame 707, the mobile phone obtains the scanned image of the reverse side of the ID card from the stored image 2. Understandably, the principle of obtaining the scanned image of the reverse side of the ID card is the same as that of obtaining the front side of the ID card, and will not be repeated here.
以上扫描身份证的正反页的过程,属于配置身份证的流程模板的一部分。在该过程中,手机还可以响应于用户的操作切换到其他配置流程模板中。The above process of scanning the front and back pages of the ID card is part of the process template for configuring the ID card. During this process, the mobile phone may also switch to other configuration flow templates in response to user operations.
示例性地,在扫描界面701和扫描界面705中都包括身份证控件709、银行卡控件710和护照控件711等。其中,身份证控件709,用于指示配置“身份证”的流程模板。在按照配置身份证的流程模板进行扫描时,身份证控件709处于被选中的状态。此外,上述银行卡控件710用于指示配置“银行卡”的流程模板。上述护照控件711用于指示“护照”配置流程模板。当然,还可以包括用于指示配置其他卡证的流程模板的控件,在此不再赘述。这样用户便可以通过对银行卡控件710或护照控件711等进行选择,触发手机从配置身份证的流程模板切换至其他流程模板。从而,方便用户灵活地切换配置流程,提高人机交互性。Exemplarily, both the scanning interface 701 and the scanning interface 705 include an ID card control 709 , a bank card control 710 , a passport control 711 and the like. Among them, the ID card control 709 is used to indicate the process template for configuring the "ID card". When scanning is performed according to the process template for configuring the ID card, the ID card control 709 is in a selected state. In addition, the above-mentioned bank card control 710 is used to indicate the configuration process template of "bank card". The aforementioned passport control 711 is used to indicate the "passport" configuration process template. Of course, it may also include a control for instructing other card configuration process templates, which will not be repeated here. In this way, the user can trigger the mobile phone to switch from the process template for configuring the ID card to other process templates by selecting the bank card control 710 or the passport control 711 . Therefore, it is convenient for the user to switch the configuration process flexibly, and the human-computer interaction is improved.
在一些实施例中,手机可以将扫描得到的身份证正、反面,直接作为卡证信息进行保存。在另一些实施例中,手机扫描得到身份证正、反面后,手机可响应用户操作对身份证正、反面进行调整。再将调整后的身份证正、反面作为卡证信息,并保存。In some embodiments, the mobile phone can directly store the scanned front and back sides of the ID card as card information. In other embodiments, after the mobile phone scans the front and back of the ID card, the mobile phone can adjust the front and back of the ID card in response to user operations. Then use the adjusted front and back of the ID card as the card information and save it.
这样,在该实施例中,配置身份证的流程模板还可以包括对扫描到的身份证正反面进行调整的过程。也即,在完成对身份证正反面的扫描后,手机可显示如图8中的(a)所示的界面801,又称为第六界面。上述界面801包括已扫描的身份证正、反面。此外,上述界面801中还包括用于指示调整身份证正、反面的控件,如,手动矫正控件、重拍控件、水印控件(又称为第三控件)、加密控件等。其中,手动矫正控件用于触发针对身份证的正面或反面进行手动矩形矫正。重拍控件用于指示重新扫描身份证的正、反面。水印控件用于指示在包含身份证正反页的界面上添加特定标记,如,文字、图案等。加密控件用于触发为身份证正、反面添加访问权限。In this way, in this embodiment, configuring the process template of the ID card may also include a process of adjusting the front and back of the scanned ID card. That is, after scanning the front and back of the ID card, the mobile phone may display an interface 801 as shown in (a) in FIG. 8 , which is also called the sixth interface. The above-mentioned interface 801 includes the front and back sides of the scanned ID card. In addition, the above-mentioned interface 801 also includes controls for instructing to adjust the front and back sides of the ID card, such as manual correction controls, retake controls, watermark controls (also called third controls), encryption controls, and the like. Wherein, the manual correction control is used to trigger manual rectangle correction for the front or back of the ID card. The retake control is used to instruct to rescan the front and back of the ID card. The watermark control is used to instruct to add specific marks, such as text, pattern, etc., on the interface including the front and back pages of the ID card. The encryption control is used to trigger the addition of access rights for the front and back of the ID card.
示例性地,手机接收到用户对手动矫正控件的操作时,可显示图8中的(b)所示的界面802。其中,界面802包括身份证正面所对应的存储图像1和轮廓确定框803。手机可提示用户调整轮廓确定框803的四个顶点804的位置,以使调整后的轮廓确定 框803与存储图像1中的身份证的实际轮廓重合,如此,手机接收到用户在界面802中的确认操作后,手机依据轮廓确定框803,从存储图像1中裁剪出显示身份证的图像区域(也即,包含身份证的图像区域),并对该图像区域进行矩形矫正,得到扫描后的身份证正面。Exemplarily, when the mobile phone receives the user's operation on the manual correction control, it may display the interface 802 shown in (b) in FIG. 8 . Wherein, the interface 802 includes a stored image 1 corresponding to the front of the ID card and a contour determination box 803 . The mobile phone can prompt the user to adjust the positions of the four vertices 804 of the contour determination frame 803 so that the adjusted contour determination frame 803 coincides with the actual contour of the ID card in the stored image 1. After confirming the operation, the mobile phone cuts out the image area displaying the ID card (that is, the image area containing the ID card) from the stored image 1 according to the outline determination frame 803, and performs rectangle correction on the image area to obtain the scanned identity card. certificate positive.
然后,手机可显示图8中的(c)所示的界面805。其中,界面805包括身份证反面所对应的存储图像2和轮廓确定框806。手机可提示用户调整轮廓确定框806的四个顶点807的位置,以使调整后的轮廓确定框806与存储图像2中的身份证的实际轮廓重合,如此,手机接收到用户在界面805中的确认操作后,手机依据轮廓确定框806,从存储图像2中裁剪出显示身份证的图像区域(也即,包含身份证的图像区域),并对该图像区域进行矩形矫正,得到扫描后的身份证反面。从而,得到手动矫正过的卡证信息。Then, the mobile phone can display the interface 805 shown in (c) in FIG. 8 . Wherein, the interface 805 includes the stored image 2 corresponding to the reverse side of the ID card and a contour determination box 806 . The mobile phone can prompt the user to adjust the positions of the four vertices 807 of the contour determination frame 806, so that the adjusted contour determination frame 806 coincides with the actual contour of the ID card in the stored image 2. After confirming the operation, the mobile phone cuts out the image area displaying the ID card (that is, the image area containing the ID card) from the stored image 2 according to the outline determination frame 806, and performs rectangular correction on the image area to obtain the scanned identity card. Negative proof. Thus, the manually corrected card information is obtained.
可见,在手动矫正过程中,通过调整轮廓确定框的各顶点位置的方式,人工确定卡证(如,身份证)在存储图像中的轮廓信息。从而,更准确地裁剪出实际显示卡证的图像区域。这样,手机对裁剪出的图像区域进行矩形矫正后,可得到卡证更精准的扫描图。在本实施例中,通过自动矫正和手动矫正想配合,所得到的卡证扫描图可以更加符合用户的需求,降低用户反复扫描的次数,提升扫描卡证的人机交互效率。It can be seen that during the manual correction process, the contour information of the card (eg, ID card) in the stored image is manually determined by adjusting the position of each vertex of the contour determination frame. Thus, the image area where the card is actually displayed is more accurately cropped. In this way, after the mobile phone performs rectangle correction on the cropped image area, a more accurate scan image of the card can be obtained. In this embodiment, through the combination of automatic correction and manual correction, the obtained card scan image can better meet the user's needs, reduce the number of repeated scans by the user, and improve the efficiency of human-computer interaction in card scanning.
以上实施例描述了依次对身份证的正反面的扫描图进行手动矫正。在一些实施例中,可以指定单独对身份证的正面进行手动矫正,也可以指定单独对身份证的反面进行手动矫正。例如,手机接收到用户对手动矫正控件的操作后,若接收到用户对界面801中身份证正面的操作,如点击操作时,显示界面802。此外,在完成对身份证正面的手动矫正之后,手机再次显示界面801,而此时界面801中的身份证正面为手动矫正后的图像。同样,若接收到用户对界面801中身份证反面的操作,如点击操作时,显示界面805。此外,在完成对身份证反面的手动矫正之后,手机再次显示界面801,而此时界面801中的身份证反面为手动矫正后的图像。The above embodiment describes the manual correction of the scanned images of the front and back sides of the ID card in sequence. In some embodiments, it may be specified to perform manual correction only on the front side of the ID card, or it may be specified to perform manual correction only on the reverse side of the ID card. For example, after the mobile phone receives the user's operation on the manual correction control, if it receives the user's operation on the front of the ID card in the interface 801, such as a click operation, the interface 802 is displayed. In addition, after the manual correction of the front of the ID card is completed, the mobile phone displays the interface 801 again, and at this time the front of the ID card in the interface 801 is the manually corrected image. Similarly, if an operation on the reverse side of the ID card in the interface 801 is received, such as a click operation, the interface 805 is displayed. In addition, after the manual correction of the reverse side of the ID card is completed, the mobile phone displays the interface 801 again, and at this time, the reverse side of the ID card in the interface 801 is the manually corrected image.
又示例性地,手机接收到用户对重拍控件的操作时,手机可重新显示扫描界面701,从而重启配置身份证的流程模板。For another example, when the mobile phone receives the user's operation on the retake control, the mobile phone may re-display the scanning interface 701, thereby restarting the process template for configuring the ID card.
再示例性地,手机接收到用户对水印控件的操作,又称为第五操作,如可以是点击操作,可显示图9中(a)所示的界面901,又称为第七界面。其中,界面901除了包括卡证扫描图(如,已扫描的身份证正、反面)之外,还包括水印文本输入区。此外,上述界面901还包括文字水印控件和手写水印控件。In another example, the mobile phone receives the user's operation on the watermark control, which is also called the fifth operation, such as a click operation, and may display an interface 901 shown in (a) of FIG. 9 , also called the seventh interface. Wherein, the interface 901 includes not only the scanned image of the card (eg, the front and back sides of the scanned ID card), but also a watermark text input area. In addition, the above-mentioned interface 901 also includes a text watermark control and a handwritten watermark control.
上述文字水印控件和手写水印控件均用于触发手机接收用户输入的水印信息,如,文字、特定符号等,并显示于水印文本输入区。例如,手机接收到用户对文字水印控件的操作,如点击操作时,显示如图9中的(b)所示,界面901还包括虚拟键盘902及光标903。其中,用户可以通过虚拟键盘902输入水印信息,这样,手机可根据用户在虚拟键盘902中的输入操作,获取用户输入的水印信息。例如,手机接收到用户输入的水印信息为“本扫描件仅供租房使用”,在手机接收到用户触发的输入完成确认后,手机可显示图9中的(c)所示的界面801,此时的界面801还包括用户设置的水印信息,如在身份证正面和反面之间显示有“本扫描件仅供租房使用”。从而得到有水印的卡证信息。The above-mentioned text watermark control and handwriting watermark control are both used to trigger the mobile phone to receive watermark information input by the user, such as text, specific symbols, etc., and display them in the watermark text input area. For example, when the mobile phone receives the user's operation on the text watermark control, such as a click operation, the display is as shown in (b) in FIG. 9 , and the interface 901 also includes a virtual keyboard 902 and a cursor 903 . Wherein, the user can input watermark information through the virtual keyboard 902 , so that the mobile phone can obtain the watermark information input by the user according to the user's input operation on the virtual keyboard 902 . For example, the mobile phone receives the watermark information input by the user as "this scanned copy is only for renting a house". The interface 801 at the time also includes the watermark information set by the user, such as "this scanned copy is only for rental use" displayed between the front and back of the ID card. Thus, the card information with watermark is obtained.
另外,光标903可指示上述水印信息在界面801中的显示位置。可理解地,用户可以点击界面901中不同位置,改变光标903的位置。也即,手机可以根据接收到用户在界面901中的点击操作,确定被点击位置,并于被点击位置显示光标903。In addition, the cursor 903 may indicate the display position of the above watermark information in the interface 801 . Understandably, the user can click on different positions in the interface 901 to change the position of the cursor 903 . That is, the mobile phone can determine the clicked position according to the click operation received from the user on the interface 901 , and display the cursor 903 at the clicked position.
当然,用户也可以通过对手写水印控件的操作,实现水印信息的设置。例如,手机接收到用户对手写水印控件的操作之后,用户可以在界面中手写水印文字,手写水印文字的过程中,可视为第二滑动操作。手机根据第二滑动操作确定第二轨迹。并将第二轨迹作为水印文本信息进行显示。其中,上述第二轨迹实际上是用户手写的具有个人笔迹特征的文字笔画。在确定第二轨迹之后,用户还可以通过操作手机同比调整第二滑动轨迹的大小和显示位置。这样,得到的卡证信息包含用户亲笔书写的水印文本信息。改善用户只能在纸质化的卡证信息中亲笔书写使用权限的问题。Of course, the user can also set the watermark information by operating the handwritten watermark control. For example, after the mobile phone receives the operation of the user's handwritten watermark control, the user can handwrite the watermark text in the interface, and the process of handwriting the watermark text can be regarded as a second sliding operation. The mobile phone determines the second trajectory according to the second sliding operation. And display the second track as watermark text information. Wherein, the above-mentioned second trajectory is actually a character stroke handwritten by the user with personal handwriting characteristics. After determining the second track, the user can also adjust the size and display position of the second sliding track year-on-year by operating the mobile phone. In this way, the obtained card information contains the watermark text information written by the user himself. Improve the problem that users can only write the usage rights in paper card information.
也就是,上述卡证信息可以由卡证的扫描图和水印文本信息组合而得。That is, the above card information can be obtained by combining the scanned image of the card and the watermark text information.
再示例性地,手机接收到用户对加密控件的操作后,手机可接收用户为扫描到的身份证正、反面配置的访问密码,以便得到加密的卡证信息。As another example, after the mobile phone receives the user's operation on the encryption control, the mobile phone may receive the access password configured by the user for the scanned front and back of the ID card, so as to obtain encrypted card information.
此外,如图9中的(c)所示,界面801中还包括确认控件904。其中,上述确认控件904还用于指示确认卡证信息的配置完成。在手机接收到用户对确认控件904的操作时,手机可显示如图10中的(a)所示的界面1001,如称为卡证预览界面。界面1001中包括用于存储的卡证信息,该卡证信息包括身份证正、反面和配置的水印信息。此外,界面1001还包括用于指示完成的控件1002和用于指示打印的控件1003,又称为第四控件。在手机接收到用户对控件1002的操作时,手机可再次显示界面402。如图10中的(b)所示,此时的界面402包括身份证所对应的卡证信息和用于指示输入标题的输入框,手机可以根据用户在该输入框中的输入操作,确定本次创建的卡证信息的名称,例如,手机接收到用户在标题的输入框处输入“证件4”,那么确定本次创建卡证信息的名称为“证件4”。之后,手机接收到对确认控件410的操作时,手机根据界面402中的内容,生成一条卡证笔记。In addition, as shown in (c) of FIG. 9 , the interface 801 also includes a confirmation control 904 . Wherein, the confirmation control 904 is also used to indicate that the configuration of the confirmation card information is completed. When the mobile phone receives the user's operation on the confirmation control 904, the mobile phone may display an interface 1001 as shown in (a) in FIG. 10 , such as a card preview interface. The interface 1001 includes card information for storage, and the card information includes the front and back of the ID card and configured watermark information. In addition, the interface 1001 also includes a control 1002 for indicating completion and a control 1003 for indicating printing, also referred to as a fourth control. When the mobile phone receives the user's operation on the control 1002, the mobile phone can display the interface 402 again. As shown in (b) in Figure 10, the interface 402 at this time includes the card information corresponding to the ID card and an input box for indicating the input title. The name of the card information created this time, for example, if the mobile phone receives the user input "Certificate 4" in the input box of the title, then it is determined that the name of the card information created this time is "Certificate 4". Afterwards, when the mobile phone receives an operation on the confirmation control 410, the mobile phone generates a card note according to the content in the interface 402.
以上,从触发显示笔记创建界面直至确定出卡证信息的过程中,手机所接收到的用户操作均可视为第四操作。Above, from the process of triggering and displaying the note creation interface to determining the card information, the user operations received by the mobile phone can be regarded as the fourth operation.
同样地,在手机接收到用户对指示打印的控件1003的操作,又称为第六操作,生成卡证笔记的同时,将卡证信息分享至与手机通讯的打印机,以便制作身份证的复印件。Similarly, when the mobile phone receives the user's operation on the control 1003 that instructs to print, also known as the sixth operation, and generates card notes, share the card information to the printer communicating with the mobile phone, so as to make a copy of the ID card .
此后,手机再次显示界面106时,上述界面106还可以被称为第二界面。如图11中的(a)所示,界面106中还包括命名为“证件4”的卡证笔记1101。可以理解地,在创建卡证笔记1101的过程中,若配置有访问密码,那手机接收到用户对卡证笔记1101的点击操作时,可现实如图11中的(b)所示的界面1102,该界面1102中包括密码输入框1103,用于接收用户输入的认证密码。手机接收到用户在密码输入框1103中输入的认证密码后,将该认证密码与预先配置的访问密码进行比对,如果二者匹配,则如图11中的(c)所示,界面1102中取消显示密码输入框1103,并显示证件4所对应的卡证信息,也即,显示第三界面。其中,在上述卡证笔记1101称为第一卡证笔记的情况下,上述证件4所对应的卡证信息又可称为第一卡证信息。上述对卡证笔记1101的点击操作和/或输入认证密码的操作,可称为第三操作。Afterwards, when the mobile phone displays the interface 106 again, the above-mentioned interface 106 may also be referred to as a second interface. As shown in (a) of FIG. 11 , the interface 106 also includes a card note 1101 named "Certificate 4". Understandably, in the process of creating the card note 1101, if an access password is configured, when the mobile phone receives the user's click operation on the card note 1101, the interface 1102 shown in (b) in Figure 11 can be realized , the interface 1102 includes a password input box 1103 for receiving an authentication password input by the user. After receiving the authentication password input by the user in the password input box 1103, the mobile phone compares the authentication password with the pre-configured access password, and if the two match, as shown in (c) in Figure 11, the interface 1102 The display of the password input box 1103 is canceled, and the card information corresponding to the certificate 4 is displayed, that is, the third interface is displayed. Wherein, when the above-mentioned card note 1101 is called the first card note, the card information corresponding to the above-mentioned certificate 4 may also be called the first card information. The above-mentioned click operation on the card note 1101 and/or the operation of inputting the authentication password may be referred to as a third operation.
另外,在界面1102中还包括用于指示打印的控件1104,又称为第五控件。在手机接收到用户对控件1104的操作,也可称为第六操作,将界面1102中显示的卡证信息分享至与手机通讯的打印机,以便制作身份证的复印件。In addition, the interface 1102 also includes a control 1104 for instructing printing, which is also called a fifth control. When the mobile phone receives the user's operation on the control 1104, which can also be referred to as the sixth operation, the card information displayed on the interface 1102 is shared with the printer communicating with the mobile phone, so as to make a copy of the ID card.
以上示例中,枚举了利用身份证的专用流程模板,创建身份证对应的卡证信息。其他卡证的专用流程模板与身份证的专用流程模板类似,比如,都需要先扫描出卡证,之后,也可以响应用户操作对扫描出的卡证信息进行调整。不同的专用流程模板之间的区别可以是扫描的面数不同、扫描边框的形状不同或者标题类型不同等。In the above example, the special process template using the ID card is enumerated to create the card information corresponding to the ID card. The special process templates for other cards are similar to the special process templates for ID cards. For example, the cards need to be scanned first, and then the scanned card information can also be adjusted in response to user operations. The difference between different dedicated process templates may be different number of scanned sides, different shapes of scanned borders, or different title types, etc.
当然,除了专用的流程模板之后,本申请实施例中,手机的备忘录APP中还包括通用的流程模板,以适应用户不同的卡证扫描需求。Of course, in addition to the dedicated process template, in the embodiment of the present application, the mobile phone's memo APP also includes a general process template to meet different card scanning needs of users.
示例性地,如图12中的(a)所示,用户可以对通用配置项608进行操作,这样手机可响应于用户对通用配置项608的操作,显示图12中的(b)所示的界面1201,又称为第五界面。该界面1201可用于提醒用户在扫描框1202的范围内确定出扫描边框,例如,可显示引导用户勾画扫描边框的提醒信息。用户可以根据实际扫描的卡证的形状,在扫描框1202中画出扫描边框的形状。用户在界面1201中画出扫描边框的操作,又可称为第一滑动操作。上述第一滑动操作对应有第一轨迹,也即,手机响应于第一滑动操作所显示出的轨迹。例如,所需扫描卡证是圆形奖牌,用户可以在扫描框1202中画出圆形轨迹,这样手机响应于用户在扫描框1202的操作,如图12(c)中所示,在界面1201中显示扫描边框1203,显示有扫描边框的界面1201也可称为第四界面。扫描框1202中还可显示摄像头采集的预览图像。该扫描边框1203用于指示圆形奖牌在预览图像中的理想位置。在一些实施例中,手机通过显示扫描边框1203的方式,实现指示用户调整手机与圆形奖牌之间位置和角度,以使采集到的预览图像中圆形奖牌位于扫描边框1203内,且奖牌的边缘接近扫描边框1203。Exemplarily, as shown in (a) in Figure 12, the user can operate the general configuration item 608, so that the mobile phone can respond to the user's operation on the general configuration item 608, and display the Interface 1201 is also called the fifth interface. The interface 1201 may be used to remind the user to determine the scan frame within the range of the scan frame 1202, for example, a reminder message may be displayed to guide the user to draw the scan frame. The user can draw the shape of the scanning frame in the scanning frame 1202 according to the shape of the actually scanned card. The user's operation of drawing a scanning frame on the interface 1201 may also be referred to as a first sliding operation. The above-mentioned first sliding operation corresponds to a first track, that is, a track displayed by the mobile phone in response to the first sliding operation. For example, the required scanning card is a circular medal, and the user can draw a circular trajectory in the scanning frame 1202, so that the mobile phone responds to the user's operation in the scanning frame 1202, as shown in FIG. A scan frame 1203 is displayed in the center, and the interface 1201 displayed with the scan frame may also be referred to as a fourth interface. A preview image captured by the camera can also be displayed in the scanning frame 1202 . The scan frame 1203 is used to indicate the ideal position of the circular medal in the preview image. In some embodiments, the mobile phone instructs the user to adjust the position and angle between the mobile phone and the circular medal by displaying the scan frame 1203, so that the circular medal in the collected preview image is located within the scan frame 1203, and the medal's The edges are close to the scan border 1203 .
在一些实施例中,用户可在扫描框1202内同时画出多个扫描边框,这样手机接收到用户在界面1201中的第一滑动操作之后,确定出多个扫描边框。In some embodiments, the user can draw multiple scanning frames in the scanning frame 1202 at the same time, so that the mobile phone determines multiple scanning frames after receiving the user's first sliding operation in the interface 1201 .
此外,界面1201还包括用于指示拍摄的控件1204。在手机接收到用户对控件1204的操作之后,手机先保存此时摄像头采集到的预览图像,所保存的预览图像也即捕获的预览图像,如称为存储图像3。手机根据扫描边框1203的指示,从存储图像3中获取奖牌的扫描图。可理解地,获取奖牌的扫描图与获取身份证扫描图的原理相同,在此不再赘述。In addition, the interface 1201 also includes a control 1204 for instructing shooting. After the mobile phone receives the user's operation on the control 1204, the mobile phone first saves the preview image collected by the camera at this time, and the saved preview image is also the captured preview image, for example, it is called the stored image 3 . The mobile phone acquires the scanned image of the medal from the stored image 3 according to the instruction of the scanning frame 1203 . Understandably, the principle of obtaining the scanned image of the medal is the same as the principle of obtaining the scanned image of the ID card, and will not be repeated here.
在获取奖牌的扫描图后,如图12中的(d)所示,界面1201中显示确认窗口1205。其中,确定窗口1205用于提示用户是否继续扫描卡证的其他面。在确认窗口1205中包括指示继续扫描的控件1206和指示不继续扫描的控件1207。示例性地,在手机接收到用户对控件1206的操作时,手机再一次显示界面1201。After obtaining the scan image of the medal, as shown in (d) in FIG. 12 , a confirmation window 1205 is displayed on the interface 1201 . Wherein, the determination window 1205 is used to prompt the user whether to continue scanning other sides of the card. A control 1206 indicating to continue scanning and a control 1207 indicating not to continue scanning are included in the confirmation window 1205 . Exemplarily, when the mobile phone receives the user's operation on the control 1206, the mobile phone displays the interface 1201 again.
又示例性地,在手机接收到用户对控件1207的操作时,显示如图13所示的界面1301。该界面1301与界面801类似,不同的是界面1301显示的是奖牌的扫描图。用户同样可以对界面1301中的控件(如,手动矫正控件、重拍控件、水印控件、加密控件等)进行操作,从而触发手机对奖牌扫描图进行调整。需要说明的是,对扫描图进行调整以及最后创建对应的卡证笔记的过程,可参考前述实施例中,对身份证正反面的调整及创建对应的卡证笔记的实现过程,在此不再赘述。显然,奖牌的扫描图在界 面1301中的显示位置和大小由扫描边框1203确定。For another example, when the mobile phone receives the user's operation on the control 1207, an interface 1301 as shown in FIG. 13 is displayed. The interface 1301 is similar to the interface 801, the difference is that the interface 1301 displays a scanned image of a medal. The user can also operate the controls in the interface 1301 (eg, manual correction control, retake control, watermark control, encryption control, etc.), thereby triggering the mobile phone to adjust the medal scan image. It should be noted that the process of adjusting the scanned image and finally creating the corresponding card note can refer to the implementation process of adjusting the front and back of the ID card and creating the corresponding card note in the aforementioned embodiment, which will not be repeated here. repeat. Obviously, the display position and size of the scanned image of the medal in the interface 1301 are determined by the scanning frame 1203.
另外,在同时显示有多个扫描边框的情况下,用户可以利用每一个扫描边框,扫描获取实体卡证的扫描图。这样,手机可通过多个扫描边框采集实体卡证的多张扫描图。示例性地,该多张扫描图可以是同一实体卡证的不同面所对应的扫描图,也可以是不同卡证的扫描图。In addition, in the case that multiple scanning frames are displayed at the same time, the user can use each scanning frame to scan to obtain a scanned image of the physical card. In this way, the mobile phone can capture multiple scan images of the physical card through multiple scan frames. Exemplarily, the multiple scans may be scans corresponding to different sides of the same physical card, or may be scans of different cards.
在一些实施例中,手机可响应用户操作捕获预览图像。在预览图像中,卡证出现于任意扫描边框内的情况下,可得到对应的扫描图。同时,手机每通过至少一个扫描边框得到对应的扫描图之后,均可显示确认窗口1205,直至手机通过所有的扫描边框得到对应的扫描图或者手机接收到用户对控件1207的操作。当然,在上述过程中,通过同一扫描边框得到多个扫描图时,可将通过该扫描边框得到的最后一个扫描图确定为对应的扫描图。In some embodiments, the handset may capture a preview image in response to a user action. In the preview image, if the card appears in any scan frame, the corresponding scan image can be obtained. At the same time, the mobile phone may display the confirmation window 1205 after obtaining the corresponding scan image through at least one scanning frame, until the mobile phone obtains the corresponding scan image through all the scanning frames or the mobile phone receives the user's operation on the control 1207 . Of course, in the above process, when multiple scan images are obtained through the same scan frame, the last scan image obtained through the scan frame can be determined as the corresponding scan image.
例如,手机响应用户输入的第一滑动操作,确定出扫描边框a、扫描边框b。这样,手机捕获的预览图像中,扫描边框a出现了卡证,而扫描边框b中未出现卡证,那么可以得到扫描边框a中出现的卡证的扫描图,此时,可显示确认窗口1205,在用户点击控件1206之后,继续显示扫描边框a、扫描边框b,此时,手机可响应用户操作再次捕获预览图像,再次捕获的预览图像中,扫描边框b中出现卡证,可得到扫描边框b中出现卡证所对应的扫描图。For example, the mobile phone determines the scanning frame a and the scanning frame b in response to the first sliding operation input by the user. In this way, in the preview image captured by the mobile phone, the card appears in the scanning frame a, but the card does not appear in the scanning frame b, then a scanned image of the card appearing in the scanning frame a can be obtained, at this time, a confirmation window 1205 can be displayed , after the user clicks the control 1206, the scan frame a and the scan frame b continue to be displayed. At this time, the mobile phone can capture the preview image again in response to the user operation. In the preview image captured again, a card appears in the scan frame b, and the scan frame can be obtained The scanned image corresponding to the card appears in b.
另外,通过上述多个扫描边框得到的扫描图可以显示于同一界面。接上例,扫描边框a、扫描边框b所对应的扫描图可显示于同一界面。同时,多个扫描图显示位置和大小与多个扫描边框的位置和大小相同。如此,用户需要将多张卡证扫描图布局于同一显示界面时,可提前安排各扫描图的布局(如,确定各扫描图所处位置及大小)。减少手机排布多张扫描图所需的运行负荷,保障用户的体验。In addition, the scanned images obtained through the above-mentioned multiple scanned frames can be displayed on the same interface. Continuing from the above example, the scanned images corresponding to the scanning frame a and the scanning frame b can be displayed on the same interface. At the same time, the positions and sizes of the display of the multiple scan images are the same as those of the multiple scan borders. In this way, when the user needs to arrange multiple card scans on the same display interface, he can arrange the layout of each scan in advance (for example, determine the location and size of each scan). Reduce the running load required for arranging multiple scans on the mobile phone to ensure user experience.
此外,在一些实施例中,对卡证进行扫描的功能还可以集成在其他应用中,如,集成在相机APP中,也即,在相机APP中实现对卡证的扫描,创建卡证信息。再将卡证信息以图片的形式存储在图库中。如此,手机在显示如图14中的(a)所示的界面402时,接收到用户对图库选择项409的操作,显示如图14中的(b)所示的界面1401,界面1401中显示有相机APP采集到的卡证信息。用户可以从界面1401中选择目标卡证信息,如此,手机可响应于用户对卡证信息的选择操作,显示如图14中的(c)所示的界面402。该界面402中包括用户在图库中选中的卡证信息。之后,手机也可创建与该卡证信息对应的卡证笔记。In addition, in some embodiments, the function of scanning the card can also be integrated into other applications, for example, integrated into the camera APP, that is, the function of scanning the card and creating card information is realized in the camera APP. Then store the card information in the gallery in the form of pictures. In this way, when the mobile phone displays the interface 402 shown in (a) in Figure 14, it receives the user's operation on the gallery selection item 409, and displays the interface 1401 shown in (b) in Figure 14, and the interface 1401 displays There is card information collected by the camera APP. The user can select the target card information from the interface 1401, so that the mobile phone can display the interface 402 shown in (c) in FIG. 14 in response to the user's selection operation on the card information. The interface 402 includes card information selected by the user in the gallery. Afterwards, the mobile phone can also create a card note corresponding to the card information.
另外,在另一些实施例中,无论是通过扫描的方式得到卡证信息,还是通过从图库查找的方式获得卡证信息,在创建卡证笔记之前,还可以识别卡证信息中是否包含期限信息。例如,卡证信息包括身份证反面的情况下,手机可将从身份证反面提取到的有效期限,确定为识别出的期限信息。再例如,卡证信息中包含的水印信息且水印信息中具有使用期限的情况下,手机可从将水印信息中的使用期限,确定为识别出的期限信息。In addition, in some other embodiments, no matter whether the card information is obtained by scanning or searching the card information from the gallery, before creating the card note, it is also possible to identify whether the card information contains expiration information . For example, if the card information includes the reverse side of the ID card, the mobile phone can determine the valid period extracted from the reverse side of the ID card as the recognized period information. For another example, if the watermark information contained in the card information has a usage period in the watermark information, the mobile phone may determine the usage period in the watermark information as the identified expiration date information.
在从卡证信息中识别出期限信息的情况下,手机可以根据该期限信息进行期限提醒,从而提示用户卡证笔记的有效性。在一些实施例中,提醒的形式可以是备忘录APP内部的提醒。示例性地,在卡证笔记处显示对应的时限信息,如,图11中的(a)所 示,指示身份证的卡证笔记均对应显示有期限信息。在另一些实施例中,上述提醒的形式还可以是闹钟提醒或日历提醒等,也即,在手机的系统时间达到期限信息指示的时间点的情况下,触发闹钟APP或日历APP进行到期提醒。可理解地,本申请实施例中不对实现提醒的形式作具体限定。When the time limit information is identified from the card information, the mobile phone can remind the user of the time limit according to the time limit information, thereby reminding the user of the validity of the card note. In some embodiments, the form of the reminder can be a reminder inside the memo APP. Exemplarily, the corresponding time limit information is displayed at the card note, as shown in (a) in Figure 11, the card notes indicating the ID card all display corresponding time limit information. In some other embodiments, the form of the above-mentioned reminder can also be an alarm clock reminder or a calendar reminder, that is, when the system time of the mobile phone reaches the time point indicated by the deadline information, the alarm clock APP or the calendar APP is triggered to remind the due date . Understandably, the embodiment of the present application does not specifically limit the form of implementing the reminder.
除了通过用户手动创建卡证笔记以外,还可以自动创建卡证笔记。比如,在其他应用创建卡证信息后,对卡证信息进行标记,并通知备忘录APP。备忘录APP获取具有标记的卡证信息,并根据该卡证信息创建一条卡证笔记。In addition to manually creating card notes by users, card notes can also be created automatically. For example, after other applications create card information, mark the card information and notify the memo APP. The memo APP obtains the card information with the mark, and creates a card note based on the card information.
另外,本申请实施例提供的方法可以在手机的备忘录APP中运行。如图15所示,备忘录APP可以包括:数据生产功能、数据管理功能、数据流转功能及人工智能。In addition, the method provided in the embodiment of the present application can be run in the memo APP of the mobile phone. As shown in Figure 15, the memo APP can include: data production function, data management function, data transfer function and artificial intelligence.
其中,数据生产功能可以由文本编辑、多媒体插入、手写、网页视图等模块协同实现。上述数据生成功能的实现可参考相关技术中的备忘录APP,在此不再赘述。Among them, the data production function can be jointly realized by modules such as text editing, multimedia insertion, handwriting, and web page view. For the realization of the above-mentioned data generation function, reference may be made to the memo APP in the related art, which will not be repeated here.
另外,数据管理功能包括换机、数据分类、数据保护和代办提醒等模块。上述换机模块用于指示实现不同设备间转移笔记的功能,具体实现可参考相关技术中的备忘录APP。上述数据保护模块可以包括回收站和数据加密等控制模块。上述数据分类模块与相关技术中的备忘录APP类似,区别在于新增与卡证相关的文件夹,用于存储被标记为卡证的笔记,如此,在用户对证件选项105操作时,手机可响应于该操作,将卡证相关的文件夹内的笔记显示于界面106中。上述代办提醒模块包括时间提醒、位置提醒及重复提醒。该时间提醒可用于实现对卡证期限的提醒。In addition, the data management function includes modules such as replacement, data classification, data protection, and agency reminders. The above replacement module is used to indicate the function of transferring notes between different devices. For specific implementation, please refer to the memo APP in the related technology. The above-mentioned data protection module may include control modules such as recycle bin and data encryption. The above-mentioned data classification module is similar to the memo APP in the related art, the difference is that a new card-related folder is added to store notes marked as cards, so that when the user operates on the certificate option 105, the mobile phone can respond In this operation, the notes in the folder related to the card are displayed on the interface 106 . The agent reminding module includes time reminding, location reminding and repeated reminding. The time reminder can be used to realize the reminder of the expiration date of the card.
此外,数据流转功能包括分享、分享应用和多端同步等模块。其中,分享模块和多端同步模块可参考相关技术中的备忘录APP,在此不再赘述。而分享应用模块中的打印,可用于实现将卡证笔记发送至连接的打印设备。In addition, the data transfer function includes modules such as sharing, sharing applications and multi-terminal synchronization. Wherein, for the sharing module and the multi-terminal synchronization module, reference may be made to the Memorandum APP in the related art, which will not be repeated here. The printing in the sharing application module can be used to send the card notes to the connected printing device.
另外,人工智能功能除了云上传功能、文档扫描功能、html识别功能等之外,还包括卡证扫描能力,用于实现获取卡证的扫描图。In addition, in addition to the cloud upload function, document scanning function, html recognition function, etc., the artificial intelligence function also includes the card scanning function, which is used to obtain the scanned image of the card.
如图16所示,卡证扫描模块实现获取卡证的扫描图的原理如下:As shown in Figure 16, the principle of the card scanning module to obtain the card scan image is as follows:
1601,初始化相机活动(camera activity)。1601. Initialize camera activity (camera activity).
1602,初始化对应的影子进程(Shadow Process)。1602. Initialize a corresponding shadow process (Shadow Process).
1603,响应于对笔记创建界面的操作,显示指示图像采集的界面。如,显示扫描界面701、扫描界面705、界面1201和取景界面501等。1603. In response to an operation on the note creation interface, display an interface indicating image collection. For example, the scanning interface 701, the scanning interface 705, the interface 1201, the viewing interface 501, and the like are displayed.
在一些实施例中,上述步骤1602和1603之间没有必然的先后顺序。步骤1603可以由相机片段(camerafragment)实现。可理解地,camerafragment是简单易用的Android片段,可用于预览相机视图(也即,预览图像),并提供API用于触发捕获预览图像。该API可以由用于指示拍摄的控件调用。In some embodiments, there is no necessary sequence between the above steps 1602 and 1603 . Step 1603 may be implemented by camera fragments. Understandably, a camerafragment is an easy-to-use Android fragment that can be used to preview a camera view (ie, a preview image), and provides an API for triggering capture of the preview image. This API can be called by controls for instructing capture.
1604,对获取的预览图像进行卡证检测和矫正。1604. Perform card detection and correction on the acquired preview image.
在一些实施例中,可以由图像矫正引擎(dr engine)对预览图像进行预处理。如,上述预处理可以包括对预览图像中卡证进行卡证检测、边缘提取、矩形矫正等处理。In some embodiments, the preview image may be preprocessed by an image rectification engine (dr engine). For example, the above preprocessing may include processing such as card detection, edge extraction, and rectangle correction on the card in the preview image.
示例性地,dr engine可以检测预览图像中是否有卡证,如检测扫描边框内是否出现实体卡证。在检测到出现卡证的情况下,通过预处理预览图像的方式,得到用于预览的卡证扫描图,又称为扫描预览图。示例性地,可以从预览图像中获取实体卡证对应的图像区域(如称为第一图像区域),并对该图像区域进行矩形矫正等预处理,从 而得到卡证扫描图。之后,可获取卡证扫描图的边缘信息,并进行显示。从而方便用户预览扫描出的卡证的形状和位置等。Exemplarily, the dr engine can detect whether there is a card in the preview image, such as detecting whether a physical card appears within the scanning frame. When a card is detected, the card scan image for preview is obtained by preprocessing the preview image, which is also called a scan preview image. Exemplarily, the image area corresponding to the physical card (for example, referred to as the first image area) can be obtained from the preview image, and preprocessing such as rectangle correction is performed on the image area, so as to obtain the card scan image. Afterwards, the edge information of the scanned image of the card can be obtained and displayed. In this way, it is convenient for the user to preview the shape and position of the scanned card.
1605,启动后台子线程。1605. Start the background sub-thread.
在一些实施例中,在手机接收到用户针对指示拍摄的控件的操作时,可触发捕获预览图像,以作为存储图像,如前述实施例中的存储图像1和存储图像2等。In some embodiments, when the mobile phone receives the user's operation on the control indicating to shoot, it can trigger the capture of a preview image as a stored image, such as stored image 1 and stored image 2 in the foregoing embodiments.
在一些实施例中,经过步骤1604存储图像(也即原预览图像)可对应有一预览扫描图,又称为卡证图片。In some embodiments, the image stored in step 1604 (that is, the original preview image) may correspond to a preview scan image, also called a card image.
之后,可以由图像矫正结果视图(dr resultview)启用Shadow Process中的一个子线程,对卡证图片进行图像处理。Afterwards, a sub-thread in the Shadow Process can be enabled from the image correction result view (dr resultview) to perform image processing on the card picture.
1606,对卡证图片进行图像数据的转化。1606. Convert the image data of the card picture.
示例性地,由Shadow Proces将卡证图片转化为BGR格式的图像数据。Exemplarily, the card picture is converted into image data in BGR format by Shadow Processes.
1607,对转化后的卡证图片进行图像处理。1607. Perform image processing on the converted card picture.
在一些实施例中,上述图像处理可以包括去阴影处理、图像矩形矫正等提升扫描效果的处理。此外,图像处理还可以包括图像锐化等提升图像显示质量的处理。In some embodiments, the above-mentioned image processing may include processing such as shadow removal processing and image rectangle correction to improve the scanning effect. In addition, image processing may also include image sharpening and other processing to improve image display quality.
当然,上述图像处理可以由Shadow Proces调用相应的算法实现,例如,去阴影处理可以由Shadow Proces调用去阴影算法实现。Of course, the above image processing can be realized by calling the corresponding algorithm from Shadow Proces, for example, the shadow removal process can be realized by calling the shadow removal algorithm from Shadow Proces.
1608,将处理后的卡证图片进行保留,作为卡证的扫描图。1608. Save the processed card picture as a scanned picture of the card.
在一些实施例中,通过上述步骤1604和1605,可得到卡证的扫描图,也即实体卡证的卡证扫描图。之后,还可将该扫描图显示在对应的预览界面中。在同时采集有多张扫描图的情况下,比如,扫描了身份证的正反面,可将多张扫描图显示在同一预览界面中。In some embodiments, through the above steps 1604 and 1605, the scanned image of the card can be obtained, that is, the scanned image of the physical card. Afterwards, the scanned image can also be displayed in a corresponding preview interface. In the case of collecting multiple scans at the same time, for example, scanning the front and back of the ID card, multiple scans can be displayed in the same preview interface.
此外,在接收到用户对手动矫正控件的操作后,上述扫描过程还包括:In addition, after receiving the user's operation on the manual correction control, the above scanning process also includes:
1609,根据用户的操作,对存储图像重新进行矫正。1609. Re-correct the stored image according to the user's operation.
在一些实施例中,dr engine根据用户的卡证边缘确定操作,从存储图像中重新获取卡证图片。在对卡证图片进行去阴影处理之后,再一次进行矩形矫正。In some embodiments, the dr engine retrieves the card picture from the stored image according to the user's card edge determination operation. After deshading the card image, perform rectangle correction again.
1610,更新数据,并刷新界面。在一些实施例中,利用重矫正后的卡证图片,替换自动生成的扫描图,并更新显示。1610. Update data and refresh the interface. In some embodiments, the automatically generated scan image is replaced with the re-corrected card image, and the display is updated.
此外,在上述扫描过程中,还可以对得到的扫描图进行文字识别,并将识别出的文字信息保存至指定字段中,如,附属信息attachment_detail字段。In addition, during the above scanning process, text recognition may be performed on the obtained scanned image, and the recognized text information may be stored in a specified field, for example, the attachment_detail field of the attachment information.
在完成针对卡证的扫描之后,还可以卸载Shadow Process及注销camera activity。After completing the scanning of the card, you can also uninstall the Shadow Process and log out of the camera activity.
在一些实施例中,如图17所示,本申请实施例提供的方法还可以包括:In some embodiments, as shown in Figure 17, the method provided in the embodiment of the present application may further include:
S201,得到对应的卡证信息,包括卡证图片及相应的文字。S201. Obtain corresponding card information, including a card picture and corresponding text.
S202,将卡证信息显示于预览界面中。S202, displaying card information on a preview interface.
在一些实施例中,卡证信息包括多张扫描图时,将多张扫描图的大小调整至相同。在预览界面中显示扫描图期间,手机可响应用户操作,对预览界面中扫描图的显示位置和大小进行二次编辑,也可为扫描图添加水印信息等。In some embodiments, when the card information includes multiple scanned images, the sizes of the scanned images are adjusted to be the same. During the display of the scanned image in the preview interface, the mobile phone can respond to the user's operation, edit the display position and size of the scanned image in the preview interface, and add watermark information to the scanned image.
S203,响应于用户对用于指示打印的控件的操作,对预览界面中所显示的内容进行打印。S203, in response to the user's operation on the control for instructing printing, print the content displayed in the preview interface.
在一些实施例中,调用打印管理器实现打印。示例性地,手机接收到用户对用于 指示打印的控件的操作后,调用手机应用程序框架层中的打印管理器实现。例如,通过调用PrintJob print类创建一个打印作业。其中,该打印作业包括打印名称、打印文档适配器和打印属性。上述打印作业可用于指示打印具有上述打印属性的打印文档适配器。In some embodiments, a print manager is invoked to effect printing. Exemplarily, after the mobile phone receives the user's operation on the control for instructing printing, it calls the print manager in the mobile phone application framework layer to implement. For example, create a print job by calling the PrintJob print class. Wherein, the print job includes print name, print document adapter and print attribute. The above print job can be used to instruct the print document adapter to print with the above print attributes.
此外,在手机响应于用户点击卡证笔记的操作时,也可以将卡证笔记中的卡证信息显示在预览界面中。之后,手机也可以响应于用户对用于指示打印的控件的操作,对预览界面中所显示的内容进行打印。In addition, when the mobile phone responds to the user's operation of clicking the card note, the card information in the card note can also be displayed on the preview interface. Afterwards, the mobile phone may also print the content displayed in the preview interface in response to the user's operation on the control for instructing printing.
在一些实施例中,如图18所示,本申请实施例提供的方法还可以包括:In some embodiments, as shown in Figure 18, the method provided in the embodiment of the present application may further include:
S301,得到卡证信息,包括卡证图片及相应的文字。S301. Obtain card information, including a card picture and corresponding text.
S302,识别卡证信息中是否包括期限信息?S302. Does the identification card information include expiration date information?
在一些实施例中,备忘录APP启动运行时,获取手机是否支持光学字符识别(Optical Character Recognition,OCR)能力。在支持OCR能力的情况下,初始化文本检测引擎。当然,在初始化文本检测引擎成功,但文本检测引擎存在识别故障的情况下,还可及时释放该文本检测引擎。In some embodiments, when the memo APP starts running, it is acquired whether the mobile phone supports optical character recognition (Optical Character Recognition, OCR) capability. In the case of supporting the OCR capability, initialize the text detection engine. Certainly, in the case that the initialization of the text detection engine is successful, but the text detection engine has a recognition failure, the text detection engine can also be released in time.
之后,如图19所示,手机可以响应于指定的提取事件,触发文本检测引擎进行文字提取。示例性地,每扫描得到一张扫描图,可判定为产生提取事件。也即,每扫描一张扫描图,都会触发文本检测引擎对该扫描图进行文字提取。再示例性地,接收到用户指示保存卡证信息的操作时,可判定为产生提取事件。也即,接收到用户指示保存卡证信息的操作时,触发文本检测引擎对卡证信息中的扫描图进行文字提取。Afterwards, as shown in FIG. 19 , the mobile phone may trigger the text detection engine to extract text in response to a specified extraction event. Exemplarily, each scan obtains a scan image, and it may be determined that an extraction event is generated. That is, every time a scanned image is scanned, the text detection engine will be triggered to extract text from the scanned image. As another example, when receiving an operation from the user indicating to save the card information, it may be determined that an extraction event is generated. That is, when receiving the user's instruction to save the card information, the text detection engine is triggered to extract text from the scanned image in the card information.
在一些实施例中,触发文本检测引擎进行文字提取可以是:在检测到提取事件后,检验文本检测引擎是否初始化。在初始化的情况下,进行文字提取。并从提取到的文字中,判断是否有期限信息。此外,在文字提取完成的情况下,还可以释放文本检测引擎。In some embodiments, triggering the text detection engine to perform text extraction may be: after detecting an extraction event, checking whether the text detection engine is initialized. In the case of initialization, character extraction is performed. And from the extracted text, it is judged whether there is deadline information. In addition, the text detection engine can also be released when the text extraction is completed.
S303,在有期限信息的情况下,设置到期提醒。S303. If there is deadline information, set an expiration reminder.
在一些实施例中,上述期限信息又可以称为卡证信息的有效期。在识别出期限信息的情况下,针对卡证信息设置提醒事项,用于提示所述卡证笔记的失效时间点。例如,手机可对识别出的有效期进行格式校验。此外,还可将有效期的格式转换成long型数据。之后,可调用AlarmManager,结合格式转化后的有效期,采用设置提醒闹钟(setAlarmClock)方法进行提醒设置。In some embodiments, the above-mentioned period information may also be referred to as the validity period of the card information. When the time limit information is identified, a reminder is set for the card information, which is used to remind the expiration time of the card note. For example, the mobile phone can perform format verification on the identified validity period. In addition, the format of the validity period can also be converted into long data. Afterwards, the AlarmManager can be called, combined with the validity period after the format conversion, the method of setting the alarm clock (setAlarmClock) can be used to set the alarm.
在未提取到期限信息的情况下,还可以释放文本检测引擎。The text detection engine can also be freed in cases where the term information is not extracted.
此外,本申请实施例还提供一种电子设备,该电子设备可以包括:存储器和一个或多个处理器。该存储器和处理器耦合。该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令。当处理器执行计算机指令时,可使得电子设备执行上述实施例中手机执行的各个步骤。当然,该电子设备包括但不限于上述存储器和一个或多个处理器。例如,该电子设备的结构可以参考图2所示的手机的结构。In addition, an embodiment of the present application further provides an electronic device, and the electronic device may include: a memory and one or more processors. The memory is coupled to the processor. The memory is used to store computer program code comprising computer instructions. When the processor executes the computer instructions, the electronic device can be made to perform various steps performed by the mobile phone in the foregoing embodiments. Of course, the electronic device includes, but is not limited to, the aforementioned memory and one or more processors. For example, the structure of the electronic device may refer to the structure of the mobile phone shown in FIG. 2 .
本申请实施例还提供一种芯片系统,该芯片系统可以应用于前述实施例中的电子设备。如图20所示,该芯片系统包括至少一个处理器2201和至少一个接口电路2202。该处理器2201可以是上述电子设备中的处理器。处理器2201和接口电路2202可通过线路互联。该处理器2201可以通过接口电路2202从上述电子设备的存储器接收并执 行计算机指令。当计算机指令被处理器2201执行时,可使得电子设备执行上述实施例中手机执行的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。An embodiment of the present application further provides a chip system, which can be applied to the electronic device in the foregoing embodiments. As shown in FIG. 20 , the chip system includes at least one processor 2201 and at least one interface circuit 2202 . The processor 2201 may be a processor in the aforementioned electronic device. The processor 2201 and the interface circuit 2202 may be interconnected through wires. The processor 2201 can receive and execute computer instructions from the memory of the above-mentioned electronic device through the interface circuit 2202. When the computer instructions are executed by the processor 2201, the electronic device can be made to perform various steps performed by the mobile phone in the above-mentioned embodiments. Of course, the chip system may also include other discrete devices, which is not specifically limited in this embodiment of the present application.
此外,该芯片系统还可以应用于前述实施例的可穿戴设备中,该芯片系统包括至少一个处理器2201和至少一个接口电路2202。该处理器2201可以是上述可穿戴设备中的处理器。处理器2201和接口电路2202可通过线路互联。该处理器2201可以通过接口电路2202从上述可穿戴设备的存储器接收并执行计算机指令。当计算机指令被处理器2201执行时,可使得可穿戴设备执行上述实施例中手环执行的各个步骤。In addition, the chip system can also be applied to the wearable device in the foregoing embodiments, and the chip system includes at least one processor 2201 and at least one interface circuit 2202 . The processor 2201 may be the processor in the aforementioned wearable device. The processor 2201 and the interface circuit 2202 may be interconnected through wires. The processor 2201 can receive and execute computer instructions from the memory of the wearable device through the interface circuit 2202 . When the computer instructions are executed by the processor 2201, the wearable device can be made to perform various steps performed by the wristband in the above-mentioned embodiments.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。Each functional unit in each embodiment of the embodiment of the present application may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage The medium includes several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other various media capable of storing program codes.
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。The above is only the specific implementation of the embodiment of the application, but the protection scope of the embodiment of the application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the application shall be covered by this application. Within the scope of protection of the application examples. Therefore, the protection scope of the embodiments of the present application should be based on the protection scope of the claims.

Claims (17)

  1. 一种卡证信息管理方法,其特征在于,应用于包括备忘录应用的电子设备,所述方法包括:A card information management method, characterized in that it is applied to an electronic device including a memorandum application, and the method includes:
    所述电子设备接收用户对所述备忘录应用第一操作;The electronic device receives a user's application of a first operation to the memo;
    所述电子设备响应于所述第一操作,显示所述备忘录应用的第一界面;所述第一界面包括用于查看卡证笔记的第一控件;The electronic device displays a first interface of the memo application in response to the first operation; the first interface includes a first control for viewing card notes;
    所述电子设备接收用户对所述第一控件的第二操作;The electronic device receives a user's second operation on the first control;
    所述电子设备响应于所述第二操作,显示所述备忘录应用的第二界面;所述第二界面用于显示已创建的至少一条卡证笔记,所述卡证笔记与采集的卡证信息对应;In response to the second operation, the electronic device displays a second interface of the memo application; the second interface is used to display at least one card note that has been created, and the card note and the collected card information correspond;
    所述电子设备接收用户对所述卡证笔记的第三操作;The electronic device receives a user's third operation on the card note;
    所述电子设备响应于所述第三操作时,显示所述卡证笔记对应的所述卡证信息。When the electronic device responds to the third operation, display the card information corresponding to the card note.
  2. 如权利要求1所述的方法,其特征在于,在显示所述备忘录应用的第二界面之前,所述方法还包括:The method according to claim 1, wherein before displaying the second interface of the memo application, the method further comprises:
    所述电子设备接收用户指示创建所述卡证笔记的第四操作;The electronic device receives a user's instruction to create a fourth operation of the card note;
    所述电子设备响应于所述第四操作,获取所述卡证信息,并根据所述卡证信息在所述备忘录应用中创建所述卡证笔记。In response to the fourth operation, the electronic device acquires the card information, and creates the card note in the memo application according to the card information.
  3. 如权利要求2所述的方法,其特征在于,所述电子设备包括摄像头;所述卡证信息包括卡证扫描图;The method according to claim 2, wherein the electronic device includes a camera; the card information includes a card scan image;
    所述获取所述卡证信息,包括:The acquisition of the card information includes:
    在接收到所述第四操作之后,所述电子设备显示包括扫描边框的第四界面;其中,所述扫描边框与所述摄像头的一采集区域对应;After receiving the fourth operation, the electronic device displays a fourth interface including a scanning frame; wherein, the scanning frame corresponds to a collection area of the camera;
    在实体卡证置于所述扫描边框对应的采集区域内时,所述电子设备对第一图像区域进行矩形矫正,得到扫描预览图;所述第一图像区域为所述摄像头采集的预览图像中显示所述实体卡证的区域;When the physical card is placed in the collection area corresponding to the scanning frame, the electronic device performs rectangle correction on the first image area to obtain a scan preview image; the first image area is the preview image collected by the camera the area where said physical card is displayed;
    所述电子设备显示所述扫描预览图的边缘信息;The electronic device displays edge information of the scanned preview image;
    在显示有所述边缘信息且接收到用户指示扫描的操作时,所述电子设备获取所述卡证扫描图;When the edge information is displayed and a user instruction to scan is received, the electronic device acquires the card scan image;
    所述电子设备根据所述卡证扫描图,获取所述卡证信息。The electronic device acquires the card information according to the card scan image.
  4. 如权利要求3所述的方法,其特征在于,在所述电子设备显示第四界面之前,还包括:The method according to claim 3, further comprising: before the electronic device displays the fourth interface:
    所述电子设备显示第五界面;所述第五界面包括用于引导用户勾画所述扫描边框的提醒信息;The electronic device displays a fifth interface; the fifth interface includes reminder information for guiding the user to draw the scanning frame;
    所述电子设备显示包括扫描边框的第四界面,包括:The electronic device displays a fourth interface including a scanning frame, including:
    所述电子设备接收用户在所述第五界面上的第一滑动操作;The electronic device receives a user's first sliding operation on the fifth interface;
    所述电子设备根据所述第一滑动操作所对应的第一轨迹,显示包括所述扫描边框的所述第四界面。The electronic device displays the fourth interface including the scanning frame according to the first track corresponding to the first sliding operation.
  5. 如权利要求3所述的方法,其特征在于,所述卡证信息还包括水印文本信息;The method according to claim 3, wherein the card information also includes watermark text information;
    所述获取所述卡证信息,还包括:The obtaining of the card information also includes:
    在接收到所述第四操作之后,所述电子设备显示第六界面;所述第六界面包括水 印文本输入区;After receiving the fourth operation, the electronic device displays a sixth interface; the sixth interface includes a watermark text input area;
    所述电子设备接收用户在所述水印文本输入区的第二滑动操作;The electronic device receives a user's second sliding operation in the watermark text input area;
    所述电子设备根据所述第二滑动操作所对应的第二轨迹,显示具有笔迹特征的水印文本信息;The electronic device displays watermark text information with handwriting characteristics according to the second track corresponding to the second sliding operation;
    所述电子设备根据所述卡证扫描图,获取所述卡证信息,包括:所述电子设备将所述卡证扫描图和所述水印文本信息组合,得到所述卡证信息。The electronic device obtaining the card information according to the card scan image includes: the electronic device combining the card scan image and the watermark text information to obtain the card information.
  6. 如权利要求1或5所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 5, wherein the method further comprises:
    在所述电子设备显示所述卡证信息的情况下,所述电子设备接收到用户指示打印的第六操作;When the electronic device displays the card information, the electronic device receives a sixth operation instructing printing from the user;
    所述电子设备响应于所述第六操作,将所述卡证信息向打印设备发送。The electronic device sends the card information to the printing device in response to the sixth operation.
  7. 如权利要求3或5所述的方法,其特征在于,所述方法还包括:The method according to claim 3 or 5, wherein the method further comprises:
    所述电子设备识别所述卡证信息中的期限信息;其中,所述期限信息包括所述卡证扫描图中的有效期限或者所述水印文本信息中的使用期限;The electronic device identifies the expiry date information in the card information; wherein, the expiry date information includes the validity period in the card scan image or the use period in the watermark text information;
    所述电子设备根据所述期限信息为所述卡证笔记设置提醒事项,用于提示所述卡证笔记的失效时间点。The electronic device sets reminders for the card note according to the deadline information, for reminding the expiration time of the card note.
  8. 如权利要求1所述的方法,其特征在于,在显示所述卡证笔记对应的所述卡证信息之前,所述方法还包括:The method according to claim 1, wherein before displaying the card information corresponding to the card note, the method further comprises:
    所述电子设备显示密码输入框;The electronic device displays a password input box;
    所述电子设备接收用户在所述密码输入框中输入的认证密码;The electronic device receives the authentication password input by the user in the password input box;
    所述显示所述卡证笔记对应的所述卡证信息,包括:在所述认证密码与预先配置的访问密码匹配的情况下,显示所述卡证信息。The displaying the card information corresponding to the card note includes: displaying the card information when the authentication password matches a pre-configured access password.
  9. 一种电子设备,其特征在于,所述电子设备包括一个或多个处理器、存储器和无线通信模块;所述电子设备还包括备忘录应用,所述存储器、无线通信模块与处理器耦合,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,所述一个或多个处理器,用于:An electronic device, characterized in that the electronic device includes one or more processors, memories and wireless communication modules; the electronic device also includes a memo application, the memory and the wireless communication module are coupled to the processor, and the memory uses For storing computer program code, the computer program code includes computer instructions, and when executed by one or more processors, the one or more processors are configured to:
    接收用户对所述备忘录应用的第一操作;receiving a user's first operation on the memo application;
    响应于所述第一操作,显示所述备忘录应用的第一界面;所述第一界面包括用于查看卡证笔记的第一控件;In response to the first operation, displaying a first interface of the memo application; the first interface includes a first control for viewing card notes;
    接收用户对所述第一控件的第二操作;receiving a user's second operation on the first control;
    响应于所述第二操作,显示所述备忘录应用的第二界面;所述第二界面用于显示已创建的至少一条卡证笔记,所述卡证笔记与采集的卡证信息对应;In response to the second operation, displaying a second interface of the memo application; the second interface is used to display at least one card note that has been created, and the card note corresponds to the collected card information;
    接收用户对所述卡证笔记的第三操作;receiving the user's third operation on the card note;
    响应于所述第三操作时,显示所述卡证笔记对应的卡证信息。In response to the third operation, the card information corresponding to the card note is displayed.
  10. 如权利要求9所述的电子设备,其特征在于,所述一个或多个处理器,还用于:The electronic device according to claim 9, wherein the one or more processors are further configured to:
    在显示所述备忘录应用的第二界面之前,接收用户指示创建所述卡证笔记的第四操作;Before displaying the second interface of the memo application, receiving a fourth operation instructing the user to create the card note;
    响应于所述第四操作,获取所述卡证信息,并根据所述卡证信息在所述备忘录应用中创建所述卡证笔记。In response to the fourth operation, acquire the card information, and create the card note in the memo application according to the card information.
  11. 如权利要求10所述的电子设备,其特征在于,所述电子设备包括摄像头;所 述卡证信息包括卡证扫描图;所述一个或多个处理器,还用于:在接收到所述第四操作之后,显示包括扫描边框的第四界面;其中,所述扫描边框与所述摄像头的一采集区域对应;The electronic device according to claim 10, wherein the electronic device includes a camera; the card information includes a card scan image; and the one or more processors are further configured to: upon receiving the After the fourth operation, a fourth interface including a scanning frame is displayed; wherein, the scanning frame corresponds to a collection area of the camera;
    在实体卡证置于所述扫描边框对应的采集区域内时,对第一图像区域进行矩形矫正,得到扫描预览图;所述第一图像区域为所述摄像头采集的预览图像中显示所述实体卡证的区域;When the entity card is placed in the acquisition area corresponding to the scanning frame, the rectangle correction is performed on the first image area to obtain a scan preview; the first image area is the entity displayed in the preview image collected by the camera card area;
    显示所述扫描预览图的边缘信息;displaying edge information of the scanned preview image;
    在显示有所述边缘信息且接收到用户指示扫描的操作时,获取所述卡证扫描图;When the edge information is displayed and a user instruction to scan is received, acquire the card scan image;
    根据所述卡证扫描图,获取所述卡证信息。Obtain the card information according to the card scan image.
  12. 如权利要求11所述的电子设备,其特征在于,在所述电子设备显示第四界面之前,所述一个或多个处理器,还用于:显示第五界面;所述第五界面包括用于引导用户勾画所述扫描边框的提醒信息;The electronic device according to claim 11, wherein before the electronic device displays the fourth interface, the one or more processors are further configured to: display a fifth interface; the fifth interface includes A reminder message to guide the user to draw the scanning frame;
    接收用户在所述第五界面上的第一滑动操作;receiving a user's first sliding operation on the fifth interface;
    根据所述第一滑动操作所对应的第一轨迹,显示包括所述扫描边框的所述第四界面。According to the first track corresponding to the first sliding operation, the fourth interface including the scanning frame is displayed.
  13. 如权利要求11所述的电子设备,其特征在于,所述卡证信息还包括水印文本信息;所述一个或多个处理器,还用于:在接收到所述第四操作之后,显示第六界面;所述第六界面包括水印文本输入区;The electronic device according to claim 11, wherein the card information further includes watermark text information; and the one or more processors are further configured to: display the fourth operation after receiving the fourth operation. Six interfaces; the sixth interface includes a watermark text input area;
    接收用户在所述水印文本输入区的第二滑动操作;receiving the user's second sliding operation in the watermark text input area;
    根据所述第二滑动操作所对应的第二轨迹,显示具有笔迹特征的水印文本信息;According to the second track corresponding to the second sliding operation, displaying watermark text information with handwriting characteristics;
    将所述卡证扫描图和所述水印文本信息组合,得到所述卡证信息。The card scan image is combined with the watermark text information to obtain the card information.
  14. 如权利要求9或13所述的电子设备,其特征在于,所述一个或多个处理器,还用于:The electronic device according to claim 9 or 13, wherein the one or more processors are further configured to:
    在显示所述卡证信息的情况下,接收到用户指示打印的第六操作;When the card information is displayed, receiving a sixth operation instructing printing from the user;
    响应于所述第六操作,将所述卡证信息向打印设备发送。In response to the sixth operation, send the card information to a printing device.
  15. 如权利要求11或13所述的电子设备,其特征在于,所述一个或多个处理器,还用于:识别所述卡证信息中的期限信息;其中,所述期限信息包括所述卡证扫描图中的有效期限或者所述水印文本信息中的使用期限;The electronic device according to claim 11 or 13, wherein the one or more processors are further configured to: identify the expiration date information in the card information; wherein the expiration date information includes the card The expiry date in the scanned image of the certificate or the usage period in the watermark text information;
    根据所述期限信息为所述卡证笔记设置提醒事项,用于提示所述卡证笔记的失效时间点。A reminder is set for the card note according to the time limit information, which is used to remind the expiry time point of the card note.
  16. 如权利要求9所述的电子设备,其特征在于,在显示所述卡证笔记对应的所述卡证信息之前,所述一个或多个处理器,还用于:The electronic device according to claim 9, wherein before displaying the card information corresponding to the card notes, the one or more processors are further configured to:
    显示密码输入框;接收用户在所述密码输入框中输入的认证密码;在所述认证密码与预先配置的访问密码匹配的情况下,显示所述卡证信息。Displaying a password input box; receiving an authentication password input by the user in the password input box; and displaying the card information when the authentication password matches a pre-configured access password.
  17. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-8中任一项所述的方法。A computer storage medium, characterized by comprising computer instructions, and when the computer instructions are run on an electronic device, the electronic device is made to execute the method according to any one of claims 1-8.
PCT/CN2022/106041 2021-08-06 2022-07-15 Card information management method and electronic device WO2023011143A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110904212.2A CN115705118B (en) 2021-08-06 2021-08-06 Card information management method and electronic equipment
CN202110904212.2 2021-08-06

Publications (1)

Publication Number Publication Date
WO2023011143A1 true WO2023011143A1 (en) 2023-02-09

Family

ID=85155115

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/106041 WO2023011143A1 (en) 2021-08-06 2022-07-15 Card information management method and electronic device

Country Status (2)

Country Link
CN (1) CN115705118B (en)
WO (1) WO2023011143A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1758672A (en) * 2004-10-09 2006-04-12 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with function for input memo according to picture and controlling method
CN101389103A (en) * 2008-11-04 2009-03-18 飞图科技(北京)有限公司 Method applied on multimedia notepad in mobile phone
WO2013001990A1 (en) * 2011-06-29 2013-01-03 三洋電機株式会社 Photograph memo creation device
CN103049745A (en) * 2012-12-28 2013-04-17 广东欧珀移动通信有限公司 How to convert a picture into a memo
CN109885708A (en) * 2018-12-30 2019-06-14 贝壳技术有限公司 The searching method and device of certificate picture
CN111191063A (en) * 2019-12-18 2020-05-22 南京酷派软件技术有限公司 Picture classification method and device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1758672A (en) * 2004-10-09 2006-04-12 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with function for input memo according to picture and controlling method
CN101389103A (en) * 2008-11-04 2009-03-18 飞图科技(北京)有限公司 Method applied on multimedia notepad in mobile phone
WO2013001990A1 (en) * 2011-06-29 2013-01-03 三洋電機株式会社 Photograph memo creation device
CN103049745A (en) * 2012-12-28 2013-04-17 广东欧珀移动通信有限公司 How to convert a picture into a memo
CN109885708A (en) * 2018-12-30 2019-06-14 贝壳技术有限公司 The searching method and device of certificate picture
CN111191063A (en) * 2019-12-18 2020-05-22 南京酷派软件技术有限公司 Picture classification method and device, terminal and storage medium

Also Published As

Publication number Publication date
CN115705118B (en) 2024-08-13
CN115705118A (en) 2023-02-17

Similar Documents

Publication Publication Date Title
CN110196675B (en) Method for adding annotations and electronic equipment
WO2021000881A1 (en) Screen splitting method and electronic device
WO2021088881A1 (en) Picture selecting method and electronic device
CN111669462B (en) Method and related device for displaying image
WO2021082835A1 (en) Method for activating function and electronic device
CN112751954B (en) Operation prompting method and electronic equipment
CN110543287A (en) A screen display method and electronic device
CN112130714B (en) Keyword search method and electronic device capable of learning
CN114089931B (en) Picture printing method, electronic device and computer-readable storage medium
CN112835495B (en) Method and device for opening application program and terminal equipment
WO2020107463A1 (en) Electronic device control method and electronic device
CN113791850A (en) Information display method and electronic device
EP4131055A1 (en) Annotation method and electronic device
CN113467961B (en) Copy and paste method, electronic device and system
WO2023065812A1 (en) Page display method, electronic device, and computer-readable storage medium
CN113986406B (en) Method, device, electronic equipment and storage medium for generating doodle pattern
WO2023011143A1 (en) Card information management method and electronic device
WO2024140757A1 (en) Cross-device screen splitting method and related apparatus
US20240069845A1 (en) Focus synchronization method and electronic device
CN115700431A (en) Desktop display method and electronic equipment
CN113821130A (en) A method and related device for determining a screenshot area
CN114528468A (en) Display method and electronic equipment
CN115706753B (en) Application management method, device, electronic device and storage medium
CN117812187A (en) Data processing method and electronic equipment
CN119987626A (en) Picture processing method, electronic device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22851857

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22851857

Country of ref document: EP

Kind code of ref document: A1