Data processing methods, terminal devices, readable media, and program products

By proactively recommending and automatically executing card and document functions when a card or document image is detected on the terminal device, the problem of cumbersome user operations is solved, and the user experience is improved.

CN122131933APending Publication Date: 2026-06-02HONOR DEVICE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2025-01-27
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

In the process of recognizing card information in card images using image recognition applications, the user operation is cumbersome, which affects the user experience.

Method used

When the terminal device detects a card image, it proactively recommends multiple card functions to the user and automatically extracts and executes relevant card information based on the user's selected function, reducing manual operation by the user.

Benefits of technology

It simplifies the user operation process and improves the user experience. Users no longer need to manually extract and enter card information; they can directly execute the corresponding functions by selecting controls.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122131933A_ABST
    Figure CN122131933A_ABST
Patent Text Reader

Abstract

This application relates to the field of computer technology, specifically to a data processing method, a terminal device, a computer-readable medium, and a program product. Based on the data processing method provided in the embodiments of this application, when the terminal device detects that a card image is included in the display interface, it can display multiple controls corresponding to multiple card functions, providing the user with an entry point to trigger the card function. Then, based on the user's selection of the first control corresponding to the first card function, the terminal device can automatically extract the card information corresponding to the first card function from the displayed card image, and execute the first card function based on the first card information according to the first application implementing the first card function. Thus, the user does not need to manually extract the first card information or manually enter it into the first application, effectively reducing the complexity of user operations and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, specifically to a data processing method, terminal device, computer-readable medium, and program product. Background Technology

[0002] Cards and certificates (such as ID cards, bank cards, passports, driver's licenses, etc.) usually record user information, such as ID card number, bank card number, passport number, driver's license number, etc. (hereinafter, the user information recorded on cards and certificates is referred to as card information).

[0003] To facilitate users quickly inputting card and document information into applications, terminal devices can use image recognition applications to recognize images of cards and documents selected by the user or captured by the terminal device (hereinafter referred to as card and document images) to obtain the card and document information from the images. These image recognition applications include those capable of extracting text information from images.

[0004] However, the process of recognizing card information in card images using image recognition applications is cumbersome for users, impacting user experience. For example, the terminal device needs to launch the image recognition application based on user input and import the card image into it to identify the card information. Then, the terminal device can copy the card information to the clipboard based on user input and switch to the application (APP) where the card information needs to be entered, such as a note-taking app, so that the user can paste the copied card information into that application. Summary of the Invention

[0005] This application provides a data processing method, terminal device, computer-readable medium, and program product that can proactively recommend card-related functions to users when a card image is displayed on the terminal device, thereby improving the user experience.

[0006] In a first aspect, this application provides a data processing method applied to a terminal device. The method includes: detecting that a first interface includes at least one card image; displaying multiple controls corresponding to multiple card functions, wherein the card functions include functions related to at least a portion of card information in the card image; detecting an operation by a user selecting a first control among the multiple controls, wherein the first control corresponds to a first card function among the multiple card functions; and executing the first card function based on first card information through a first application corresponding to the first card function, wherein the first card information is card information in at least one card image corresponding to the first card function.

[0007] Here, when the terminal device detects that the currently displayed first interface includes a card image, it proactively recommends multiple card functions to the user. Based on the user's selected first card function, it extracts the corresponding first card information from the card image, and then executes the first card function through the first application based on the first card information. In this way, the user can intuitively understand which card functions can be performed on the displayed card image. Furthermore, it eliminates the need for the user to manually extract the first card information from the card image or manually import it into the first application, effectively reducing the complexity of user operations and improving the user experience.

[0008] The terminal device may be terminal device 10 as referred to below, and the first interface may be an interface on terminal device 10 that displays a card image, such as interface 200, interface 500, interface 600, interface 700, interface 701, interface 702, interface 900, interface 902, interface 905, interface 910, interface 910', interface 1000, and interface 1003 as referred to below. At least one card image may be an image displayed on the first interface that includes one or more card images.

[0009] In one possible implementation of the first aspect described above, the terminal device includes a second application, wherein displaying multiple controls corresponding to multiple card functions includes: the second application displaying multiple controls when it detects that the first interface includes at least one card image.

[0010] Here, the second application could be an image recognition application, such as a smart assistant. In one example, the terminal device 10 could detect whether the displayed interface includes a card image based on the smart assistant, and then display multiple controls corresponding to different card functions based on the smart assistant.

[0011] In one possible implementation of the first aspect described above, the first interface includes a second control corresponding to the second application, wherein when the second application detects that the first interface includes at least one card image, it displays multiple controls corresponding to the multiple card functions respectively, including: in response to the user clicking the second control, when the second application detects that the first interface includes at least one card image, it displays multiple controls corresponding to the multiple card functions respectively.

[0012] Here, terminal device 10 can detect whether a card image is displayed when the user actively invokes the second application. This method recommends multiple card functions to the user only when the user needs to perform card functions, avoiding redundant display of multiple controls when the user does not need to perform card functions. The second control can be control 50a as described below.

[0013] In one possible implementation of the first aspect described above, the multiple card functions are determined based on the content of card information in at least one card image.

[0014] Here, the terminal device can recommend multiple card functions related to the content of the displayed card image to the user, so that the recommended multiple card functions can be adaptively adjusted according to the displayed card image, further improving the user experience.

[0015] In one possible implementation of the first aspect described above, the first card information is identified by a first application or a second application from at least one card image.

[0016] Here, the first card information can be extracted by the first application or by the second application.

[0017] In one possible implementation of the first aspect described above, the first interface includes multiple card images, wherein the first card information includes card information corresponding to the first card function in each of the multiple card images, or the first card information includes card information corresponding to the first card function in one or more card images selected by the user among the multiple card images.

[0018] Here, the scenario where the first interface includes multiple card images can be the multi-card scenario described below. In one example of the multi-card scenario, the terminal device 10 can extract the first card information from all the card images to perform the first card function. For example, when multiple card images in the first interface belong to the same card of the same person, the following save or favorite function is performed, as detailed below. Figure 9a and Figure 9j For example, when multiple card images on the first interface belong to multiple business cards, the "Create New Contact" function will be executed. See below for details. Figure 11a And its explanation. Furthermore, when multiple card images in the first interface belong to the same person and multiple cards, it can also be based on... Figure 9a and Figure 9j The essentially the same process performs the save or favorite function.

[0019] In another example, terminal device 10 may restrict the user to selecting only one card image and perform a first card function based on first card information in the selected card image. For example, performing a copying function (e.g., copying an ID number) on the selected card image is detailed below. Figure 10a , Figure 10b and Figure 10c For example, the following call function can be performed on a card image selected by the user, as detailed below. Figure 11b And its explanation.

[0020] In another example, terminal device 10 may extract first card information from multiple card images selected by the user to perform a first card function. For example, it may perform a save or favorite function on the multiple card images selected by the user, as detailed below. Figures 9b to 9f And its explanation.

[0021] In one possible implementation of the first aspect described above, the first interface includes multiple card images, and the first application corresponding to the first card function executes the first card function based on the first card information, including: when the multiple card images include card information of at least two people, displaying controls corresponding to each person; and in response to the user's selection operation of the controls of one or more of the at least two people, executing the first card function based on the first card information, wherein the first card information includes card information corresponding to one or more people in the multiple card images.

[0022] Here, if the multiple card images displayed by the terminal device 10 in a multi-card scenario correspond to multiple people, the terminal device 10 can display controls corresponding to different people, such as the radio button 911b and radio button 911c described below. Furthermore, the first card function can be executed based on the card information in the card image of the person selected by the user, as detailed below. Figure 9g And its explanation.

[0023] In one possible implementation of the first aspect described above, the card function includes at least one of the following: storage function, copying function, call function, new contact creation function, navigation function, instant messaging function, and SMS function. Here, the aforementioned storage function includes the save function and / or favorites function described below.

[0024] In one possible implementation of the first aspect above, corresponding to the first function being a storage function, the first card information includes all card information in at least one card image; or, corresponding to the first function being a copying function, the first card information includes all or part of the card information in at least one card image; or, corresponding to the first function being a call function, the first card information includes telephone number information and / or social media account information in the card information in at least one card image; or, corresponding to the first function being a new contact function, the first card information includes contact information and contact information in the card information in at least one card image; or, corresponding to the first function being a navigation function, the first card information includes address information in the card information in at least one card image; or, corresponding to the first function being an instant messaging function, the first card information includes social media account information in the card information in at least one card image; or, corresponding to the first function being an SMS function, the first card information includes telephone number information in the card information in at least one card image.

[0025] In one possible implementation of the first aspect above, executing the first card function based on the first card information through the first application corresponding to the first card function includes: executing the first card function based on the first card information through the first application corresponding to the first card function, and displaying a second interface of the first application corresponding to the first card function.

[0026] Specifically, the first card function is a first type of function. The first application corresponding to the first card function executes the first card function based on the first card information, including: displaying a second interface of the first application's first card function, wherein the second interface includes the first card information, and executing the first card function based on the second interface and the first card information in the second interface.

[0027] The first category of functions includes at least one of the following: storage function, call function, navigation function, instant messaging function, and SMS function. Additionally, the first category of functions may also include the function to create new contacts.

[0028] The second interface may include the interface of the first application that the terminal device 10 automatically jumps to, including the following: notes interface, personal information interface, dialer interface, contacts interface, etc.

[0029] In a second aspect, this application provides a terminal device, including: one or more processors; one or more memories; the one or more memories storing one or more programs, which, when executed by one or more processors, cause the terminal device to perform the data processing method provided by the first aspect and various possible implementations of the first aspect.

[0030] Thirdly, this application provides a computer-readable medium storing instructions that, when executed on a computer, cause the computer to perform the data processing method provided by the first aspect and various possible implementations of the first aspect.

[0031] Fourthly, this application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the data processing method provided by the first aspect and various possible implementations of the first aspect.

[0032] The beneficial effects of the second to fourth aspects mentioned above can be referred to the relevant descriptions in the first aspect and its various possible implementations, which will not be repeated here. Attached Figure Description

[0033] Figure 1a The diagram shown is a schematic representation of the changes in the operation interface for extracting card information provided in an embodiment of this application.

[0034] Figure 1bThe diagram shown is a schematic representation of the changes in the user interface for inputting card information into an application provided in an embodiment of this application.

[0035] Figure 2 The diagram shown is a schematic representation of the changes in the operation interface for storing card information in a card image according to an embodiment of this application.

[0036] Figure 3 The diagram shown is an implementation flowchart of a data processing method provided in an embodiment of this application.

[0037] Figure 4 The diagram shown is a flowchart illustrating a data processing method based on an intelligent assistant, as provided in an embodiment of this application.

[0038] Figure 5a The diagram shown is an operation diagram for activating a smart assistant according to an embodiment of this application.

[0039] Figure 5b The image shown is a schematic diagram of an interface for selecting the save function provided in an embodiment of this application.

[0040] Figure 5c The diagram shown is a schematic representation of an interface for implementing the save function according to an embodiment of this application.

[0041] Figure 5d The diagram shown is a schematic of another interface for implementing the save function provided in an embodiment of this application.

[0042] Figure 5e The diagram shown is a schematic of a personal information interface provided in an embodiment of this application.

[0043] Figure 5f The diagram shown is a schematic representation of another interface for implementing the save function provided in an embodiment of this application.

[0044] Figure 5g The image shown is a schematic diagram of an interface that requests user confirmation on whether to update personal information, according to an embodiment of this application.

[0045] Figure 6a The image shown is a schematic diagram of an interface for implementing the collection function according to an embodiment of this application.

[0046] Figure 6b The diagram shown is a schematic of another interface for implementing the collection function provided in an embodiment of this application.

[0047] Figure 7a The diagram shown is a schematic representation of an interface for implementing the function of copying ID numbers according to an embodiment of this application.

[0048] Figure 7b The diagram shown is a schematic of another interface for implementing the function of copying ID numbers provided in an embodiment of this application.

[0049] Figure 7c The image shown is a schematic diagram of an error feedback interface provided in an embodiment of this application.

[0050] Figure 7d The image shown is a schematic diagram of an interface for implementing the function of creating a new contact according to an embodiment of this application.

[0051] Figure 7e The image shown is a schematic diagram of an interface for implementing a call function according to an embodiment of this application.

[0052] Figure 7f The diagram shown is a schematic of another interface for implementing the function of creating a new contact provided in an embodiment of this application.

[0053] Figure 7g The diagram shown is a schematic representation of the processing procedure after the permission for creating a new contact is turned off, according to an embodiment of this application.

[0054] Figure 7h The diagram shown is a schematic of another interface for implementing the call function provided in an embodiment of this application.

[0055] Figure 7i The image shown is a schematic diagram illustrating the effect of implementing a call function according to an embodiment of this application.

[0056] Figure 8a The diagram shown is a flowchart illustrating how to implement the target card function in a multi-card scenario according to an embodiment of this application.

[0057] Figure 8b The diagram shown is a schematic diagram of a solution for implementing card and certificate functions in a multi-card and certificate scenario provided by an embodiment of this application.

[0058] Figure 9a The diagram illustrates the process of saving multiple card images corresponding to the same card, as provided in an embodiment of this application.

[0059] Figure 9b The diagram illustrates the process of saving multiple card images corresponding to different cards of the same person, as provided in an embodiment of this application.

[0060] Figure 9c The diagram illustrates the process of saving multiple card images corresponding to the cards of multiple individuals, as provided in this embodiment of the application.

[0061] Figure 9d The image shown is an example of display content provided in this application embodiment. Figure 9c At the same time, a schematic diagram of the process of implementing the save function is shown.

[0062] Figure 9eThe diagram illustrates another process for implementing the saving function when multiple card images correspond to the cards of multiple people, as provided in this application embodiment.

[0063] Figure 9f The image shown is an example of display content provided in this application embodiment. Figure 9e At the same time, a schematic diagram of the process of implementing the save function is shown.

[0064] Figure 9g The diagram illustrates the process of saving multiple card images when they correspond to the cards of multiple people, as provided in another embodiment of this application.

[0065] Figure 9h The diagram shown is a schematic representation of another process for implementing the save function according to an embodiment of this application.

[0066] Figure 9i The diagram illustrates the process of implementing a collection function when multiple card images correspond to the same card, as provided in an embodiment of this application.

[0067] Figure 9j The diagram illustrates the process of implementing a collection function when multiple card images correspond to different cards of the same person, as provided in an embodiment of this application.

[0068] Figure 10a The diagram shown is a schematic of the interface for implementing the function of copying the certificate number in a multi-card and certificate scenario provided in an embodiment of this application.

[0069] Figure 10b The diagram shown is a schematic of the interface for implementing the function of copying the certificate number in another multi-card certificate scenario provided by an embodiment of this application.

[0070] Figure 10c The diagram shown is a schematic of the interface for implementing the function of copying the certificate number in another multi-card certificate scenario provided by an embodiment of this application.

[0071] Figure 11a The diagram shown is a schematic of an interface for implementing the function of creating a new contact in a multi-card scenario provided by an embodiment of this application.

[0072] Figure 11b The diagram shown is a schematic representation of an interface for implementing call functionality in a multi-card scenario, as provided in an embodiment of this application.

[0073] Figure 11c The diagram shown is a schematic of another interface for implementing the function of creating a new contact in a multi-card scenario provided by an embodiment of this application.

[0074] Figure 11d The diagram shown is another schematic of the interface for implementing call function in a multi-card scenario provided by an embodiment of this application.

[0075] Figure 12 The diagram shown is a structural schematic of a terminal device 10 provided in an embodiment of this application.

[0076] Figure 13 The diagram shown is a software structure block diagram of a terminal device 10 provided in an embodiment of this application. Detailed Implementation

[0077] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be described in detail below with reference to the accompanying drawings and specific implementation methods.

[0078] It is understood that the terminal device in the embodiments of this application may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a mobile phone, smart TV, wearable device, tablet computer, computer with wireless transceiver function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in self-driving vehicles, wireless terminal in smart homes, or other terminal devices with shooting and image storage functions. The following description uses terminal device 10 as an example.

[0079] As mentioned earlier, the process of recognizing card information in card images using image recognition applications is cumbersome for users, affecting the user experience.

[0080] For example, Figure 1a The diagram illustrates a change in the user interface for retrieving card information.

[0081] See Figure 1a Terminal device 10 can extract card information from card images through image recognition applications. The following explanation uses a smart assistant as an example.

[0082] Specifically, the terminal device 10 can run the smart assistant based on user operations and display the smart assistant's interface 100. The interface 100 includes controls 100a, which are used to import data into the smart assistant, such as audio, files, pictures, and videos.

[0083] After detecting a user's click on control 100a, terminal device 10 can display control 100b on interface 100 for importing images or videos to the smart assistant. Upon detecting a user's click on control 100b, terminal device 10 can display interface 101, which can be used to display images and videos stored on terminal device 10, such as image 102 in interface 101. Image 102 includes two card images.

[0084] Furthermore, upon detecting a user's click on image 102 in interface 101, terminal device 10 can import image 102 into the smart assistant, enabling the smart assistant to recognize card information in image 102 and display the recognized card information in display box 100c. For example, display box 100c can display the card information of a bank card in image 102.

[0085] Furthermore, Figure 1b This diagram illustrates a change in the user interface for entering card information into an application.

[0086] See Figure 1b In a scenario where a user needs to record card information from image 102 recognized by the smart assistant in a note-taking application: the terminal device 10 can copy the text "Name: AA Bank Card Number: 1122334455667788" selected by the user to the clipboard based on the user's copy operation on the display box 100c. The copy operation can include a long press on the card information displayed in the display box 100c, or selecting the copy control after long-pressing to select the card information to be copied, or other operations.

[0087] Continue to refer to Figure 1bThe terminal device can respond to the user's operation of launching the note-taking application (e.g., the user controls the terminal device to display the desktop 110 and then clicks the note-taking application icon 110a), run the note-taking application, and display the note list interface 111 of the notebook application. The note list interface 111 includes an icon 111a for creating new notes. The terminal device 10 can respond to the user's click on icon 111a and display the note interface 112. The terminal device 10 can respond to the user's paste operation in the notebook interface 112 (e.g., long-pressing the note interface 112 and then selecting the paste control), pasting the card information from the clipboard into the note interface 112. Clearly, based on the foregoing, users need to perform multiple operations (such as the aforementioned user operation of running the smart assistant, clicking on control 100a, clicking on control 100b, clicking on image 102, copying card information, clicking on icon 110a, clicking on icon 111a, and pasting on notebook interface 112) to extract card information from the card image and enter the card information into the notes of the note-taking application. The operation process is cumbersome, resulting in a poor user experience.

[0088] To address the aforementioned technical problems, this application provides a data processing method. In this method, when a terminal device detects a card image on the display interface, it can display multiple controls corresponding to various card functions, providing the user with an entry point to trigger these functions. Then, based on the user's selection of the first control corresponding to the first card function, the terminal device automatically extracts the card information corresponding to the first card function from the displayed card image and executes the first card function based on this information, according to the first application implementing the first card function. This eliminates the need for the user to manually extract or input the first card information into the first application, effectively reducing the complexity of user operations and improving the user experience.

[0089] It should be noted that the aforementioned card and document functions may include a variety of functions related to at least some of the card and document information in the card and document image. For example, card and document functions may include saving, favorites, copying ID number, copying address, copying name, copying contact information, copying all information, calling, creating new contacts, navigation, instant messaging, and SMS functions, etc.

[0090] The save function is used to save all card information in the card image to personal information, such as to applications or services such as personal information management services in the terminal device 10 for storing personal information.

[0091] The Favorites feature allows you to save all card information from a card image to the Notes app.

[0092] The "Copy ID Number" function copies the ID number information that may be included in the card information of the card image. The "Copy Address" function copies the address information that may be included in the card information of the card image. The "Copy Name" function copies the name information that may be included in the card information of the card image. The "Copy Contact Information" function copies the contact information that may be included in the card information of the card image, which may include website address, email address, phone number, social media account information, etc. The "Copy All Information" function copies all card information from the card image.

[0093] The calling function is used to make phone calls based on phone number information or social media account information that may be included in the card information in the card image. For example, when the card information includes phone number information, the calling function can be a function of a calling application to make phone calls based on the phone number information. As another example, when the card information includes social media account information, and the user of terminal device 10 and the user corresponding to the social media account information are contacts of each other, the calling function can be an audio or video calling function of an instant messaging application.

[0094] The Create Contact function is used to create new contacts based on the phone number information and contact information that may be included in the card information in the card image.

[0095] The navigation function is used to navigate based on address information that may be included in the card information in the card image.

[0096] The instant messaging function is used for instant communication based on social media account information that may be included in the card information of the card image. For example, when the user of terminal device 10 and the user corresponding to the social media account information are contacts of each other, the instant messaging function can be the chat function of an instant messaging application.

[0097] The SMS function is used to send SMS messages based on the phone number information that may be included in the card information in the card image.

[0098] It is understood that the above card and certificate functions are all examples. Any function that can perform business logic based on all or part of the card and certificate information is within the protection scope of the card and certificate functions in this application embodiment. This application embodiment does not make any restrictive descriptions on the specific types of card and certificate functions.

[0099] For example, Figure 2 This diagram illustrates the changes in the user interface for storing card information in a card image.

[0100] Specifically, the terminal device 10 displays the aforementioned image 102 in the interface 200. In this scenario, the terminal device 10 can display multiple controls corresponding to multiple card functions (only three controls are shown in the figure as an example), such as control 200a (as an example of the "first control"). Control 200a corresponds to the collection function of collecting card information into notes (as an example of the "first card function").

[0101] Furthermore, based on the user's operation of the control 200a (e.g., clicking on the control 200a), the terminal device 10 can automatically extract the card information from the image 102 and automatically run a note-taking application (as an example of a "first application") to implement the collection function. Specifically, the terminal device 19 can automatically switch to the note-taking interface 210 of the note-taking application and display the extracted card information in the note-taking interface 210. Here, the image 102 includes two card images, therefore, the note-taking interface 210 can display the card information from the two card images, namely "Name: AA Bank Card Number: 1122334455667788 Name: BB Bank Card Number: 8877665544".

[0102] Clearly, users only need to select control 200a to enter all the card information in image 102 into the note-taking application interface 210, effectively reducing the complexity of user operations and improving the user experience.

[0103] Furthermore, in one example, the terminal device can implement the aforementioned data processing method based on a smart assistant. Specifically, the terminal device can detect whether the displayed interface includes a card image based on the smart assistant. If the displayed interface includes a card image, the terminal device can display multiple controls corresponding to multiple card functions based on the smart assistant. Then, based on the user selecting the first control corresponding to the first card function, the smart assistant can automatically extract the card information corresponding to the first card function from the displayed card image, and execute the first card function based on the first card information according to the first application implementing the first card function.

[0104] In one example of performing a first card function, a smart assistant can extract card information related to the first card function from the card image and import the card information into a first application so that the first application can perform the first card function based on the imported card information.

[0105] For example, a smart assistant can send card images to the cloud to extract target card information from the images using a large model in the cloud. The smart assistant can then receive the target card information returned from the cloud.

[0106] In another example of performing the first card function, if the first application is able to extract card information from the card image, the smart assistant can import the card image into the first application so that the first application can extract card information related to the first card function based on the imported card image and perform the first card function according to the card information.

[0107] The data processing method provided in the embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0108] It should also be stated that the steps in the methods and processes in this application are numbered for ease of reference, not to limit the order of steps. If there is an order between the steps, the textual description shall prevail.

