Application processing method, computer-readable storage medium, electronic apparatus, and 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, resulting in a smoother user experience and more efficient image recognition.

WO2026145163A1PCT designated stage Publication Date: 2026-07-09ZTE CORP

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
ZTE CORP
Filing Date
2025-12-23
Publication Date
2026-07-09

AI Technical Summary

Technical Problem

In existing technologies, the process of selecting an image from the album and scanning a QR code after taking a screenshot 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 displayed content or pre-saved image in the video capture window, rapid recognition is achieved.

Benefits of technology

It improves ease of operation and recognition efficiency, reduces user operation steps, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025144859_09072026_PF_FP_ABST
    Figure CN2025144859_09072026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide an application processing method, a computer-readable storage medium, an electronic apparatus, and a computer program product. The method comprises: determining whether invocation of a camera is triggered by a display interface of a current application or that the invocation of the camera is triggered by means of a target application; floatingly displaying a corresponding camera icon or the target application at a predetermined position of the display interface; in response to a trigger instruction for triggering the camera icon or the target application, displaying a video capture window; and switching a video stream of the video capture window to display content or a pre-stored image of the display interface, and identifying the pre-stored image, or identifying the display content of the display interface by means of the target application. The present disclosure solves the following problem in the existing technology: after taking a screenshot, selecting an image from an album to perform a code scanning operation or uploading a corresponding pre-stored image leads to a cumbersome process and slow response.
Need to check novelty before this filing date? Find Prior Art

Description

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

[0001] Cross-reference to related applications

[0002] This disclosure is based on and claims priority to Chinese Patent Application No. 2024119941373, filed on December 30, 2024, entitled “An Application Processing Method, a Computer-Readable Storage Medium, an Electronic Device and a Computer Program Product”, and incorporates the entire contents of that patent application by reference. Technical Field

[0003] This disclosure 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

[0004] 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.

[0005] However, in actual use, users encounter numerous inconveniences. For example, when browsing common websites like Zhihu and CSDN (Chinese Software Developer Network) on their mobile phones, if login is required, these websites ask users to scan a QR code displayed on the page. Some website apps even require login via the phone's camera, lacking the option to scan from the photo album or specifically detecting and indicating that login via photo album 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.

[0006] 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. 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.

[0007] 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

[0008] This disclosure 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.

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

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

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

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

[0013] 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.

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

[0015] According to yet another embodiment of this disclosure, 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.

[0016] According to yet another embodiment of this disclosure, 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. Attached Figure Description

[0017] Figure 1 is a hardware structure block diagram of the mobile terminal operating in the embodiments of the method disclosed herein;

[0018] Figure 2 is a flowchart of an application processing method according to an embodiment of the present disclosure;

[0019] Figure 3 is a schematic diagram of QR code login according to an embodiment of the present disclosure;

[0020] Figure 4 is a schematic diagram of capturing an image of an ID card using a camera according to an embodiment of this disclosure;

[0021] Figure 5 is a schematic diagram of bank card uploading according to an embodiment of the present disclosure;

[0022] Figure 6 is a schematic diagram of QR code login according to an embodiment of the present disclosure;

[0023] Figure 7 is a second schematic diagram of capturing document images using a camera according to an embodiment of this disclosure;

[0024] Figure 8 is a flowchart of the QR code login process according to an embodiment of the present disclosure;

[0025] Figure 9 is a structural block diagram of an application processing apparatus according to an embodiment of the present disclosure. Detailed Implementation

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

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

[0028] The method embodiments provided in this disclosure can be executed in a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, FIG1 is a hardware structure block diagram of a mobile terminal running in the method embodiments of this disclosure. As shown in FIG1, the mobile terminal may include one or more (only one is shown in FIG1) processors 102 (processor 102 may include, but is not limited to, processing devices such as microprocessors MCUs or programmable logic devices FPGAs) and a memory 104 for storing data. The mobile terminal may also include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that the structure shown in FIG1 is only illustrative and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG1, or have a different configuration than shown in FIG1.

[0029] 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 may also include 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.

[0030] 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.

[0031] This embodiment provides an application processing method running on the above-described mobile terminal or network architecture. Figure 2 is a flowchart of the application processing method according to an embodiment of this disclosure. As shown in Figure 2, the process includes the following steps:

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

[0033] The mobile terminal continuously monitors running applications through an AI subsystem, particularly focusing on changes in their user interface (UI) and function calls. Specifically, it monitors whether applications request camera access or call camera-related application programming interfaces (APIs). Through screen content analysis, 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 ​​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.

[0034] 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.

[0035] 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.

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

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

[0038] 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.

[0039] 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.

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

[0041] This disclosed embodiment significantly improves 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.

[0042] In this embodiment of the disclosure, 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 invoked through a target application; Figure 3 is a schematic diagram of QR code login according to an embodiment of the present disclosure. As shown in Figure 3, the corresponding camera icon or target application is displayed floating in a predetermined position on the display interface. This design allows users to quickly invoke the camera for operation without leaving the current application, greatly improving the convenience 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.

