An application processing method, a computer readable storage medium, an electronic device and a computer program product

By displaying a camera icon floating in the application page and switching video streams, the cumbersome process of selecting an image from the album to scan a QR code after taking a screenshot has been solved, achieving convenient and efficient QR code scanning and image uploading.

CN122317201APending Publication Date: 2026-06-30ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZTE CORP
Filing Date
2024-12-30
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

In existing technologies, the process of selecting an image from the album after taking a screenshot for scanning is cumbersome and slow, resulting in a poor user experience.

Method used

By intelligently recognizing the need to access the camera in the application page, displaying the camera icon or target application in a floating manner, and switching the content of the display interface or pre-saved images in the video capture window, rapid recognition is achieved.

Benefits of technology

It simplifies the user operation process, improves the convenience and efficiency of scanning codes and uploading images, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122317201A_ABST
    Figure CN122317201A_ABST
Patent Text Reader

Abstract

This application provides an application processing method, a computer-readable storage medium, an electronic device, and a computer program product. The method includes: determining whether a camera is triggered by the display interface of a current application or triggered by a target application; displaying a corresponding camera icon or the target application floating at a predetermined position on the display interface; displaying a video capture window in response to a trigger command that triggers the camera icon or the target application; switching the video stream of the video capture window to the display content of the display interface or a pre-stored image, and recognizing the pre-stored image, or recognizing the display content of the display interface through the target application. This application solves the problem of cumbersome and slow-responding processes in related technologies where users select an image from the album after taking a screenshot and scan it or upload a corresponding pre-stored image, making the user experience more convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and more specifically, to an application processing method, a computer-readable storage medium, an electronic device, and a computer program product. Background Technology

[0002] Most commonly used handheld devices such as mobile phones have basic functions such as front and rear cameras and screen capture. Users often perform operations such as browsing, taking pictures, scanning QR codes, and scanning QR codes after taking screenshots based on the specific application usage scenarios and requirements.

[0003] However, in actual use, users encounter numerous inconveniences. For example, when browsing common websites like Zhihu on their mobile phones, if login is required, these websites ask users to scan a QR code displayed on the page. Some websites' apps even require login via camera scanning only, lacking the option to scan from the photo album or specifically detecting and indicating that login via photo album scanning is not possible. Other applications require users to take photos of their ID cards, but only offer a direct photo-taking function. If the ID card is not readily available, even if the photo is on the phone, the transaction cannot be completed.

[0004] Even if an app allows users to select an image from their album after taking a screenshot for scanning, the actual user experience is still quite inconvenient. The steps are: first, take a screenshot; second, open the corresponding app; third, click "select from album" on the app's scanning interface; fourth, find the screenshot and scan it. Often, after clicking "select from album," the app implements its own interface listing all images on the phone, instead of allowing users to directly select images from the system's built-in photo album app. Common problems with these app-implemented image selection interfaces include: 1. Slow image loading, unlike the phone's built-in photo album which has pre-loading (even with caching, due to infrequent use, many new images may be generated during each scan, making pre-loading ineffective); 2. Inconsistent display modes, categorization methods, and sorting orders. This makes the simple step of selecting a screenshot image on this interface difficult for a single user, requiring waiting and searching.

[0005] No solution has yet been proposed for the cumbersome and slow-response process of selecting an image from the album for scanning a QR code or uploading a pre-stored image after taking a screenshot in related technologies. Summary of the Invention

[0006] This application provides an application processing method, a computer-readable storage medium, an electronic device, and a computer program product to at least solve the problem of cumbersome and slow response in the related art when selecting an image from the album for scanning after taking a screenshot.

[0007] According to one embodiment of this application, an application processing method is provided, the method comprising:

[0008] Determine whether the camera access is triggered by the current application's display interface or by the target application;

[0009] The corresponding camera icon or the target application is displayed floating at a predetermined position on the display interface;

[0010] In response to triggering the camera icon or a trigger command from the target application, a video capture window is displayed;