[0109] For example, Figure 3 An implementation flowchart of a data processing method is shown according to an embodiment of this application.

[0110] For ease of description, the terminal device 10 will be used as the execution subject in the following description of each step, and the execution subject will not be described again in the following text.

[0111] See Figure 3 The implementation process of the data processing method may include:

[0112] S300: At least one card image has been detected in the first interface.

[0113] For example, the terminal device 10 can detect that the first interface includes at least one card image, wherein the first interface may be an interface displayed by the terminal device 10.

[0114] In one example, terminal device 10 may display a card image on a first interface. This card image includes an image of any side of a card, such as the back of an ID card (the side with the portrait), or the front of a bank card (the side with the card number). For ease of description, the scenario where terminal device 10 displays only a single card image will be referred to below as a single-card scenario. Specifically, terminal device 10 may display a single image on the first interface, and this image may contain only a single card image.

[0115] In another example, terminal device 10 may display multiple card images on a first interface. These multiple card images can be images of different sides of a single card, and / or images of multiple cards. Images of different sides of a single card can be the front and back of an ID card, the front and back of a bank card, etc. Images of multiple cards can be the back of an ID card and the front of a bank card, the back of one ID card and the back of another ID card, etc. For ease of description, the scenario where terminal device 10 displays multiple card images will be referred to below as a multi-card scenario. Specifically, terminal device 10 may display a single image on the first interface, and this image may include multiple card images.

[0116] Here, cards and certificates may include business licenses, bank cards, vehicle registration certificates, ID cards, business cards, driver's licenses, passports, the first page of a household registration book, the personal page of a household registration book, student ID cards, etc. This application does not make any restrictive statements on the types and contents of cards and certificates.

[0117] S301: Display multiple controls corresponding to multiple card functions, wherein the card functions include functions related to at least a portion of the card information in the card image.

[0118] For example, after detecting that the first interface includes a card image, the terminal device 10 can display multiple controls corresponding to multiple card functions respectively, so as to actively recommend multiple card functions to the user.

[0119] Here, the multiple card functions recommended by the terminal device 10 to the user can be multiple pre-set card functions, multiple card functions predetermined based on the user's selection, or multiple frequently used card functions updated according to the user's usage frequency at a preset cycle (three days, one week, one month, etc.). This application does not impose any restrictive description on the method of determining the multiple card functions recommended by the terminal device 10.

[0120] S302: The user's selection of the first control among multiple controls is detected, wherein the first control corresponds to the first card function among multiple card functions.

[0121] For example, terminal device 10 may detect that the user has selected a first control corresponding to a first card function among multiple card functions. This is equivalent to terminal device 10 detecting that the user needs to perform a first card function on at least one displayed card image. The first card function may be implemented by a first application.

[0122] For example, if the first card / certificate function is a copying function (including copying the ID number, address, name, contact information, and all information), the first application could be an input method application or other application that can copy the corresponding card / certificate information to the clipboard. If the first card / certificate function is a favorites function, the first application could be a note-taking application that can save the card / certificate information to notes. If the first card / certificate function is a save function, the first application could be a personal information management service that can save the card / certificate information to personal information. If the first card / certificate function is a calling function, the first application could be a calling application or instant messaging application that can make calls based on the phone number or social media account information in the card / certificate information. If the first card / certificate function is a new contact function, the first application could be a phonebook application (or contact application, etc.) that can create new contacts based on the contact information and phone number information in the card / certificate information. If the first card / certificate function is a navigation function, the first application could be a navigation application that can navigate to the address in the card / certificate information. If the first card / certificate function is an instant messaging function, the first application could be an instant messaging application that can conduct instant messaging based on the social media account information in the card / certificate information. If the first card / certificate function is an SMS function, the first application can be an SMS application capable of sending SMS messages based on the phone number information in the card / certificate information. It is understood that the above-described first card / certificate functions are merely examples. Any function capable of executing business logic based on all or part of the card / certificate information in the card / certificate image is within the protection scope of the first card / certificate function in this application embodiment. This application embodiment does not impose any limiting description on the specific type of the first card / certificate function.

[0123] S303: The first application corresponding to the first card function executes the first card function based on the first card information, wherein the first card information is the card information corresponding to the first card function in at least one card image.

[0124] For example, after determining that the user needs to perform a first card function on at least one displayed card image, the terminal device 10 can determine the card information corresponding to the first card function in at least one card image and use it as the first card information.

[0125] Specifically, if the first card / certificate function is to copy the ID number, the first card / certificate information can be the ID number information from at least one card / certificate image. If the first card / certificate function is to copy the address or navigation, the first card / certificate information can be the address information from at least one card / certificate image. If the first card / certificate function is to copy the name, the first card / certificate information can be the name information from at least one card / certificate image. If the first card / certificate function is to copy contact information, the first card / certificate information can be the contact information from at least one card / certificate image. If the first card / certificate function is to copy all information, add to favorites, or save, the first card / certificate information can be all card / certificate information from at least one card / certificate image. If the first card / certificate function is to create a new contact, the first card / certificate information can be the contact information and phone number information from at least one card / certificate image. If the first card / certificate function is a call function, the first card / certificate information can be the phone number information or social media account information from at least one card / certificate image. If the first card / certificate function is an instant messaging function, the first card / certificate information can be the social media account information from at least one card / certificate image.

[0126] Furthermore, after determining the first card information, the terminal device 10 can execute the first card function through the first application based on the first card information.

[0127] Understandable, based on Figure 3 As shown in the process, in a scenario where the terminal device 10 displays a card image, the terminal device 10 only needs to perform the operation of the first control corresponding to the first card function selected by the user to automatically extract the first card information and execute the first card function through the first application based on the first card information. This eliminates the need for the user to manually extract the first card information or manually enter it into the first application, effectively reducing the complexity of user operations and improving the user experience.

[0128] In one example, terminal device 10 can implement the data processing method provided in the embodiments of this application based on a smart assistant. The process by which terminal device 10 implements the aforementioned data processing method based on a smart assistant will be described in detail below.

[0129] For example, Figure 4 A flowchart illustrating how a terminal device 10 implements the aforementioned data processing method based on a smart assistant is shown. For ease of description, the terminal device 10 will be used as the execution subject in the following description of each step, and the execution subject will not be elaborated further below.

[0130] See Figure 4 The process by which the terminal device 10 implements the aforementioned data processing method based on the intelligent assistant may include:

[0131] S400: At least one card image was detected on the terminal device.

[0132] Here, the terminal device 10 can detect the displayed content of the terminal device 10 based on the intelligent assistant, and then detect that the terminal device 10 is displaying at least one card image based on the intelligent assistant.

[0133] In one example of a smart assistant-based content detection and display method, the terminal device 10 can activate the smart assistant to detect and display content based on user operation. Activating the smart assistant can involve bringing a background-running smart assistant to the foreground or starting the smart assistant program. The user operation to activate the smart assistant to detect and display content can be a shortcut operation, such as activating the smart assistant based on operation of a corresponding control, activating the smart assistant based on a wake word, activating the smart assistant based on a preset gesture, or activating the smart assistant based on operation of a physical button, etc.