[0043] If the display interface indicates that a preset type of image should be captured, such as capturing an ID card image or uploading a bank card, it is determined that the current application has triggered the camera access. Figure 4 is a schematic diagram of capturing ID card images using the camera according to an embodiment of this disclosure. As shown in Figure 4, the AI ​​subsystem uses computer vision technologies, such as image recognition and OCR (Optical Character Recognition), to analyze the display interface of the current application and find UI elements or prompts related to ID card capture, such as a "Capture ID Card" button, an ID card capture guide, or text prompts such as "Please capture the following types of documents." Figure 5 is a schematic diagram of bank card upload according to an embodiment of this disclosure. As shown in Figure 5, the AI ​​subsystem continuously monitors the user interface of the current application to find UI elements or prompts related to bank card capture. For example, there may be a "Capture Bank Card" button on the interface, or text prompts such as "Please upload your bank card image to complete registration." Specific elements on the interface, such as bank card icons or outlines, can also be identified using computer vision technology. Alternatively, the AI ​​subsystem can analyze the text information on the interface to identify whether there is a requirement to upload or capture 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, which is a signal that it is about to access the camera; or monitor whether the application calls APIs related to camera operation and whether image capture function is enabled. Through the AI ​​subsystem, it analyzes the user's historical operation data to identify common behavioral patterns that require taking photos of bank cards when using specific applications. For example, users often need to take photos of 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 applications, users can quickly scan boarding passes or passports without manually entering information, enabling fast boarding or hotel check-in.

[0044] In this embodiment of the disclosure, step S204 may specifically include:

[0045] 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.

[0046] 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.

[0047] 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.

[0048] In this embodiment of the present disclosure, 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 presenting 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 is a schematic diagram of QR code login according to an embodiment of the present disclosure. As shown in Figure 6, a real mobile phone is used to scan the display content on another real screen in a three-dimensional space. It allows users to recognize QR codes by taking screenshots or selecting images from their albums when direct scanning is not possible, greatly expanding the application scenarios for recognition. For example, in environments with poor signal, users can take screenshots of QR codes and then recognize them after the network is restored.

[0049] In this embodiment of the disclosure, step S208, which involves switching the video stream of the video capture window to the content displayed on the display interface, specifically includes: if the display interface shows a code to be identified but the user has not triggered a screenshot operation, in response to detecting the code to be identified on 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 content displayed on 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 simultaneously scanning a code to pay.

[0050] 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.

[0051] In another embodiment, step S208 above, switching the video stream of the video capture window to a pre-stored image, may specifically include: if only an image is being captured, in response to an instruction on the display interface to capture a preset type of image, such as prompting to capture an ID photo, a thumbnail of a pre-stored image of the preset type is displayed floatingly at a predetermined position in the video capture window. Figure 7 is a schematic diagram of calling a camera to capture an ID photo according to an embodiment of this disclosure. As shown in Figure 7, a thumbnail of the ID photo is displayed floatingly, and the thumbnail can be obtained by proportionally reducing the image size. The user touches the thumbnail, and in response to the touch instruction of the thumbnail, the display content of the video capture window is switched to the pre-stored image. The user selects one of the images from the pre-stored images, i.e., the target image, and in response to the selection instruction to select the target image from the pre-stored images, the target image is displayed. This function allows users to directly select from the pre-stored images when they need to capture a specific type of image, avoiding the inconvenience of re-capturing. It is suitable for scenarios such as document recognition and ticket scanning. For example, in banking applications, users can quickly select a pre-stored ID photo for identity verification without having to take a photo on-site.

[0052] 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.

[0053] 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.

[0054] 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.

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

[0056] Figure 8 is a flowchart of the QR code login process according to an embodiment of the present disclosure, as shown in Figure 8, including:

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

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

[0059] 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.

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

[0061] 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.

[0062] 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.

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

[0064] 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.

[0065] 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.

[0066] 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.

[0067] 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.

[0068] 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.

[0069] 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 disclosure, 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 disclosure.

[0070] 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.

[0071] Figure 9 is a structural block diagram of an application processing apparatus according to an embodiment of the present disclosure. As shown in Figure 9, the apparatus includes:

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

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

[0074] The second display module 96 is configured to display a video capture window in response to triggering the camera icon or a trigger command from the target application;

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

[0076] 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.

[0077] Embodiments of this disclosure also provide a computer-readable storage medium storing a computer program configured to perform the steps in any of the above method embodiments when executed.

[0078] 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 drive, magnetic disk, or optical disk.

[0079] Embodiments of this disclosure also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.

[0080] 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.

[0081] 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.

[0082] It is obvious to those skilled in the art that the modules or steps of this disclosure 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 herein, 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 disclosure is not limited to any particular combination of hardware and software.

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

Claims

1. An application processing method, the method comprising: 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, wherein, 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, wherein, 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 to log in 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, wherein, The following features allow for the application or its camera icon to be displayed floating at a predetermined location on the current page: 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 application or its camera icon 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, wherein, 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, wherein, 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 QR code scanning interface.

7. The method according to claim 2, wherein, 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, wherein, 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, wherein, Switching the video stream of 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, wherein, 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, wherein, 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 storing a computer program, wherein, When the computer program is executed by a processor, it 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, wherein the processor, when executing the computer program, performs the steps of the method according to any one of claims 1 to 11.

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