[0011] The video stream of the video capture window is switched to the display content of the display interface or a pre-stored image, and the pre-stored image is identified, or the display content of the display interface is identified through the target application.

[0012] According to yet another embodiment of this application, a computer-readable storage medium is also provided, wherein a computer program is stored therein, and the computer program is configured to perform the steps in any of the above method embodiments when it is run.

[0013] According to yet another embodiment of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0014] According to yet another embodiment of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0015] Through the above embodiments of this application, when the content of the current display interface triggers a need to call the camera, such as a QR code login interface or a scenario requiring the upload of a pre-defined image (such as an ID photo), the camera entry or target application is displayed in a floating manner, making it convenient for the user to launch the corresponding application. Depending on the scenario, the content of the video capture window is switched to the display content of the current interface or a pre-stored image. Then, the target application identifies the display content or pre-stored image of the display interface, which can solve the problem of cumbersome and slow response in related technologies where screenshots are taken and images are selected from the album for QR code scanning or the corresponding pre-stored images are uploaded, making the user experience more convenient. Attached Figure Description

[0016] Figure 1 This is a hardware structure block diagram of the mobile terminal used in the method embodiments of this application;

[0017] Figure 2 This is a flowchart of an application processing method according to an embodiment of this application;

[0018] Figure 3 This is a schematic diagram of QR code login according to an embodiment of this application. Figure 1 ;

[0019] Figure 4 This is a schematic diagram of using a camera to capture images of identification documents according to an embodiment of this application. Figure 1 ;

[0020] Figure 5 This is a schematic diagram of bank card upload according to an embodiment of this application;

[0021] Figure 6 This is a schematic diagram of QR code login according to an embodiment of this application. Figure 2 ;

[0022] Figure 7 This is a schematic diagram of using a camera to capture images of identification documents according to an embodiment of this application. Figure 2 ;

[0023] Figure 8 This is a flowchart of the QR code login process according to an embodiment of this application;

[0024] Figure 9 This is a structural block diagram of an application processing apparatus according to an embodiment of this application. Detailed Implementation

[0025] The embodiments of this application will be described in detail below with reference to the accompanying drawings and examples.

[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0027] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of the mobile terminal used in the embodiments of the method of this application. For example... Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0028] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the application processing method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thus implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0029] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0030] This embodiment provides an application processing method running on the aforementioned mobile terminal or network architecture. Figure 2 This is a flowchart of an application processing method according to an embodiment of this application, such as... Figure 2 As shown, the process includes the following steps:

[0031] Step S202: Determine whether the camera is triggered by the current application's display interface or by the target application.

[0032] Mobile terminals continuously monitor running applications through an AI subsystem, particularly changes to their user interface (UI) and function calls. Specifically, it monitors whether applications request camera access or call camera-related application programming interfaces (APIs). By analyzing screen content, it identifies whether the application interface contains graphic elements related to camera operation, such as "Open Camera," "Scan QR Code," or "Take Photo" buttons. This can be achieved using Optical Character Recognition (OCR) or image recognition technologies to identify specific patterns or text and determine whether the current interface indicates an intention to access the camera. It also analyzes the user's operational context within the application, such as whether the user is performing a specific operation requiring camera intervention, like logging in, making payments, or scanning documents. This can be done by monitoring user clicks and swipes within the application and combining this with AI models to predict the purpose of user actions and subsequent behaviors. The AI ​​(Artificial Intelligence) subsystem can learn the characteristics of different applications, including application names, icons, common UI layouts, and operational flows, to identify which applications might need to access the camera under what circumstances.

[0033] The AI ​​subsystem monitors user behavior over a long period to identify common patterns in their use of certain applications. For example, users often scan QR codes after browsing a website or frequently use document scanning functions in specific applications. It can memorize these patterns and anticipate and prepare responses when similar scenarios occur. It also listens for system-level events, such as applications requesting camera access or users clicking a button on the application interface, which is often the trigger for camera access. A machine learning model is built based on historical data and user behavior to predict whether the current interface will trigger camera access. This requires a large amount of training data, including user action sequences, application screenshots, and camera access records, to improve prediction accuracy.