[0134] For example, Figure 5a A schematic diagram illustrating how to activate a smart assistant is shown.

[0135] See Figure 5a The terminal device 10 currently displays an interface 500 that can show an image 500a and a corresponding control 50a for the smart assistant. The image 500a includes a card image. Furthermore, the terminal device 10 can activate the smart assistant based on the user's operation on the control 50a, so that the smart assistant detects that the image 500a in the interface 500 includes a card image. Here, the user's operation on the control 50a can be a click, a pull-up, a long press, etc., and this application does not impose any limiting description on this operation method.

[0136] In another example of detecting displayed content based on a smart assistant, the terminal device 10 can automatically invoke the smart assistant to detect the displayed content of the first interface when switching between displayed interfaces.

[0137] S401: Determine multiple card functions based on the content of at least one card image.

[0138] For example, the terminal device 10 may further detect the content of the displayed card image based on the intelligent assistant, so as to determine multiple card functions corresponding to the card image according to the content of the card image, and actively recommend the determined multiple card functions to the user based on the following S402.

[0139] Here, the various card functions recommended by the terminal device 10 to the user are related to the content of the displayed card image.

[0140] Specifically, if the smart assistant detects that the card image includes address information, the smart assistant can identify the card function related to the address information as the card function corresponding to the card image. For example, the navigation function and / or the address copying function can be identified as the card function corresponding to the card image.

[0141] If the smart assistant detects that the card image contains ID number information, it can identify the card function associated with the ID number as the card function corresponding to the card image. For example, it can identify the function of copying the ID number as the card function corresponding to the card image.

[0142] If the smart assistant detects that the card image includes contact information, it can identify the card function associated with that contact information as the corresponding card function. For example, it can identify at least one of the following: copy contact information, make a call, create a new contact, instant messaging, or SMS. For instance, if the contact information is a phone number, the smart assistant can identify at least one of these functions as the corresponding card function. Similarly, if the contact information is a social media account, the smart assistant can identify at least one of these functions as the corresponding card function.

[0143] In addition, for any card image displayed, the smart assistant can identify the favorites and save functions as the corresponding card functions.

[0144] S402: Displays multiple controls corresponding to various card functions.

[0145] For example, the terminal device 10 can proactively recommend multiple card functions corresponding to multiple card functions determined by the smart assistant display S401 to the user.

[0146] S403: The user has selected a target control from among multiple controls. The target control corresponds to the target card function implemented based on the target application.

[0147] For example, the terminal device 10 can detect that the user has selected a target control (i.e., the aforementioned first control) among multiple controls based on the intelligent assistant. Then, the terminal device 10 can determine based on the intelligent assistant that the user needs to perform the target card function (i.e., the aforementioned first application) of the target application (i.e., the first card function) on the displayed card image.

[0148] S404: Obtain target card information related to the target card function from at least one card image.

[0149] For example, the terminal device 10 can obtain target card information related to the target card function from at least one card image based on the intelligent assistant, which is the aforementioned first card information.

[0150] The terminal device 10 can obtain target card information based on the intelligent assistant in one of the following ways: by extracting target card information from at least one card image using the intelligent assistant; or by transmitting at least one card image to a target application using the intelligent assistant, so that the target application can extract target card information from at least one card image.

[0151] Here, in the aforementioned single-card scenario, terminal device 10 can acquire target card information from a card image. For ease of explanation, the details of how terminal device 10 acquires target card information in the single-card scenario will be described below. Figures 5b to 7e The example provided is merely a case study and will not be repeated here.

[0152] In the aforementioned multi-card scenario, terminal device 10 can acquire target card information from all displayed card images. Alternatively, terminal device 10 can acquire target card information from one or more card images selected by the user, among all displayed card images. Furthermore, if the displayed card images correspond to at least two people, terminal device 10 can acquire target card information from the card images corresponding to one or more people selected by the user. The details of how terminal device 10 acquires target card information in multi-card scenarios will be explained below. Figures 9a to 11b The example provided is merely a case study and will not be repeated here.

[0153] S405: Execute target card functions based on target card information through the target application.

[0154] For example, after the terminal device 10 obtains the target card information based on the aforementioned S404, it can execute the target card function through the target application based on the target card information.

[0155] The following text, in conjunction with the accompanying drawings, will take the target card functions, including the save function, favorite function, copy document number function, create contact function, and call function, as examples to specifically illustrate the process by which the terminal device 10 executes the target card functions based on the target card information through the target application in single-card and multi-card scenarios. The details will not be elaborated here.

[0156] It is understandable, based on the foregoing Figure 4 The process shown eliminates the need for users to manually extract target card information from card images or manually enter it into the target application during the implementation of the target card function. This effectively reduces the complexity of user operations and improves the user experience.

[0157] Below, we will combine the aforementioned Figure 4 The process and specific embodiments shown illustrate in detail the specific process by which the terminal device 10 executes the target card function based on the data processing method in single-card and multi-card scenarios.

[0158] For example, the specific process by which the terminal device 10 executes the target card function based on the data processing method in a single card scenario will be described in detail below.

[0159] Here, it will be based on the following Figures 5b to 7e The following explanations will be based on the following examples of target card functions: save function, favorite function, copy document number function, create contact function, and make phone call function.

[0160] The following will combine Figures 5b to 5f This section explains the process of performing the save function in a single-card scenario.

[0161] For example, Figure 5b A schematic diagram of an interface for selecting the save function is shown.

[0162] See Figure 5b Terminal device 10 can detect, based on the intelligent assistant, that the current interface 500 displays image 500a, where image 500a includes a card image, specifically, an image of the back of an ID card. Terminal device 10 can detect the content of image 500a based on the intelligent assistant, determining multiple card functions corresponding to image 500a, including save, favorite, copy ID number, and copy address functions. Then, terminal device 10 can display controls corresponding to the determined multiple card functions based on the intelligent assistant. Figure 5b Only the control 500b corresponding to the save function and the control corresponding to the favorite function are shown.

[0163] Furthermore, the terminal device 10 can detect that the user has clicked the control 500b based on the intelligent assistant, and determine that the user needs to perform the save function of the personal information management service (as an example of the target application) (as an example of the target card function) on the image 500a.

[0164] Since card information typically includes private information, to protect privacy, after detecting that the user has clicked on control 500b, terminal device 10 can display a verification window 500c based on the smart assistant for security verification, to verify whether the user has permission to extract card information from image 500a. Here, the permission verification method in verification window 500c can include any one of the following: password verification, facial recognition verification, fingerprint verification, etc.

[0165] After confirming that the user has permission to extract card information from image 500a, terminal device 10 can display the smart assistant window 500d and provide feedback to the user based on the prompt box 500f in window 500d, indicating that card information extraction is currently underway. For example, it can display a prompt such as "Extracting information...". Once the smart assistant has extracted all card information from image 500a (as an example of target card information) based on the large model, terminal device 10 can transfer the extracted card information to the personal information management service through the smart assistant and display a prompt box 500e in window 500d, providing feedback to the user based on prompt box 500e, indicating that the user is being redirected to the personal information management service. For example, it can display a prompt such as "Redirecting you to the personal information management service".

[0166] It is understood that the verification window 500c, prompt box 500f, and prompt box 500e are merely examples. In other embodiments, the terminal device 10 may also directly jump to the personal information management service upon detecting that the user has clicked the control 500b. For example, it may directly jump to and display the following personal information interface 501, personal information interface 504, or list interface 502.

[0167] Here, Figure 5c based on Figure 5b A schematic diagram of an interface for implementing the save function is shown.

[0168] See Figure 5c If terminal device 10 determines that the user is based on Figure 5a If the process shown uses the personal information management service for the first time, the terminal device 10 can jump to the personal information management service and display the personal information interface 501 of the personal information management service (as an example of a target interface). Here, the personal information management service can fill in the corresponding position of the incoming card information in the personal information interface 501.

[0169] Furthermore, the terminal device 10 can display a prompt window 501a above the personal information interface 501 to inform the user that the card information in the image 500a has been saved. For example, it can display a prompt such as "Card information has been saved on the local device..." When the user clicks the control 501b in the prompt window 501a, the terminal device 10 can display the personal information interface 501 to the user, which has been filled with the card information in the image 500a.

[0170] Specifically, the personal information management service can fill the name "Li Si" from image 500a into the display area 501c of the personal information interface 501, fill the address "City D District EE" from image 500a into the display area 501d, and fill the citizen identification number "999999999" from image 500a into the text content of control 501f.

[0171] Furthermore, the control 501f can be used to store the image 500a. The terminal device 10 can display the image 500a based on the user's click operation on the control 501f, so that the user can verify the card information automatically filled in the personal information interface 501 based on the image 500a.

[0172] It is understood that terminal device 10 can implement the saving function based on the personal information interface 501 filled with card information in the personal information management service. Correspondingly, terminal device 10 implements target card function based on target card information and target application.

[0173] In other embodiments, the terminal device 10 may also not display the prompt window 501a, but directly show the user the personal information interface 501 that has been filled with card information.

[0174] Here, Figure 5d based on Figure 5b A schematic diagram of another interface for implementing the save function is shown.

[0175] See Figure 5d If terminal device 10 determines that the user is not using the personal information management service for the first time, terminal device 10 can redirect to the personal information management service and display the personal information management service list interface 502 (as an example of a target interface). The list interface 502 is used to display which users' personal information has already been stored, and to create a new user's personal information.

[0176] In one example, terminal device 10 can detect that the user has selected control 502b for creating a new user in list interface 502. Correspondingly, the personal information management service can display personal information interface 504 for creating a new user and fill in the corresponding position of personal information interface 504 with the passed card information.

[0177] Here, the specific content of filling the card information into the personal information interface 504 is the same as mentioned above. Figure 5c The information filled in by the lieutenant general's card and certificate in the corresponding position on the personal information interface 501 is essentially the same; please refer to the aforementioned details. Figure 5c The detailed explanation is omitted here.

[0178] Figure 5f based on Figure 5b This diagram illustrates another interface for implementing the save function.

[0179] See Figure 5fIf terminal device 10 determines that the user is not using the personal information management service for the first time, terminal device 10 can redirect to the personal information management service and display the personal information management service list interface 502. Terminal device 10 can detect that the user has selected the control corresponding to a person in the list interface 502, and then the personal information management service can fill the personal information interface corresponding to the person selected by the user with the incoming card information.

[0180] Taking the storage of Li Si's personal information in the personal information management service as an example, the personal information management service can store Li Si's personal information based on the personal information interface 503, for example, Figure 5e A schematic diagram of a personal information interface is shown. The display area 503a of the personal information interface 503 can be used to display the stored personal information of "Li Si".

[0181] Furthermore, after the terminal device 10 detects that the user has selected the control 502a corresponding to "Li Si", if the personal information interface 503 does not contain all or part of the card information of the image 500a, the personal information management service can fill the card information of the incoming image 500a into the corresponding position of the personal information interface 503.

[0182] Specifically, the personal information management service can determine the card information that has not yet been stored in the personal information interface 503 from the card information in the input image 500a, and fill the corresponding position of the personal information interface 503 with the card information that has not yet been stored.

[0183] For example, the personal information management service can determine that the personal information interface 503 has not yet stored the address and citizen identification number in image 500a. Then, the personal information management service can fill the address "City C, District D, EE" from image 500a into the display area 503b, and can fill the citizen identification number "999999999" from image 500a into the text content of control 503c. Furthermore, control 503c can be used to store image 500a, and terminal device 10 can display image 500a based on the user's click operation on control 503c, so that the user can verify the card information automatically filled in the personal information interface 503 based on image 500a.

[0184] Furthermore, if there is a conflict between the card information in image 500a and the personal information already stored in personal information interface 503, the personal information management service may request the user to confirm whether to update the personal information already stored in personal information interface 503.

[0185] Specifically, Figure 5g The diagram illustrates an interface that requests user confirmation on whether to update personal information.

[0186] See Figure 5gIf the personal information interface 503 already stores the citizen identification number "888888888" (not shown in the figure), while the citizen identification number in image 500a is "999999999", then the personal information management service can display an update prompt window 504 above the personal information interface 503 to request the user to confirm whether to update the current number "888888888" (i.e., the stored citizen identification number) to the new number "999999999" (i.e., the citizen identification number in image 500a).

[0187] Furthermore, if the name information already stored in the personal information interface 503 is inconsistent with the name information in the image 500a, the personal information management service may not update the name information since the name information already stored in the personal information interface 503 is consistent with the text content in the control 502a.

[0188] It is understood that terminal device 10 can implement the saving function based on the personal information interface (e.g., personal information interface 503, personal information interface 504) of the personal information management service filled with card information. In other words, terminal device 10 implements the target card function based on the target card information and the target application. Based on the foregoing... Figures 5a to 5c As shown, when a user needs to save image 500a, there is no need for the user to manually extract the card information from image 500a, nor is there a need for the user to manually import the extracted card information into the personal information management service. This effectively reduces the complexity of user operations and improves the user experience.

[0189] The following will combine Figures 6a to 6b This paper explains the process of implementing the collection function in a single-card scenario.

[0190] For example, Figure 6a A schematic diagram of an interface for implementing the collection function is shown.

[0191] See Figure 6a After displaying image 600a (same as image 500a mentioned above) on interface 600, terminal device 10 can display control 600b corresponding to the favorites function based on the smart assistant. The process of terminal device 10 displaying control 600b is the same as described above. Figure 5a The process of displaying control 500b is essentially the same and will not be described in detail here. Terminal device 10 can detect that the user has clicked control 600b based on the intelligent assistant and determine that the user needs to perform the collection function of the note application (as an example of the target application) on the card image 600a (as an example of the target card function).

[0192] Furthermore, the terminal device 10 can display the smart assistant window 600c, and based on the prompt box 600d in the window 600c, provide feedback to the user that card information is currently being extracted, for example, displaying a prompt such as "Extracting information...". After the smart assistant extracts all the card information in the image 600a (as an example of the target card information) based on the large model, the terminal device 10 can transfer the extracted card information and image 600a to the note-taking application based on the smart assistant, and display a prompt box 600e in the window 600c, so as to provide feedback to the user that the user is currently being redirected to the note-taking application, for example, displaying a prompt such as "Redirecting you to the note-taking application".

[0193] See also Figure 6a Terminal device 10 can jump to the note-taking interface 601 of the note-taking application, where the note-taking application can display the received card information and image 600a. Specifically, the note-taking application can display all the card information in image 600a in the display area 601b of the note-taking interface 601, and also display image 600a in the note-taking interface 601.

[0194] Furthermore, since the business logic of the note application can automatically set the title of the note based on the card image, the business logic of the note application can be reused in this application embodiment. The note application determines the title of the note as "Li Si's ID Card" based on the image 600a and displays the title in the display area 601a.

[0195] It is understood that the terminal device 10 can implement the collection function based on the note interface 601 that displays card information and card images. In other words, the terminal device 10 implements the target card function based on the target card information and the target application.

[0196] Furthermore, after the terminal device 10 detects that the user has clicked on the control 600b, it can also perform security verification based on the aforementioned verification window 500c. For details, please refer to the aforementioned... Figure 5a The explanation shown is not repeated here.

[0197] For example, Figure 6b This diagram illustrates another interface for implementing the collection function.

