Data processing method and device and electronic equipment

By automatically obtaining and processing user data of the application under the user's authorization, the problem of cumbersome memory generation process in the prior art is solved, and efficient memory generation without perception and data accuracy guarantee is achieved.

CN119988482AActive Publication Date: 2025-05-13HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411864794.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-06-20
Filing Date
2024-08-09
Publication Date
2025-05-13
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

The process of generating memory is more cumbersome, affecting the user experience, and cannot efficiently generate memory without the user's perception.

Method used

By automatically obtaining the user data of the application under the user's authorization, the electronic device automatically obtains the application's user data and processes the data to generate memory. The entire process is unaware of the user. The specific steps include displaying the authorization interface, detecting user authorization, obtaining user data, performing data conversion and deduplication, and finally generating structured memory data.

Benefits of technology

It realizes efficient memory generation without the user's perception, improves the user's user experience, and ensures data accuracy by prompting the user to edit or confirm the memory data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119988482A_ABST
    Figure CN119988482A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device and electronic device.The method comprises the steps that a first interface is displayed, the first interface comprises a first control, and the first control is used for authorizing the electronic device to memorize user data of a first application program; detecting that the user authorizes the electronic equipment to memorize the user data of the first application program through the first control; the method comprises the following steps: memorizing first user data of a first application program to obtain first structured data; in response to a first instruction of a user, the first memory entry is obtained according to the first structured data, and the first instruction is used for instructing the user to confirm that the first structured data is accurate. According to the data processing method and device and the electronic equipment, memory can be efficiently generated on the premise that a user does not perceive, and the use experience of the user is improved. Moreover, the user can further confirm whether the structured data generated by the electronic equipment is accurate or not, so that the memory accuracy is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the parent application is 202411096268.X, and the application date of the parent application is August 9, 2024. The parent application claims the priority of the prior application 202410808057.8, and the priority date is June 20, 2024. The entire contents of the parent application and the prior application are incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of electronic devices, and more specifically, to a data processing method, device and electronic device. Background Art

[0003] With the development of science and technology, electronic devices can provide more and more functions, and data and information are becoming more and more abundant. In order to improve the user experience, electronic devices can generate memories of key information such as identity information, address information, schedules, orders, events, etc. In the scenario where the user uses key information, the key information that has been memorized can be directly called, which is convenient for the user to use.

[0004] Current electronic devices can support the generation of memories based on user instructions, but the process of generating memories is rather cumbersome and affects the user experience.

[0005] Therefore, how to efficiently generate memories without the user's awareness and improve the user experience is a problem that needs to be solved urgently. Summary of the invention

[0006] The present application provides a data processing method, device and electronic device. The method efficiently generates memory without user perception, thereby improving the user's experience.

[0007] In a first aspect, a method for data processing is provided, the method comprising: displaying a first interface, the first interface comprising a first control, the first control being used to authorize an electronic device to memorize user data of a first application; detecting that a user authorizes the electronic device to memorize user data of the first application through the first control; obtaining first structured data by memorizing the first user data of the first application; and obtaining a first memory entry according to the first structured data in response to a first instruction from the user, the first instruction being used to instruct the user to confirm that the first structured data is accurate.

[0008] Exemplarily, the first interface may be a source management interface, which includes authorization controls of multiple applications, such as authorization controls of a gallery application, authorization controls of a text message application, authorization controls of a traffic application, authorization controls of a social application, and authorization controls of a memo application. When a user opens the authorization control of an application, it means that the electronic device can automatically obtain user data of the application and automatically generate a memory based on the user data of the application.

[0009] For example, in response to a user opening an authorization control of a gallery application, the electronic device can automatically obtain video, picture and other data stored in the gallery application, and memorize the video, picture and other data to obtain structured data.

[0010] It is understandable that the user may open the authorization control of the application in ways including, but not limited to, manual clicking, voice control, etc., which is not limited in this embodiment of the present application.

[0011] It should be noted that after obtaining user authorization, the process of the electronic device obtaining the user data of the first application is unaware of the user. The electronic device memorizes the obtained first user data of the first application, which can be understood as the electronic device performing data conversion on the first user data of the first application.

[0012] Based on the above scheme, after obtaining user authorization, the electronic device can obtain the user data of the application, and memorize the user data of the application to obtain structured data. The whole process is imperceptible to the user, which improves the efficiency of generating memory and improves the user experience. In addition, the user can further confirm whether the structured data generated by the electronic device is accurate to ensure the accuracy of the obtained structured data.

[0013] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: obtaining second structured data by memorizing second user data of the first application; displaying a second interface in response to a second instruction from the user, the second interface being an editing interface for the second structured data; modifying the second structured data into third structured data in response to the user's operation on the second interface; and obtaining a second memory entry based on the third structured data.

[0014] Based on the above solution, if the user believes that the structured data is inaccurate, or does not want the electronic device to store certain private data, the user can be reminded to edit the structured data before the electronic device stores the structured data.

[0015] In combination with the first aspect, in certain implementations of the first aspect, under a preset scenario, a third interface is displayed, and the third interface includes a first prompt message, and the first prompt message is used to prompt a user to confirm the first structured data, and the preset scenario is related to the usage status of the electronic device and / or the status of the structured data.

[0016] It should be noted that the use status of an electronic device can be understood as the state of the electronic device itself (for example, the unlocking or locking status of the electronic device), or the state of the user's interaction with the electronic device (for example, whether the user responds to the prompt information issued by the electronic device). The state of structured data can be understood as the use status of structured data (for example, the scene of using memory, the electronic device calling memory items), or the amount of structured data to be confirmed.

[0017] Based on the above solution, in order to avoid frequently prompting the user to edit or confirm structured data, the electronic device can also preset certain trigger scenarios, and under the trigger scenarios, the electronic device reminds the user to edit or confirm the structured data.

[0018] In combination with the first aspect, in certain implementations of the first aspect, when the preset scenario is related to the usage status of the electronic device, the preset scenario includes at least one of the following: when the electronic device is unlocked for the first time every day, after a first time period when the electronic device does not detect a user's feedback operation on the first prompt information; when the preset scenario is related to the status of the structured data, the preset scenario includes at least one of the following: when the electronic device calls the memory entry, when the number of the structured data to be confirmed reaches a preset threshold.

[0019] Exemplary, scenario one: when the electronic device is unlocked for the first time every day. For example, after 6 am every day, when the electronic device is unlocked for the first time, the user is prompted to edit or confirm. Scenario two: after the first time period when the electronic device does not detect the user's feedback operation on the first prompt information. For example, if the user has not opened the interface for confirming the memory for 3 consecutive days, the electronic device will default to not prompt again within 7 days, and will remind the user to confirm again after 7 days. Scenario three: when the electronic device calls a memory entry. For example, when the user calls a memory entry (or memory information) by waking up the voice assistant or opening the memory homepage (for example, the interface or prompt box of the memory application), the electronic device prompts the user to edit or confirm. Scenario four: when the number of structured data to be confirmed reaches a preset threshold. For example, when the cumulative number of structured memory data to be confirmed reaches 20, the electronic device prompts the user to edit or confirm.

[0020] It should be noted that the specific way in which the electronic device prompts the user to edit or confirm structured data may include voice prompts, pop-up prompts, prompt box prompts, or notification push prompts, etc. The embodiments of the present application do not limit the specific way of prompting.

[0021] In combination with the first aspect, in certain implementations of the first aspect, memorizing the first user data is performed when the electronic device is charging and / or when the electronic device is connected to a wireless network WiFi.

[0022] Based on the above solution, the process of electronic devices memorizing user data requires a lot of power consumption. Therefore, the processing of user data can be performed during the charging process of the electronic device, or when the electronic device is charging and the screen is off. In addition, sometimes it is necessary to memorize user data through a server. Therefore, the user data can be memorized when the electronic device is connected to WiFi.

[0023] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: in response to a third instruction from the user, displaying a fourth interface, the fourth interface including a second prompt message, the second prompt message being used to prompt the user to authorize the electronic device to memorize user data of a second application, the third instruction being used to call a third memory entry, the third memory entry being associated with the second application.

[0024] Exemplarily, the user has not turned on the authorization switch of the second application in advance, and the third instruction may be an instruction for the user to request to call a memory entry in a memory usage scenario, or it can be understood that the third instruction may be an instruction for the user to request to call at least some fields in structured data in a memory usage scenario.