[0034] By using the methods described above, it is possible to effectively determine when a user might need to access the camera and intervene at the appropriate time to provide a smoother user experience.

[0035] Step S204: Display the corresponding camera icon or target application floating at a predetermined position on the display interface;

[0036] Step S206: In response to triggering the camera icon or a trigger command from the target application, display the video capture window;

[0037] Step S208: Switch the video stream of the video capture window to the display content of the display interface or a pre-stored image, and identify the pre-stored image, or identify the display content of the display interface through the target application.

[0038] Through the above steps S202 to S208, the problem of cumbersome and slow response in the related technology of selecting an image from the album after taking a screenshot for scanning or uploading the corresponding pre-stored image can be solved, making the user experience more convenient.

[0039] The entities performing the above steps can be mobile terminals, tablet computers, etc., but are not limited to these.

[0040] This application's embodiments significantly improve the user experience by intelligently identifying camera access requests within the application page and directly providing the camera access entry or target application on the page, avoiding the inconvenience of frequently switching applications or interfaces. Simultaneously, through the video stream switching function, users can conveniently use pre-stored images or current page content for recognition, improving operational efficiency and recognition accuracy.

[0041] In this embodiment of the application, step S202 may specifically include: if a code to be identified is detected in the display interface, wherein the code to be identified may be a QR code, barcode, etc., it is determined that the camera is triggered by the target application; Figure 3 This is a schematic diagram of QR code login according to an embodiment of this application. Figure 1 ,like Figure 3 As shown, the corresponding camera icon or target application is displayed floating in a predetermined position on the screen. This design allows users to quickly access the camera without leaving the current application, greatly improving ease of operation and user experience. For example, when browsing a product details page, users can immediately scan the product's barcode or QR code to quickly obtain more information or make a purchase.

[0042] If the display interface indicates that a preset type of image should be taken, such as taking an ID photo or uploading a bank card, it is confirmed that the current application triggered the use of the camera. Figure 4 This is a schematic diagram of using a camera to capture images of identification documents according to an embodiment of this application. Figure 1 ,like Figure 4 As shown, the AI ​​subsystem uses computer vision technologies, such as image recognition and optical character recognition (OCR), to analyze the current application's display interface and find UI elements or prompts related to document photography, such as the "Shoot ID Card" button, ID card photography guide, or text prompts such as "Please shoot the following types of documents". Figure 5 This is a schematic diagram of bank card upload according to an embodiment of this application, such as... Figure 5As shown, the AI ​​subsystem continuously monitors the user interface of the current application, looking for UI elements or prompts related to bank card photography. For example, the interface may have a "Shoot Bank Card" button, or text prompts such as "Please upload your bank card image to complete registration." It can also use computer vision technology to identify specific elements on the interface, such as bank card icons or outlines. Alternatively, the AI ​​subsystem can analyze text information on the interface to identify if there is a requirement to upload or photograph a bank card. This may include natural language processing of explanatory text, titles, or button labels on the interface to understand the context of the operation. It can also monitor whether the current application requests camera access, a signal that it is preparing to access the camera; or monitor whether the application calls APIs related to camera operation and whether image capture is enabled. The AI ​​subsystem analyzes the user's historical operation data to identify common behavioral patterns that require photographing bank cards when using specific applications. For example, users often need to photograph their bank cards during payment settings and account verification. This mechanism can intelligently identify user needs and automatically switch to the most suitable recognition mode, reducing user operation steps and improving recognition efficiency. In travel apps, users can quickly scan their boarding passes or passports without having to manually enter information, enabling them to board quickly or check into hotels.

[0043] In this embodiment of the application, step S204 may specifically include:

[0044] On one hand, in response to retrieving the first application used for login via QR code scanning from the database, the system displays the first application or its camera entry point in a predetermined location on the screen. By remembering the application the user last used, the system can provide personalized services, reduce the time users spend searching for applications, and improve operational efficiency. For example, if a user frequently uses Alipay for QR code payments, the system will prioritize displaying Alipay's camera entry point the next time they scan a QR code, enabling quick payment.

[0045] On the other hand, in response to the absence of an application used in the last scan of the identification code from the database, the system retrieves the logged-in related applications from among the current application's multiple related applications and displays the logged-in related applications or their camera icons in a predetermined position on the display screen; or, in response to the absence of an application used in the last scan of the identification code from the database, it displays multiple related applications or their camera icons in a predetermined position on the display screen. This strategy ensures that even if the user does not have a specific preference, the system can provide multiple potentially related application entry points to meet the user's needs in different scenarios. In e-commerce applications, if the user does not specify which payment application to use, the system will display the icons of the logged-in payment applications, allowing the user to choose according to the actual situation, thus improving shopping flexibility.

[0046] In one embodiment, when multiple associated applications or their camera icons are displayed, a first selection instruction to select a second application is received. In response to the first selection instruction, the second application or its camera icon is displayed. That is, if multiple associated applications are displayed, the user can select one application, such as the second application. This design allows users to freely switch between multiple applications, meeting their personalized needs in different scenarios and enhancing application interactivity and user experience. For example, in social applications, users can choose to use the camera of WeChat or QQ to scan QR codes, flexibly choosing according to their usage habits.

[0047] In this embodiment of the application, step S208, which involves switching the video stream of the video capture window to the display content of the display interface, may specifically include: if the display interface displays a code to be identified and the user triggers a screenshot operation, in response to detecting the code to be identified and the screenshot operation in the display interface, storing the screenshot image in a temporary database; displaying a video stream switching button as a floating icon in the video capture window, and displaying a thumbnail of the screenshot image on the video stream switching button; when the user triggers the video stream switching button, in response to a first touch instruction that touches the video stream switching button, switching the video stream of the video capture window to the screenshot image, and scanning the screenshot image; or in response to a second touch instruction that selects an image from the album selection entry, retrieving the screenshot image from the temporary database, and scanning the screenshot image through the small window of the scanning interface. Figure 6 This is a schematic diagram of QR code login according to an embodiment of this application. Figure 2 ,like Figure 6 As shown, this simulates scanning content displayed on another real screen with a real mobile phone in a three-dimensional space. It allows users to perform recognition by taking screenshots or selecting images from their photo album when direct scanning is not possible, greatly expanding the application scenarios for QR code recognition. For example, in environments with poor signal, users can first take a screenshot of the QR code and then perform recognition after the network is restored.

[0048] In this embodiment, step S208, switching the video stream of the video capture window to the display content of the display interface, specifically includes: if the display interface shows a code to be identified but the user does not trigger a screenshot operation, in response to detecting the code to be identified in the display interface and not detecting a screenshot operation, a video stream switching button is displayed in the video capture window as a floating icon. When the user triggers the video stream switching button, in response to a third touch command on the video stream switching button, the video stream of the video capture window is switched to the display content of the display interface, i.e., the currently displayed content. This design allows users to quickly switch between scanning and viewing page content, improving operational efficiency. It is particularly suitable for scenarios that require frequent viewing of page information and scanning operations, such as in shopping applications where users can view product details while scanning a code to pay.

[0049] In an optional embodiment, before switching the video stream from the video capture window to the content displayed on the screen, the QR code to be recognized or all the content of the screen is retained. By retaining the page content, the user can quickly locate the QR code to be recognized after switching video streams, avoiding the hassle of searching again and improving recognition efficiency. For example, when reading an article, the user can first locate the QR code to be recognized, then switch the video stream, and quickly return to reading mode after recognition is completed.