[0198] See Figure 6b In scenarios where the note-taking application can extract card information, after the terminal device 10 detects that the user has clicked the control 600b based on the smart assistant, it can send the image 600a to the note-taking application based on the smart assistant and automatically jump to the note-taking interface 602 of the note-taking application.

[0199] Furthermore, the note-taking application can determine the note's title as "Li Si's ID Card" based on image 600a according to its original business logic, and display this title in display area 602a of the note interface 602. The note-taking application can display image 600a in the note interface 602. The note-taking application can extract the card information from the received image 600a and display a prompt box 602b on top of the note interface 602 to inform the user that the note-taking application is currently extracting card information, for example, displaying a prompt such as "Extracting information..."

[0200] After extracting the card information, the note-taking application can display the settings window 602c based on its original business logic, allowing users to personalize their settings. For example, if the user selects control 602d in settings window 602c, the note-taking application can move the corresponding note in note interface 602 to the "My Cards" folder for unified storage of card information. If the user selects control 602e in settings window 602c, the note-taking application can add a note lock to the corresponding note in note interface 602 to prevent changes to the note's content. If the user selects control 602f in settings window 602c, the note-taking application can extract text from image 600a to display all card information from image 600a in note interface 602.

[0201] Furthermore, based on the user's operation on the confirmation control 602g in the settings window 602c, the note-taking application can close the settings window 602c and display the note-taking interface 602, which includes the image 600a and all the card information contained therein. Specifically, the note-taking application can display the image 600a on the note-taking interface 602 and display all the card information in the image 600a in the display area 602h. Here, the display order of the image 600a and all the card information can also be based on the original business logic of the note-taking application. For example, the note-taking application can first display the image 600a, and then display all the card information in the image 600a in the display area 602h.

[0202] It is understood that the terminal device 10 can implement the collection function based on the note-taking interface 602 that displays card information and card images. In other words, the terminal device 10 implements the target card function based on the target card information and the target application.

[0203] The following will combine Figures 7a to 7c This paper explains the process of implementing the function of copying the certificate number in a single-card certificate scenario.

[0204] For example, Figure 7a A schematic diagram of an interface for implementing the function of copying ID numbers is shown.

[0205] See Figure 7aAfter displaying image 700a (same as image 500a mentioned above) on interface 700, terminal device 10 can detect, based on the intelligent assistant's detection that image 700a contains ID number information, and then display control 700b corresponding to the copy ID number function. The process of terminal device 10 displaying control 700b is the same as described above. Figure 5a The process of displaying control 500b is essentially the same and will not be described in detail here. Terminal device 10 can detect that the user has clicked control 700b based on the intelligent assistant and determine that the user needs to perform the copy ID number function of the input method application (as an example of the target application) on image 700a (as an example of the target card function).

[0206] Furthermore, the terminal device 10 can display the smart assistant's window 701 on top of the interface 700, and provide feedback to the user based on the prompt box 701a in the window 701, indicating that card information is currently being extracted. For example, it can display a prompt such as "Extracting information...". After the smart assistant extracts the ID number information (as an example of the target card information) from the image 700a based on the large model, the terminal device 10 can display the card 701b in the window 701. The card 701b can display a prompt such as "Copied to clipboard. ID number is 999999999." to inform the user that the extracted ID number information has been copied to the clipboard.

[0207] The card 701b may also include a control 701c, which is used to display the source of the extracted ID number information. For example, after the user clicks the control 701c, the terminal device 10 can display the image 700a in the card 701b based on the control 701c to prompt the user that the extracted ID number information comes from the image 700a, so that the user can verify it.

[0208] It can be understood that terminal device 10 can implement the function of copying the ID number based on the clipboard of the input method application that has copied the ID number information. In other words, terminal device 10 implements the target ID function based on the target ID information and the target application.

[0209] In this application, the embodiments do not limit the scenarios in which the control 701c is displayed. In one example, the terminal device 10 can display the control 701c in a byside scenario where a closed-loop service is provided by the intelligent assistant, and when the image 700a is not a screenshot. In this embodiment, a closed-loop service provided by the intelligent assistant means that the terminal device 10 does not need to switch to displaying the interface of other applications while performing the target function. In this embodiment, the byside scenario can include a scenario where a card image is displayed in an application other than the intelligent assistant, and the card recommendation function is based on the intelligent assistant.

[0210] Furthermore, this application does not restrict the display position of control 701c. In one example, when a card is displayed in the window of the smart assistant, control 701c can be displayed in the card; if no card is displayed in the window of the smart assistant, but an image is displayed, control 701c can be displayed at the position corresponding to the image; if no card or image is displayed in the window of the smart assistant, but a prompt box is displayed, control 701c can be displayed in the prompt box.

[0211] For example, Figure 7b This diagram illustrates another interface for implementing the function of copying ID numbers. Figure 7b Only those shown are related to Figure 7a Different interface diagrams.

[0212] See Figure 7b Terminal device 10 is based on the aforementioned Figure 7a After the user clicks on control 700b, the intelligent assistant can extract all content from image 700a and copy the ID number information to the clipboard. Then, terminal device 10 can display a prompt box 701d and card 701e in window 701. The prompt box 701d can display a message such as "Copied to clipboard, extracted card information is as follows," to inform the user that the ID number information has been copied to the clipboard and that other card information has also been extracted.

[0213] The card 701e can be used to display all extracted card information, and it can also display copy controls for each card information (only the copy control 701f for birth date information is shown in the figure), so that the user can copy other card information. Furthermore, the card 701e can display a toolbar 701g, which includes a copy control 701h for copying all card information. If the user clicks the copy control 701h, the terminal device 10 can use the smart assistant to copy all card information displayed in the card 701e to the clipboard.

[0214] Here, this application embodiment does not limit the scenarios in which the toolbar is displayed. In one example, the toolbar may only be displayed in the scenario where the aforementioned closed-loop service is provided by the intelligent assistant and the card function is working normally.

[0215] In addition, the terminal device 10 can also display the control 701i corresponding to the save function and the control 701j corresponding to the favorite function below the card 701e, so as to further recommend the save function and favorite function to the user.

[0216] also, Figure 7c A schematic diagram of an interface for abnormal feedback is shown.

[0217] join Figure 7c Because the terminal device 10 only extracts the card information from image 700a based on the smart assistant after the user clicks the control 700b corresponding to the copy ID number function. Specifically, the terminal device 10 can send image 700a to the cloud based on the smart assistant, and extract the card information through the large model in the cloud. Then, the terminal device 10 needs to obtain the card information returned from the cloud while connected to the internet. During this process, network latency, information extraction errors, or other abnormal situations may prevent the terminal device 10 from copying the ID number information to the clipboard. In this case, the terminal device 10 can display a prompt box 701i in window 701 to inform the user that the copy ID number function cannot be performed at present. For example, the prompt box 701i can display a message such as "Current network error..." Furthermore, the terminal device 10 can also display a control 701j for sending a resend command. When the terminal device 10 detects the user's click on control 701j, it can re-extract the card information from image 700a based on the smart assistant. It is understood that the terminal device 10 may only display the control 701j for recoverable anomalies. For example, the control 701j may be displayed when the terminal device 10 is unable to copy the ID number information to the clipboard due to network latency.

[0218] The following will combine Figures 7d to 7e This paper explains the process of implementing the functions of creating a new contact and making a call in a single-card scenario.

[0219] For example, Figure 7d A schematic diagram of an interface for implementing the function of creating a new contact is shown.

[0220] See Figure 7d The terminal device 10 displays image 702a on interface 702. Image 702a includes a card image, specifically, an image of the front of a business card (i.e., the side with the phone number information). The terminal device 10 can detect the content of image 702a based on the intelligent assistant, determining multiple card functions corresponding to image 702a, including functions such as creating a new contact, making a call, sending an SMS, saving, and adding to favorites. Then, the terminal device 10 can display controls corresponding to the determined multiple card functions based on the intelligent assistant. Figure 7d Only control 702b for the new contact function and control 702c for the call function are shown.

[0221] Terminal device 10 can determine that the user needs to perform a new contact function (as an example of a target card function) on image 702a based on the smart assistant's detection that the user has clicked control 702b. Then, terminal device 10 can extract contact information and card information such as contact details from image 702a based on the smart assistant and display the smart assistant's window 703. Here, terminal device 10 can also perform the same function as described above. Figure 5b , Figure 6a , Figure 7a In essentially the same way, a prompt box is displayed in window 703 to provide one or more prompts to the user. The specific process and display effect can be found in the aforementioned documentation. Figure 5b , Figure 6a , Figure 7a The essence is the same, so I will not go into details here.

[0222] After extracting the card information, the terminal device 10 can transfer the extracted card information to the phonebook application, allowing the phonebook application to create new contacts based on the contact information and phone number information. Then, the terminal device 10 can display card 703a in window 703, where card 703a includes controls 703b, 703c, and the aforementioned control 702c. Control 703b is used to display the extracted contact information and phone number information, and jumps to the phonebook application's interface for storing the contact information and phone number information in image 702a. Furthermore, control 703b can also display the location (e.g., location A) and carrier (e.g., carrier a) of the phone number determined by the smart assistant. Control 703c is used to jump to the phonebook application. Control 702c is used to execute the call function after performing the new contact function.

[0223] After the terminal device 10 detects that the user has clicked on the control 703b, it can jump to the contact interface 704 of the phonebook application. The contact interface 704 is an interface for creating new contacts based on the contact information and phone number information. The user can view the newly created contacts on the contact interface 704 to verify the effect of executing the new contact function.

[0224] It is understandable that terminal device 10 can implement the function of creating a new contact based on the contact interface 704 that stores contact information and phone number information. In other words, terminal device 10 implements the target card function based on the target card information and the target application.

[0225] In addition, terminal device 10 can also extract other card information based on the intelligent assistant and fill the extracted card information into the contact interface 704 to save more card information. Here, the process of terminal device 10 filling card information into the contact interface 704 is essentially the same as the process of terminal device 10 filling into the personal information interface, as detailed above. Figures 5b to 5c The detailed explanations in the text are omitted here.

[0226] In another example of implementing the new contact function, the terminal device 10 can also directly jump to the phonebook application after detecting that the user has clicked the control 702b corresponding to the new contact function, to display the contact interface 704 filled with contact information, phone number information, and other card information. This allows the user to more easily verify and edit the content in the contact interface 704.

[0227] For example, Figure 7e A schematic diagram of an interface for implementing a call function is shown.

[0228] See Figure 7e Terminal device 10 can determine that the user needs to perform a call function (as an example of a target card function) on image 702a based on the intelligent assistant's detection that the user has clicked control 702c. Then, terminal device 10 can extract phone number information from image 702a based on the intelligent assistant and display the intelligent assistant's window 703. Here, terminal device 10 can also display a prompt box in window 703 to provide one or more prompts to the user; the specific process and display effect can be found in the aforementioned description. Figure 5b , Figure 6a , Figure 7a The essence is the same, so I will not go into details here.

[0229] After retrieving the phone number information, the terminal device 10 can display a card 703d in window 703. Card 703d may include controls 703e and 703f. Control 703f displays the retrieved phone number information and redirects to the dialing interface of the calling application, where a call has already been made based on the phone number information. Furthermore, control 703f can also display the location (e.g., location A) and carrier (e.g., carrier a) determined based on the phone number information. Control 703e redirects to the calling application's homepage.

[0230] Furthermore, if the terminal device 10 does not support multiple rounds of prompts, the terminal device 10 may display only one prompt box (not shown in the figure) after the intelligent assistant detects that the user has clicked the control 702c. For example, the prompt box may display "The following phone number has been found for you. Click to call".

[0231] Therefore, after the terminal device 10 detects that the user has clicked control 703f, it can automatically redirect to the dialing interface 705 of the call application. In this interface 705, the dialing has already completed the dialing based on the extracted phone number information. The user only needs to click control 705b in the dialing interface 705 to make the call. It is understandable that since the phone number information extracted by the terminal device 10 based on the large model in the cloud may be incorrect, redirecting to the dialing interface 705 after the dialing is completed allows the user to verify the phone number and avoid dialing the wrong number.

[0232] In addition, the terminal device 10 can also automatically redirect to the dialing interface 705 of the call application based on the command entered by the user in window 703. At this time, the smart assistant can first reply with a response such as "okay" before redirecting to the dialing interface 705.

[0233] It is understandable that terminal device 10 can implement call functionality based on the dialing interface 705 after dialing has been completed. In other words, terminal device 10 implements target card functionality based on target card information and the target application.

[0234] For example, Figure 7f The diagram illustrates another interface for implementing the new contact creation function. Here, the terminal device 10 can input an image containing a business card into the smart assistant based on user input, so that the new contact creation function can be executed based on the smart assistant's recommendation.

[0235] See Figure 7f The terminal device 10 can invoke the smart assistant on the interface 710 based on user operation, so as to pass the image 710a into the smart assistant's window 711, wherein the image 710a includes a front image of a business card. Furthermore, the terminal device 10 can recommend a new contact function to the user based on the content of the image 710a, for example, the terminal device 10 can display the control 710b corresponding to the new contact function in the window 711 based on the smart assistant.

[0236] If the user clicks on control 710b, the terminal device 10 can display a prompt box 711a based on the smart assistant to inform the user that card information, such as contact information and phone number information, is currently being extracted. After the card information is extracted, the terminal device 10 can transfer the extracted card information to the phonebook application based on the smart assistant, so that the phonebook application can create new contacts based on the contact information and phone number information. Furthermore, the terminal device 10 can display card 711b in window 711 based on the smart assistant. Card 711b includes control 711c, which is substantially the same as the aforementioned control 703b. For details, please refer to the aforementioned description of control 703b, which will not be repeated here. After the terminal device 10 detects that the user clicked on control 711c based on the smart assistant, it can jump to the contact interface 712 of the phonebook application (i.e., the aforementioned contact interface 704).

[0237] In addition, the terminal device 10 needs to enable the smart assistant's new contact permission in order to perform the new contact function based on the smart assistant.

[0238] For example, Figure 7g This diagram illustrates the process of disabling permissions for creating a new contact.

[0239] See Figure 7g When terminal device 10 detects that the user has clicked the aforementioned control 710b based on the smart assistant, if the smart assistant's "Create New Contact" permission is disabled, terminal device 10 can display a pop-up window 710c above window 711 to prompt the user that the smart assistant's "Create New Contact" permission needs to be enabled in order to perform the "Create New Contact" function. The pop-up window 710c can display prompts such as "Please enable the 'Create New Contact' permission in the smart assistant's permission management." Furthermore, the pop-up window 710c may include a control 710d, which is used to jump to the settings interface (or application information page) 710e corresponding to the smart assistant in the settings application.

[0240] When the terminal device 10 detects that the user has clicked the control 710d, the terminal device 10 can jump to the settings interface 710e of the smart assistant, so that the user can enable the smart assistant to create new contacts based on the interface 710e.

[0241] In addition, if the terminal device 10 has set the permission to not prompt again after creating a new contact based on user operation, the terminal device 10 may not display the pop-up window 710c.

[0242] For example, Figure 7h A schematic diagram of another interface for implementing the call function is shown. Here, the terminal device 10 can transmit an image containing a business card to the smart assistant based on user operation, so as to perform the call function based on the smart assistant's recommendation.