[0025] In combination with the first aspect, in certain implementations of the first aspect, the first memory entry includes indication information for indicating that the memory information originates from the first application.

[0026] It should be noted that in scenarios where users use memory, labels can be used to distinguish the source of memory information.

[0027] In combination with the first aspect, in certain implementations of the first aspect, the memory entry is displayed in any of the following ways: a card, a control, a label, an option, a bullet screen, a pop-up window, a dialog box, or a floating window.

[0028] In combination with the first aspect, in certain implementations of the first aspect, the first structured data includes M fields, and the first structured data is obtained by memorizing the first user data of the first application, including: obtaining N fields of the M fields by memorizing the first user data of the first application, where M is greater than N, and N is a positive integer greater than or equal to 1; the method also includes: obtaining third user data of the first application, where the third user data is associated with the first user data; obtaining L fields by memorizing the third user data of the first application, where the L fields include at least part of the fields in the M fields except the N fields, and L is a positive integer greater than or equal to 1.

[0029] It should be noted that when the first user data and the third user data are memorized, the memorization identifiers of the structured data obtained respectively are the same, but the field contents may be different.

[0030] Exemplarily, by memorizing the first user data, the structured data obtained is the ID card number of user A; by memorizing the third user data, the structured data obtained is the validity period of the ID card of user A. The memory identifiers of the ID card number of user A and the validity period of the ID card of user A are the same, but the fields are different (one is the ID card number and the other is the validity period of the ID card).

[0031] For example, the electronic device first generates memory A based on the photo of the back of user A's ID card. Memory A includes information such as user A's name, date of birth, and ID number. When the electronic device subsequently obtains the photo of the front of user A's ID card, memory A can be updated so that the validity period of user A's ID card is added to memory A.

[0032] For another example, a motor vehicle driver's license includes two pictures, and the electronic device obtains the first picture of the driver's license through the gallery application and obtains fields including name, address, date of birth, etc. The electronic device also obtains the second picture of the driver's license through the gallery application and obtains a field including the internship period.

[0033] Based on the above scheme, for partially identical structured data with the same memory identifier but different fields, the existing memory can be refreshed to obtain new structured data. The new structured data includes the fields in the original memory (N fields) and the fields in the current memory (L fields).

[0034] In combination with the first aspect, in certain implementations of the first aspect, the user data of the first application belongs to any one of the following: structured data, image and audio data, and unstructured data.

[0035] It should be noted that user data of different applications may be of different types.

[0036] For example, the user data of a gallery application may be image and audio data, the user data of a traffic application may be structured data, and the data of a text message application may be unstructured data.

[0037] In combination with the first aspect, in certain implementations of the first aspect, the method includes: obtaining user data of the first application in an active manner or a passive manner, the active manner including sandbox data subscription and system capability data subscription, and the passive manner including intent framework donation.

[0038] For example, when the user data of the first application is structured data, the user data of the first application can be obtained through intent framework donation; when the user data of the first application is audio and video image data, the user data of the first application can be obtained through sandbox data subscription; when the user data of the first application is unstructured data, the user data of the first application can be obtained through system capability data subscription.

[0039] In a second aspect, a data processing device is provided, which includes: a display unit, used to display a first interface, the first interface includes a first control, the first control is used to authorize the device to memorize user data of a first application; and is also used to detect that a user authorizes the device to memorize user data of the first application through the first control; a processing unit, used to obtain first structured data by memorizing the first user data of the first application; and is also used to obtain a first memory entry according to the first structured data in response to a first instruction from the user, the first instruction is used to instruct the user to confirm that the first structured data is accurate.

[0040] In combination with the second aspect, in certain implementations of the second aspect, the processing unit is further used to obtain second structured data by memorizing second user data of the first application; the display unit is further used to display a second interface in response to a second instruction from the user, the second interface being an editing interface for the second structured data; the processing unit is further used to modify the second structured data into third structured data in response to the user's operation on the second interface; and is further used to obtain a second memory entry based on the third structured data.

[0041] In combination with the second aspect, in certain implementations of the second aspect, the display unit is also used to display a third interface under a preset scenario, and the third interface includes a first prompt information, and the first prompt information is used to prompt the user to confirm the first structured data, and the preset scenario is related to the usage status of the device and / or the status of the structured data.

[0042] In combination with the second aspect, in certain implementations of the second aspect, when the preset scenario is related to the usage status of the device, the preset scenario includes at least one of the following: when the device is unlocked for the first time each day, after a first time period when the device does not detect a user's feedback operation on the first prompt information; when the preset scenario is related to the status of the structured data, the preset scenario includes at least one of the following: when the device calls the memory entry, when the number of the structured data to be confirmed reaches a preset threshold.

[0043] In combination with the second aspect, in certain implementations of the second aspect, memorizing the first user data is performed while the device is charging and / or when the device is connected to a wireless network WiFi.

[0044] In combination with the second aspect, in certain implementations of the second aspect, the display unit is also used to display a fourth interface in response to a third instruction from the user, the fourth interface including a second prompt message, the second prompt message being used to prompt the user to authorize the device to memorize user data of the second application, the third instruction being used to call a third memory entry, the third memory entry being associated with the second application.

[0045] In combination with the second aspect, in certain implementations of the second aspect, the first memory entry includes indication information for indicating that the memory information originates from the first application.

[0046] In combination with the second aspect, in certain implementations of the second aspect, the memory entry is displayed in any of the following ways: a card, a control, a label, an option, a bullet screen, a pop-up window, a dialog box, or a floating window.

[0047] In combination with the second aspect, in certain implementations of the second aspect, the first structured data includes M fields, and the processing unit is specifically used to obtain N fields of the M fields by memorizing the first user data of the first application, where M is greater than N, and N is a positive integer greater than or equal to 1; the processing unit is also used to obtain third user data of the first application, where the third user data is associated with the first user data; and is also used to obtain L fields by memorizing the third user data of the first application, where the L fields include at least part of the fields of the M fields except the N fields, and L is a positive integer greater than or equal to 1.

[0048] In combination with the second aspect, in certain implementations of the second aspect, the user data of the first application belongs to any one of the following: structured data, image and audio data, and unstructured data.

[0049] In combination with the second aspect, in certain implementations of the second aspect, the processing unit is specifically used to obtain user data of the first application in an active or passive manner, the active manner including sandbox data subscription and system capability data subscription, and the passive manner including intent framework donation.

[0050] In a third aspect, an electronic device is provided, comprising: one or more processors; one or more memories; the one or more memories storing one or more computer programs, the one or more computer programs comprising instructions, which, when executed by the one or more processors, enable the electronic device to perform a method as described in the first aspect above and any possible implementation thereof.

[0051] In a fourth aspect, a data processing device is provided, comprising: a processor coupled to a memory, the memory being used to store a computer program, the processor being used to run the computer program, so that the data processing device executes the method in the above-mentioned first aspect and any possible implementation thereof.

[0052] In combination with the fourth aspect, in certain implementations of the fourth aspect, one or more of the memory and the transceiver are also included, and the transceiver is used to receive signals and / or send signals.

[0053] In a fifth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a computer, the computer implements the method in the first aspect and any possible implementation thereof.

[0054] In a sixth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method in the first aspect and any possible implementation thereof.

[0055] In a seventh aspect, a chip is provided, comprising a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface to execute the method in the first aspect and any possible implementation thereof.

[0056] In combination with the seventh aspect, in one possible implementation, the processor is coupled to the memory via an interface.

[0057] In combination with the seventh aspect, in a possible implementation, the chip system also includes a memory, in which a computer program or computer instructions are stored. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 It is a structural diagram of an electronic device.

[0059] Figure 2It is a software structure block diagram of the electronic device provided in the embodiment of the present application.

[0060] Figure 3 It is a schematic diagram of a data processing method provided in an embodiment of the present application.

[0061] Figure 4 It is an exemplary flow chart of a data processing method provided in an embodiment of the present application.

[0062] Figure 5 It is an exemplary flow chart of a data processing method provided in an embodiment of the present application.

[0063] Figure 6 It is a set of GUIs provided by the embodiments of the present application.

[0064] Figure 7 It is a set of GUIs provided by the embodiments of the present application.

[0065] Figure 8 It is an exemplary flow chart of a data processing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0067] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0068] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0069] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to devices equipped with Or a portable electronic device with other operating systems. The portable electronic device may also be other portable electronic devices, such as a laptop computer. It should also be understood that in some other embodiments, the electronic device may not be a portable electronic device, but a desktop computer. In some other embodiments, the electronic device may be an instrument for measurement, such as an oscilloscope.