[0050] In another embodiment, step S208 above, switching the video stream of the video capture window to a pre-stored image, may specifically include: if it is only for taking an image, in response to an instruction on the display interface to take a preset type of image, for example, prompting to take an ID photo, a thumbnail of a pre-stored image of the preset type is displayed floating at a predetermined position in the video capture window. Figure 7 This is a schematic diagram of using a camera to capture images of identification documents according to an embodiment of this application. Figure 2 ,like Figure 7 As shown, a thumbnail of the ID photo (i.e., the ID image) is displayed in a floating position. The thumbnail can be scaled down proportionally to obtain the image. When the user touches the thumbnail, the content displayed in the video capture window switches to a pre-stored image in response to the touch command. The user then selects one of the pre-stored images, i.e., the target image. The target image is then displayed in response to the selection command from the pre-stored images. This function allows users to directly select from pre-stored images when they need to capture specific types of images, avoiding the inconvenience of re-capturing. It is suitable for scenarios such as ID card recognition and document scanning. For example, in banking applications, users can quickly select a pre-stored ID card photo for identity verification without having to take a photo on-site.

[0051] In one embodiment, the image size can be automatically adjusted. Specifically, the size of the target image is acquired; the size of the target image is adjusted to match the standard image size in the video capture window; and the adjusted target image is displayed. By automatically adjusting the image size, the accuracy and consistency of image recognition are ensured, improving the success rate of recognition. This is particularly suitable for scenarios requiring high-precision recognition, such as in medical applications, where users can upload standard-sized medical record photos, and the system automatically adjusts the size for recognition, ensuring accurate information extraction.

[0052] In another embodiment, the image size can also be manually adjusted. Specifically, adjustment instructions for moving and / or scaling the image are received via a floating button on the interface or a sensor; the target image is then adjusted to match the standard image size in the video capture window according to the adjustment instructions; and the adjusted target image is displayed. This design provides a more flexible image control method, allowing users to manually adjust the image position and size as needed, enhancing the flexibility and accuracy of image recognition. It is suitable for various complex image recognition scenarios. For example, in design applications, users can finely adjust the position and size of the preview image to ensure the perfect presentation of the design.

[0053] Adjusting image size and controlling image position makes the image recognition process more flexible and user-friendly, further enhancing the app's practicality and user satisfaction. For example, it can be widely applied in various fields such as payment, social networking, e-commerce, tourism, healthcare, and education. Whether scanning QR codes, recognizing documents, uploading receipts, or conducting interactive remote education, it provides a smooth, efficient, and accurate recognition experience, greatly improving users' life and work efficiency.

[0054] The following describes the embodiments of this application in detail using scanning login as an example.

[0055] Figure 8 This is a flowchart of the QR code login process according to an embodiment of this application, such as... Figure 8 As shown, it includes:

[0056] Step S801: The mobile terminal with the AI ​​subsystem is in operation.

[0057] Once the mobile terminal is in motion, the AI ​​subsystem can monitor changes in the user interface state.

[0058] Step S802: Determine whether the user has entered a scene that requires screenshot scanning or simulated shooting. If the determination result is yes, proceed to step S803. When the user is operating the display interface of any application normally, determine whether the user has entered a scene that requires screenshot scanning or simulated shooting by real-time detection of the content currently viewed and operated by the user.

[0059] Step S803: The current scene is detected as a display interface that requires screenshotting and QR code scanning for login;

[0060] Step S804: Display the corresponding application or the QR code entry of the corresponding application directly in a predetermined position such as the edge of the screen, and retain the QR code displayed on the page at this time or retain the entire screen.

[0061] Step S805: The corresponding application is displayed in a floating window and the corresponding QR code scanning interface is opened. The video stream received by the application is switched to the display content of the current display interface.

[0062] Step S806: The user confirms the scan or the application directly scans successfully.

[0063] If the current display interface offers multiple login methods, such as OpenAuth, WeChat QR code scanning, QQ QR code scanning, etc., the scannable application will be presented based on the login method the user last used, as remembered in the database. If the user has not yet formed a habitual memory, multiple possible login QR code entry points will be displayed based on the multiple login methods supported by the current website and the relevant clients already logged in on the local machine. When the end user selects, the login method on the current page will be automatically switched, or conversely, when the user manually switches the login method on the current page, the floating login tool will be automatically updated, and the selection will be remembered for subsequent use.