[0243] See Figure 7h The terminal device 10 can invoke the smart assistant in the interface 710 based on user operation, so as to pass the aforementioned image 710a into the window 713 of the smart assistant. Furthermore, the terminal device 10 can recommend the call function to the user based on the smart assistant. For example, the terminal device 10 can display the control 713a corresponding to the call function in the window 713 based on the smart assistant.

[0244] Terminal device 10 can determine that the user needs to perform a call function on image 710a based on the intelligent assistant's detection that the user has clicked control 713a. Then, terminal device 10 can extract phone number information from image 710a based on the intelligent assistant. After extracting the phone number information, terminal device 10 can display card 713b in window 713, where card 713b may include control 713c. Control 713c is essentially the same as the aforementioned control 703f; for details, please refer to the aforementioned description of control 703f, which will not be repeated here.

[0245] Therefore, after the terminal device 10 detects that the user has clicked the control 713c, it can automatically jump to the dialing interface 714 of the call application (i.e., the aforementioned dialing interface 705). After detecting that the user has clicked the control 714a (i.e., the aforementioned control 705b) in the dialing interface 714, the terminal device 10 can jump to the call interface 715 to make a call based on the phone number in the picture 710a.

[0246] It is understood that this application does not impose any limiting descriptions on the images transmitted from the terminal device 10 to the smart assistant. Figure 7i This diagram illustrates another way to achieve the call function.

[0247] See Figure 7iThe terminal device 10 can pass an image 710a' to the window 713' of the smart assistant based on user operation. Image 710a' may include a business card with two phone numbers. Correspondingly, when the terminal device 10 determines that the user needs to perform a call on image 710a' based on the smart assistant, the terminal device 10 can display a card 713b' in window 713'. Card 713b' may include controls 713c' and 713d'. Control 713c' corresponds to the phone number "333444" in image 710a' and is used to dial the phone number "333444". Control 713d' corresponds to the phone number "123456789" in image 710a' and is used to dial the phone number "123456789". Furthermore, since the smart assistant extracts multiple phone numbers, the terminal device 10 can label the phone numbers based on controls 713c' and 713d' to facilitate the user in determining the number of phone numbers that can be dialed.

[0248] The following section will elaborate on the specific process by which terminal device 10 implements the target card function based on data processing methods in a multi-card scenario.

[0249] Here, we will take the card and certificate functions, including the save function, favorite function, copy document number function, create contact function, and call function, as an example for explanation.

[0250] For example, Figure 8a This diagram illustrates the process of terminal device 10 implementing the target card function in a multi-card scenario. For ease of description, terminal device 10 will be used as the execution subject in the following description of each step, and the execution subject will not be elaborated further below.

[0251] It is understood that prior to S800, the terminal device 10 has already displayed multiple card images based on the aforementioned S400, and determined the target card function selected by the user based on the processes shown in S401 to S403. The specific process can be found in the detailed descriptions of S400 to S403 above, and will not be repeated here.

[0252] See Figure 8a The process by which terminal device 10 implements the target card function in a multi-card scenario may include:

[0253] S800: Determine whether the target card function is a save function or a favorite function.

[0254] If the determination is yes, it means that the target card function is a save function or a collection function, and the terminal device 10 can execute the following S801;

[0255] If the determination is negative, it means that the target card function is not a save or favorite function, and the terminal device 10 can execute the following S806.

[0256] Here, after determining that the user has selected the target control corresponding to the target card function based on the aforementioned S400 to S403, the terminal device 10 can determine whether the target card function selected by the user is a save function or a favorite function based on the intelligent assistant.

[0257] Specifically, if the target card function is determined to be a save function or a collection function, the terminal device 10 can execute the following S801 based on the smart assistant to further distinguish whether the multiple card images displayed by the terminal device 10 correspond to the same person's card.

[0258] Conversely, if it is determined that the target card function is not a save or favorite function, the terminal device 10 can execute the following S806 based on the smart assistant to implement other card functions according to the processing logic corresponding to other card functions.

[0259] S801: Determine whether multiple card images correspond to the same person's card.

[0260] If the determination is yes, it means that the multiple card images displayed by the terminal device 10 correspond to the same person's card, and the terminal device 10 can execute the following S802;

[0261] If the determination is negative, it means that the multiple card images displayed by the terminal device 10 correspond to the cards of multiple people, and the terminal device 10 can execute the following S805.

[0262] Here, after determining whether the target card function is a save function or a collection function based on the aforementioned S800, the terminal device 10 can further determine whether the multiple displayed card images correspond to the same person's card based on the intelligent assistant.

[0263] Specifically, a smart assistant can determine that multiple card images correspond to the same person's cards based on the fact that the card information in multiple card images does not contain identity information, or only contains the identity information of one person. Similarly, a smart assistant can determine that multiple card images correspond to the cards of multiple people based on the fact that the card information in multiple card images contains the identity information of multiple people. Here, identity information can include card information that can uniquely identify a person, such as the name information in the card information of a card image. The following explanation uses the name information as the identity information.

[0264] S802: Determine whether multiple card images correspond to the same card.

[0265] If the determination is yes, it means that the multiple card images displayed by the terminal device 10 correspond to the same card of the same person, and the terminal device 10 can execute the following S803;

[0266] If the determination is negative, it means that the multiple card images displayed by the terminal device 10 correspond to different cards of the same person, and the terminal device 10 can execute the following S804.

[0267] Here, after determining that the multiple card images displayed correspond to the same person's card based on the aforementioned S801, the terminal device 10 can further determine whether the multiple card images displayed correspond to the same card based on the intelligent assistant.

[0268] S803: Save or collect target card information from multiple card images.

[0269] Here, when the target card / certificate function is a save or favorite function, the target card / certificate information includes all card / certificate information in the card / certificate image. Therefore, if the terminal device 10 determines, based on the aforementioned S802, that the multiple displayed card / certificate images correspond to the same card / certificate of the same person—for example, the multiple card / certificate images are the front and back images of the same ID card, or the multiple card / certificate images are the front and back images of the same bank card—the terminal device 10 can directly save or favorite all card / certificate information in the multiple card / certificate images.

[0270] Specifically, taking the target card / certificate function as a saving function as an example, if multiple card / certificate images displayed on terminal device 10 correspond to the same card / certificate of the same person, terminal device 10 can simultaneously extract all card / certificate information from the multiple card / certificate images based on the intelligent assistant, and then transmit the extracted card / certificate information to the personal information management service (as an example of a target application). Furthermore, the personal information management service can directly save all card / certificate information from the multiple card / certificate images. The specific operation process is described below. Figure 9a The details shown and explained are not repeated here.

[0271] Taking the target card / certificate function as a collection function as an example, if multiple card / certificate images displayed on terminal device 10 correspond to the same card / certificate of the same person, terminal device 10 can simultaneously extract all card / certificate information from the multiple card / certificate images based on the intelligent assistant, and then transfer the extracted card / certificate information to the note-taking application (as an example of a target application). Subsequently, the note-taking application can directly collect all card / certificate information from the multiple card / certificate images. Alternatively, terminal device 10 can transfer multiple card / certificate images to the note-taking application based on the intelligent assistant, so that the note-taking application can extract all card / certificate information from the multiple card / certificate images and directly collect all card / certificate information from the multiple card / certificate images. The specific operation process can be found below. Figure 9i The detailed explanations in the text are omitted here.

[0272] S804: Save or collect target card information from multiple card images, or save or collect target card information from one or more card images selected by the user.

[0273] Here, if the terminal device 10 determines, based on the aforementioned S402, that the multiple card images displayed correspond to different cards of the same person, for example, the multiple card images are the back of the same person's ID card and the front of the same person's bank card, or the multiple card images are the back of one bank card and the back of another bank card of the same person, then the terminal device 10 can perform the target card function in two ways.

[0274] Specifically, in some embodiments, the terminal device 10 can directly save or collect target card information from multiple card images. The specific content is essentially the same as in the aforementioned S803, and can be found in the detailed description in the aforementioned S803, which will not be repeated here.

[0275] In other embodiments, the terminal device 10 can save or favorite target card information from one or more card images based on user operations. Specifically, the terminal device 10 can provide the user with multi-select controls corresponding to each card image based on a smart assistant. These multi-select controls are buttons that support multiple selections. Therefore, the terminal device 10 can determine that the user has selected one or more card images based on the user's operation on one or more multi-select controls. Furthermore, the terminal device 10 can save or favorite the target card information from the one or more card images selected by the user. Additionally, in one example embodiment, the terminal device 10 can set the default state of each multi-select control to a selected state based on the smart assistant.

[0276] For details on the specific operation process when the target card function is the save function, please refer to the following: Figure 9b For detailed instructions on how to use the "Collection" function for the target card, please refer to the following: Figure 9j The detailed explanations in the text are omitted here.

[0277] S805: Save or collect target card information corresponding to the same person selected by the user, or save or collect target card information corresponding to multiple people selected by the user in sequence.

[0278] For example, if the terminal device 10 determines, based on the aforementioned S801, that the multiple card images displayed correspond to the cards of multiple people, the terminal device 10 can perform the target card function in two ways.

[0279] In some embodiments, the terminal device 10 may save or collect target card information corresponding to the same person based on user operations.

[0280] Taking the target card / certificate function as a saving function as an example, the terminal device 10 can sequentially display controls for one or more card / certificate images of each person according to the human classification standard (or aggregation by person) to which the card / certificate image belongs. Specifically, the terminal device 10 can display radio button controls corresponding to the identity card / certificate images of each person. The identity card / certificate images include images of identity cards, which include cards containing name information, such as ID cards and driver's licenses. The radio button controls are buttons that can only select one.

[0281] Furthermore, after displaying the radio buttons with images of each person's identification card, the terminal device 10 can also display a multi-select button corresponding to images without identification cards. The multi-select button is in a selected (or checked) state by default. Images without identification cards include images of cards without an identification card (or a card without a registered owner), such as bank cards, which do not contain name information. The multi-select button is a button control that allows selection of one or more images. The terminal device 10 can also provide a confirmation control to confirm that the user has selected the required image.

[0282] Therefore, after detecting that the user has selected a radio button and one or more multi-select buttons and clicked the OK button, the terminal device 10 can identify the corresponding image with an ID card and one or more images without an ID card as the same person's ID card image, and save the information based on the target ID card information in the ID card image of the same person selected by the user.

[0283] Here, the method for saving the target card information of the same person according to user operation can be seen below. Figure 9c , Figure 9d and Figure 9g The details shown will not be repeated here. Furthermore, the specific operation process when the target card function is the collection function is as follows: Figure 9c , Figure 9d and Figure 9g The content shown is essentially the same, so it will not be repeated here.

[0284] In other embodiments, the terminal device 10 may sequentially save or collect target card information corresponding to multiple people according to user operations.

[0285] Taking the target card / ID card function as a saving function as an example, the terminal device 10 can sequentially display controls for one or more card / ID card images corresponding to each person according to the human classification standard (or aggregation by person). Specifically, the terminal device 10 can display radio buttons corresponding to each image with an ID card / ID card, and under each radio button, display multi-select buttons corresponding to all images without ID card / ID card. Therefore, after detecting that a user has selected a radio button and one or more multi-select buttons, the terminal device 10 can determine that the corresponding image with an ID card / ID card and one or more images without ID card / ID card belong to the same person.

[0286] Furthermore, each user has a corresponding save control, which is used to save the card image of the same person selected by the user once. Therefore, after detecting the user's operation on the save control, the terminal device 10 can perform the save function based on the target card information in the card image of the same person selected by the user.

[0287] After performing a save function once, the terminal device 10 can also perform the save function again for the card image of another person selected by the user, based on the user's operation on another save control. Obviously, based on this method, the terminal device 10 can sequentially save target card information corresponding to multiple people according to user operations.

[0288] Here, the default state of the multi-select control is related to the display position of the image without an ID card corresponding to the multi-select control. For example, the terminal device 10 can determine that the image with an ID card is adjacent to the image without an ID card A, and set the default display state of the multi-select control A displayed below the radio button B to the selected state. Here, multi-select control A is the multi-select control corresponding to the image without an ID card A, and radio button B is the radio button corresponding to the image with an ID card B.

[0289] Here, the method by which the terminal device 10 saves the target card information of multiple people sequentially according to user operations can be seen in the following. Figure 9e , Figure 9f The details shown will not be repeated here. Furthermore, the specific operation process when the target card function is the collection function is as follows: Figure 9e , Figure 9f The content shown is essentially the same, so it will not be repeated here.

[0290] Furthermore, if the target application needs to save multiple card images included in an image, the terminal device 10 can also use the intelligent assistant to cut out the card image corresponding to the user-selected person from the image and transmit the cut-out card image corresponding to that person to the target application. Moreover, if the user-selected person has multiple card images, the terminal device 10 can vertically stitch the multiple cut-out card images together to form an image corresponding to the user-selected person, allowing the target application to directly store the image corresponding to the user-selected person.

[0291] S806: If the target card function is determined to be a copy function, then copy the target card information of a card image according to the user operation.

[0292] Here, after determining that the target card function is not a save function or a collection function based on the aforementioned S800, the terminal device 10 can determine the specific way to implement the target card function according to the specific type of the target card function.

[0293] For example, if the terminal device 10 determines that the target card function is a copy function based on the intelligent assistant, it can copy the target card information of a card image according to the user's operation. Here, the copy function includes the aforementioned copy address function and copy document number function.

[0294] Taking the target card / certificate function as copying the ID number as an example, the target card / certificate information is the ID number. Therefore, the terminal device 10 can extract the ID number information from each displayed card / certificate image based on the smart assistant and provide the user with radio buttons corresponding to each ID number. Furthermore, the smart assistant (as an example of a target application) can determine that the user has selected the ID number information from a card / certificate image based on the user's operation on a radio button, and copy the ID number information from that card / certificate image to the clipboard. The specific operation process is described below. Figure 10a and Figure 10b The detailed explanations in the text are omitted here.

[0295] S807: If the target card function is determined to be the new contact function, then one or more contacts will be created based on the target card information in multiple card images.

[0296] For example, if the terminal device 10 determines that the target card function is the new contact function based on the smart assistant, the terminal device 10 can create one or more contacts based on the target card information in multiple card images.

[0297] Specifically, when the target card function is to create a new contact, the target card information includes contact information and phone number information. Therefore, the terminal device 10 can extract the contact information and phone number information from the displayed card images based on the smart assistant. It can be understood that the extracted contact information and phone number information may be in one or more sets. Therefore, the smart assistant (as an example of a target application) can create one or more new contacts based on one or more sets of contact information and phone number information. For the specific operation process, please refer to the following... Figure 11a The detailed explanations in the text are omitted here.

[0298] S808: If the target card function is determined to be a call function, the target card information from a card image selected by the user will be transmitted to the call application.

[0299] For example, if the terminal device 10 determines that the target card function is a call function based on the smart assistant, the terminal device 10 can transmit the target card information from a card image selected by the user to the call application.

[0300] Specifically, taking the example of a card image containing phone number information, when the target card function is a calling function, the target card information is phone number information. Therefore, terminal device 10 can extract the phone number information from each displayed card image based on the intelligent assistant and provide the user with a radio button corresponding to each phone number. Furthermore, based on the user's operation on a radio button, terminal device 10 can determine that the user has selected the phone number information from a card image, and can pass the phone number information from that card image into the calling application (as an example of a target application) so that the user can directly make a call. The specific operation process is described below. Figure 11b The detailed explanations in the text are omitted here.