[0070] For example, Figure 11 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0071] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0072] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), etc.

[0073] The processor 110 may also be provided with a memory for storing instructions and data.

[0074] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0075] The mobile communication module 150 can provide wireless communication solutions including 2G / 3G / 4G / 5G etc. applied on the electronic device 100 .

[0076] The wireless communication module 160 can provide wireless communication solutions for application in the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc.

[0077] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0078] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc.

[0079] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0080] The camera 193 is used to capture still images or videos. The object is projected onto the photosensitive element by generating an optical image through the lens.

[0081] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0082] Video codecs are used to compress or decompress digital video.

[0083] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 .

[0084] The internal memory 121 may be used to store computer executable program codes, wherein the executable program codes include instructions.

[0085] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0086] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals.

[0087] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.

[0088] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.

[0089] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.

[0090] The pressure sensor 180A is used to sense pressure signals and can convert pressure signals into electrical signals. When a touch operation is applied to the display screen 194, the electronic device 100 detects the touch operation strength according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation strengths may correspond to different operation instructions. For example, when a touch operation with a touch operation strength greater than or equal to the first pressure threshold is applied to the alarm application icon, an instruction to create a new alarm is executed.

[0091] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0092] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect a touch operation acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194.

[0093] Figure 2 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.

[0094] like Figure 2 As shown, the application layer may include camera, settings, skin module, user interface (UI), third-party applications, etc. Among them, the third-party applications may include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

[0095] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer may include some predefined functions.

[0096] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0097] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data and make the data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0098] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. The display interface can be composed of one or more views.

[0099] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0100] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0101] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message prompts, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0102] Android runtime includes core libraries and virtual machines. Android runtime is responsible for calling and managing the Android system.

[0103] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.

[0104] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0105] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0106] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0107] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0108] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0109] A 2D graphics engine is a drawing engine for 2D drawings.

[0110] In addition, the system library may also include status monitoring service modules, such as a physical status recognition module for analyzing and identifying user gestures; a sensor service module for monitoring sensor data uploaded by various sensors at the hardware layer to determine the physical status of the electronic device 100.

[0111] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0112] The hardware layer can include various types of sensors, such as Figure 1 Various types of sensors introduced in.

[0113] Combined with the above Figure 1 and Figure 2 The electronic device introduced in the embodiment of the present application may be a device with a display screen, such as a mobile phone terminal, a tablet computer, or a device without a display screen, such as a network attached storage (NAS).

[0114] With the development of science and technology, electronic devices can provide more and more functions, and data and information are becoming more and more abundant. To further facilitate user use, electronic devices support the generation of memories for certain key information. After the key information is generated, it can be directly called in the user's use scenario, greatly improving the user experience.

[0115] For example, electronic devices can store ID information in memory. When users buy train tickets through an application, they can directly call up the ID information through the input method without the need for users to manually fill in their names, ID numbers, etc. For another example, electronic devices can store information on screenshots of movie tickets purchased by users. Users can obtain schedules through voice assistants, and the voice assistants can inform users of their plans to watch movies.

[0116] At present, there are many ways for electronic devices to generate memories. In one implementation, through a third-party application, on the basis of obtaining user authorization, information about the electronic device screen is obtained, and the screen content, browser usage history, etc. are automatically identified. The application can generate a timeline with the acquired data and display the user's key operations, which can help users trace back the content they have browsed in the past. However, this method can only collect data and present it directly to the user after simple processing. The acquired data cannot be processed to obtain structured data for user convenience, and the acquired data is also limited. In another implementation, the electronic device displays key information, and generates memories according to user instructions on the interface displaying key information. This process of generating memories is perceived by the user, and each piece of memory information needs to be generated by the electronic device according to user instructions. The electronic device cannot automatically generate memories.

[0117] Therefore, the present application provides a method, device and electronic device for data processing. Under the premise of user authorization, the electronic device can actively obtain user data and process the user data to generate memory. This process can be imperceptible to the user, which greatly improves the user experience. Below, the method, device and electronic device for data processing provided by the present application will be specifically introduced in conjunction with the accompanying drawings.

[0118] like Figure 3 As shown, a schematic diagram of a data processing method provided by an embodiment of the present application is shown, the method mainly includes three steps of data acquisition, data conversion and data deduplication, and can be applied to electronic devices. The following takes a mobile phone terminal with a screen as an example to specifically introduce the method.

[0119] Step 1: Data acquisition.

[0120] It should be noted that the data acquisition process can be understood as the process of the electronic device automatically acquiring user data. The user data can be user data of system applications or user data of third-party applications.

[0121] For example, the electronic device may carry system applications (e.g., gallery, SMS, and call applications) and third-party applications (e.g., transportation applications). The user data carried by the transportation application may include information about the user's purchase of bus and air tickets; the user data carried by the gallery application may include images of the user's ID card, videos, screenshots of purchased movie tickets, etc.; the user data carried by the SMS application may include notification SMS texts; and the user data carried by the call application may include voice calls.

[0122] It should be noted that user data carried by different applications can be obtained in different ways. In the embodiment of the present application, the method of obtaining user data will be introduced by taking intent framework donation, sandbox data collection and system capability data subscription as examples. It is understandable that the embodiment of the present application does not limit the specific method of data collection.

[0123] It should be noted that the methods of data acquisition include active acquisition and passive acquisition.

[0124] Among them, active acquisition includes sandbox data subscription and system capability data subscription. Sandbox data subscription can be used to obtain user data of applications such as calendar, gallery, and memo. When these applications are connected, they can declare the data paradigm according to the specification. When the application data changes and falls to the disk, the corresponding data is automatically given to the data acquisition module in the specific format of the specific data paradigm. System capability data subscription can be used to obtain user data of applications such as text messages and calls. System capability data subscription is a system open capability. Taking SMS content as an example, after applying for the corresponding permissions, the corresponding system interface can be called. When the user receives a text message, the SMS content is automatically given to the data acquisition module.

[0125] Passive acquisition includes intent framework donation. Intents kit is an intent standard system that can help developers intelligently distribute business functions in applications / meta-services to various system entrances. When the application is connected to the intent framework, the data received by the intent framework can be synchronized to the memory after user authorization. After the memory receives the intent framework data, it converts the data into memory.

[0126] It should be noted that the acquired data can be divided into three categories, including structured data, audio and video image data, and unstructured data. In the embodiment of the present application, the type of data is not limited. Among them, structured data has a fixed format and a predefined pattern. It is usually stored through a database management system (such as a relational database). Unstructured data has no fixed format or pattern, and it is usually free-form text.

[0127] For example, the user data obtained by the traffic application through the intent framework donation method is structured data, for example, the user's ticket purchase information, including the traveler's name xxx, flight number ZH123, and travel date ZZZZ year XX month XX day. The user data obtained by the gallery application through the sandbox data subscription method is audio and video, image data, for example, user ID card images, order screenshots, ticket screenshots, driver's license images, vehicle registration license images, etc. The user data obtained by the SMS and call application through the system capability data subscription method is unstructured data, for example, notification SMS without a fixed format.

[0128] In one implementation, to ensure user privacy, the electronic device needs to obtain user authorization before obtaining data. An authorization switch can be set for each application on the electronic device. When the user turns on the authorization switch of a certain application, the electronic device will obtain the user data of the application.

[0129] For example, when the user turns on the authorization switch of the gallery application, the electronic device will obtain the audio and video and image data in the gallery application. If the user does not turn on the authorization switch of the text message application, the electronic device will not be able to obtain the unstructured data in the text message application.

[0130] It should be noted that step 1 can be performed by a data acquisition module in the electronic device. After the data acquisition module completes data acquisition, the data can be stored on the disk for standby use. In certain scenarios (for example, charging and the screen is off), the electronic device will further process the acquired data.

[0131] It is understandable that, under the premise of obtaining user authorization, the process of an electronic device obtaining user data can be imperceptible to the user.

[0132] Step 2: Data conversion.

[0133] It should be noted that the process of data conversion can be understood as a process in which an electronic device converts structured data, audio and video image data, and unstructured data to obtain structured memory data to be confirmed.

[0134] Exemplarily, the three types of data obtained in step 1 can be converted in different ways.