[0064] If a user takes a screenshot, the system determines that the user indeed needs to scan a QR code to log in. Next, if the user opens the app's QR code scanning interface themselves, or enters it through a proactively presented QR code entry, the app's requested real camera video stream is displayed normally on the scanning interface. However, a video stream switching button is proactively displayed to the user, showing a thumbnail of the screenshot. If the user clicks this thumbnail, the media content control and video source mixing subsystem switches the video stream, replacing the physical camera's video stream with the screenshot content, allowing the app to scan the captured screen. If the user doesn't click the thumbnail to switch media streams, but instead clicks the third-party app's entry to select an image from the album, the AI ​​subsystem determines that the captured content is what the user wants to select. It then instructs the media content control and video source mixing subsystem to temporarily switch the system's media library to a temporary database containing only the captured image. This makes the third-party app believe the system only has this one photo, allowing the thumbnail to load very quickly. The user can then directly select the screenshot without waiting or searching.

[0065] If the user does not take a screenshot but opens the corresponding application through an actively presented application entry, it is also assumed that the user wants to scan the content of the previous screen. By default, the real camera video stream requested by the application is displayed on the scanning interface. However, the AI ​​assistant actively presents a video stream switching button to the user on the interface. This button can directly display a thumbnail of the content that the user just captured. If the user clicks on this thumbnail, the media content control and video source mixing subsystem switches the video stream, replacing the physical camera video stream with the screenshot content, so that the application can scan the screen that was just captured.

[0066] Optionally, the corresponding application will automatically open in a floating window mode. It is assumed that the relationship between the floating window and the application behind it is equivalent to a mobile phone and a screen behind it in 3D space. The content displayed by the application behind it is transmitted as a camera video stream to the application in the floating window, thereby realizing the intuitive function of third-party APP scanning the content of the screen behind it.

[0067] In another embodiment, a mobile terminal with an AI subsystem is in operation, and the user is operating the display interface of any application normally. By detecting the content currently viewed and operated by the user in real time, it is determined whether the user has entered a scenario that requires screenshot scanning or taking a picture of an ID document. Specifically, based on whether the user's current page has entered the shooting state and the previous context interface, it is determined whether a scenario requiring the taking of an ID document is needed. If so, a thumbnail of the corresponding ID document image stored on the phone is directly displayed at a predetermined position such as the edge of the screen. If the user clicks on the thumbnail, an image selection pop-up is presented to the user, listing only the ID document images already saved on the mobile terminal. The user can select the desired ID document image on the display interface. The video stream is switched, and the video stream of the physical camera is replaced with the selected ID document content, so that the application "takes" the ID document image. The movement and scaling of the image are controlled using a floating button on the interface or the phone's sensors so that the image content can be placed within the specified position and size frame required by the third-party APP.

[0068] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0069] This embodiment also provides an application processing apparatus for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0070] Figure 9 This is a structural block diagram of an application processing apparatus according to an embodiment of this application, such as... Figure 9 As shown, the device includes:

[0071] The determination module 92 is used to determine whether the camera is triggered by the current application's display interface or by the target application.

[0072] The first display module 94 is used to display the corresponding camera icon or target application floating at a predetermined position on the display interface;

[0073] The second display module 96 is used to display a video capture window in response to a trigger command from the camera icon or the target application.

[0074] The recognition module 98 is used to switch the video stream of the video capture window to the display content of the display interface or a pre-stored image, and to recognize the pre-stored image, or to recognize the display content of the display interface through the target application.

[0075] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0076] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when run.

[0077] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0078] Embodiments of this application also provide an electronic device including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0079] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0080] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0081] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0082] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.

Claims