[0301] It is understandable, based on the foregoing Figure 8a As shown in the process, in a multi-card scenario where multiple card images are displayed on the terminal device 10, the user does not need to manually extract the target card information from the card image during the process of implementing the target card function, nor does the user need to manually enter the target card information into the target application. This effectively reduces the complexity of user operations and improves the user experience.

[0302] For example, Figure 8b based on Figure 8a The flowchart shown illustrates the logic diagram of a solution in a multi-card / certificate scenario.

[0303] In a multi-card / certificate scenario, terminal device 10 displays card / certificate information from multiple card / certificate images (hereinafter referred to as multi-card / certificate information). Figure 8bTaking the save function, favorite function, and document number copying function as examples, the implementation scheme of the save function, favorite function, and document number copying function is shown when the terminal device 10 displays multiple card information.

[0304] For the save or favorite function, the terminal device 10 can determine, based on the aforementioned S801, whether the multiple displayed card images belong to the same person. Here, multiple displayed card images belonging to the same person include two cases: Case 1: None of the displayed card images contain identity information (i.e., multiple cards without identity information) or the displayed card images belong to different sides of the same card (i.e., different sides of the same card). Case 2: Only one person's identity information is displayed among the multiple displayed card images.

[0305] In scenario 1 above, an example of multiple card images representing different sides of the same card could be the front and back of a bank card. In this case, the terminal device 10 could treat the multiple displayed card images as a single card belonging to the same person and directly save or collect them. This implementation is S803 as described above, and the effect of directly saving or collecting is the same as described below. Figure 9a The two are essentially the same; see details below. Figure 9a The detailed explanations in the text are omitted here.

[0306] In scenario 1 above, an example of multiple card images belonging to different cards could be multiple bank cards. In this case, the terminal device 10 has two implementation schemes: Scheme 1: Directly save or collect the displayed multiple card images. The effect of directly saving or collecting is as follows... Figure 9a The two are essentially the same; see details below. Figure 9a The detailed explanations in the previous section will not be repeated here. Solution 2: Multiple card images are displayed by default, and a confirmation control is provided to confirm the selection of one or more card images by the user. Here, Solution 2 is equivalent to "saving or collecting the target card information from one or more card images selected by the user" in the aforementioned S804, and the specific implementation effect of defaulting to multiple card images and providing a confirmation control is as follows: Figure 9b They are essentially the same; see below for details. Figure 9b This will not be elaborated upon here.

[0307] In scenario 2 above, an example of multiple card images representing different sides of the same card could be the front and back of an ID card. In this case, the terminal device 10 could treat the multiple displayed card images as a single card of the same person and save or add them to its collection. The specific process for directly saving or adding them to the collection is described below. Figure 9a The detailed explanations in the text are omitted here.

[0308] In scenario 2 above, examples of multiple card images belonging to different cards could be combinations of different cards belonging to the same person, such as an ID card, driver's license, and bank card. In this case, the terminal device 10 has two implementation schemes: Scheme 1: Directly save or collect the displayed multiple card images. The effect of directly saving or collecting is as follows... Figure 9a The two are essentially the same; see details below. Figure 9a The detailed explanations are omitted here. Option 2: Multiple card images are displayed by default, and a confirmation control is provided. For a detailed implementation of this option, please refer to the following... Figure 9b The detailed explanations in the text are omitted here.

[0309] Furthermore, the terminal device 10 can determine, based on the aforementioned S801, that the multiple displayed card images belong to different individuals. For example, the multiple displayed card images may contain the identity information of multiple people. An example of multiple displayed card images containing the identity information of multiple people could be the backs of two ID cards and a bank card. In this case, the terminal device 10 can implement two schemes: Scheme 1: Aggregate by person, allowing a single person's information to be selected for saving or collection, providing a confirmation control, and displaying no ID cards separately below, with the option checked by default. Here, Scheme 1 is equivalent to "saving or collecting the target card information corresponding to the same person selected by the user" in the aforementioned S805, and the specific implementation effect of Scheme 1 can be seen in the following... Figure 9d The detailed explanation is omitted here.

[0310] Option 2: Aggregate by person, with multiple save or favorite controls. Multiple personal information can be saved, and the information without an ID card follows each person, but is only selected by default under one person. Which person is selected by default depends on the location of the person without an ID card. Here, Option 2 is equivalent to "sequentially saving or favoriteing the target card information corresponding to multiple people selected by the user" in the aforementioned S805. The specific implementation effect of Option 2 can be seen below. Figure 9e The detailed explanation is omitted here.

[0311] Furthermore, for the function of copying the ID number, the terminal device 10 has two implementation schemes. Scheme 1: Display the card information and the copy control in a left-to-right and top-to-bottom order. The specific implementation effect of Scheme 1 can be seen below. Figure 10a The detailed explanation is omitted here. Solution 2: Aggregate by person, extracting ID number information in a left-to-right, top-to-bottom order. The specific implementation effect of Solution 2 can be seen below. Figure 10b The detailed explanation is omitted here.

[0312] Below, we will combine Figures 9a to 9c This paper explains the process of implementing the storage function in a multi-card scenario.

[0313] For example, Figure 9a This diagram illustrates the process of saving multiple card images when they correspond to the same card.

[0314] Here, after the terminal device 10 displays an image 900a including multiple card images on the interface 900, the terminal device 10 can recommend a save function to the user based on the content of the image 900a using the intelligent assistant display control 900b. After detecting that the user has clicked the control 900b, the terminal device 10 can determine, based on the aforementioned steps S800 to S802, that the multiple card images shown in the image 900a correspond to the same card. Specifically, as shown... Figure 9a As shown in Figure 900a, the multiple card images are images of the front and back of the same ID card.

[0315] Furthermore, terminal device 10 can directly save all card and document information from multiple card and document images based on the personal information management service. Specifically, terminal device 10 can extract all card and document information from the multiple card and document images shown in image 900a based on the intelligent assistant. Then, terminal device 10 can transmit the extracted card and document information to the personal information management service based on the intelligent assistant and automatically redirect to the personal information interface 901 to fill the personal information interface 901 with the extracted card and document information. For example, terminal device 10 can fill the display area 901a of the personal information interface 901 based on "Li Si" in the image of the back of the ID card, fill the display area 901b based on "C City D District EE", and fill the display area 901c based on "999999999" and the validity period "R year P month Q day - J year K month L day" in the image of the front of the ID card.

[0316] Furthermore, the personal information management service can save the card information in image 900a based on the personal information interface 901 that has been filled with card information.

[0317] For example, Figure 9b This diagram illustrates the process of saving multiple card images that correspond to different cards of the same person.

[0318] Here, after the terminal device 10 displays an image 902a containing multiple card images on the interface 902, the terminal device 10 can recommend a save function to the user based on the content of the image 902a using the intelligent assistant display control 902b. After detecting that the user has clicked the control 902b, the terminal device 10 can determine, based on the aforementioned steps S800, S801, S802, and S804, that the multiple card images in the image 902a correspond to different cards of the same person. Specifically, as... Figure 9b As shown, the multiple card images in Figure 900a are the back of an ID card and the front of a bank card.

[0319] Furthermore, the terminal device 10 can display a window 903 on top of the interface 902 based on the intelligent assistant. The card 903a in window 903 displays a multi-select control 903b corresponding to the back image of the ID card in image 903a, and a multi-select control 903c corresponding to the front image of the bank card. If the terminal device 10 detects that the user has clicked on both multi-select controls 903b and 903c, and has also clicked on the confirmation control 903d in card 903a, then the terminal device 10 can determine that the user has selected the back image of the ID card and the front image of the bank card in image 902a.

[0320] Here, window 903 may include a history of card and certificate functions performed based on the smart assistant (not shown in the figure). When the terminal device 10 views the history based on the user's operation, the card and certificate information in the history can be blurred based on the smart assistant, such as through masking.

[0321] Therefore, terminal device 10 can extract card information from the back image of the ID card and the front image of the bank card using the intelligent assistant, and perform security verification through window 903e. After passing the security verification, terminal device 10 can transmit all the extracted card information to the personal information management service using the intelligent assistant, and automatically redirect to the personal information interface 904 to fill the personal information interface 904 with the extracted card information. For example, terminal device 10 can fill display area 904a with "Li Si" from the back image of the ID card, fill display area 904b with "C City D District EE", fill the text content of control 904c with "999999999", and fill the text content of control 904d with "1122334455667788" from the front image of the bank card. Furthermore, terminal device 10 can also transmit the back image of the ID card and the front image of the bank card to the personal information management service using the intelligent assistant, so that the personal information management service can display the back image of the ID card through control 904c and the front image of the bank card through control 904d.

[0322] Furthermore, the personal information management service can save the card information in image 902a based on the personal information interface 904 filled with card information. Here, the default state of multi-select controls 903b and 903c can be the selected state.

[0323] For example, Figure 9c This diagram illustrates the process of saving information when multiple card images correspond to the cards of multiple individuals. Here, the terminal device 10 can save card information corresponding to a single individual based on user actions.

[0324] Specifically, after displaying an image 905a containing multiple card images on the interface 905, the terminal device 10 can recommend a save function to the user based on the content of the image 905a using the intelligent assistant display control 905b. After detecting that the user has clicked the control 905b, the terminal device 10 can determine, based on the aforementioned S800, S801, and S805, that the multiple card images in the image 902a correspond to the cards of multiple individuals. Specifically, as... Figure 9c As shown, the multiple card images in Image 905a are the back images of Wang Wu's ID card and the back images of Li Si's ID card.

[0325] Furthermore, the terminal device 10 can display a window 906 on top of the interface 905 based on the intelligent assistant. In this window 906, card 906a displays a radio button 906b corresponding to the image of the back of Wang Wu's ID card, and a radio button 906c corresponding to the image of the back of Li Si's ID card. If the terminal device 10 detects that the user clicked on radio button 906b and then clicked on the confirmation button 906d in card 906a, the terminal device 10 can determine that the user has selected the image of the back of Wang Wu's ID card.

[0326] Therefore, terminal device 10 can extract the card information from the reverse image of Wang Wu's ID card using the intelligent assistant and perform security verification through window 906e. After passing the security verification, terminal device 10 can transfer all the extracted card information to the personal information management service using the intelligent assistant and automatically redirect to the personal information interface 907 to fill in the personal information interface 907 based on the extracted card information. For example, terminal device 10 can fill display area 907a based on the extracted "Wang Wu", fill display area 907b based on the extracted "C City D District YY", and fill the text content of control 907c based on the extracted "77885522". Furthermore, terminal device 10 can also transfer the reverse image of Wang Wu's ID card to the personal information management service using the intelligent assistant, so that the personal information management service can display the reverse image of Wang Wu's ID card through control 907c.

[0327] Furthermore, the personal information management service can save the card information from the image on the back of Wang Wu's ID card based on the personal information interface 907 that has been filled with card information.

[0328] Furthermore, after the personal information management service saves the card information, the terminal device 10 can, based on the smart assistant, render the card 906a inoperable, for example, by making it grayed out, to end the current saving function. Clearly, based on this method, after the user selects the saving function, the terminal device 10 can only save the card information of the one person selected by the user.

[0329] Furthermore, this application embodiment does not impose any limiting description on the image content displayed on interface 905. For example, Figure 9d When interface 905 displays another image, it is based on... Figure 9c A schematic diagram illustrating the essentially the same process for achieving the save function.

[0330] See Figure 9d The terminal device 10 can display image 905c on interface 905. Image 905c includes multiple card / certificate images. Specifically, image 905c may include an image of the back of an ID card, another image of the back of an ID card, and an image of the front of a bank card. Here, cards / certificates without name information can be called "unidentified cards" (or "unclaimed cards"), such as bank cards. Correspondingly, images of cards / certificates without name information can be called "unidentified card / certificate images." For example, the front image of the bank card in image 905c is an image of a card / certificate without name information. Cards / certificates with name information can be called "identified cards," such as ID cards and driver's licenses. Correspondingly, images of cards / certificates with name information can be called "identified card / certificate images." For example, the two images of the back of ID cards in image 905c are images of cards / certificates with name information.

[0331] Furthermore, when a user clicks on control 905b, the terminal device 10 can display window 908 on top of interface 905 based on the intelligent assistant. Window 908 contains card 908a, which displays single-selection controls corresponding to images of identification cards and multiple-selection controls corresponding to images of bank cards. Single-selection controls allow only one selection, while multiple-selection controls allow the selection of one or more images. Specifically, card 908a may include single-selection controls 908b corresponding to the back image of Wang Wu's ID card, single-selection controls 908c corresponding to the back image of Li Si's ID card, multiple-selection controls 908d corresponding to the front image of a bank card, and a confirmation control 908e to confirm that the selected image has been chosen. The default state of multiple-selection control 908d is a selected (or checked) state.

[0332] Therefore, terminal device 10 can, based on the user's operation on a single-selection control and / or one or more multi-selection controls, identify and save the card information in one or more card images selected by the user as belonging to the same person. For example... Figure 9d As shown, after the terminal device 10 detects that the user clicked the radio button 908c and the multi-select button 908d, if it detects that the user clicked the confirm button 908e, the terminal device 10 can save the card information from the back image of Li Si's ID card and the front image of his bank card as Li Si's card information. The specific saving process is the same as described above. Figure 9c The essence is the same, so I will not go into details here.

[0333] For example, Figure 9eThis diagram illustrates a process for implementing the saving function when multiple card images correspond to the cards of multiple individuals. Here, the terminal device 10 can save card information corresponding to multiple individuals based on user operations.

[0334] Specifically, taking the example of terminal device 10 displaying image 905a on interface 905, after the user clicks control 905b, terminal device 10 can display window 909 on top of interface 905 based on the intelligent assistant. In window 909, card 909a displays the save control 909b corresponding to the reverse image of Wang Wu's ID card, and the save control 909c corresponding to the reverse image of Li Si's ID card. If terminal device 10 detects that the user has clicked save control 909b, then terminal device 10 can determine that the user has selected the reverse image of Wang Wu's ID card.

[0335] Furthermore, terminal device 10 can display window 909d to perform security verification based on user operation. After passing the security verification, terminal device 10 can perform security verification based on the aforementioned... Figure 9c The process is essentially the same: the card information from the image on the back of Wang Wu's ID card is filled into the aforementioned personal information interface 907, so that the personal information management service can save the card information from the image on the back of Wang Wu's ID card based on the aforementioned personal information interface 907.

[0336] Furthermore, after the personal information management service saves the card information, the terminal device 10 can, based on the intelligent assistant, only disable the save control 909b (e.g., make it grayed out), while keeping the save control 909c active. Therefore, when the terminal device 10 returns to window 909 based on the user's action, it can continue to save the card information from the reverse image of Li Si's ID card using the save control 909c. Clearly, based on this method, after the user selects the save function, the terminal device 10 can sequentially save the card information of multiple individuals selected by the user based on the user's actions.

[0337] Similarly, this application embodiment does not impose limiting descriptions on the image content displayed on interface 905. For example, Figure 9f When interface 905 displays another image, it is based on... Figure 9e A schematic diagram illustrating the essentially the same process for achieving the save function.