[0135] For structured data, it can include data donated through the intent framework or obtained through sandbox data subscription. This kind of data is generally standardized, and usually only needs to be simply mapped according to the data paradigm shema to obtain structured data. If the structured data in the shema paradigm cannot meet the memory requirements, large model conversion is required.

[0136] For audio and video, image data, if the data is a video, you can first extract key frames, use the key frames as a picture set, and use optical character recognition (OCR) technology to extract the text in the picture as unstructured data, and then process the unstructured data through a large model. For image data, it is also necessary to extract text as unstructured data through OCR technology, and then process the unstructured data through a large model. For audio data, it is necessary to obtain unstructured data through automatic speech recognition (ASR) technology, and process the unstructured data through a large model. It can be seen that the data conversion of audio and video and image data ultimately needs to be processed by a large model.

[0137] For unstructured data, it is usually rewritten according to the prompt and then provided to the large model for processing.

[0138] It should be noted that the data obtained after the large model data conversion is structured memory data.

[0139] The following are some examples of structured memory data:

[0140] Example 1: ID card information

[0141] Subject: xxx

[0142] Card number:110xxxxxxxxxxxxxxx

[0143] Example 2: Ticket purchase information

[0144] Passenger: xxx

[0145] Fightnumber: ZH123

[0146] DepartureDate: xxxx-xx-xx xx:xx:xx

[0147] It should be noted that the accuracy of the large model data conversion is limited. For example, a notification SMS is obtained from a user through a text message application. The SMS is used to notify the user of travel information. For example, the content of the SMS is "I will take the No. 123 train at Train Station A in two days." By processing the unstructured text through the large model, it is impossible to accurately know the specific time corresponding to the time information "in two days", and this data will require editing or confirmation by the user. For another example, the content of the SMS is "I will take the No. 123 train at Train Station A tomorrow." By processing the unstructured text through the large model, it is impossible to accurately know the specific time corresponding to the time information "tomorrow", but the current date can be obtained during post-processing to calculate the specific time corresponding to "tomorrow". This inaccurate data can be corrected by the electronic device itself and become accurate.

[0148] In one implementation, the structured data obtained after the large model data conversion can be confirmed, that is, the memory data obtained after the data conversion is the memory data to be confirmed.

[0149] Exemplarily, the above-mentioned large model includes a cloud-side large model and a terminal-side large model. In the data processing method provided in the embodiment of the present application, the terminal-side large model is mainly used as an example for introduction. The task of performing data conversion on the electronic device side will take up a lot of device power consumption. Therefore, this process can be performed when the electronic device is charged and the screen is off. The power off or the screen on state may interrupt this process.

[0150] It should be noted that step 2 can be performed by a data conversion module in the electronic device. After the data conversion module completes the data conversion, the data can be stored in the disk for standby use. In certain scenarios, the electronic device will further process the acquired data.

[0151] Step 3: Deduplication of data.

[0152] It should be noted that the process of data deduplication can be understood as the process in which the electronic device determines the structured memory data to be confirmed as formal memory data.

[0153] Optionally, in the above step 2, it is introduced that the structured data converted by the large model may not be accurate, therefore, data verification may be performed on the structured data converted by the large model.

[0154] It is understandable that, ideally, the structured data after conversion from the large model is accurate and there is no need for data verification.

[0155] It should be noted that data verification is used to determine whether the converted structured data is accurate. Alternatively, electronic devices can also make self-corrections for simpler data corrections.

[0156] It should be noted that formal memory data includes refreshing existing memory data and creating new memory data.

[0157] It is understandable that before generating formal memory data, the current structured memory data needs to be compared with the memory previously generated by the electronic device. If the current structured memory data is exactly the same as the previously generated memory, to avoid duplication, the current structured memory data will not be stored as a new memory in the electronic device. If the current structured memory data is partially the same as the previously generated memory, or completely different, the former can refresh the existing memory data and store it in the electronic device; the latter can create new memory data and store it in the electronic device.

[0158] In this regard, in the data processing method provided in this application, a memory identifier (memoryKey) is proposed, and the memory identifier is determined according to the content of the structured memory data. For example, the memory identifiers of user A's ID card information and user B's ID card information are different; the user's ID card validity period and user A's ID card number both belong to user A's ID card information, so the memory identifiers of user A's ID card validity period and user A's ID card number are the same.

[0159] It should be noted that whether the current structure memory data is the same as the previously generated memory can be determined based on the memory identifier and field content.

[0160] Exemplarily, if the memory identifier is the same and the field content is the same, it means that the current structure memory data is the same as the previously generated memory. To avoid duplication, there is no need to generate a new memory. If the memory identifier is the same but the field content is different, it means that the current structure memory data is the same as the previously generated memory part, and the existing memory data needs to be refreshed. If both the memory identifier and the field content are different, it means that the current structure memory data is completely different from the previously generated memory part, and new memory data needs to be created.

[0161] For example, a user uses an electronic device to take multiple photos of his ID card. Except for the different shooting angles, the content of the photos is the same, and the structured memory data generated by the electronic device based on these photos is exactly the same. For another example, the electronic device generates memory A based on the ID card information of user A, and generates memory B based on the identity information of user B. Memory A and memory B are completely different. For another example, the electronic device first generates memory A based on the photo of the back of user A's ID card. Memory A includes information such as user A's name, date of birth, and ID number. When the electronic device subsequently obtains the photo of the front of user A's ID card, it can update memory A so that the validity period of user A's ID card is added to memory A.

[0162] In one implementation, the process of refreshing existing memory data or creating new memory data may also involve editing or confirming the memory data by the user.

[0163] It should be noted that the accuracy of the memory data can be improved by user editing or confirmation before the formal memory data is generated. In addition, the formal memory data is the data to be stored in the electronic device, and some data involving user privacy can be deleted by user editing or confirmation before the formal memory data is generated.

[0164] It is understandable that, in addition to electronic devices with screens that can perform the above steps, devices without screens, such as NAS, can also acquire data and process the data to obtain memory data.

[0165] For example, NAS can obtain user data from multiple electronic devices with the same account, convert and deduplicate the user data, and finally obtain formal memory data. Since NAS can store a large amount of user data and can be connected to multiple electronic devices, a large amount of memory data can be generated through NAS, and the memory data can be shared across devices.

[0166] Based on the above solution, the electronic device can automatically obtain user data of various applications, and process the data according to different types of user data to obtain formal memory data. The implementation of this process can be unaware of the user, which improves the user experience.

[0167] It should be noted that, according to the introduction in the above step Step 3, in order to improve the accuracy of memory data or to protect the privacy of the user, the electronic device can prompt the user to edit or confirm the memory data, but when the electronic device prompts the user, it needs to consider the scenario of the prompt to avoid frequent prompts to the user and disturb the user, affecting the user experience.

[0168] Based on this, Figure 4 An exemplary flow chart of a method for data processing provided by an embodiment of the present application is shown, which supplements the scenario in which the electronic device prompts the user to edit or confirm the memorized data, so as to further optimize the method for data processing provided by the present application. The method is described in detail below.

[0169] S401, data acquisition.

[0170] Exemplarily, structured data, audio and video image data, and unstructured data are acquired.

[0171] It should be noted that for some structured data, if the structured data in the schema paradigm can be used according to the memory requirements, structured memory data can be generated through data mapping, and data conversion takes a short time and consumes low power. After obtaining this type of structured data, the electronic device can directly convert the data through data mapping.

[0172] S402, data conversion.

[0173] It should be noted that, except for some structured data introduced in the above step S401, which can be converted by data mapping immediately after data acquisition, other user data is usually converted when the electronic device is charged and the screen is off after acquisition. This is because, for example, audio and video image data and unstructured data need to be converted through a large model, which is a long process with high power consumption and is suitable for being performed when the electronic device is charged and the screen is off.

[0174] S403, data deduplication.

[0175] It is understandable that the data deduplication process can also be performed when the electronic device is charging and the screen is off.

[0176] For example, when the electronic device is charging and the screen is off, the user data needs to be processed one by one. When the electronic device is on or powered off, the current task can be terminated. When the electronic device is charged again and the screen is off, the unfinished task will continue to be executed without affecting the normal use of other functions of the electronic device.

[0177] S404: In response to the triggering scenario, prompt the user to edit or confirm.

[0178] It is understandable that after completing the above steps S401 to S403, structured memory data to be confirmed is generated. To avoid frequent prompts to the user, the electronic device can pre-set certain triggering scenarios.

