CN116738940B - Memorandum storage method and electronic equipment - Google Patents

Memorandum storage method and electronic equipment Download PDF

Info

Publication number
CN116738940B
CN116738940B CN202211214332.0A CN202211214332A CN116738940B CN 116738940 B CN116738940 B CN 116738940B CN 202211214332 A CN202211214332 A CN 202211214332A CN 116738940 B CN116738940 B CN 116738940B
Authority
CN
China
Prior art keywords
card
text data
user
memo
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211214332.0A
Other languages
Chinese (zh)
Other versions
CN116738940A (en
Inventor
张涛林
黄丽薇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211214332.0A priority Critical patent/CN116738940B/en
Publication of CN116738940A publication Critical patent/CN116738940A/en
Application granted granted Critical
Publication of CN116738940B publication Critical patent/CN116738940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a memo storage method and electronic equipment, which are used for solving the problems that the recognition degree is low and the positioning efficiency of searching required information by a user is low because the user only searches required memo information by means of characters. The method is applied to the electronic equipment, the electronic equipment comprises a memo, and the method comprises the following steps: the electronic device displays a first display interface of the memo, and the user can add the memo in the first display interface. And the electronic equipment displays the first text data when receiving the first text data input by the user on the first display interface. And under the condition that the first text data contains preset field information, the electronic equipment displays the first card on the first display interface. The first card is obtained by filling second text data in a card template corresponding to preset field information, and the second text data is contained in the first text data. Finally, the electronic device stores the information of the first card in the memo.

Description

Memorandum storage method and electronic equipment
Technical Field
The present application relates to information storage technologies, and in particular, to a memo storage method and an electronic device.
Background
With the development of technology, electronic devices are increasingly available in daily life. For example, the user may record backlog items using an application such as an electronic device memo or an electronic note, etc. in addition to making a call using an application in the electronic device, instant chat with friends, online shopping, etc.
When the user records information using the memo, part of the information recorded in the memo may be much used in daily life, but the information content is relatively complex, and it is difficult to completely memorize by human memory. Such as an identification number, a user's usual account number and password, a bank card account number, etc. After the user records the information in the memo, the user can search the corresponding information in the memo when the user needs to use the memo. In the related art, any information stored in the memo by the user is stored in the form of text. If the user stores more information in the memo, the user only searches the needed memo information by virtue of the text, the recognition degree is low, and the positioning efficiency of the user for searching the needed information is low.
Disclosure of Invention
The embodiment of the application provides a memo storage method and electronic equipment, which are used for solving the problems that the recognition degree is low and the positioning efficiency of searching required information by a user is low because the user only searches required memo information by means of characters. In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme:
in a first aspect, there is provided a memo storing method applied to an electronic device including a memo, the method including:
The electronic device displays a first display interface of the memo, and the user can add the memo in the first display interface. And the electronic equipment displays the first text data when receiving the first text data input by the user on the first display interface. And under the condition that the first text data contains preset field information, the electronic equipment displays the first card on the first display interface. The first card is obtained by filling second text data in a card template corresponding to preset field information, and the second text data is contained in the first text data. Finally, the electronic device stores the information of the first card in the memo.
According to the method, the memorandum text data containing the preset field information is displayed and stored in the card format, so that the memorandum is visualized, and a user can more intuitively check the memorandum. Therefore, when the user searches the memo, the user can search the memo by combining the style of the memo card and the text information in the memo card. Thus, the efficiency of the user to find the desired information in a large number of memos can be improved.
In some possible embodiments, the card template corresponding to the preset field information includes: at least one of a card template of an identity card, a card template of different bank cards, a card template of an account number and a password, a card template of an electronic mailbox and a card template of a receiving address. Thus, different memo information can be input by the user in a card format, and the choice of the memo input by the user is enriched.
In some possible embodiments, the method further comprises: the electronic equipment receives editing operation of a user on third text data in the first card; wherein the editing operation includes any one of modification, addition, or deletion of the third text data. The third text data is included in the second text data. That is, the user may edit some or all of the text data in the first card. In response to the editing operation, the electronic device may display the updated first card. In the embodiment, for the memo information recorded in the card format, the user is also supported to directly edit the card, so that the user can modify the information in the memo conveniently.
In some possible embodiments, the method further comprises: the electronic equipment receives copy operation of a user on fourth text data in the first card; wherein the fourth text data is included in the first text data. That is, the user may copy some or all of the text data in the first card. In response to the copy operation, the electronic device caches fourth text data at the clipboard. The fourth text data cached in the cutting board is used for being pasted to a relevant position of any application in the electronic equipment.
In the embodiment, the memo information input by the user is stored in the card format, the user is supported to directly copy the card, and when the memo information is used by the user, the card information can be quickly copied, so that the efficiency is improved.
In some possible implementations, a picture entry control is also included in the first card. In this embodiment, the method further comprises: the electronic equipment receives the picture input by the picture input control in the first card by the user, and displays the input picture in the picture input control. Thus, when the memo information is input in the card format, the method also supports the user to input pictures in the generated card, and provides richer choices for the user to input the memo in the card format.
In some possible embodiments, the electronic device receives the first text data at the first display interface and displays the first text data, and may specifically include: the electronic equipment receives text data input by a user on a first display interface and displays the text data input by the user; after receiving the first text data containing the preset field information, the electronic equipment displays a card template corresponding to the preset field information and sends out first prompt information. The first prompt message is used for requesting a user to determine whether to apply a card template corresponding to the preset field information. In this embodiment, the electronic device displays the first card on the first display interface, which may specifically include: responding to a first operation of a user on the first prompt information, and displaying a first card on a first display interface by the electronic equipment; the first operation is used for triggering the electronic equipment to apply the card template corresponding to the preset field information.
In the embodiment, the user selects whether the memo currently being input needs to be input by using the card template or not, so that the input of the memo better meets the requirements of the user.
In some possible embodiments, the electronic device receives the first text data at the first display interface and displays the first text data, and may specifically include: the electronic equipment receives text data input by a user on a first display interface and displays the text data input by the user; after the electronic equipment receives the preset field information, displaying a card template corresponding to the preset field information, and responding to the input of a user, filling text data associated with the card template in text data input by the user in the card template in real time; the text data input by the user is first text data. The electronic equipment sends out first prompt information; the first prompt information is used for requesting a user to determine whether to apply a card template corresponding to the preset field information. The electronic device displays a first card on a first display interface, which may specifically include: responding to a first operation of a user on the first prompt information, and displaying a first card on a first display interface by the electronic equipment; the first operation is used for triggering the electronic equipment to apply the card template corresponding to the preset field information.
In this embodiment, not only is the user queried whether the card template needs to be applied before the memo information is entered using the card template, but also the preview card template corresponding to the first text data is displayed in the first display interface in real time during the process of the user inputting the first text data. The user can intuitively view the effect of entering the memo information by using the card template.
In this embodiment, the displaying the card template corresponding to the preset field information may specifically include: the electronic equipment displays a plurality of candidate card templates corresponding to the preset field information; and responding to the selection operation of the user on the plurality of candidate card templates, and determining the candidate card templates selected by the user as the card templates corresponding to the preset field information by the electronic equipment. In this way, when the electronic device cannot determine the unique corresponding card template, the electronic device will acquire a plurality of possible candidate card templates for display, so that the user can select the appropriate card template by himself. Thus, when the card template is used for recording memo information, the accuracy of card template selection can be improved.
In a second aspect, there is also provided a memo storing method, the method being applied to an electronic device, the electronic device including a memo, the method including:
The electronic equipment displays a first display interface of the memo, wherein the first display interface is used for adding the memo, and the first display interface also comprises a preset control which is used for triggering the electronic equipment to display a plurality of candidate card templates of the electronic equipment; responding to click operation of a user on a preset control, and displaying a second display interface by the electronic equipment; the second display interface comprises a plurality of options corresponding to candidate card templates; responding to the selection operation of a user on the options corresponding to the first card template in the options corresponding to the candidate card templates, and displaying the first card template on a first display interface; the electronic equipment receives first data input by a user in a first card template, and fills the first data in the first card template; wherein the first data comprises text data and/or pictures; the electronic equipment stores the information of the first card in the memo; the first card is obtained by filling first text data in a first card template.
In contrast to the first aspect, in the method provided in the second aspect, the electronic device may display a plurality of candidate card templates for the user in response to the user operating the preset control in the first display interface. A desired card template (i.e., a first card template) is selected by a user from a plurality of candidate card templates. The electronic device may then receive relevant data entered by the user in the first card template. Finally, the electronic device can store the data input by the user in the form of the corresponding card of the first card template. By adopting the method, the electronic equipment can directly receive the related data input by the user in the first card template, and enriches the input modes of the memo. Moreover, the memorandum text data can be displayed and stored in the form of the corresponding card of the card module selected by the user, and the memorandum is visualized, so that the user can more intuitively look at the memorandum. Therefore, when the user searches the memo, the user can search the memo by combining the style of the memo card and the text information in the memo card. Thus, the efficiency of the user to find the desired information in a large number of memos can be improved.
In some possible implementations, the plurality of candidate card templates includes: the card template of the identity card, the card templates of different bank cards, the card templates of account numbers and passwords, the card templates of electronic mailboxes and the card templates of receiving addresses.
In a third aspect, an electronic device is provided, comprising: a processor and a memory; the memory is configured to store computer-executable instructions that, when executed by the electronic device, cause the electronic device to perform the memo storage method of any one of the first aspects described above.
In a fourth aspect, there is provided a computer-readable storage medium having instructions stored therein that, when run on a computer, cause the computer to perform the memo storage method of any one of the above-described first aspects.
In a fifth aspect, there is provided a computer program product comprising instructions that, when run on an electronic device, enable the electronic device to perform the memo storage method of any one of the first aspects described above.
In a sixth aspect, there is provided an apparatus (e.g. the apparatus may be a system-on-a-chip) comprising a processor for supporting an electronic device to implement the functions referred to in the first aspect above. In one possible design, the apparatus further includes a memory for storing program instructions and data necessary for the electronic device. When the device is a chip system, the device can be formed by a chip, and can also comprise the chip and other discrete devices.
The technical effects of any one of the design manners of the second aspect to the sixth aspect may be referred to the technical effects of the different design manners of the first aspect, and will not be repeated here.
Drawings
Fig. 1A is a schematic diagram of a mobile phone display interface according to an embodiment of the application;
fig. 1B is a schematic diagram of a mobile phone display interface according to another embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 3A is a flowchart illustrating a memo storing method according to an embodiment of the present application;
FIG. 3B is a schematic diagram of a card template according to an embodiment of the present application;
fig. 3C is a schematic diagram of a mobile phone display interface according to another embodiment of the application;
Fig. 3D is a schematic diagram of a mobile phone display interface according to another embodiment of the present application;
Fig. 3E is a schematic diagram of a mobile phone display interface according to another embodiment of the application;
Fig. 3F is a schematic diagram of a mobile phone display interface according to another embodiment of the application;
FIG. 3G is a schematic diagram of a mobile phone display interface according to another embodiment of the present application;
FIG. 4 is a flowchart illustrating a memo storing method according to another embodiment of the present application;
FIG. 5A is a flowchart illustrating a memo storing method according to another embodiment of the present application;
fig. 5B is a schematic diagram of a mobile phone display interface according to another embodiment of the application;
FIG. 6A is a flowchart illustrating a memo storing method according to another embodiment of the present application;
Fig. 6B is a schematic diagram of a mobile phone display interface according to another embodiment of the application;
Fig. 7 is a block diagram of a chip system according to an embodiment of the present application.
Detailed Description
The users use many information in daily life, but the content of the information is complex, the information which is hard to be completely remembered by people can be remembered by means of application programs such as memos in the electronic equipment. The user inputs the information into the memo to store, and the information can be searched and used in the memo when the user needs to use the memo. Many of the information that the user wishes to use the memo to assist in storing may include identification card information, bank card information, account passwords for logging into various large applications, mailboxes, and shipping addresses, etc. Note that, in other embodiments, the memo application may be named as "electronic note", "notepad", or other names.
In the related art, when a memo is stored, text information input by a user is usually stored directly and displayed for the user to view in a text information form. Taking an example in which the electronic device is a mobile phone, fig. 1A is a schematic diagram of a main interface 110 of the mobile phone 1 in an example. The handset 1 may install a plurality of applications. As shown in fig. 1A, the main interface 110 of the mobile phone 1 may include: application icons of applications such as "email", "setup", "camera", "memo", etc.
The mobile phone 1 may receive a click operation of the application icon of "memo" in the main interface 110 shown in fig. 1A by the user. In response to a click operation of the "memo" application icon by the user, the mobile phone 1 may launch the "memo" application and enter the "memo" application interface 120 as shown in fig. 1A.
As shown in FIG. 1A, the "memo" application interface 120 may present memo information that the user has entered. Illustratively, the memos entered in the figures include memo 1, memo 2, …, memo 5 …. The application interface 120 may also present a memo addition control 121. The mobile phone 1 may receive a click operation of the memo newly-added control 121 by the user and enter the information input interface 130 of the newly-added memo as shown in fig. 1B in response to the click operation. Illustratively, the user may enter information that is desired to be recorded by the memo in an edit area 131 in the information entry interface 130.
In the related art, after the user inputs text data in the editing area 131, the mobile phone 1 displays the text data input by the user on the information input interface 130, such as the editing area 132 shown in the information input interface 130 shown in fig. 1B. Further, the information input interface 130 further includes a storage control 133, and the mobile phone 1 may further receive a click operation of the storage control 133 by a user. In response to a click operation of the storage control 133 by the user, the mobile phone 1 stores text data entered by the user in the editing area 131 as a new memo, as the information presentation interface 134 shown in fig. 1B. Illustratively, after the storage of the memo is completed, in response to a user clicking on the exit control 135 in the information presentation interface 134, the handset 1 may also exit to the "memo" application interface 136 as shown in fig. 1B. In contrast to the "memo" application interface 120 of fig. 1A, the handset 1 displays a newly added memo in the application interface 136.
If the user has more memos stored in the memos, the user needs to find out all the memos in the "memo" application interface when the user wants to use the information recorded in one of the memos. The searching and positioning are carried out only by means of character recognition, more time is needed, and the efficiency of searching positioning information by a user is low.
Therefore, the application provides a memo storage method which can be applied to electronic equipment. The method includes that when a user inputs text data of a memo, if the text data contains preset field information, the electronic equipment displays a first card corresponding to the preset field information in an interface. The first card is obtained by filling second text data in a card template corresponding to preset field information, and the second text data is contained in the first text data. Finally, the electronic equipment stores the information of the first card. The memorandum containing the preset field information is displayed in the form of a card, and the memorandum is visualized, so that a user can more intuitively view the memorandum, and the memorandum is obtained. Therefore, when the user searches the memo, the user can search the memo by combining the style of the memo card and the text information in the memo card. Thus, the efficiency of the user to find the desired information in a large number of memos can be improved. It should be understood that the memo storage method provided by the present application may also be used in applications such as email, documents, text messages, calendars, etc. of electronic devices that involve text entry.
For example, the electronic device may be a mobile phone (such as the mobile phone 1 shown in fig. 1A and 1B), a tablet computer, a desktop, a laptop, a handheld computer, a notebook, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an augmented reality (augmented reality, AR) \virtual reality (VR) device, a media player, a television, and the specific form of the device is not limited in the embodiment of the present application.
Fig. 2 is a schematic structural diagram of an electronic device 200 according to an embodiment of the application. As shown in fig. 2, the electronic device 200 may include a processor 210, an internal memory 220, a universal serial bus (universal serial bus, USB) interface 230, a charge management module 240, a battery 241, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a sensor module 280, a camera 290, a display 291, and the like.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 200. In other embodiments of the application, electronic device 200 may include more or fewer components than shown, or certain components may be combined, or certain components may be separated, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units such as, for example: processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a memory, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. For example, in an embodiment of the present application, the processor 210 may be an application processor AP.
The controller may be a neural hub and a command center of the electronic device 200, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that the processor 210 has just used or recycled. If the processor 210 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 210 is reduced, thereby improving the efficiency of the system.
In some embodiments, processor 210 may include one or more interfaces. The interfaces may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a USB interface, among others.
The USB interface 230 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 230 may be used to connect a charger to charge the electronic device 200, or may be used to transfer data between the electronic device 200 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices or mobile terminals, such as AR devices, etc.
It should be understood that the connection relationship between the modules illustrated in the embodiment of the present application is only illustrative, and does not limit the structure of the electronic device 200. In other embodiments of the present application, the electronic device 200 may also employ different interfacing manners, or a combination of interfacing manners, as in the above embodiments.
The charge management module 240 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some embodiments, the electronic device 200 may support wired charging. Specifically, the charge management module 240 may receive a charge input of the wired charger through the USB interface 230. In other embodiments, electronic device 200 may support wireless charging.
The charging management module 240 may also supply power to the electronic device 200 while charging the battery 241. The charge management module 240 receives input from the battery 241 to power the processor 210, the internal memory 220, the external memory, the display 291, the camera 290, the wireless communication module 260, and the like. The charge management module 240 may also be configured to monitor battery capacity, battery cycle number, battery state of health (leakage, impedance) and other parameters of the battery 241. In other embodiments, the charge management module 240 may also be disposed in the processor 210.
The wireless communication function of the electronic device 200 can be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 200 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 250 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied on the electronic device 200. The wireless communication module 260 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), NFC, infrared (IR), etc., as applied on the electronic device 200. In some embodiments, antenna 1 and mobile communication module 250 of electronic device 200 are coupled, and antenna 2 and wireless communication module 260 are coupled, such that electronic device 200 may communicate with a network and other devices via wireless communication techniques.
The electronic device 200 implements display functions through a GPU, a display screen 291, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 291 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
The display 291 is for displaying images, videos, and the like. The display 291 includes a display panel. In some embodiments, the electronic device 200 may include 1 or N displays 291, N being a positive integer greater than 1. In an embodiment of the present application, the display 291 may display an application interface of "memo", and various memo information and the like stored by the user in the memo application.
The electronic device 200 may implement photographing functions through an ISP, a camera 290, a video codec, a GPU, a display 291, an application processor, and the like. The ISP is used to process the data fed back by camera 290. In some embodiments, the ISP may be provided in the camera 290. Camera 290 is used to capture still images or video. In some embodiments, the electronic device 200 may include 1 or N cameras 290, N being a positive integer greater than 1.
The internal memory 220 may be used to store computer executable program code that includes instructions. The processor 210 executes various functional applications of the electronic device 200 and data processing by executing instructions stored in the internal memory 220. In addition, the internal memory 220 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, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 200 may implement audio functions through the audio module 270, an application processor, and the like. Such as music playing, recording, etc. The audio module 270 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. In some embodiments, the audio module 270 may be disposed in the processor 210, or some functional modules of the audio module 270 may be disposed in the processor 210.
The memo storing method in the following embodiment may be implemented in an electronic device having the above-described hardware structure.
The application provides a memo storage method which can be applied to a memo application program (hereinafter called memo) of electronic equipment such as a mobile phone 1. The memo is used for storing information input by a user, so that the user can conveniently search the information in the memo when using the information, and the possibility that the user forgets the information is reduced.
In the related art, for information stored by a user, if text data is input by the user, the memo application typically stores the information in the form of text data. If the user stores more memos, the user needs to search and locate the needed memo from all the memos by means of identifying words when searching information recorded in one of the memos, which may take a lot of time, resulting in a problem that the user has low efficiency of searching and locating the memos.
It should be noted that, the memo in the embodiment of the present application is an application program that may be installed in an electronic device, and the memo may be used to record some information that is easy to forget but not to forget. In other embodiments, applications with the same or similar functionality may also be named notes, notepads, etc.
Based on this, the present application proposes a memo storage method that can be applied to the mobile phone 1. Fig. 3A is a schematic flow chart of a memo storing method according to an embodiment of the present application. In the embodiment of the application, the mobile phone 1 comprises a memo. The method comprises S301-S307, wherein:
s301, displaying a first memorandum display interface on the mobile phone 1.
The first display interface is used for adding a memo. In some embodiments, after the mobile phone 1 is powered on, in response to clicking on the "memo" application icon in the main interface 110 shown in fig. 1A, the mobile phone 1 may initiate a memo, displaying the memo application interface 120 shown in fig. 1A. Further, when the application program interface 120 receives a click operation of the memo newly-added control 121 by the user, the mobile phone 1 may display an information input interface 130 shown in fig. 1B, that is, a first display interface in this embodiment, in response to the click operation. It should be understood that the information entry interface 130 shown in FIG. 1B is only one example of a first display interface, and that the first display interface may be in other styles in other embodiments.
S302, the mobile phone 1 receives first text data on a first display interface.
Wherein the first text data represents data being input by the user. Illustratively, the user may enter the first text data in different ways, such as typing by an input method, entering by voice, entering by scanning a document, or entering by handwriting, and so forth. Illustratively, the user may specifically enter first text data in the edit area 131 of the information entry interface 130 as shown in FIG. 1B.
S303, displaying the first text data by the mobile phone 1.
Regardless of the manner in which the user inputs the first text data, the mobile phone 1 can display the first text data in the first display interface after receiving the first text data. Illustratively, taking the example that the first text data is identification card information, the mobile phone 1 displays the first text data on the first display interface, which may be the editing area 132 of the information input interface 130 shown in fig. 1B.
In some embodiments, the first text data may include preset field information.
Specifically, after receiving the first text data, the mobile phone 1 may identify the first text data, so as to determine whether the first text data includes preset field information. The user may enter relatively complete information when entering the memo information. For example, when the user inputs "Li Hua" id information in the memo, the first text data that may be input includes "name: li Hua, sex: female … identification card number: 400 20020126, …). In this embodiment, the cellular phone 1 may determine whether the preset field information is included by detecting whether the specified field is included in the first text data.
In some embodiments, the mobile phone 1 may determine whether the first text data includes the preset field information by analyzing whether the first text data includes the specified field. In some embodiments, the mobile phone 1 stores a specified field, and after receiving the first text data, the mobile phone 1 performs word segmentation on the first text data to obtain a plurality of word segments in the first specified text data. Then, the mobile phone 1 may compare the plurality of word segments with the specified field, respectively, to determine whether the word segments identical to the specified field exist in the plurality of word segments. If yes, judging that the first text data comprises preset field information. If not, the mobile phone 1 judges that the first text data does not comprise the preset field information. The word division of the first text data by the mobile phone 1 may be implemented in any manner, for example, a keyword extraction method based on statistical features, a keyword extraction method based on a word graph model, or a keyword extraction method based on a topic model may be used.
Wherein the specified field may include a plurality of. In some embodiments, when the mobile phone 1 matches the plurality of word segments with the specified fields, if the plurality of word segments are the same as at least one of the specified fields, it may be determined that the plurality of word segments of the first text data match with the specified fields. By way of example, the specified fields may include one or more of an "identification number," "mailbox address," "recipient address," and "recipient name," among others. If the mobile phone 1 detects that the word segments with the identification card number exist in the word segments, the word segments are judged to be matched with the appointed field. Or when the mobile phone 1 detects that a word segment with a mailbox address exists in the word segments, the word segments can be judged to be matched with the appointed field.
In other embodiments, the mobile phone 1 may determine that the plurality of word segments of the first text data match the specified fields only when detecting that the plurality of word segments of the first text data are identical to the at least two specified fields. By way of example, the specified fields may include "addressee name", "contact phone", and "addressee address", etc. The mobile phone 1 determines that the plurality of word segments of the first text data match the specified field when detecting that at least two of the plurality of word segments include "addressee name", "contact phone", and "addressee address".
The above embodiment may be implemented on the premise that the first text data input by the user includes a complete specified field. For example, when inputting identification card information, the user inputs word fragments such as "name", "gender", "birth date" and/or "identification card number". In practice, however, the user may not enter complete field information when entering memo information, but rather enter it in a more omitted manner. For example, when the identity card information is input, the user inputs the first text data only including' Li Hua, female, …, identity card: 400***20020126****". The user may combine his own memory or information discrimination, or may determine the stored "400" 20020126 "id" as "Li Hua" when seeing the memo. However, in this embodiment, the mobile phone 1 cannot identify a specified field, such as "name", "gender", … or "id number", from the first text data, and thus cannot determine whether the first text data includes the preset field information by matching a plurality of word segments in the first text data with the specified field.
Based on this, in some embodiments, when the mobile phone 1 matches the plurality of word segments with the specified fields, respectively, the similarity may be calculated for the respective specified fields with respect to the plurality of word segments in the first text data. When detecting that the plurality of word segments have the word segments with the similarity with the specified field meeting the preset condition, the mobile phone 1 can determine that the plurality of word segments are matched with the specified field. For example, the first text data entered by the user is: "Li Hua, girl, …, identity card: 400 and 20020126, wherein one word segment is an "identity card", and when the mobile phone 1 calculates the similarity between the word segment "identity card" and the specified field, the similarity satisfies a preset condition. Thereafter, the mobile phone 1 can determine that the plurality of word segments match the specified field. The preset condition may specifically be that the similarity is greater than a preset threshold.
Or the user stores 'Li Hua' identity card information in the memo, or possibly only the information itself can be recorded, and no information representing the field to which the information belongs can be recorded. For example, the first text data input by the user is "Li Hua, female, …,400, 20020126", and the similar word fragments such as "identification card" or "identification card" are not input in the memo. At this time, it is impossible to determine whether the first text data includes the preset field information by judging whether the first text data includes the specified field as described above.
Based on this, in some embodiments, if the mobile phone 1 does not detect the specified field in the first text data, the first text data may be further identified, and it is determined whether the first text data includes data belonging to the specified field, thereby determining whether the first text data includes preset field information.
For example, taking the example that the designated field includes "identification card number", typically, the identification card numbers are all of a fixed length, the mobile phone 1 may determine whether the first text data includes the preset field information by detecting whether the first text data includes a number string of a preset length. For example, when the mobile phone 1 detects that the first text data includes a number string with a length of 18 bits, it determines that the first text data may include identification card number information.
For another example, taking the case that the designated field includes "bank card number", the lengths of the bank card numbers of the same type of bank card (such as a deposit card, a credit card, etc.) issued by the same bank may be the same, and the bank card numbers belong to the same number segment, i.e., the first digits of the bank card numbers may be the same. In this example, the mobile phone 1 may determine whether the first text data includes the preset field information by analyzing whether the first text data includes a specific number string. For example, when the mobile phone 1 detects that the first text data includes a digit string with a specific length (for example, 16 bits) at the beginning of "62", it determines that the first text data includes the bank card number information.
For another example, taking the case that the specified field is a "mailbox address", the mailbox addresses are generally in the same or similar format, so in this example, the mobile phone 1 may determine whether the first text data contains the preset field information by detecting whether the first text data contains a character string in a specific format. For example, when the mobile phone 1 detects that "@ qq.com", "@ s ina.com" or "@163.com" is included in the first text data, it is determined that the first text data includes mailbox address information.
It should be understood that the implementation manner of detecting whether the first text data includes the preset field information by the mobile phone 1 is merely an example, and in other embodiments, the detection may be implemented in other manners, which is not limited in the embodiments of the present application.
Further, in some embodiments, after determining that the first text data includes the preset field information, the mobile phone 1 may perform S304.
S304, the mobile phone 1 searches and acquires a card template corresponding to the preset field information.
In some embodiments, a plurality of card templates are pre-stored in the handset 1. In some embodiments, the card template may specifically be: at least one of a card template of an identity card, a card template of different bank cards, a card template of a social security card, a card template of an account number and a password, a card template of an electronic mailbox and a card template of a receiving address.
In some embodiments, each card template corresponds to a different style, thus facilitating quick lookup by the user in conjunction with the card template style when using the card template to store the memo information entered by the user. Further, in practical application, card templates of different bank cards, card templates of account numbers and passwords of different accounts, mailboxes provided by different enterprises, and the like can be distinguished by different colors. For example, the corresponding color of the card template of bank A is blue, and the corresponding color of the card template of bank B is red; the corresponding color of the card template of the account number password of the application program is white, and the corresponding color of the card template of the account number password of the application program is yellow; etc. It should be understood that the card information corresponding to the preset field information is merely an example, and in other embodiments, the card template may further include other types of card templates.
Further, in some embodiments, a fixed field option is included in the card template. For example, taking a card template corresponding to the preset field information as an example, the card template is used for recording the identity card information, and fixed field options such as "name", "gender", "ethnicity", … "and" identity card number "may be included in the card template. For another example, taking a card template corresponding to the preset field information as a card template of a certain bank card, the card template may include fixed field options such as "bank", "card number", and the like. For another example, taking a card template corresponding to the preset field information as a card template of an account number and a password, the card template may include fixed field options such as "account number", "password" and the like. FIG. 3B is a schematic diagram of several different types of card templates provided in an embodiment of the application; the card template 310 shown therein is used to enter identification card information, the card template 311 may be used to enter receipt information, the card template 312 may be used to enter bank card information, the card template 313 may be used to enter account passwords, and the card 314 may be used to enter mailbox addresses.
For a fixed type of memo information input by the user, a card template corresponding thereto may be used. Specifically, after receiving the first text data containing the preset field information, the mobile phone 1 fills corresponding data in the first text data into a card template to obtain a corresponding card. Then, the mobile phone 1 can display the card on the first display interface, so that the user can more intuitively view the memo information. Therefore, the mobile phone 1 may perform S305 after acquiring the card template corresponding to the preset field information.
S305, the mobile phone 1 fills second text data in a card template corresponding to the preset field information to obtain a first card.
Wherein the second text data is included in the first text data. It is understood that the second text data may include all of the data in the first text data, or the second text data may include only part of the data of the first text data.
In some embodiments, the second text data includes all of the data in the first text data. The first text data includes "Li Hua, female, chinese, 2002.01.26,400, 20020126". As can be seen from the above description of the card template corresponding to the preset field information, the first text data may be completely filled into each template option of the card template corresponding to the preset field information. In this embodiment, therefore, the second text data includes all of the data in the first text data.
In other embodiments, the second text data may also be only part of the first text data. The second text data may be data excluding a specified field in the preset field information, for example. For example, the first text data includes "name: li Hua, sex: female …, identification card number: 400***20020126****". As can be seen from the above description of the card template, the card template includes fixed field options such as "name", "gender", "…", "identification card number", and so forth. Therefore, when the first text data is filled into the corresponding card template, only the card template needs to be filled with the text data such as "Li Hua", "female", … and "400" 20020126 ". Thus, in this embodiment, the second text data may include only part of the data in the first text data.
Or the first text data contains information which does not belong to a fixed field of the card template, for example, when the user inputs 'Li Hua' identity card information, the user also inputs 'Li Hua' age. Since the information of "age" does not belong to any fixed field option in the card template, the mobile phone 1 will not fill this information into the card template either. In this embodiment, the second text data is also only part of the text data in the first text data.
In other embodiments, the fixed field options included in the card template may not be entered by the user, i.e., no portion of the fixed field options are included in the first text data. The card template 310 shown in fig. 3B includes a fixed field option "validity period", and the first text data does not include this field information. At this time, in executing S305, the mobile phone 1 may not fill in the information for the fixed field option of "validity period" in the card template.
S306, the mobile phone 1 displays the first card on the first display interface.
Taking the example that the first text data includes "Li Hua" id card information, as shown in fig. 3C, a first display interface 315 provided in an embodiment of the present application is shown, where the first text data 316 is displayed in the first display interface 315. Since the first text data 316 includes the preset field information "identification card number: 400 and 20020126, so in the embodiment of the present application, the mobile phone 1 also displays the first card 317 on the first display 315. As shown in fig. 3C, the first card 317 is filled with the corresponding second text data in the fixed field options such as "gender", "ethnicity", etc. of the card template. The first display interface 315 shown in FIG. 3C also includes a store control 318 and a return control 319.
S307, the mobile phone 1 stores the information of the first card in the memo.
In some embodiments, S305 may specifically be that, in response to a clicking operation of a storage control (such as storage control 318 shown in fig. 3C) by the user on the first display interface, the mobile phone 1 saves information of the first card in the memo. In other embodiments, in order to avoid the situation that the user temporarily switches to other application processes in the mobile phone 1 during the process of editing the memo, so that the first text data and the first card are not saved and cleaned, S305 may also buffer the first card every preset time period after the mobile phone 1 displays the first card on the first display interface.
Further, in some embodiments, the mobile phone 1 receives a click operation of the storage control 318 from the user in the first display interface shown in fig. 3C, and in response to the click operation, the first text data 316 may not be displayed any more in the first display interface, but only the first card 317 may be displayed.
In some embodiments, the mobile phone 1 stores the information of the first card, which may specifically include the mobile phone 1 storing the first card filled with the second text data, that is, only storing the memo in the card format. In other embodiments, the information of the first card of the mobile phone 1 may specifically be that the mobile phone 1 stores a card template corresponding to the preset field information and the second text data. Or in other embodiments, the mobile phone 1 stores the information of the first card, specifically, the mobile phone 1 stores the first card filled with the second text data, and simultaneously, the mobile phone also independently stores the first text data; i.e. the mobile phone 1 simultaneously saves the memo in card format and the memo in text format. Further, in an embodiment in which the mobile phone 1 simultaneously holds a memo in a card format and a text format, for the memo, only the memo in the card format may be displayed at the time of display.
According to the technical scheme provided by the embodiment of the application, the memorandum text data containing the preset field information is displayed and stored in the card format, so that the memorandum is visualized, and a user can more intuitively check the memorandum. Therefore, when the user searches the memo, the user can search the memo by combining the style of the memo card and the text information in the memo card. Thus, the efficiency of the user to find the desired information in a large number of memos can be improved.
In the above embodiment, when determining that the first text data includes the preset field information, the mobile phone 1 fills the second text data into the card template corresponding to the preset field information, so as to obtain and display the first card on the first display interface. However, not all users need to enter memo information by way of a card. Thus, the user may be asked if he or she needs to enter the first text data using the corresponding card template before the first card is displayed.
In some embodiments, the steps S302 and S303 may specifically include: the mobile phone 1 receives text data input by a user on a first display interface and displays the text data input by the user. As shown in fig. 3D, after the user inputs "Li Hua, the mobile phone 1 may display" Li Hua, girl "on the first display interface 320.
Further, after the user inputs the text data including the preset field information, that is, the mobile phone 1 detects that the text data includes the preset field information, the mobile phone 1 may execute S304 to search and acquire the card template corresponding to the preset field information. In this embodiment, before S305, the mobile phone 1 displays the card template corresponding to the searched preset field information on the first display interface 320. The card template 321 corresponding to the preset field information as shown in fig. 3D.
Meanwhile, the mobile phone 1 further displays a first prompt message in the first display interface 320, where the first prompt message is used to request the user to determine whether to apply the card template, such as the first prompt message 322 shown in fig. 3D.
In some embodiments, the step S305 and the step S306 may specifically be that, in response to the first operation of the user on the first prompt message 322, the mobile phone 1 fills the second text data into the card template 321 to obtain the first card, and displays the first card on the first display interface. The first operation is used for triggering the mobile phone 1 to apply a card template corresponding to the preset field information. Illustratively, the first operation specifically corresponds to the user triggering the "yes" option in the first prompt 322 shown in fig. 3D.
For example, please continue to refer to fig. 3D, after the user triggers the "yes" option in the first prompt message 322, the mobile phone 1 fills the second text data in the card template 321, and displays the first card 323. In this example, after the user confirms the application of the card template, the mobile phone 1 fills the second text data into the card template 321 and displays it as the first card 323, and at the same time, the mobile phone 1 will not display the first text data input by the user.
In other embodiments, after the mobile phone 1 displays the first prompt 322, if the user triggers the "no" option in the first prompt 322, that is, the mobile phone 1 receives the second operation of the first prompt 322 by the user, the mobile phone 1 will not apply the card template 321. Illustratively, as shown in fig. 3D, the mobile phone 1 cancels the display of the card template 321 and the first prompt 322.
It should be understood that when the mobile phone 1 receives the user trigger to apply the card template corresponding to the preset field information, it indicates that the user agrees to use the card template to input the memo information. At this time, the mobile phone 1 fills the second text data into the searched card template, and displays the first card obtained after filling the second text data. Therefore, the interactivity between the user and the mobile phone 1 when inputting the memo can be improved, and the user can select whether to input the memo currently by using the card template or not at the same time, so that the input of the memo is more in line with the requirements of the user.
In other embodiments, the steps S302 and S303 may specifically include: the mobile phone 1 receives text data input by a user on a first display interface and displays the text data input by the user. As shown in fig. 3E, after the user inputs "Li Hua, the mobile phone 1 may display" Li Hua, girl "on the first display interface 324. When the user inputs the word segment of the identification card number, the mobile phone 1 identifies the word segment. As can be seen from the description of the above embodiments, the word "identification card number" is matched with the preset field information. That is, when receiving the text data "identification card number" input by the user, the mobile phone 1 can determine that the text data input by the user includes the preset field information. At this time, the mobile phone 1 may execute S304 to search and acquire the card template corresponding to the preset field information.
And, since the current user has already input a part of text data in the first text data, the mobile phone 1 can fill the part of text data in the searched card template. In this embodiment, before S305, the mobile phone 1 may also fill the searched card template with text data that the user has currently input, and display the card template with part of the text data filled in. As shown in fig. 3E for preview card template 325. At the same time, the mobile phone 1 also displays a first prompt 326 on the first display interface 324.
Then, as the user continues to input, the mobile phone 1 may fill in the text data input by the user in the intermediate file card 325 in real time and display the corresponding preview card template, such as the preview card template 327 shown in fig. 3E. Until the user has entered the complete first text data, handset 1 can display preview card template 328 with the second text data filled in the card template.
In this embodiment, the step S305 and the step S306 are specifically that, in response to the first operation of the user on the first prompt message 326, the mobile phone 1 fills the second text data into the card template corresponding to the preset field information to obtain the first card, and displays the first card on the first display interface. The first operation is used for triggering the mobile phone 1 to apply a card template corresponding to the preset field information. Illustratively, the first action corresponds specifically to the user triggering the "yes" option in the first prompt 326 shown in fig. 3E. With continued reference to fig. 3E, after the user triggers the yes option in the first prompt 326, the mobile phone 1 displays the first card 329. In this example, after the user confirms the application of the card template, the mobile phone 1 will no longer display the first text data entered by the user.
In the technical scheme provided by the embodiment of the application, the user is inquired whether the card template needs to be applied before the memorandum information is input by using the card template, and the preview card template corresponding to the first text data is displayed in the first display interface in real time in the process of inputting the first text data by the user. The user can intuitively view the effect of entering the memo information by using the card template.
In the embodiment of displaying the searched card template corresponding to the preset field information on the first display interface, in a part of the scenes, the mobile phone 1 cannot determine the 100% matched card template according to the received first text data. If the first text data only includes "Li Hua, 400, 20020126" and no effective field such as the specified field of "id card" or "card" is identified, the mobile phone 1 needs to analyze the first text data to determine the preset field to which the word segment may belong. For example, when the mobile phone 1 recognizes that "400 x 20020126 x" may be the corresponding specified field "identification card number" or "bank card number", the mobile phone 1 may obtain a plurality of card templates corresponding to the possible preset field information, and display the plurality of card templates in the first display interface, so that the user may select the card template to be used by himself. As shown in fig. 3F, the mobile phone 1 displays the candidate card template 1 and the candidate card template 2 in the first display interface 330.
Further, the first display interface 330 may further include a second prompt 331, where the second prompt 331 is used to request the user to select a card template to be applied. The second prompt 331 also includes a cancel option 331-1. The user may choose to trigger the cancel control 331-1 in the first display interface 330 if he does not want to apply any card templates. Illustratively, when the mobile phone 1 receives a trigger operation of the cancel control 331-1 from the user in the first display interface 330, the mobile phone 1 cancels the display of the candidate card template in response to the trigger operation.
Further, since the mobile phone 1 cannot determine only one card template, the mobile phone 1 displays the card template corresponding to the preset field information in the above embodiment, and specifically displays a plurality of candidate card templates. Then, the mobile phone 1 responds to the selection operation of the user on the candidate card templates, and determines the candidate card template selected by the user as the card template corresponding to the preset field information to display. Assuming that the user selects the candidate card template 1 as shown in fig. 3F, the mobile phone 1 may receive a selection operation of the candidate card template 1 by the user. In response to the user selecting the candidate card template 1, the mobile phone 1 fills in the second text data in the candidate card template 1, and displays the candidate card template 1 filled in the second text data in the first display interface 330, such as the first display interface 330-1 of fig. 3F.
In the technical scheme provided by the embodiment of the application, when the unique corresponding card template cannot be determined, the mobile phone 1 acquires a plurality of possible candidate card templates for display so that a user can select a proper card template by himself. Thus, when the card template is used for recording memo information, the accuracy of card template selection can be improved.
In some embodiments, the card template corresponding to the preset field information may further include a picture entry control, where the picture entry control supports inputting a picture. As shown in fig. 3B for a card template 310, the card template 310 is used to enter identification card information. The picture input control 310-1 may support the user to input the identification card photo corresponding to the identification card information or the user photo corresponding to the identification card information in the picture input control.
Further, as shown in fig. 3G, the mobile phone 1 may receive a click operation of the picture input control 333 in the first card from the user in the first display interface 332, and display a picture input option list 334. The picture entry options list 334 may include a "take a picture" option 335 and a "select from gallery" option 336.
Illustratively, when the mobile phone 1 receives a click operation of the "shoot" option 335 from the user, the camera application in the mobile phone 1 may be invoked to perform picture capturing, for example, to display a picture capturing interface 337 as shown in fig. 3D. The picture capture interface 337 includes a capture option 338.
Or the mobile phone 1 receives the clicking operation of the option 336 in the picture input option list 334 by the user, the mobile phone 1 may invoke the gallery application program of the mobile phone 1, for example, the mobile phone 1 displays the picture selection interface 339 as shown in fig. 3D. The picture selection interface 339 displays pictures in the gallery for the user to select pictures from the gallery.
In some embodiments, after the user captures a picture at the picture capture interface 337, or after the user receives a picture from the user in the picture selection interface 339 at the picture cell phone 1, the cell phone 1 may receive the picture captured or selected by the user and then display the picture in a picture entry control of the first card, such as picture 340 shown in fig. 3D.
In the technical scheme provided by the embodiment of the application, when the memo information is input in the card format, the user is supported to input pictures in the generated card, and richer choices are provided for the user to input the memo in the card format.
In the related art, for information stored in a memo by a user, the user is usually supported to modify the information input by the user at any time. In the embodiment of the application, after the memo information input by the user is stored in the form of the card template, the user is also supported to edit and modify the card after inputting the information.
In some embodiments, as shown in fig. 4, the memo storage method further includes S401 and S402, wherein:
S401, the mobile phone 1 receives editing operation of a user on third text data in the first card.
Wherein the third text data is included in the second text data. The user can edit all or part of the text data in the first card displayed on the first display interface, that is, the third text data may be all data in the second text data or part of the data in the second text data. Exemplary, as shown in fig. 3C, "Li Hua", "female", …, and "400 x 20020126 x" support user editing thereof.
Illustratively, the editing operation includes any of modification, addition, or deletion of the third text data.
S402, responding to the editing operation, and displaying the updated first card by the mobile phone 1.
It should be appreciated that the above S401 and S402 may be performed after S306 and before S307, such as the user editing the first card before saving the first card. Or S401 and S402 may be performed after S307, for example, the user edits the saved first card after saving the first card.
In the technical scheme provided by the embodiment of the application, the memorandum information recorded in the card format is also supported to directly edit the card by the user, so that the user can modify the information in the memorandum conveniently.
In practical use, after the user stores part of information in the memo, when the user needs to use, the information in the memo can be quickly acquired by copying the information from the memo, and the information can be applied to other needed places. In the embodiment of the application, the memorandum information input by the user is stored in the card format, and the user is supported to copy the stored card to obtain the text data therein.
In some embodiments, as shown in fig. 5A, the memo storing method further includes S501 and S502, where:
S501, the mobile phone 1 receives copy operation of a user on fourth text data in the first card.
Wherein the fourth text data is included in the first text data.
In some embodiments, referring to fig. 5B, the mobile phone 1 may display the copy option 511 on the first display interface 510 in response to a third operation of the user on the first card on the first display interface 510. The third operation may specifically be a long press operation or other operations, and so on.
Further, the mobile phone 1 may copy the fourth text data in the first card in response to the user clicking the copy option 511. Wherein the fourth text data may be a user's own choice. Or if the user does not select text data to be copied when performing the copy operation, the mobile phone 1 may select by default to copy all text data in the first card when receiving the copy operation.
In some embodiments, all text data in the first card may specifically refer to the second text data contained in the first card. In other embodiments, all text data in the first card may also refer to the fixed field options and the second text data contained in the first card. In other embodiments, all text data in the first card may specifically also refer to the first text data entered by the user when entering the first card; in this embodiment, the mobile phone 1 stores the information of the first card and also stores the first text data.
S502, responding to the copy operation, and caching fourth text data in the clipboard by the mobile phone 1.
The clipboard is a temporary data storage provided by the operating system and provides a shared module. The shear plate may be used to complete the copy and paste operation. Therefore, in the embodiment of the present application, the mobile phone 1 caches the fourth text data in the clipboard in response to the copy operation.
It should be appreciated that S501 and S502 described above may be performed after S306 and before S307, such as when the user copies the first card before saving the first card. Or S501 and S502 may be performed after S307, for example, the user copies the first card after saving the first card.
Further, referring to fig. 5B, after S502, the mobile phone 1 may read the fourth text data from the clipboard in response to the paste operation when any one of the text data editing areas 512 of the mobile phone 1 receives the paste operation, and display the fourth text data 513 in the text data editing area 512.
In the technical scheme provided by the embodiment of the application, the memorandum information recorded in the card format is also supported to directly copy the card by the user, so that the card information can be quickly copied by the user when the user uses the memorandum information, and the efficiency is improved.
In another embodiment of the present application, another memo storage method is also provided, which is applied to the mobile phone 1. In the method, before the user can input text data, the user selects a card template to be used by himself, and the corresponding text data is input in the selected card template. As shown in fig. 6A, the method includes S601-S605, wherein:
S601, displaying a first memorandum display interface on the mobile phone 1.
The first display interface is used for adding a memo, and further comprises a preset control, wherein the preset control is used for triggering the mobile phone 1 to display a plurality of candidate card templates of the mobile phone 1. As shown in fig. 6B, the first display interface 610 includes a preset control 611.
S602, responding to clicking operation of a user on a preset control, and displaying a second display interface by the mobile phone 1.
The second display interface comprises a plurality of options corresponding to candidate card templates. As shown in fig. 6B, the second display interface 612 includes options corresponding to a plurality of candidate card templates, including candidate card template 1, candidate card template 2, candidate card template 3, and candidate card template 4.
S603, responding to selection operation of a user on options corresponding to a first card template in the options corresponding to the candidate card templates, and displaying the first card template on a first display interface.
As shown in fig. 6B, the mobile phone 1 displays the candidate card template 2 in the first display interface 613 with the candidate card template 2 shown in the figure as the first card template selected by the user.
S604, the mobile phone 1 receives first data input by a user in the first card template, and fills the first data in the first card template.
Wherein the first data comprises text data and/or pictures.
S605, the mobile phone 1 stores the information of the first card in the memo.
The first card is obtained by filling first text data in a first card template. The specific process of the mobile phone 1 receiving the data input by the user and filling the first data into the card template to obtain the first card may refer to the description in the above embodiment, which is not repeated herein.
In the technical scheme provided by the embodiment of the application, a plurality of card templates are provided for users to select by themselves, and text data is input into the selected card templates, so that a first card memo stored in a card format is obtained. When the memo is displayed, the memo is also displayed in a card format, and the memo is visualized, so that a user can more intuitively view the memo. Therefore, when the user searches the memo, the user can search the memo by combining the style of the memo card and the text information in the memo card. Thus, the efficiency of the user to find the desired information in a large number of memos can be improved.
Other embodiments of the present application provide an electronic device, which may be the mobile phone 1 described above. The electronic device may include: a memory and one or more processors. The memory is coupled to the processor. The memory is also used to store computer program code, which includes computer instructions. When the processor executes the computer instructions, the electronic device may perform the various functions or steps performed by the handset 1 in the method embodiments described above. The structure of the electronic device may refer to the structure of the electronic device 200 shown in fig. 2.
The embodiment of the present application also provides a chip system, as shown in fig. 7, the chip system 70 includes at least one processor 701 and at least one interface circuit 702. The processor 701 and the interface circuit 702 may be interconnected by wires. For example, interface circuit 702 may be used to receive signals from other devices (e.g., a memory of an electronic apparatus). For another example, interface circuit 702 may be used to send signals to other devices (e.g., processor 701). The interface circuit 702 may, for example, read instructions stored in a memory and send the instructions to the processor 701. The instructions, when executed by the processor 701, may cause the electronic device to perform the various steps of the embodiments described above. Of course, the system-on-chip may also include other discrete devices, which are not particularly limited in accordance with embodiments of the present application.
The embodiment of the present application also provides a computer readable storage medium, where the computer readable storage medium includes computer instructions, where the computer instructions, when executed on the mobile phone 1, cause the electronic device to perform the functions or steps performed by the mobile phone 1 in the foregoing method embodiment.
The embodiment of the application also provides a computer program product, when the computer program product runs on a computer, the computer is caused to execute the functions or steps executed by the mobile phone 1 in the embodiment of the method. The computer may be an electronic device, such as a mobile phone 1.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a read-only memory (read on ly memory, ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (10)

1. A memo storage method, wherein the method is applied to an electronic device including a memo, the method comprising:
The electronic equipment displays a first display interface of the memo, wherein the first display interface is used for adding the memo newly;
The electronic equipment receives first text data on the first display interface and displays the first text data; wherein the first text data comprises preset field information; the first text data is typed in by an input method, voice input, scanned document input or handwriting input;
The electronic equipment displays a card template corresponding to the preset field information on the first display interface, and responds to input of a user, and second text data is filled in the card template in real time; the second text data is text data associated with the card template in the first text data;
and the electronic equipment stores information of a first card in the memo, wherein the first card is obtained by filling second text data in a card template corresponding to the preset field information.
2. The method of claim 1, wherein the card template corresponding to the preset field information comprises: at least one of a card template of an identity card, a card template of different bank cards, a card template of an account number and a password, a card template of an electronic mailbox and a card template of a receiving address.
3. The method according to claim 1, wherein the method further comprises:
The electronic equipment receives editing operation of a user on third text data in the first card; wherein the editing operation includes any one of modification, addition, or deletion of the third text data included in the second text data;
and responding to the editing operation, and displaying the updated first card by the electronic equipment.
4. A method according to any one of claims 1-3, characterized in that the method further comprises:
The electronic equipment receives copy operation of a user on fourth text data in the first card; wherein the fourth text data is included in the first text data;
And responding to the copying operation, and buffering the fourth text data in a clipboard by the electronic equipment.
5. The method of any of claims 1-3, further comprising a picture entry control in the first card; the method further comprises the steps of:
The electronic equipment receives the picture input by the picture input control of the user in the first card, and displays the input picture in the picture input control.
6. The method according to claim 1, wherein displaying the card template corresponding to the preset field information includes:
the electronic equipment displays a plurality of candidate card templates corresponding to the preset field information;
And the electronic equipment responds to the selection operation of the user on the plurality of candidate card templates, and determines the candidate card template selected by the user as the card template corresponding to the preset field information.
7. A memo storage method, wherein the method is applied to an electronic device including a memo, the method comprising:
The electronic equipment displays a first display interface of the memo, wherein the first display interface is used for adding the memo, and the first display interface also comprises a preset control, and the preset control is used for triggering the electronic equipment to display a plurality of candidate card templates of the electronic equipment;
Responding to click operation of a user on the preset control, and displaying a second display interface by the electronic equipment; wherein the second display interface comprises options corresponding to the plurality of candidate card templates;
Responding to the selection operation of a user on the option corresponding to the first card template in the options corresponding to the candidate card templates, and displaying the first card template on the first display interface;
The electronic equipment receives first data input by a user in the first card template, and responds to the input of the user to fill the first data in the first card template in real time; wherein the first data comprises text data and/or pictures;
The electronic equipment stores the information of the first card in the memo; the first card is obtained by filling the first data in the first card template.
8. The method of claim 7, wherein the plurality of candidate card templates comprises: the card template of the identity card, the card templates of different bank cards, the card templates of account numbers and passwords, the card templates of electronic mailboxes and the card templates of receiving addresses.
9. An electronic device, the electronic device comprising: a processor and a memory; the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method of any of claims 1-6 or cause the electronic device to perform the method of claim 7 or 8.
10. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1-6 or cause the electronic device to perform the method of claim 7 or 8.
CN202211214332.0A 2022-09-30 2022-09-30 Memorandum storage method and electronic equipment Active CN116738940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211214332.0A CN116738940B (en) 2022-09-30 2022-09-30 Memorandum storage method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211214332.0A CN116738940B (en) 2022-09-30 2022-09-30 Memorandum storage method and electronic equipment

Publications (2)

Publication Number Publication Date
CN116738940A CN116738940A (en) 2023-09-12
CN116738940B true CN116738940B (en) 2024-06-11

Family

ID=87906663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211214332.0A Active CN116738940B (en) 2022-09-30 2022-09-30 Memorandum storage method and electronic equipment

Country Status (1)

Country Link
CN (1) CN116738940B (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014200109A1 (en) * 2013-06-15 2014-12-18 ビサイト株式会社 Memory aid
CN104932896A (en) * 2015-06-26 2015-09-23 联想(北京)有限公司 Information processing method and electronic equipment
CN105378597A (en) * 2013-07-10 2016-03-02 三星电子株式会社 Method for displaying and electronic device thereof
CN105512138A (en) * 2014-09-25 2016-04-20 阿里巴巴集团控股有限公司 Method for processing text information and system for same
CN106557226A (en) * 2015-09-25 2017-04-05 Lg电子株式会社 Mobile terminal and its control method
WO2018072149A1 (en) * 2016-10-19 2018-04-26 华为技术有限公司 Picture processing method, device, electronic device and graphic user interface
CN108509107A (en) * 2018-03-26 2018-09-07 百度在线网络技术(北京)有限公司 Application function method for information display, device and terminal device
CN109032595A (en) * 2018-07-03 2018-12-18 山东浪潮通软信息科技有限公司 A kind of mobile native data Dynamic Display method in configurable data source
CN109542916A (en) * 2018-10-15 2019-03-29 平安科技(深圳)有限公司 Platform commodity enter method, apparatus, computer equipment and storage medium
CN109587032A (en) * 2017-09-29 2019-04-05 北京金山安全软件有限公司 Information display method and device
CN109819410A (en) * 2019-03-18 2019-05-28 北京小米移动软件有限公司 Short message display method, device and storage medium
US10387808B1 (en) * 2017-09-08 2019-08-20 Aviation Aero Tix, Llc System and method for the collection, display, and reporting of uplift data
CN112579740A (en) * 2020-12-24 2021-03-30 成都六人行信息科技有限公司 Retrieval result card display system and method for medicine retrieval
CN113094194A (en) * 2021-04-28 2021-07-09 维沃移动通信(杭州)有限公司 Clipboard information processing method and device
CN113391866A (en) * 2021-06-15 2021-09-14 亿览在线网络技术(北京)有限公司 Interface display method
CN114117269A (en) * 2022-01-26 2022-03-01 荣耀终端有限公司 Memorandum information collection method and device, electronic equipment and storage medium
CN114138139A (en) * 2021-10-28 2022-03-04 荣耀终端有限公司 Application card management method, electronic device, product and medium
CN114138146A (en) * 2022-01-29 2022-03-04 荣耀终端有限公司 Card recommendation method and electronic equipment
CN115019324A (en) * 2021-03-04 2022-09-06 腾讯科技(深圳)有限公司 Interactive method and device for text scanning, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6983310B2 (en) * 2000-12-29 2006-01-03 International Business Machines Corporation System and method for providing search capabilties on a wireless device
US9600228B2 (en) * 2013-09-16 2017-03-21 Here Global B.V. Enhanced system and method for static query generation and entry
US11815936B2 (en) * 2018-08-22 2023-11-14 Microstrategy Incorporated Providing contextually-relevant database content based on calendar data

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014200109A1 (en) * 2013-06-15 2014-12-18 ビサイト株式会社 Memory aid
CN105378597A (en) * 2013-07-10 2016-03-02 三星电子株式会社 Method for displaying and electronic device thereof
CN105512138A (en) * 2014-09-25 2016-04-20 阿里巴巴集团控股有限公司 Method for processing text information and system for same
CN104932896A (en) * 2015-06-26 2015-09-23 联想(北京)有限公司 Information processing method and electronic equipment
CN106557226A (en) * 2015-09-25 2017-04-05 Lg电子株式会社 Mobile terminal and its control method
WO2018072149A1 (en) * 2016-10-19 2018-04-26 华为技术有限公司 Picture processing method, device, electronic device and graphic user interface
US10387808B1 (en) * 2017-09-08 2019-08-20 Aviation Aero Tix, Llc System and method for the collection, display, and reporting of uplift data
CN109587032A (en) * 2017-09-29 2019-04-05 北京金山安全软件有限公司 Information display method and device
CN108509107A (en) * 2018-03-26 2018-09-07 百度在线网络技术(北京)有限公司 Application function method for information display, device and terminal device
CN109032595A (en) * 2018-07-03 2018-12-18 山东浪潮通软信息科技有限公司 A kind of mobile native data Dynamic Display method in configurable data source
CN109542916A (en) * 2018-10-15 2019-03-29 平安科技(深圳)有限公司 Platform commodity enter method, apparatus, computer equipment and storage medium
CN109819410A (en) * 2019-03-18 2019-05-28 北京小米移动软件有限公司 Short message display method, device and storage medium
CN112579740A (en) * 2020-12-24 2021-03-30 成都六人行信息科技有限公司 Retrieval result card display system and method for medicine retrieval
CN115019324A (en) * 2021-03-04 2022-09-06 腾讯科技(深圳)有限公司 Interactive method and device for text scanning, computer equipment and storage medium
CN113094194A (en) * 2021-04-28 2021-07-09 维沃移动通信(杭州)有限公司 Clipboard information processing method and device
CN113391866A (en) * 2021-06-15 2021-09-14 亿览在线网络技术(北京)有限公司 Interface display method
CN114138139A (en) * 2021-10-28 2022-03-04 荣耀终端有限公司 Application card management method, electronic device, product and medium
CN114117269A (en) * 2022-01-26 2022-03-01 荣耀终端有限公司 Memorandum information collection method and device, electronic equipment and storage medium
CN114138146A (en) * 2022-01-29 2022-03-04 荣耀终端有限公司 Card recommendation method and electronic equipment

Also Published As

Publication number Publication date
CN116738940A (en) 2023-09-12

Similar Documents

Publication Publication Date Title
CN110196675B (en) Method for adding annotations and electronic equipment
WO2018072149A1 (en) Picture processing method, device, electronic device and graphic user interface
CN112130714B (en) Keyword search method capable of learning and electronic equipment
KR20090106755A (en) Method, Terminal for providing memo recording function and computer readable record-medium on which program for executing method thereof
WO2020253868A1 (en) Terminal and non-volatile computer-readable storage medium
US11314814B2 (en) Method for sharing content based on account group and electronic device for performing same
CN113888159B (en) Opening method of function page of application and electronic equipment
EP3886416B1 (en) Image classification method and electronic device
US20210405767A1 (en) Input Method Candidate Content Recommendation Method and Electronic Device
CN111164983A (en) Lending local processing capability by interconnection terminal
CN111935516B (en) Audio file playing method, device, terminal, server and storage medium
US20220215050A1 (en) Picture Search Method and Device
CN114745468A (en) Electronic device, theme setting method and medium thereof
CN116738940B (en) Memorandum storage method and electronic equipment
CN108769389B (en) Picture acquisition method and device, terminal equipment and storage medium
WO2023029916A1 (en) Annotation display method and apparatus, terminal device, and readable storage medium
US20220382788A1 (en) Electronic device and method for operating content using same
CN111680212B (en) Stored content searching method, system and electronic equipment
US20210377454A1 (en) Capturing method and device
CN106469178B (en) Information processing method, terminal and electronic equipment
CN116795310A (en) Data transmission method and system
CN114282494A (en) Information display method and device, electronic equipment and storage medium
CN112585597A (en) Search response method and device and computer storage medium
CN112818205B (en) Page processing method, device, electronic equipment, storage medium and product
WO2022089187A1 (en) Display method and electronic device

Legal Events

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