[0338] See Figure 9fTerminal device 10 can display the aforementioned image 905c on interface 905. When it detects that the user has clicked control 905b, terminal device 10 can display window 910 on top of interface 905 based on the intelligent assistant. Cards 910a in window 910 are used to display save controls corresponding to each person, and when the same person has multiple corresponding card images, multi-select controls for each card image corresponding to that person are displayed. Here, a person without an ID card image can have an image corresponding to an adjacent person with an ID card image. Figure 9f As shown, the image on the back of Wang Wu's ID card corresponds to Wang Wu, the image on the back of Li Si's ID card corresponds to Li Si, and the image on the front of the bank card is adjacent to the image on the back of Li Si's ID card. Therefore, the image on the front of the bank card corresponds to Li Si.

[0339] Specifically, terminal device 10 can display a save control 910b corresponding to Wang Wu and a save control 910e corresponding to Li Si on card 910a. Save control 910b allows the user to save the card information from the back image of Wang Wu's ID card. Save control 910e can save the card information from the back image of Li Si's ID card and / or the front image of his bank card, based on the multi-select control 910c corresponding to the back image of Li Si's ID card and the multi-select control 910d corresponding to the front image of his bank card. In one example, terminal device 10 can set the default state of a multi-select control without an ID card image (e.g., the multi-select control 910d corresponding to the front image of the bank card) to a selected state.

[0340] like Figure 9f As shown, if terminal device 10 detects that the user clicked on both multi-select controls 910c and 910d, and also clicked on the save control 910e, then terminal device 10 can save the card information from both the back image of Li Si's ID card and the front image of his bank card as Li Si's card information. The saving process is the same as... Figure 9c The essence is the same, so I will not go into details here.

[0341] Furthermore, after detecting that the user has clicked on control 905b, terminal device 10 can display window 910' on top of interface 905 based on the intelligent assistant. The display method of card 910a' in window 910' for images without identification cards differs from that of card 910a mentioned earlier. Specifically, terminal device 10 can use card 910a' to display images without identification cards as the corresponding card images for each individual. For example... Figure 9fAs shown, the multi-select control 910d corresponding to the front image of the bank card can be displayed in the display area corresponding to Wang Wu and the display area corresponding to Li Si. Correspondingly, the save control 910b corresponding to Wang Wu is used to save the card information in the back image of Wang Wu's ID card and / or the front image of the bank card, and the save control 910e corresponding to Li Si is used to save the card information in the back image of Li Si's ID card and / or the front image of the bank card.

[0342] Furthermore, the terminal device 10 can set the default state of the multi-select control corresponding to the image without an ID card based on the location of the image without an ID card. In one example, since the front image of the bank card is adjacent to the back image of Li Si's ID card, the terminal device 10 can set the default state of the multi-select control 910d in the display area corresponding to Li Si to the selected state.

[0343] For example, Figure 9g This diagram illustrates the process of implementing the saving function when multiple card images correspond to the cards of multiple individuals. Here, the terminal device 10 can save a person's card information based on the controls corresponding to each person.

[0344] See Figure 9g After the terminal device 10 displays an image 910a containing multiple card images on the interface 910, the terminal device 10 can recommend a save function to the user based on the content of the image 910a using the intelligent assistant display control 910b. After detecting that the user has clicked the control 910b, the terminal device 10 can determine, based on the aforementioned steps S800, S801, and S805, that the multiple card images in the image 910a correspond to multiple cards from different people. Specifically, as shown... Figure 9e As shown, the multiple card images in Figure 910a are the back of Wang Wu's ID card, the back of Li Si's ID card, the front of Wang Wu's student ID card (i.e., the side with his name information), and the front of a bank card.

[0345] Furthermore, the terminal device 10 can display a window 911 on top of the interface 910 based on the intelligent assistant. The window 911 includes a card 911a, which displays single-selection controls for each person, multiple-selection controls for each image without an ID card, and a confirmation control for saving one or more card images. For example, card 911a may include a single-selection control 911b for Wang Wu, a single-selection control 911c for Li Si, a multiple-selection control 911d for the front image of a bank card, and a confirmation control 911e. The single-selection control 911b is used to select the back image of Wang Wu's ID card and the front image of Wang Wu's student ID card; the single-selection control 911c is used to select the back image of Li Si's ID card; the multiple-selection control 911d is used to select the front image of a bank card; and the confirmation control 911e is used to save the one or more card images selected by the user.

[0346] like Figure 9g As shown, if the system detects that the user clicks on both the radio button 911c and the multi-select button 911d, and then clicks on the OK button 911e, the terminal device 10 can save the card information from the image of the back of Li Si's ID card and the image of the front of his bank card as Li Si's card information. The saving process is the same as described above. Figure 9c The process shown is essentially the same, and will not be repeated here.

[0347] Furthermore, it is understood that if the user clicks the radio button 911b and then clicks the OK button 911e, the terminal device 10 can save the card information from the back image of Wang Wu's ID card and the front image of Wang Wu's student ID card as Wang Wu's card information.

[0348] In this embodiment, the display content of the terminal device 10 is not described in a limiting manner. Figure 9h This diagram illustrates the process of implementing the saving function when multiple card images correspond to the cards of multiple people.

[0349] See Figure 9h Interface 910' can display image 910a', which may include the back image of Wang Wu's ID card, the front image of Wang Wu's student ID card, and the back image of Li Si's ID card. At this time, terminal device 10 can display window 911' on top of interface 910' based on the intelligent assistant. Window 911' includes card 911a', which may include a radio button 911b' for Wang Wu, a radio button 911c' for Li Si, and the aforementioned confirmation control 911e. Radio button 911b' is used to select the back image of Wang Wu's ID card and the front image of Wang Wu's student ID card; radio button 911c' is used to select the back image of Li Si's ID card; and confirmation control 911e is used to save one or more card images selected by the user.

[0350] The following will combine Figures 9i to 9j This paper explains the process of implementing the collection function in a multi-card scenario.

[0351] For example, Figure 9i This diagram illustrates the process of implementing the collection function when multiple card images correspond to the same card.

[0352] Here, after the terminal device 10 displays the aforementioned image 900a on the interface 900, the terminal device 10 can recommend a favorites function to the user based on the content of image 900a using the intelligent assistant display control 900c. After detecting that the user has clicked control 900c, the terminal device 10 can determine, based on the aforementioned steps S800 to S802, that multiple card images in image 900a correspond to the same card. Specifically, for example... Figure 9i As shown in Figure 900a, the multiple card images are images of the front and back of Li Si's ID card.

[0353] Furthermore, the terminal device 10 can directly save all card information from multiple card images using a note-taking application. Specifically, in one example, the terminal device 10 can use a smart assistant to input two card images from image 900a into the note-taking application, allowing the note-taking application to extract card information based on the two input card images. The note-taking application can then display a note-taking interface 920 and a settings window 921 (essentially the same as the aforementioned settings window 602c). When a user clicks on the confirmation control 921a in the settings window 921, the terminal device 10 can close the settings window 921 and display the complete note-taking interface 920 to the user.

[0354] Furthermore, since the two card images in image 900a correspond to the same card, the note-taking application can integrate the two card images together for display based on the note-taking interface 923. For example, it can first display the two card images, and then display the card information from the two card images. Specifically, the note-taking interface 920 can display the two card images in image 900a based on display area 920a, and can display the extracted card information based on display area 920b (only part of the extracted card information is shown in the figure).

[0355] Furthermore, the note-taking application can save image 900a based on the note-taking interface 920 that displays two card images and card information.

[0356] For example, Figure 9j This diagram illustrates the process of implementing a collection function when multiple card images correspond to different cards of the same person.

[0357] Here, after the terminal device 10 displays the aforementioned image 902a on the interface 902, the terminal device 10 can recommend a favorites function to the user based on the content of image 902a using the intelligent assistant display control 902c. After detecting that the user has clicked control 902c, the terminal device 10 can determine, based on the aforementioned steps S800, S801, S802, and S804, that multiple card images in image 902a correspond to different cards of the same person. Specifically, as... Figure 9j As shown, the multiple card images in Figure 902a are the back of an ID card and the front of a bank card.

[0358] Furthermore, the terminal device 10 can display a window 922 on top of the interface 902 based on the intelligent assistant. The card 922a in window 922 displays a multi-select control 922b corresponding to the back image of the ID card in image 922a, and a multi-select control 922c corresponding to the front image of the bank card. If the terminal device 10 detects that the user has clicked on multi-select controls 922b and 922c, and also clicked on the confirmation control 922d in card 922a, then the terminal device 10 can determine that the user has selected the back image of the ID card and the front image of the bank card in image 902a.

[0359] Furthermore, the terminal device 10 can directly save all card information from the back image of the ID card and the front image of the bank card using the note-taking application. Specifically, in one example, the terminal device 10 can use a smart assistant to segment the image 902a to extract the back image of the ID card and the front image of the bank card. Then, the terminal device 10 can use the smart assistant to send the segmented back image of the ID card and the front image of the bank card to the note-taking application, allowing the application to extract card information based on the two images. The note-taking application can then display the note-taking interface 923 and the aforementioned settings window 921. When a user clicks the confirmation control 921a in the settings window 921, the terminal device 10 can close the settings window 921 and display the complete note-taking interface 923 to the user.

[0360] The note-taking application can set the title of the note interface 923 to "Li Si's Cards and Certificates" based on the name information of Li Si included in the image of the back of the ID card. Furthermore, since the two card images in image 902a correspond to different cards and certificates, the note-taking application can display the image of the back of the ID card and a table containing the card and certificate information from that image, as well as the image of the front of the bank card and a table containing the card and certificate information from that image, respectively, on the note interface 923. Specifically, the note interface 923 can display the image of the back of the ID card in image 902a in display area 923a, display the extracted card and certificate information from the image of the back of the ID card in display area 923b (only a portion of the extracted card and certificate information is shown in the figure), display the image of the front of the bank card in image 902a in display area 923c, and display the extracted card and certificate information from the image of the front of the bank card in display area 923d (only a portion of the extracted card and certificate information is shown in the figure). Furthermore, the note-taking application can implement a bookmarking function for image 902a based on the note interface 923 displaying the two card and certificate images and their information.

[0361] Furthermore, when the terminal device 10 returns to the window 922 from the note interface 923 based on the user's operation, the terminal device 10 can set the card 922a to an inoperable state, such as setting it to gray, based on the smart assistant, to indicate to the user that the current collection function has been completed.

[0362] Furthermore, when multiple card images correspond to multiple cards belonging to multiple people, the process of implementing the collection function is essentially the same as the process of implementing the save function when multiple card images correspond to multiple cards belonging to multiple people. For details, please refer to the aforementioned... Figures 9c to 9h The specific details are omitted here.

[0363] The following will combine Figures 10a to 10c This paper explains the process of implementing the function of copying the document number in a multi-card and document scenario.

[0364] For example, Figure 10a A schematic diagram of an interface for implementing the function of copying ID numbers is shown.

[0365] Specifically, after displaying an image 1000a containing multiple card images on the interface 1000, the terminal device 10 can recommend the document number copying function to the user based on the content of the image 1000a by displaying a control 1000b on the smart assistant. After detecting that the user has clicked on the control 1000b, the terminal device 10 can extract the document number information from each card image of the image 1000a based on the smart assistant and display a window 1001 on top of the interface 1000. The window 10001 includes a card 1001a, which can display the document number information from each card image of the image 1000a and its corresponding copy control in a left-to-right and top-to-bottom order.

[0366] See Figure 10a As shown, terminal device 10 can display multiple card images corresponding to different people. Specifically, image 1000a includes the back image of Wang Wu's ID card, the back image of Li Si's ID card, and the front image of a bank card. Therefore, after extracting the document number information from each card image based on the intelligent assistant, terminal device 10 can display the document number information "77885522" from the back image of Wang Wu's ID card and its corresponding copy control 1001b, the document number information "999999999" from the back image of Li Si's ID card and its corresponding copy control 1001c, and the document number information "1122334455667788" from the front image of the bank card and its corresponding copy control 1001d on card 1001a. Furthermore, terminal device 10 can copy the document number information corresponding to a copy control clicked by the user to the clipboard, the process being the same as described above. Figure 7a The process shown is essentially the same, and will not be repeated here.

[0367] In addition, the terminal device 10 can also display one or more card function controls corresponding to the image 1000a below the card 1001a to further recommend relevant card functions to the user. For example, the terminal device 10 can display a control 1001e corresponding to the save function and a control 1001f corresponding to the favorite function below the card 1001 to further recommend the save and favorite functions to the user.

[0368] For example, Figure 10b This diagram illustrates another interface for implementing the function of copying ID numbers.

[0369] Specifically, after detecting that the user clicked on control 1000b, terminal device 10 can extract the document number information from each card image of image 1000a based on the intelligent assistant, and display window 1002 on the upper layer of interface 1000. Window 10002 includes card 1002a. Card 1002a can display the document number information corresponding to different people in image 1000a and their corresponding copy control in order from left to right and from top to bottom, according to different people classification standards.

[0370] See Figure 10b As shown in image 1000a, which includes the back images of Wang Wu's ID card and Li Si's ID card, as well as the front image of a bank card, terminal device 10 can display the areas corresponding to "Wang Wu's ID card," "Li Si's ID card," and "unclaimed ID card" in card 1002a, respectively. Specifically, terminal device 19 can display the ID number "77885522" from the back image of Wang Wu's ID card and its corresponding copy control 1002b in the area corresponding to "Wang Wu's ID card," the ID number "999999999" from the back image of Li Si's ID card and its corresponding copy control 1002c in the area corresponding to "Li Si's ID card," and the ID number "1122334455667788" from the front image of the bank card and its corresponding copy control 1002d in the area corresponding to "unclaimed ID card." Furthermore, the terminal device 10 can copy the ID number information corresponding to a copy control clicked by the user to the clipboard, a process similar to that described above. Figure 7a The process shown is essentially the same, and will not be repeated here.

[0371] It's understandable that the implementation process for other copy functions, such as copy address, copy name, and copy all information, is similar to... Figure 10a and Figure 10b The process shown is essentially the same, so it will not be repeated here.

[0372] For example, Figure 10cThis diagram illustrates another interface for implementing the function of copying ID numbers.

[0373] See Figure 10c As shown, terminal device 10 can display multiple card images corresponding to the same person. Specifically, terminal device 10 can display an image 1003a containing multiple card images on interface 1003, including an image of the back of Wang Wu's ID card and an image of the front of a bank card. Terminal device 10 can recommend the function of copying the ID number to the user based on the content of image 1003a by displaying control 1003b on the intelligent assistant. After detecting that the user clicked on control 1003b, terminal device 10 can extract the ID number information from each card image in image 1003a based on the intelligent assistant and display window 1004 on top of interface 1003. Window 1004 includes card 1004a, which can display the ID number information from each card image in image 1003a and its corresponding copy control in order from left to right and from top to bottom.

[0374] For example, after extracting the ID number information from each card image based on the intelligent assistant, terminal device 10 can display the ID number information "77885522" from the back image of Wang Wu's ID card and its corresponding copy control 1004b in card 1004a, and the ID number information "1122334455667788" from the front image of the bank card and its corresponding copy control 1004c. Furthermore, terminal device 10 can copy the ID number information corresponding to a copy control clicked by the user to the clipboard, a process similar to the aforementioned... Figure 7a The process shown is essentially the same, and will not be repeated here.