[0179] Exemplary, scenario one: after 6 a.m. every day, when the electronic device is unlocked for the first time, the user is prompted to edit or confirm. Scenario two: If the user has not opened the memory confirmation interface for three consecutive days, the electronic device will default to not prompt again for seven days. Scenario three: When the user wakes up the voice assistant and opens the memory homepage (for example, the interface or prompt box of the memory application), the electronic device prompts the user to edit or confirm. Scenario four: When the cumulative structured memory data to be confirmed reaches a certain threshold, the electronic device prompts the user to edit or confirm. Scenario five: When electronic devices such as NAS, car terminals, and smart screens are connected in the near field (for example, connected to the same Wi-Fi), the electronic device prompts the user to edit or confirm. Scenario six: When opening the management page of electronic devices such as NAS, car terminals, and smart screens, the electronic device prompts the user to edit or confirm.

[0180] It should be noted that the specific way in which the electronic device prompts the user to edit or confirm structured memory data may include voice prompts, pop-up prompts, prompt box prompts or notification push prompts, etc. The embodiments of the present application do not limit the specific way of prompting.

[0181] Based on the above solution, in appropriate scenarios, the electronic device prompts the user to edit or confirm the structured memory data, thereby improving the accuracy of the memory data while minimizing the disturbance to the user.

[0182] According to the above introduction, in order to ensure user privacy, electronic devices need to obtain user authorization before obtaining user data. An authorization switch can be set for each application on the electronic device. When the user turns on the authorization switch of a certain application, the electronic device will obtain the user data of the application. If the electronic device does not obtain user authorization, when the user uses the memory function, the electronic device can prompt the user to turn on the authorization switch.

[0183] Based on this, Figure 5 An exemplary flow chart of a method for data processing provided by an embodiment of the present application is shown, which supplements that when the user uses the memory function without the user's authorization, the electronic device can prompt the user for authorization, so as to optimize the method for data processing provided by the present application. The method is described in detail below.

[0184] S501, data acquisition.

[0185] Similar to the above step S401, to avoid redundancy, it will not be repeated here.

[0186] S502: Whether to obtain user authorization.

[0187] It should be noted that an authorization switch can be set for each application on the electronic device. When the user turns on the authorization switch of an application, it means that the application has obtained the user's authorization, and the electronic device can automatically obtain the user data of the application. If the user does not turn on the authorization switch of an application, it means that the application has not obtained the user's authorization, and the electronic device cannot automatically obtain the user data of the application.

[0188] In one implementation, if the application obtains user authorization, the electronic device may execute the following step S503.

[0189] In another implementation, if the application does not obtain user authorization, the electronic device maliciously executes the following step S506.

[0190] S503, data conversion.

[0191] Similar to the above step S402, to avoid redundancy, it will not be repeated here.

[0192] S504, data deduplication.

[0193] Similar to the above step S403, to avoid redundancy, it will not be repeated here.

[0194] S505: In response to the triggering scenario, prompt the user to edit or confirm.

[0195] Similar to the above step S404, to avoid redundancy, it will not be repeated here. Step S503 and step S504 can also be performed when the electronic device is charging and the screen is off.

[0196] S506: In response to the memorized scene, prompt the user to authorize.

[0197] It should be noted that the memory scene is a scene in which the user manages or uses memory.

[0198] Exemplarily, memory scenarios may include scenarios such as a voice assistant reminding a user of their schedule, and a user directly entering identity information through an input method when filling out a form.

[0199] It is understandable that if the application does not obtain user authorization, it can prompt the user to turn on the authorization switch in the memory scenario so that the subsequent electronic device can automatically obtain user data.

[0200] For example, when a user asks a voice assistant about their schedule, the voice assistant will ask the user whether to allow the user data of the memo application or calendar application to be stored in memory while providing the schedule. If the user agrees, the electronic device will automatically obtain the user data from the memo application. For another example, when a user fills in their ID card information, a pop-up window will prompt the user whether they can allow the user data of the gallery application to be stored in memory. If the user agrees, the electronic device will automatically obtain the user data from the gallery application.

[0201] It should be noted that the specific method of prompting the user to authorize may be a voice prompt, a pop-up prompt, a prompt box prompt, or a notification bar push notification prompt, etc. The embodiment of the present application does not limit the specific method of the prompt.

[0202] Based on the above scheme, in a memory scenario, the user can be prompted to authorize the application to facilitate the electronic device to automatically obtain user data, making the memory generation process more efficient.

[0203] For ease of understanding, Figure 6 As shown, a set of graphical user interfaces (GUIs) are shown, and a data processing method provided by an embodiment of the present application is introduced by taking a mobile phone terminal as an example of an electronic device.

[0204] like Figure 6 As shown in (a) in the figure, the mobile terminal displays a source management interface. The source management interface includes authorization controls for multiple applications, such as authorization controls for gallery applications, authorization controls for SMS applications, authorization controls for transportation applications, authorization controls for social applications, and authorization controls for memo applications. Among them, if the authorization control 601 of the gallery application is in the form, it means that the gallery application has obtained user authorization, and the electronic device can automatically obtain user data of the gallery application; if the authorization control 602 of the memo application is in the form, it means that the memo application has not obtained user authorization, and the electronic device will not be able to automatically obtain user data of the memo application.

[0205] like Figure 6 As shown in (b) in the figure, the mobile phone terminal displays a memory confirmation window 603. In the memory confirmation window, the user can edit or confirm the memory. The memory confirmation window can display the source of the memory, for example, it displays "synchronize through the gallery", indicating that the following memory is obtained and generated by the electronic device from the gallery application. The memory confirmation window includes multiple memory windows, including a memory 1 window 604 and a memory 2 window. Each memory window displays the main data of the memory, for example, the memory 1 window 604 displays "My ID information", including the specific ID number "110xxxxxxxxxxxxxxx". Each memory window also includes an editing control to prompt the user to edit it. For example, the editing control 605 in the memory 1 window 604. The memory confirmation window 603 also includes a confirmation control 606. When the user clicks the confirmation control 606, it indicates that the user confirms the multiple memories in the memory confirmation window 603. In response to the user's operation on the editing control 605, the mobile phone terminal can display the following Figure 6 GUI shown in (c) in FIG.

[0206] like Figure 6 As shown in (c) in FIG. 6 , in response to the user's operation on the editing control 605, the mobile terminal displays a memory editing window 607. The user can edit the specific content of the memory data in the memory editing window. It can be seen from the memory editing window 607 that the memory is generated by the user's ID card picture in the gallery application, and the specific content includes the associated person as user A and the ID number "110xxxxxxxxxxxxxxx". The specific content of the memory data can be understood as fields, including the associated person field, the ID number field, the ID effective date field, and the ID expiration date field.

[0207] Based on the above scheme, after obtaining user authorization, the electronic device can automatically obtain user data in the application and generate memories based on the user data. To ensure the accuracy of the memory, the user can also edit or confirm the generated structured data.

[0208] like Figure 7 As shown, a group of GUIs are shown, and a data processing method provided by an embodiment of the present application is introduced by taking a mobile phone terminal as an example of an electronic device.

[0209] like Figure 7 As shown in (a) of FIG. 1 , the main interface of the mobile terminal is displayed. The main interface of the mobile terminal displays icons of various applications, including icons of calendar, gallery, memo, settings, and other applications. In response to the user's operation on the icon 701 of the settings application, the mobile terminal can display the following: Figure 7 GUI shown in (b) in .

[0210] like Figure 7 As shown in (b) of FIG. 1 , in response to the user's operation on the icon 701 of the setting application, the mobile terminal displays the main interface of the setting application. The main interface of the setting application displays a variety of setting options, including Bluetooth setting options, mobile network setting options, hyperterminal setting options, memory setting options, etc. Each setting option corresponds to different specific setting contents. In response to the user's operation on the memory option 702, the mobile terminal can display the following Figure 7 GUI shown in (c) in FIG.

[0211] like Figure 7 As shown in (c) of FIG. 1 , in response to the user's operation on the memory option 702, the mobile terminal displays the interface of the memory option. In the interface of the memory option, parameters related to the memory function can be set. The interface of the memory option displays multiple setting options, including source management options, memory editing options, and more setting options. The user can choose to set the memory source or edit the memory in the memory option interface. In response to the user's operation on the source management option 703, the mobile terminal can display the following Figure 7 GUI shown in (d).