1. An application processing method, characterized in that, The method includes: Determine whether the camera access is triggered by the current application's display interface or by the target application; The corresponding camera icon or the target application is displayed floating at a predetermined position on the display interface; In response to triggering the camera icon or a trigger command from the target application, a video capture window is displayed; The video stream of the video capture window is switched to the display content of the display interface or a pre-stored image, and the pre-stored image is identified, or the display content of the display interface is identified through the target application.

2. The method according to claim 1, characterized in that, Determining whether the camera access is triggered by the current application's display interface or by a target application includes: In response to the detection of a code to be identified in the display interface, it is determined that the camera is invoked through the target application; In response to an instruction on the display interface to capture a preset type of image, it is determined that the camera is invoked.

3. The method according to claim 2, characterized in that, The corresponding camera icon or the target application is displayed floating at a predetermined position on the display interface, including: In response to retrieving from the database the first application used for the last login by scanning the identification code, the first application or the camera entry of the first application is displayed floating at a predetermined position on the display interface.

4. The method according to claim 3, characterized in that, The following features are displayed floating at predetermined locations on the current page: (The first two are examples of applications or their camera icons.) In response to the failure to retrieve the application used in the previous scan of the identification code from the database, the system retrieves the logged-in associated applications from among the multiple associated applications of the current application, and displays the logged-in associated applications or their camera icons at a predetermined position on the display interface; or In response to the failure to retrieve from the database the application used in the last scan of the identification code, multiple associated applications or camera icons of multiple associated applications are displayed floating at a predetermined position on the display interface.

5. The method according to claim 4, characterized in that, The method further includes: When multiple associated applications or their camera icons are displayed, a first selection instruction to select a second application is received, and the second application or its camera icon is displayed in response to the first selection instruction.

6. The method according to claim 2, characterized in that, Switching the video stream from the video capture window to the content displayed on the display interface includes: In response to the detection of the code to be identified and the detection of a screenshot operation in the display interface, the screenshot image is stored in a temporary database; A video stream switching button is displayed as a floating icon in the video capture window, and a thumbnail of the screenshot image is displayed on the video stream switching button; In response to a first touch command that touches the video stream switching button, the video stream of the video capture window is switched to the screenshot image, and the screenshot image is scanned; or In response to a second touch command that selects an image from the album, the screenshot image is retrieved from the temporary database and scanned through a small window on the scanning interface.

7. The method according to claim 2, characterized in that, Switching the video stream from the video capture window to the content displayed on the display interface includes: In response to the detection of a code to be identified in the display interface and the absence of a screenshot operation, a video stream switching button is displayed as a floating icon in the video capture window. In response to a third touch command on the video stream switching button, the video stream of the video capture window is switched to the display content of the current page.

8. The method according to any one of claims 2 to 7, characterized in that, Before switching the video stream of the video capture window to the display content of the display interface, the method further includes: The identification code or all content of the display interface shall be retained.

9. The method according to claim 2, characterized in that, Switching the video stream in the video capture window to a pre-stored image includes: In response to an instruction on the display interface to capture a preset type of image, a thumbnail of a pre-stored image of the preset type is displayed floating at a predetermined position in the video capture window; In response to a touch command on the thumbnail, the display content of the video capture window is switched to the pre-stored image; In response to a selection instruction to select a target image from the pre-stored images, the target image is displayed.

10. The method according to claim 9, characterized in that, Displaying the target image includes: Obtain the dimensions of the target image; Adjust the size of the target image to match the standard size of the image in the video capture window; The adjusted target image is displayed.

11. The method according to claim 9, characterized in that, Displaying the target image includes: Receive adjustment commands to control image movement and / or scaling via interface floating buttons or sensors; The size of the target image is adjusted to match the standard size of the image in the video capture window according to the adjustment instruction; The adjusted target image is displayed.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 1 to 11.

13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 11.

14. A computer program product, characterized in that, Includes a computer program, which, when executed by a processor, implements the steps of the method described in any one of claims 1 to 11.