[0375] The following will combine Figure 11a This document explains the process of implementing the function of creating a new contact in a multi-card / certificate scenario.

[0376] For example, Figure 11a This diagram illustrates an interface for implementing the function of creating a new contact in a multi-card / certificate scenario.

[0377] Here, after displaying an image 1002a containing multiple card images on the interface 1002, the terminal device 10 can display a control 1002b corresponding to creating a new contact and a control 1002c corresponding to the call function based on the smart assistant, recommending the new contact and call functions to the user based on the content of image 900a. After detecting that the user clicked on control 1002b, the terminal device 10 can extract contact information and phone number information from each card image in image 1002a based on the smart assistant, and display window 1003 on top of the interface 1002.

[0378] like Figure 11a As shown, terminal device 10 can extract contact information and phone number information for Li Si and Wang Wu based on the intelligent assistant. Then, terminal device 10 can import the two sets of contact information and phone number information into a phonebook application, allowing the phonebook application to create two new contacts, including Li Si and Wang Wu.

[0379] Furthermore, the terminal device 10 can prompt the user about newly created contacts based on the card 1003a in the window 10003. Specifically, the card 1003a may include a control 1003b corresponding to Li Si and a control 1003c corresponding to Wang Wu. Control 1003b is used to jump to the contact interface corresponding to Li Si in the phonebook application, and displays the extracted contact information and phone number information corresponding to Li Si, as well as the location (e.g., location B) and operator (e.g., operator b) determined based on the phone number information. Control 1003c is used to jump to the contact interface corresponding to Wang Wu in the phonebook application, and displays the extracted contact information and phone number information corresponding to Wang Wu, as well as the location (e.g., location A) and operator (e.g., operator a) determined based on the phone number information.

[0380] In addition, card 1003a may also include controls 1003d and 1003e corresponding to the call function, wherein control 1003d is used to dial Li Si's phone number, and control 1003e is used to dial Wang Wu's phone number. Based on controls 1003d and 1003e, terminal device 10 can recommend the call function to the user after performing the new contact function.

[0381] In addition, in order to enable the function of creating new contacts based on the smart assistant, the terminal device 10 needs to enable the smart assistant's permission to create new contacts based on user operation.

[0382] The following will combine Figure 11b This paper explains the process of implementing call functionality in a multi-card / certificate scenario.

[0383] For example, Figure 11b This diagram illustrates an interface for implementing call functionality in a multi-card / ID scenario.

[0384] Here, after detecting that the user clicked on control 1002c, terminal device 10 can extract the phone number information from each card image in image 1002a based on the smart assistant, and display window 1004 on the upper layer of interface 1002.

[0385] like Figure 11bAs shown, terminal device 10 can extract Li Si's phone number information and Wang Wu's phone number information based on the intelligent assistant. Then, terminal device 10 can prompt the user with the phone number being extracted based on card 1004a in window 10004. Specifically, card 1003a may include controls 1004b and 1004c. The text content of control 1004b may include Li Si's extracted phone number "99988877", Li Si's name, and the location (e.g., location B) and carrier (e.g., carrier b) of Li Si's phone number. Control 1004b is used to jump to the dialing interface in the calling application, where a call has already been made based on Li Si's phone number. The text content of control 1004c may include Wang Wu's extracted phone number "333444", Wang Wu's name, the location of Wang Wu's phone number (e.g., location A) and the operator (e.g., operator a). Control 1004c is used to jump to the dialing interface of the call application, which has already completed the dialing based on Wang Wu's phone number.

[0386] Furthermore, the terminal device 10 can make phone calls through the calling application based on the user's click operation on control 1004b or control 1004c. The specific process is the same as described above. Figure 7e The content is essentially the same, so I will not repeat it here.

[0387] For example, Figure 11c This diagram illustrates an interface for implementing the "Create New Contact" function in a multi-card / ID scenario. Here, the terminal device 10 can input an image containing multiple business cards into the smart assistant based on user input, and then execute the "Create New Contact" function based on the smart assistant's recommendation.

[0388] See Figure 11c The terminal device 10 can invoke the smart assistant in the interface 1100 based on user operation, so as to pass the image 1101a into the smart assistant's window 1101. The image 1101a includes the front image of Li Si's business card and the front image of Wang Wu's business card. Then, the terminal device 10 can recommend the new contact function to the user based on the content of the image 1101a. For example, the terminal device 10 can display the control 1101b corresponding to the new contact function in the window 1101 based on the smart assistant.

[0389] If the user clicks on control 1101b, the terminal device 10 can display a prompt box 1101c based on the smart assistant to inform the user that contact information and phone number information, as well as other card information, are currently being extracted from two business cards. After the card information is extracted, the terminal device 10 can transfer the extracted card information to the phonebook application based on the smart assistant, so that the phonebook application can create new contacts based on the contact information and phone number information. Furthermore, the terminal device 10 can display card 1101d in window 1101 based on the smart assistant. Card 1101d includes controls 1101e and 1101f. Control 1101e is used to jump to the contact interface corresponding to Li Si in the phonebook application. The text content of control 1101e can include the extracted phone number "99988877", Li Si's name, and the location of Li Si's phone number (e.g., location B) and the carrier (e.g., carrier b). Among them, control 1101f is used to jump to the contact interface corresponding to Wang Wu in the phone book application. The text content of control 1101f may include Wang Wu's extracted phone number "333444", Wang Wu's name, and the location of Wang Wu's phone number (e.g., location A) and the operator (e.g., operator a).

[0390] For example, Figure 11d This diagram illustrates an interface for implementing call functionality in another multi-card scenario. Here, the terminal device 10 can transmit an image containing multiple business cards to the smart assistant based on user input, allowing the smart assistant to recommend and execute a call.

[0391] See Figure 11d The terminal device 10 can invoke the smart assistant on the interface 1100 based on user operation, so as to pass the image 1102a into the smart assistant's window 1102. The image 1102a includes the front image of Li Si's business card and the front image of Wang Wu's business card, and Wang Wu's business card includes two phone numbers.

[0392] Furthermore, terminal device 10 can recommend a call function to the user based on the intelligent assistant. For example, terminal device 10 can display a control 1102b corresponding to the call function in window 1102 based on the intelligent assistant. Terminal device 10 can determine that the user needs to perform the call function on image 1102a based on the intelligent assistant detecting that the user has clicked on control 1102b. Furthermore, terminal device 10 can extract the phone number information from image 1102a based on the intelligent assistant.

[0393] After retrieving the phone number information, the terminal device 10 can display card 1102c in window 1102. Card 1102c may include controls 1102d, 1102e, and 1102f. Control 1102d is used to dial the phone number "99988877" on Li Si's business card. Control 1102e is used to dial the phone number "333444" on Wang Wu's business card, and control 1102f is used to dial the phone number "123456" on Wang Wu's business card.

[0394] For example, Figure 12 A schematic diagram of the structure of terminal device 10 is shown.

[0395] Terminal device 10 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, a headphone jack 170D, a sensor module 180, buttons 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, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity 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.

[0396] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the terminal device 10. In other embodiments of this application, the terminal device 10 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0397] The wireless communication function of the terminal device 10 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor. In this embodiment, the smart assistant in the terminal device 10 can send the card image to the large model in the server based on the wireless communication function, and receive the card information returned by the server based on the wireless communication function.

[0398] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 10 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0399] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the terminal device 10. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.

[0400] The wireless communication module 160 can provide solutions for wireless communication applications on the terminal device 10, 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 (NFC), infrared (IR) technology, etc.

[0401] Terminal device 10 implements display functions through a GPU, display screen 194, and application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0402] The external storage interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the terminal device 10. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.

[0403] Internal memory 121 can be used to store computer executable program code, including instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of terminal device 10 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of terminal device 10 by running instructions stored in internal memory 121 and / or instructions stored in memory located within the processor.

[0404] In this embodiment of the application, the terminal device 10 may store card information based on an external storage card and / or an internal storage device 121.

[0405] The pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In this embodiment, the terminal device 10 can receive user operations based on the pressure sensor 180A.

[0406] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit 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 display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of terminal device 10, in a different position than display screen 194.

[0407] In this embodiment, the terminal device 10 may receive user operations based on the pressure sensor 180A and / or the touch sensor 180K.

[0408] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 10 can utilize the collected fingerprint characteristics to achieve fingerprint unlocking, access application lock, fingerprint photography, fingerprint answering of incoming calls, etc. In this embodiment, the terminal device 10 can perform security verification based on the fingerprint sensor 180H.

[0409] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Terminal device 10 can receive button input and generate key signal inputs related to user settings and function control of terminal device 10.

[0410] Figure 13 This is a software structure block diagram of the terminal device 10 according to an embodiment of this application.

[0411] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, Android... TM The system is divided into four layers, from top to bottom: application layer, application framework layer, and Android. TM runtime (Android) TM runtime and system libraries, as well as the kernel layer.

[0412] The application layer can include a series of application packages.

[0413] like Figure 13 As shown, the application package may include applications such as smart assistants, note-taking applications, personal information management services, input method applications, calling applications, phonebook applications, navigation applications, instant messaging applications, and SMS applications.

[0414] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

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

[0416] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.

[0417] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, etc.

[0418] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.

[0419] The phone manager is used to provide communication functions for terminal device 10. For example, it manages call status (including connection, hang-up, etc.).

[0420] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0421] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating the device, and flashing indicator lights.

[0422] Android TM Runtime includes core libraries and a virtual machine. Android TM The runtime is responsible for scheduling and management of the Android system.

[0423] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

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

[0425] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0426] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0427] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

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

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

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

[0431] This application also provides a computer-readable medium for implementing the card processing methods provided in the above embodiments.

[0432] This application also provides a computer program product for implementing the card processing methods provided in the above embodiments.

[0433] Various embodiments of the mechanisms disclosed in this application can be implemented in hardware, software, firmware, or combinations of these implementation methods. Embodiments of this application can be implemented as computer program modules or module code executable on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.

[0434] Computer program modules or module code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application-specific integrated circuit (ASIC), or a microprocessor.

[0435] Module code can be implemented using a high-level modular language or an object-oriented programming language to communicate with the processing system. Assembly language or machine language can also be used to implement module code when needed. In fact, the mechanisms described in this application are not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.

[0436] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored thereon on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine-readable (e.g., computer-readable) form, including but not limited to floppy disks, optical disks, optical discs, magneto-optical disks, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable storage for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in the form of electrical, optical, acoustic, or other forms of propagated signals. Therefore, machine-readable media include any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a machine-readable (e.g., computer-readable) form.

[0437] In this specification, the reference to "an embodiment" or "an embodiment" means that a specific feature, structure, or characteristic described in connection with the embodiment is included in at least one exemplary implementation or technology disclosed according to an embodiment of this application. The appearance of the phrase "in an embodiment" in various places in the specification does not necessarily refer to the same embodiment.

[0438] The disclosure of embodiments of this application also relates to means for performing operations in text. This means may be specifically constructed for the claimed purpose or may include a general-purpose computer selectively activated or reconfigured by a computer program stored in a computer. Such a computer program may be stored on a computer-readable medium, such as, but not limited to, any type of disk, including floppy disks, optical disks, CD-ROMs, magneto-optical disks, read-only memory (ROM), random access memory (RAM), EPROM, EEPROM, magnetic or optical cards, application-specific integrated circuits (ASICs), or any type of medium suitable for storing electronic instructions, and each may be coupled to a computer system bus. Furthermore, the computer mentioned in the specification may include a single processor or may employ an architecture involving multiple processors for increased computing power.

[0439] Furthermore, the language used in this specification has been primarily chosen for readability and instructional purposes and may not have been chosen to depict or limit the disclosed subject matter. Therefore, the embodiments disclosed herein are intended to illustrate, and not limit, the scope of the concepts discussed herein.

Claims

1. A data processing method applied to a terminal device, characterized in that, The method includes: At least one card image was detected in the first interface; Display multiple controls corresponding to multiple card functions, wherein the card functions include functions related to at least a portion of the card information in the card image; The system detects that a user selects a first control among the plurality of controls, wherein the first control corresponds to a first card function among the plurality of card functions; The first application corresponding to the first card function executes the first card function based on the first card information, wherein the first card information is the card information in the at least one card image that corresponds to the first card function.

2. The method according to claim 1, characterized in that, The terminal device includes a second application, wherein the multiple controls that display and correspond to the multiple card functions respectively include: The second application displays the plurality of controls when it detects that the first interface includes at least one card image.

3. The method according to claim 2, characterized in that, The first interface includes a second control corresponding to the second application. When the second application detects that the first interface includes at least one card image, it displays multiple controls corresponding to multiple card functions, including: In response to the user clicking the second control, When the second application detects that the first interface includes at least one card image, it displays multiple controls corresponding to the multiple card functions respectively.

4. The method according to claim 1, characterized in that, The multiple card functions are determined based on the content of the card information in the at least one card image.

5. The method according to claim 2, characterized in that, The first card information is obtained by the first application or the second application from the at least one card image.

6. The method according to claim 1 or 2, characterized in that, The first interface includes multiple card images. The first card information includes the card information corresponding to the first card function in each of the plurality of card images. Alternatively, the first card information may include card information corresponding to the first card function from one or more card images selected by the user among the plurality of card images.

7. The method according to claim 1 or 2, characterized in that, The first interface includes multiple card images, and the first application corresponding to the first card function executes the first card function based on the first card information, including: When the multiple card images contain card information for at least two people, a control corresponding to each person is displayed; In response to a user's selection operation of a control on one or more of the at least two people, the first card function is executed based on the first card information, wherein the first card information includes card information corresponding to the one or more people in the plurality of card images.

8. The method according to any one of claims 1 to 7, characterized in that, The card / certificate function includes at least one of the following: Storage function, copy function, call function, new contact function, navigation function, instant messaging function, SMS function.

9. The method according to claim 8, characterized in that, Corresponding to the first function is the storage function, the first card information includes all card information in the at least one card image; Alternatively, corresponding to the first function as the copying function, the first card information includes all or part of the card information in the at least one card image; Alternatively, corresponding to the first function as the call function, the first card information includes telephone number information and / or social account information in the card information of the at least one card image; Alternatively, corresponding to the first function as the new contact function, the first card information includes contact information and contact information in the card information of the at least one card image; Alternatively, corresponding to the first function as the navigation function, the first card information includes the address information in the card information of the at least one card image; Alternatively, corresponding to the first function as the instant messaging function, the first card information includes social account information in the card information of the at least one card image; Alternatively, corresponding to the first function as the SMS function, the first card information includes the phone number information in the card information of the at least one card image.

10. The method according to claim 9, characterized in that, The step of executing the first card function through the first application corresponding to the first card function based on the first card information includes: The first application corresponding to the first card function executes the first card function based on the first card information and displays the second interface of the first application corresponding to the first card function.

11. A terminal device, characterized in that, include: One or more processors; One or more memories; the one or more memories store one or more programs that, when executed by the one or more processors, cause the terminal device to perform the data processing method according to any one of claims 1 to 10.

12. A computer-readable medium, characterized in that, The readable medium stores instructions that, when executed on a computer, cause the computer to perform the data processing method according to any one of claims 1 to 10.

13. A computer program product, characterized in that, It includes a computer program / instruction that, when executed by a processor, implements the data processing method according to any one of claims 1 to 10.