[0212] like Figure 7As shown in (d) in the figure, in response to the operation for the source management option 703, the mobile terminal displays a source management interface. The source management interface includes authorization controls for multiple applications, for example, authorization controls for gallery applications, authorization controls for text message applications, authorization controls for transportation applications, authorization controls for social applications, and authorization controls for memo applications. Among them, if the authorization control 704 of the gallery application is in the form, it means that the gallery application has obtained user authorization, and the electronic device can automatically obtain the user data of the gallery application; if the authorization control 705 of the memo application is in the form, it means that the memo application has not obtained user authorization, and the electronic device will not be able to automatically obtain the user data of the memo application. It can be seen that, Figure 7 In the source management interface shown in (d), the gallery, SMS, transportation, and social applications obtain user authorization, while the memo application does not obtain user authorization.

[0213] For example, if a gallery application obtains user authorization, the electronic device can automatically obtain user data such as the user's ID card picture and screenshots of movie ticket purchase in the gallery application. If a text message application obtains user authorization, the electronic device can automatically obtain the content of the notification text message in the text message application. If a transportation application obtains user authorization, the electronic device can automatically obtain the flight information of the user in the transportation application. If a social application obtains user authorization, the electronic device can automatically obtain the content of the user's chat history in the social application.

[0214] It should be noted that after obtaining user authorization, the electronic device will perform data conversion and data deduplication on the acquired data, and this process may be imperceptible to the user.

[0215] When the triggering scenario described in step S404 occurs, the electronic device may display the following Figure 7 The interface shown in (e) in .

[0216] For example, Figure 7 As shown in (e) in FIG. 1 , the main interface of the mobile terminal is displayed. The main interface is displayed when the mobile terminal is first unlocked after 7 a.m. every day. A prompt message 706 is displayed on the main interface, and the prompt message 706 is used to prompt the user to edit or confirm the memory data. Figure 7 The prompt information 706 shown in (e) in the figure is a notification bar push notification to prompt the user. However, in the embodiment of the present application, the specific method of prompting the user is not limited, and can also be a pop-up window prompt, a floating window prompt, a voice prompt, etc. In response to the user's operation on the prompt information 706, the mobile terminal can display the following Figure 7If the user does not click on the prompt message 706 for 3 consecutive days, the prompt message 706 will not be pushed in the next 8 days, and will be pushed to the user again after 8 days to avoid disturbing the user.

[0217] like Figure 7 As shown in (f) in the figure, in response to the user's operation on the prompt information 706, the mobile phone terminal displays a memory confirmation window 707. In the memory confirmation window, the user can edit or confirm the memory. The memory confirmation window can display the source of the memory, for example, it displays "synchronize through the gallery", indicating that the following memory is obtained and generated by the electronic device from the gallery application. The memory confirmation window includes multiple memory windows, including a memory 1 window 708 and a memory 2 window. Each memory window displays the main data of the memory, for example, the memory 1 window 708 displays "My ID information", including the specific ID number "110xxxxxxxxxxxxxxx". Each memory window also includes an editing control to prompt the user to edit it. For example, the editing control 709 in the memory 1 window 708. The memory confirmation window 708 also includes a confirmation control 710. When the user clicks the confirmation control 710, it indicates that the user confirms the multiple memories in the memory confirmation window 707. In response to the user's operation on the editing control 709, the mobile phone terminal can display the following Figure 7 GUI shown in (g).

[0218] like Figure 7 As shown in (g), in response to the user's operation on the editing control 709, the mobile terminal displays a memory editing window 711. The user can edit the specific content of the memory data in the memory editing window. The specific content of the memory data can be understood as fields, including the associated person field, the ID number field, the ID effective date field and the ID expiration date field. It can be seen from the memory editing window 711 that the memory is generated through the user's ID card picture in the gallery application. The specific content includes the associated person as user A and the ID number "110xxxxxxxxxxxxxxx", but the ID effective date and the ID expiration date are not generated. It is possible that only the back picture of the user's ID card (the side with the user's photo) is stored in the gallery application, and the front picture of the user's ID card is not stored, resulting in the missing content of the ID effective date and the ID expiration date. In response to the user's operation on the ID effective date option 712 and the ID expiration date option 713, the mobile terminal can display the following Figure 7 GUI shown in (h).

[0219] like Figure 7As shown in (h) of FIG. 1 , in response to the user's operation on the certificate effective date option 712 and the certificate expiration date option 713, the mobile terminal displays a memory editing window 711. The user's operation on the certificate effective date option 712 and the operation on the certificate expiration date option 713 can be manually inputting the certificate effective date and certificate expiration date. After the user's editing, Figure 7 The certificate validity date option 712 shown in (h) in FIG. 1 shows the certificate validity date, and the certificate expiration date option 713 shows the certificate expiration date. In response to the user's operation on the confirmation control 714, the user completes the editing of the memory 1, and the mobile terminal can display the following Figure 7 GUI shown in (f) in .

[0220] The above Figure 7 (g) and Figure 7 The description of (h) in FIG. 1 is based on user operation as an example, that is, the content displayed in the certificate effective date option 712 and the certificate expiration date option 713 is manually added by the user. Optionally, the content displayed in the certificate effective date option 712 and the certificate expiration date option 713 can also be automatically added by the electronic device background.

[0221] For example, the mobile terminal obtains the front image of the user's ID card from the gallery application. The front image of the ID card includes the effective date and the expiration date of the ID card. The mobile terminal performs OCR conversion and large model conversion on the front image of the ID card to obtain structured data including the effective date and the expiration date of the ID card, and updates the contents displayed in the ID card effective date option 712 and the ID card expiration date 713 to obtain the following: Figure 7 GUI shown in (h).

[0222] In such Figure 7 In the GUI shown in (f) in FIG. 1 , in response to the user's operation on the confirmation control 710 , the edited memory 1 is confirmed as the official memory data.

[0223] like Figure 7 As shown in (i) in FIG. 7 , a voice assistant interface is displayed. In response to the user waking up the voice assistant, the mobile terminal can display the voice assistant interface 715. In the voice assistant interface, the user can ask the voice assistant for a schedule, and the voice assistant provides schedule memory information 716. It can be understood that in combination with Figure 7 In the source management interface shown in (d) of FIG. 1 , the authorization control 705 of the memo application is turned off, that is, the memo application has not obtained user authorization, and the schedule memory information 716 can be generated by the user's command voice assistant. Figure 7In the memory usage scenario shown in (i) of FIG. 1 , since the memo application has not obtained user authorization in advance, a prompt message 717 is displayed on the voice assistant interface 715. The prompt message 717 is used to prompt the user to authorize the memo application data to form a memory. In response to the user's operation on the control 718, the mobile terminal can display the following Figure 7 GUI shown in (j) in FIG.

[0224] like Figure 7 As shown in (j) in FIG. 7 , in response to the user's operation on the control 718, the mobile terminal can display the voice assistant interface 715. The control 718 in the prompt information 718 is turned on, indicating that the memo application has obtained user authorization, and the mobile terminal can automatically obtain the user data of the memo application.

[0225] If the memo application has been authorized by the user, in response to the user waking up the voice assistant, the mobile terminal can display the following Figure 7 GUI shown in (k) in FIG. In the voice assistant interface, the user can ask the voice assistant for a schedule, and the voice assistant provides schedule memory information 716. In the schedule memory information 716, multiple memory information can be displayed, including "attending an online meeting", "going to the supermarket to buy daily necessities" and "concert". Among them, a prompt label 719 is displayed next to the memory information "concert", and the prompt label 719 is used to remind the user that the memory information "concert" is a memory generated by the electronic device automatically obtaining the user data of the memo application based on the user's authorization.

[0226] It is understandable that the memory scenario is not limited to the above-mentioned scenario of using memory through a voice assistant. For example, when a user fills in identity information, if the user's authorization is not obtained in advance, the user can be prompted to authorize the gallery application or other applications that may obtain the user's identity information through pop-up prompts, voice prompts, or notification bar push notification prompts.

[0227] Above Figure 7 The GUI shown in (k) in FIG. 1 shows a scenario in which a user uses memory information, that is, a voice assistant is used to provide the user with schedule memory information 716 to remind the user of the schedule. The schedule memory information 716 includes "attend an online meeting from 8:00 to 10:00". The mobile terminal can remind the user before the specific event of the schedule arrives.

[0228] For example, Figure 7 As shown in (l), in response to a certain time before the arrival of a specific event in the schedule (for example, 8 o'clock), the mobile terminal displays a prompt message 720, and the prompt message 720 is used to prompt the user to participate in the online meeting.

[0229] It is understood that memory scenes may include Figure 7 The voice assistant shown in (i) in the figure reminds the user of the schedule, and may also include the following Figure 7 The scene shown in (m).

[0230] For example, Figure 7 As shown in (m) in FIG. 7 , a new frequently used passenger interface 721 of a mobile terminal is shown. On this interface, a user can add frequently used passengers by inputting user identity information. The interface displays an ID number option 722 and an input box 723. When the user wants to input the ID number, in response to the user clicking the ID number option 722, an automatic form filling control 724 is displayed in the input box 723. When the user clicks the automatic form filling control 724, the mobile terminal can automatically enter the ID number in the ID number option 722. In addition, if the application related to the identity information has not obtained user authorization, when the user wants to use the identity information, the user can be prompted to turn on the authorization switch of the application related to the identity information. Assuming that the application related to the user's identity information is a gallery application, a prompt message 725 is displayed on the new frequently used passenger interface 721 to prompt the user to authorize the data of the gallery application to form memory. In response to the user's operation on the control 726, the control 726 is turned on, indicating that the gallery application has obtained user authorization.

[0231] like Figure 8 As shown, a schematic flow chart of a data processing method provided by the present application is shown, and the method can be applied to devices such as mobile terminals, personal computers, NAS, etc. The method is specifically introduced below.

[0232] S801, displaying a first interface, where the first interface includes a first control.

[0233] It should be noted that the first control is used to authorize the electronic device to memorize the user data of the first application.

[0234] Exemplarily, the first interface may be as follows Figure 6 The source management interface shown in (a) includes authorization controls for multiple applications, such as an authorization control for a gallery application, an authorization control for a text message application, an authorization control for a traffic application, an authorization control for a social application, and an authorization control for a memo application. When a user opens the authorization control for an application, it means that the electronic device can automatically obtain user data of the application and automatically generate a memory based on the user data of the application.

[0235] S802: It is detected that the user authorizes the electronic device to memorize user data of the first application through the first control.

[0236] For example, in response to a user opening an authorization control of a gallery application, the electronic device can automatically obtain video, picture and other data stored in the gallery application, and memorize the video, picture and other data to obtain structured data.

[0237] It is understandable that the user may open the authorization control of the application in ways including, but not limited to, manual clicking, voice control, etc., which is not limited in this embodiment of the present application.

[0238] It should be noted that user data of different applications may be of different types.

[0239] Exemplarily, the user data of the first application belongs to any one of the following: structured data, image and audio data, and unstructured data.

[0240] For example, the user data of a gallery application may be image and audio data, the user data of a traffic application may be structured data, and the data of a text message application may be unstructured data.

[0241] It should be noted that after obtaining the user's authorization, the process in which the electronic device obtains the user data of the first application is unaware of the user.

[0242] It should be noted that the user data of the first application may be obtained in an active manner or a passive manner. The active manner includes sandbox data subscription and system capability data subscription, and the passive manner includes intent framework donation.

[0243] Exemplarily, different types of user data may be obtained in different ways.

[0244] For example, when the user data of the first application is structured data, the user data of the first application can be obtained through intent framework donation; when the user data of the first application is audio and video image data, the user data of the first application can be obtained through sandbox data subscription; when the user data of the first application is unstructured data, the user data of the first application can be obtained through system capability data subscription.

[0245] S803, obtaining first structured data by memorizing first user data of the first application.

[0246] Exemplarily, the first user data of the first application belongs to the user data of the first application.

[0247] It should be noted that the electronic device memorizes the acquired first user data of the first application, which can be understood as the electronic device performing data conversion on the first user data of the first application. This process may be imperceptible to the user.

[0248] Exemplarily, the specific methods of data conversion may include one or more of the following: data mapping, OSR, ASR, and large model conversion. The data obtained after data conversion is structured data.

[0249] It should be noted that the first user data of different types of first application programs may be converted in different ways.

[0250] Exemplarily, when the first user data of the first application is structured data, the data conversion can be performed through data mapping and large model conversion; when the first user data of the first application is audio and video image data, the data conversion can be performed through OSR, ASR, and large model conversion; when the first user data of the first application is unstructured data, the data conversion can be performed through large model conversion.

[0251] S804: In response to a first instruction from the user, obtain a first memory entry according to the first structured data.

[0252] Exemplarily, the memory entry may be displayed in any of the following ways: a card, a control, a label, an option, a bullet screen, a dialog box, or a floating window.

[0253] It is understandable that the embodiments of the present application do not limit the specific display method of the memory entries.

[0254] It should be noted that the first instruction is used to instruct the user to confirm that the first structured data is accurate.

[0255] That is to say, in order to further ensure the accuracy of the first structured data obtained after the large model conversion, the user needs to further confirm or edit it.

[0256] In one implementation, after the electronic device obtains the first instruction for instructing the user to confirm that the first structured data is accurate, the electronic device may confirm the first structured data as the first memory entry.

[0257] In another implementation, if the user believes that the structured data processed by the electronic device is inaccurate, or does not want the electronic device to store certain private data, the user can edit the structured data.

[0258] Optionally, the second structured data is obtained by memorizing the second user data of the first application; in response to the user's second instruction, a second interface is displayed, and the second interface is an editing interface for the second structured data; in response to the user's operation on the second interface, the second structured data is modified into third structured data; and a second memory entry is obtained based on the third structured data.

[0259] Exemplarily, in response to a user clicking on Figure 7The electronic device obtains the second instruction by editing the control 709 shown in (f) in FIG. Figure 7 The interface shown in (g) is the second interface, and the user can edit the second structured data on the second interface to obtain the third structured data. The third structured data may contain more fields than the second structured data, or may contain fewer fields than the second structured data. Figure 7 The "associated person" and its contents (user A), the "document number" and its contents (110xxxxxxxxxxxxxxx), the "document effective date" and its contents (June 1, 2024), and the "document expiration date" and its contents (June 1, 2034) shown in (h) can all be understood as fields in structured data.

[0260] It should be noted that, in order to avoid frequently prompting the user to edit or confirm structured data, the electronic device can also preset certain trigger scenarios. Under the preset scenarios, the electronic device reminds the user to edit or confirm structured data.

[0261] Optionally, in a preset scenario, a third interface is displayed, the third interface includes a first prompt message, the first prompt message is used to prompt the user to confirm the first structured data, and the preset scenario is related to the usage status of the electronic device and / or the status of the structured data.

[0262] The use status of an electronic device can be understood as the state of the electronic device itself (for example, the unlocking or locking status of the electronic device), or the state of the user's interaction with the electronic device (for example, whether the user responds to the prompt information sent by the electronic device). The state of structured data can be understood as the use status of structured data (for example, the scene of using memory, the electronic device calling memory items), or the amount of structured data to be confirmed.

[0263] Optionally, when the preset scenario is related to the usage status of the electronic device, the preset scenario includes at least one of the following: when the electronic device is unlocked for the first time every day, after a first time period in which the electronic device does not detect the user's feedback operation to the first prompt information; when the preset scenario is related to the status of a structured receipt, the preset scenario includes at least one of the following: when the electronic device calls up a memory entry, when the number of structured data to be confirmed reaches a preset threshold.

[0264] Scenario 1: When unlocking an electronic device for the first time every day. For example, after 6 a.m. every day, when the electronic device is unlocked for the first time, the user is prompted to edit or confirm.

[0265] Scenario 2: After the electronic device detects no user feedback operation on the first prompt information for the first period of time. For example, if the user does not open the confirmation memory interface for 3 consecutive days (i.e., the user does not perform feedback operation on the first prompt information), the electronic device will default to not prompt again within 7 days, and will remind the user to confirm again after 7 days.

[0266] Scenario 3: When the electronic device calls a memory entry. For example, when the user calls a memory entry (or memory information) by waking up the voice assistant or opening the memory homepage (for example, the interface or prompt box of the memory application), the electronic device prompts the user to edit or confirm.

[0267] Scenario 4: When the number of structured data to be confirmed reaches a preset threshold. For example, when the number of structured memory data to be confirmed reaches 20, the electronic device prompts the user to edit or confirm.

[0268] It should be noted that the specific way in which the electronic device prompts the user to edit or confirm structured memory data may include voice prompts, pop-up prompts, prompt box prompts or notification push prompts, etc. The embodiments of the present application do not limit the specific way of prompting.

[0269] Of course, if the first structured data obtained after the large model conversion is accurate, the electronic device can directly use the obtained first structured data as the first memory entry without the need for user confirmation.

[0270] It should be noted that if Figure 7 In the GUI shown in (h), the contents in the certificate effective date option 712 and the certificate effective date option 713 can be edited manually by the user or automatically by the electronic device.

[0271] Optionally, by memorizing the first user data of the first application, N fields out of M fields are obtained, M is greater than N, and N is a positive integer greater than or equal to 1; the third user data of the first application is obtained, and the third user data is associated with the first user data; by memorizing the third user data of the first application, L fields are obtained, and the L fields include at least part of the fields in the M fields except the N fields, and L is a positive integer greater than or equal to 1.

[0272] For example, Figure 7In the GUI shown in (g), the first structured data should completely include 4 fields, namely, "associated person" and its contents, "document number" and its contents, "document effective date" and its contents, and "document expiration date" and its contents. When the electronic device memorizes the back image of the ID card in the gallery application (the first user data of the first application), the first structured data including 2 fields can be obtained, namely, the first structured data including "associated person" and its contents (user A), "document number" and its contents (110xxxxxxxxxxxxxxx). When the electronic device memorizes the front image of the ID card in the gallery application (the third user data of the first application), the other two fields can be obtained, namely, the fields including "document effective date" and its contents (June 1, 2024) and "document expiration date" and its contents (June 1, 2034).

[0273] It is understandable that, by memorizing the first user data and the third user data, the memorized identifiers of the structured data respectively obtained are the same, but the field contents may be different.

[0274] For another example, a motor vehicle driver's license includes two pictures, and the electronic device obtains the first picture of the driver's license through the gallery application and obtains fields including name, address, date of birth, etc. The electronic device also obtains the second picture of the driver's license through the gallery application and obtains a field including the internship period.

[0275] It should be noted that the structured memory data proposed in the embodiments of the present application is structured data.

[0276] It should be noted that the process of memorizing user data by the electronic device requires a lot of power consumption, so the first user data can be memorized during the charging process of the electronic device. In addition, sometimes the user data needs to be memorized through the server, so the first user data can be memorized when the electronic device is connected to a wireless network (wireless fidelity, WiFi).

[0277] In the scenario where the user uses memory, if the authorization switch of the application is not turned on in advance, the electronic device can also prompt the user to turn on the switch.

[0278] Optionally, in response to a third instruction from the user, a fourth interface is displayed, the fourth interface including a second prompt message, the second prompt message being used to prompt the user to authorize the electronic device to memorize user data of the second application, the third instruction being used to call a third memory entry, the third memory entry being associated with the second application.

[0279] For example, if the user has not turned on the authorization switch of the second application in advance, the third instruction may be an instruction for the user to request to call a memory item in the memory usage scenario, or it can be understood that the third instruction may be an instruction for the user to request to call at least some fields in the structured data in the memory usage scenario. Figure 7 In the GUI shown in (i), the structured data or memory entry called may include a complete "attend online meeting" field and a meeting time "8:00-10:00" field, and may also include a partial "go to the supermarket to buy daily necessities" field.

[0280] In addition, in the scenario where the user uses memory, the label can be used to distinguish whether the memory entry is automatically generated by the electronic device after authorization or generated without authorization.

[0281] Optionally, the first memory entry includes indication information for indicating that the memory information originates from the first application.

[0282] For example, Figure 7 In the voice assistant interface described in (k), the first memory item is the "concert" memory information, and a prompt label 719 is displayed next to the "concert" memory information, showing "memory". This indicates that the user authorizes the electronic device to memorize the user data of the memorandum application, so that the electronic device can automatically generate the "concert" memory information, that is, the "concert" memory information comes from the memorandum application.

[0283] Based on the above solution, the electronic device obtains the user data of the application with the user's authorization, and processes the user data to generate device memory. This process can be imperceptible to the user, which can bring more surprises to the user experience.

[0284] The embodiment of the present application provides a computer program product, which, when executed on a device, enables the device to execute the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above method-related embodiments, and will not be described in detail here.

[0285] The embodiment of the present application provides a readable storage medium, which contains instructions. When the instructions are executed on a device, the device executes the technical solution of the above embodiment. The implementation principle and technical effect are similar and will not be repeated here.

[0286] The embodiment of the present application provides a chip, which is used to execute instructions. When the chip is running, the technical solution in the above embodiment is executed. The implementation principle and technical effect are similar and will not be repeated here.

[0287] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.

[0288] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and units (modules) can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0289] In the several embodiments provided in the present application, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0290] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0291] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0292] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0293] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for data processing, characterized in that: The method comprises: Displaying a first interface, the first interface including a first control, the first control being used to authorize the electronic device to memorize user data of the first application; detecting that the user authorizes the electronic device to memorize the user data of the first application through the first control; Obtaining first structured data by processing first user data of the first application; In response to a first instruction from a user, a first memory entry is generated according to the first structured data, wherein the first instruction is used to indicate that the first structured data is accurate.

2. The method according to claim 1, characterized in that The method further comprises: Obtaining second structured data by processing second user data of the first application; In response to a second instruction from the user, displaying a second interface, where the second interface is an editing interface for the second structured data; In response to a user operation on the second interface, modifying the second structured data into third structured data; A second memory entry is generated according to the third structured data.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: In a preset scenario, a third interface is displayed, wherein the third interface includes first prompt information, wherein the first prompt information is used to prompt a user to confirm the first structured data, and the preset scenario is related to a usage status of the electronic device and / or a status of the structured data.

4. The method according to claim 3, characterized in that When the preset scenario is related to the usage status of the electronic device, the preset scenario includes at least one of the following: When the electronic device is unlocked for the first time every day, after a first period of time when the electronic device does not detect a user's feedback operation on the first prompt information; When the preset scenario is related to the state of the structured data, the preset scenario includes at least one of the following: When the electronic device calls the memory entry and the amount of the structured data to be confirmed reaches a preset threshold.

5. The method according to any one of claims 1 to 4, characterized in that The first user data is processed during the charging process of the electronic device and / or when the electronic device is connected to a wireless network WiFi.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: In response to the user's third instruction, a fourth interface is displayed, and the fourth interface includes a second prompt information, and the second prompt information is used to prompt the user to authorize the electronic device to memorize the user data of the second application. The third instruction is used to call a third memory entry, and the third memory entry is associated with the second application.

7. The method according to any one of claims 1 to 6, characterized in that The first memory entry includes indication information for indicating that the memory information originates from the first application.

8. The method according to any one of claims 1 to 7, characterized in that The memory entry is displayed in any of the following ways: Cards, controls, labels, options, bullet screens, pop-up windows, dialog boxes or floating windows.

9. The method according to any one of claims 1 to 8, characterized in that The first structured data includes M fields, and the first structured data is obtained by processing the first user data of the first application, including: By processing the first user data of the first application, N fields of the M fields are obtained, where M is greater than N, and N is a positive integer greater than or equal to 1; The method further comprises: Acquire third user data of the first application, where the third user data is associated with the first user data; By processing the third user data of the first application, L fields are obtained, and the L fields include at least part of the fields in the M fields except the N fields, and L is a positive integer greater than or equal to 1.

10. An electronic device, characterized in that: include: one or more processors; one or more memories; The one or more memories store one or more computer programs, and the one or more computer programs include instructions, which, when executed by the one or more processors, enable the electronic device to perform the method as claimed in any one of claims 1 to 9.

11. A data processing device, characterized in that: include: A processor coupled to a memory, the memory being used to store a computer program, the processor being used to run the computer program so that the data processing device performs the method according to any one of claims 1 to 9.

12. The data processing device according to claim 11, characterized in that: Also included is one or more of the memory and the transceiver, wherein the transceiver is used to receive signals and / or send signals.

13. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a computer, the computer is caused to implement the method according to any one of claims 1 to 9.

14. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 9.

15. A chip, characterized in that: The chip includes a processor and a data interface, and the processor reads instructions stored in a memory through the data interface to execute the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Smart cloud retrieval system and method

    CN111723273A

  • Personal sensitive data processing method and device, equipment and storage medium

    CN117763599A

  • Memory content generation, management, and monetization platform

    US20080021920A1

  • Presenting structured contents with search results, generating feeds & establishing communication based on search activities and enabling search result item associated user actions and reactions

    WO2019193407A1