A method, device, and equipment for processing a graphic code, a storage medium, and a program product
By recognizing the graphic code in the source application and redirecting the user to the business processing interface of the target application, this technology overcomes the limitations of application-based graphic code processing in existing technologies, enabling cross-application graphic code processing and improving the convenience and versatility of recognition.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2021-11-16
- Publication Date
- 2026-05-19
AI Technical Summary
Existing applications have limitations in recognizing and processing graphic codes, especially in that they can only recognize graphic codes that they support themselves and cannot process the business that the graphic code points to across applications.
A method and apparatus for processing graphic codes are provided. The graphic code is recognized through the scanning and recognition interface of the source application, and the user is redirected to the business processing interface of the target application based on the recognition result. This enables cross-application graphic code processing, including parsing the recognition result and matching business object information, and supports business processing such as resource transfer, login, and information viewing.
It enables cross-application image code processing, breaks down barriers between applications, improves the convenience and universality of image code recognition, enriches the scenarios for image code processing, and reduces user operation processes.
Smart Images

Figure CN116136889B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer application technology, and in particular to a graphic code processing method, apparatus and device, storage medium and program product. Background Technology
[0002] In the era of interconnected data, graphic codes, as a medium for storing information or data, have been widely used in people's daily lives and work. Common graphic codes include barcodes, QR codes, and mini-program codes. People can use smart terminals to recognize graphic codes to achieve various functions, such as scanning QR codes to add friends, scanning barcodes to view product information, clicking QR codes to log in to accounts, and scanning QR codes for quick payments, etc.
[0003] Currently, most applications (APPs) support the recognition of graphic codes to enable the processing of corresponding business functions. However, there are still certain limitations in the processing of business functions indicated by graphic codes, especially in some applications that can only recognize graphic codes that they support. Summary of the Invention
[0004] This application provides a graphic code processing method, apparatus and device, storage medium and program product, which can perform graphic code recognition and processing across applications.
[0005] On one hand, embodiments of this application provide a graphic code processing method, including:
[0006] The source application's QR code scanning interface is displayed; the QR code scanning interface is used to display the scanned graphic code, which is generated based on the target application's graphic code generation rules; the target application and the source application are different applications.
[0007] In response to the recognition result of the graphic code, the user is redirected from the source application to the business processing interface of the target application;
[0008] Perform business processing on the target application's business processing interface.
[0009] On the other hand, embodiments of this application provide a graphic code processing apparatus, including:
[0010] The detection module is used to detect user actions;
[0011] The processing module is used to display the QR code recognition interface of the source application; the QR code recognition interface is used to display the scanned graphic code, which is generated based on the graphic code generation rules of the target application; the target application and the source application are different applications; in response to the recognition result of the graphic code, the application jumps from the source application to the business processing interface of the target application; business processing is performed on the business processing interface of the target application.
[0012] In one embodiment, the processing module is specifically used to obtain the recognition result of the graphic code, the recognition result including business object information and business association information; determine the target application for processing the business pointed to by the graphic code based on the business object information included in the recognition result; and jump to the business processing interface of the target application based on the business association information included in the recognition result.
[0013] In one embodiment, the target application's business processing interface that the user is redirected to includes one or more of the following: the target application's login interface, the target application's download interface, the target application's information collection interface, the target application's information viewing interface, the target application's friend adding interface, the target application's content browsing interface, the target application's multimedia interface, and the target application's registration interface.
[0014] In one embodiment, the business pointed to by the graphic code is a resource transfer business. The processing module is specifically used to: call the target application and display the resource transfer interface of the target application indicated by the business association information, so as to complete the business processing of the resource transfer business pointed to by the graphic code.
[0015] In one embodiment, the processing module is further configured to: obtain the resource transfer relationship chain of the resource transfer service pointed to by the graphic code; and send a notification message carrying the resource transfer relationship chain to the server of the target application through the target application, wherein the notification message is used to trigger the server of the target application to perform security processing on the resource transfer service pointed to by the graphic code according to the resource transfer relationship chain.
[0016] In one embodiment, the processing module is specifically used to: obtain encrypted data obtained by the source application's server encrypting the target object identifier, whereby the target object identifier is used to identify the target user object of the source application; obtain the resource delivery object identifier and resource receiving object identifier of the resource transfer service pointed to by the graphic code; and obtain the resource transfer relationship chain of the resource transfer service pointed to by the graphic code based on the encrypted data, the resource delivery object identifier, and the resource receiving object identifier.
[0017] In one embodiment, the notification message is further used to notify the server of the target application to send the encrypted data included in the resource transfer relationship chain to the server of the source application, so that the server of the target application can receive the target data object generated by the server of the source application after decrypting the encrypted data included in the resource transfer relationship chain; the server of the target application uses the target data object to perform security monitoring on the target user object of the source application.
[0018] In one embodiment, the processing module is further configured to: receive a resource transfer service response packet returned by the server of the target application; the resource transfer service response packet is used to determine the processing result of the resource transfer service; and display the processing result interface of the target application, wherein the processing result interface displays the processing result, and the processing result includes a resource receiving object identifier and a resource transfer quantity identifier.
[0019] In one embodiment, the processing module is further configured to: in response to a stop trigger command for the resource transfer service pointed to by the graphical code, output a service prompt interface; the service prompt interface includes: service prompt information for prompting whether to process the resource transfer service indicated by the service association information; if a confirmation operation is detected on the service prompt interface, the service prompt interface is closed and the resource transfer interface is displayed; if an abandonment operation is detected on the service prompt interface, the target interface of the source application is displayed; wherein, the service prompt information is prompt text or prompt animation; the service prompt interface is a floating window interface or a fixed window interface.
[0020] In one embodiment, the processing module is specifically configured to: find a target candidate application that matches the business object information based on the business object information included in the identification result, wherein the tag information of the target candidate application matches the business object information; and determine the target candidate application as the target application for processing the business pointed to by the graphic code.
[0021] In one embodiment, the processing module is further configured to: determine whether the target application supports being called to process the business pointed to by the graphical code by calling the public development interface provided by the target application through the source application; if the target application does not support being called to process the business pointed to by the graphical code, then output update prompt information, which is used to prompt the target application to update.
[0022] In one embodiment, the processing module is further configured to: if no target application is detected, output an installation prompt message or an identification result prompt message; the installation prompt message is used to prompt the download and installation of the target application, and the identification result prompt message is used to prompt that the graphic code cannot be recognized; or, if the target application is detected, output an opening prompt message, which is used to prompt the opening of the target application to trigger the execution of the step of jumping to the business processing interface of the target application based on the business association information included in the identification result.
[0023] In one embodiment, the processing module is further configured to: in response to the end confirmation instruction of the service pointed to by the graphic code, output selection prompt information, the selection prompt information being used to prompt whether to display the operation interface of the target application or the operation interface of the source application.
[0024] Accordingly, this application also provides a computer device, including: a processor, a memory, and a network interface; the processor is connected to the memory and the network interface, wherein the network interface is used to provide network communication functions, the memory is used to store program code, and the processor is used to call the program code to execute the graphics code processing method in this application embodiment.
[0025] Accordingly, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the graphic code processing method described in this application.
[0026] Accordingly, this application provides a computer program product, which includes a computer program or computer instructions. When the computer program or computer instructions are executed by a processor, they implement the steps of the graphic code processing method of this application.
[0027] In this embodiment, the scanning function supported by the source application is used to identify the scanned graphic code displayed on the scanning interface, obtain the identification result, and then jump from the source application to the business processing interface of the target application based on the identification result to process the business. In the above solution, by recognizing and processing the graphic code in the source application and jumping to the business processing interface of the target application to directly process the business pointed to by the graphic code, it can not only overcome the limitation that the application can only recognize the graphic codes it supports, realize cross-application graphic code processing, increase the universality and convenience of different applications recognizing graphic codes and processing the business pointed to by the graphic code, but also enrich the scenarios in which the target application processes the business pointed to by the graphic code. Attached Figure Description
[0028] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0029] Figure 1 This is an architectural diagram of a graphic code processing system provided in an exemplary embodiment of this application;
[0030] Figure 2 This is a flowchart illustrating a graphical code processing method provided in an exemplary embodiment of this application;
[0031] Figure 3 This is a schematic diagram illustrating a barcode scanning and recognition operation provided in an exemplary embodiment of this application;
[0032] Figure 4 This is a flowchart illustrating another graphical code processing method provided in an exemplary embodiment of this application;
[0033] Figure 5a This is a schematic diagram illustrating an exemplary installation prompt message provided in an embodiment of this application;
[0034] Figure 5b This is a schematic diagram of another exemplary installation prompt message provided in an embodiment of this application;
[0035] Figure 6 This is a schematic diagram illustrating an exemplary identification result prompt message provided in an embodiment of this application;
[0036] Figure 7a This is a schematic diagram illustrating an exemplary method of opening a prompt message, provided in an embodiment of this application.
[0037] Figure 7b This is a schematic diagram illustrating another exemplary method for opening a prompt message, provided in an embodiment of this application.
[0038] Figure 8a This is a schematic diagram illustrating an exemplary method for updating a notification message, as provided in an embodiment of this application.
[0039] Figure 8b This is a schematic diagram illustrating another exemplary method for updating prompt information provided in an embodiment of this application;
[0040] Figure 9 This is a schematic diagram of an exemplary resource transfer interface provided in an embodiment of this application;
[0041] Figure 10 This is a schematic diagram of an exemplary processing result interface provided in an embodiment of this application;
[0042] Figure 11 This is a schematic diagram of an exemplary user interface for a geospatial application provided in an embodiment of this application;
[0043] Figure 12 This is a schematic diagram illustrating an exemplary selection prompt message provided in an embodiment of this application;
[0044] Figure 13 This is a schematic diagram of an exemplary business prompt interface provided in an embodiment of this application;
[0045] Figure 14 This is a flowchart illustrating yet another graphic code processing method provided in an exemplary embodiment of this application;
[0046] Figure 15 This is a schematic diagram of the interactive flow of a graphic code processing method provided in an exemplary embodiment of this application;
[0047] Figure 16 This is a schematic diagram of the structure of a graphic code processing apparatus provided in an exemplary embodiment of this application;
[0048] Figure 17 This is a schematic diagram of the structure of a computer device provided in an exemplary embodiment of this application. Detailed Implementation
[0049] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present application.
[0050] To better understand the solutions of the embodiments of this application, the relevant terms and concepts that may be involved in the embodiments of this application will be introduced below.
[0051] Image codes: A type of data or information carrier that typically transforms data containing certain information into a graphical arrangement according to predefined rules. In modern society, thanks to mature image code recognition technology, the use of image codes is becoming increasingly widespread, especially QR codes, which are widely used in various applications such as website QR codes, product QR codes, brand QR codes, WeChat official account QR codes, payment QR codes, and electronic voucher QR codes. Image codes can be seen as an entry point to mobile clients; scanning an image code using a smart device (such as a smartphone) allows access to the corresponding business platform and provides users with relevant services.
[0052] SDK stands for Software Development Kit. In simple terms, it's a toolkit provided to third-party service providers. It offers libraries, documentation, pre-compiled libraries, application programming interfaces (APIs), and even auxiliary tools. It can also provide services for specific software packages, application software, software frameworks, hardware platforms, operating systems, etc., to help implement a particular function of a software product.
[0053] Pseudo-links: Links can be a string of characters or an image, etc. They are generally used as a means of interface navigation, and can also achieve indirect interface navigation or special interface animation effects. In this application's embodiments, the pseudo-links are strings. Through pseudo-links, the target application to which the navigation is performed and the business processing interface of the target application pointed to by the processing graphic code can be determined.
[0054] Resource transfer: In the field of computer technology, resources generally refer to virtual resources corresponding to physical resources in the real world, such as storage space, computing power, e-books, bank account deposits, and e-wallet account deposits. Resource transfer refers to the change of ownership of a resource from one party to another. For example, when the resource is the amount in an e-wallet account (a virtual resource), resource transfer means transferring part or all of the amount in one user account to another user account. Payments, repayments, and transfers are examples of resource transfers.
[0055] Artificial Intelligence (AI) is the theory, methods, technology, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, AI is a comprehensive technology within computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine that can react in a way similar to human intelligence. AI studies the design principles and implementation methods of various intelligent machines, enabling them to have perception, reasoning, and decision-making capabilities. AI technology is a comprehensive discipline involving a wide range of fields, encompassing both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly include computer vision, speech processing, natural language processing, as well as machine learning / deep learning, autonomous driving, and intelligent transportation.
[0056] Computer vision (CV) is a science that studies how to enable machines to "see." More specifically, it refers to machine vision, which uses cameras and computers to replace human eyes in recognizing, tracking, and measuring targets, and then performs image processing to create images more suitable for human observation or transmission to instruments. As a scientific discipline, computer vision studies related theories and technologies, attempting to build artificial intelligence systems capable of extracting information from images or multidimensional data. Computer vision technologies typically include image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, 3D object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous localization and mapping (SLAM), autonomous driving, intelligent transportation, and other technologies, as well as common biometric recognition technologies such as facial recognition and fingerprint recognition. The solution provided in this application relates to computer vision technology within the field of artificial intelligence, specifically image recognition and image identification within computer vision technology. Corresponding to the content of this solution, it is specifically reflected in the recognition and processing of scanned graphic codes.
[0057] The architecture of the graphic code processing system provided in the embodiments of this application will be described below with reference to the accompanying drawings. Please refer to... Figure 1 , Figure 1 This is an architectural diagram of a graphic code processing system provided in an exemplary embodiment of this application. (See diagram for details.) Figure 1 As shown, the architecture diagram may include a graphic code processing device 100 and a server 101; the graphic code processing device 100 and the server 101 can communicate with each other via wired or wireless means. The server 101 may be a cloud server that the graphic code processing device 100 can access, or it may be an application server corresponding to one or more applications (APPs) installed in the graphic code processing device 100.
[0058] The terminal device can be a smartphone, tablet, smart wearable device, smart voice interaction device, smart home appliance, personal computer, in-vehicle terminal, etc., without limitation. The terminal device can install and run various applications (hereinafter referred to as applications) and has a camera function. Applications can include one or more of the following: third-party applications, web applications, and portable applications (such as mini-programs) that display text, images, audio, and video data. Server 101 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. There are no limitations on this. The terminal device can be a smartphone, tablet, smart wearable device, smart voice interaction device, smart home appliance, personal computer, in-vehicle terminal, etc., without limitation in this application.
[0059] The following example, using a graphics processing device 100 installed in a terminal device, illustrates the graphic code processing flow. It should be noted that the application in which the user initiates the graphic code scanning operation is referred to as the source application, and the application processing the service indicated by the graphic code is referred to as the target application. The source application can be any of the aforementioned applications (such as a third-party application), and the target application can be another application different from the source application. Assume the source application is application A, the target application is application B, and both applications A and B support code scanning and recognition. The specific processing flow is as follows:
[0060] ① The terminal device detects user operations; if the detected user operation is a QR code scanning operation initiated by the user on application A, then in response to the QR code scanning operation, the QR code recognition interface of the source application is displayed, and the scanned graphic code is displayed in the QR code recognition interface.
[0061] ② The terminal device responds to the recognition result of the graphic code and jumps from the source application to the business processing interface of the target application.
[0062] In one embodiment, the terminal device can first identify the scanned graphic code through application A and obtain the corresponding identification result. The identification result includes business object information and business association information. The business object information and business association information that can be recorded in the graphic code, as defined in this application, are used to determine application B and the business processing interface of application B, respectively. Application B is the application that processes the business pointed to by the graphic code. In one embodiment, server 101 can be used to store the identification result obtained after the graphic code is scanned and identified for the first time. This way, if the graphic code is scanned and identified again by the terminal device, the identification result can be directly obtained from server 101, thereby quickly advancing the progress of the business processing pointed to by the graphic code. Therefore, if the graphic code is not being identified for the first time, the identification result can be obtained from server 101. In this embodiment, the identification result can be a pseudo-link with a special structure, which includes a prefix part (corresponding to business object information) and a link content part (corresponding to business association information).
[0063] Then, the terminal device determines the B application that handles the service pointed to by the graphic code based on the service object information included in the identification result. The service object information can be a prefix of a pseudo-link, and the prefix of the pseudo-link provided by application B matches the service object information. In one embodiment, if application B is not installed on the terminal device, an installation prompt can be output on the terminal device, prompting the user to download and install it. If application B is installed on the terminal device, but the version of application B does not support the call of application A to handle the service, an update prompt can be output on the terminal device, prompting the user to update the version of application B. Otherwise, the next step of processing can be performed.
[0064] Next, the terminal device invokes Application B based on the business association information included in the identification result, and begins processing the business indicated by the graphic code from the corresponding interface of Application B. Specifically, Application B can be invoked to display the business processing interface indicated by the business association information, such as a resource transfer interface for resource transfer business, an input interface for entering payment amount, an information viewing interface, a login interface, a download interface, an add friend interface, an information collection interface, an information viewing interface, a multimedia interface, a registration interface, etc., to complete the processing of the business indicated by the graphic code. The business indicated by the graphic code can be a resource transfer business, a login business, etc.
[0065] In one embodiment, if the service pointed to by the graphic code is a resource transfer service, a corresponding resource transfer relationship chain can be constructed during the processing of this resource transfer service. This resource transfer relationship chain can then be used to perform security checks on user objects participating in the resource transfer service. During this security check, the terminal device can interact with the application server to monitor the resource transfer relationship chain.
[0066] ③ The terminal application performs business processing on the business processing interface of the target application.
[0067] In one embodiment, business processing can be performed on the business processing interface of the target application in response to user operation. For example, in the input interface for entering payment amount, the user can enter the specific payment amount through the numeric keypad and click the confirmation button to complete the payment.
[0068] As can be seen, the graphic code processing system provided in this application embodiment is not limited to graphic codes that the application itself can process. Application A also has the ability to scan and recognize the graphic codes of application B, thus breaking down barriers between products. That is, the source application can recognize the graphic code of the target application and automatically switch to the target application to complete the corresponding business processing, avoiding the need for users to manually switch applications, greatly improving the user experience, and enriching the graphic code scanning and recognition scenarios of the source application and the scenarios for launching the business pointed to by the graphic code of the target application.
[0069] The specific implementation of the graphic code processing method proposed in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0070] Please see Figure 2 , Figure 2 This is a flowchart illustrating a graphical code processing method provided in an exemplary embodiment of this application. The method can be implemented by a computer device (e.g., a terminal device, which is equipped with...). Figure 1 The graphic code processing device 100 shown executes the process. The graphic code processing method includes, but is not limited to, the following steps.
[0071] S201 displays the QR code scanning interface of the source application.
[0072] The barcode scanning interface displays the scanned graphic codes, which are generated based on the graphic code generation rules of the target application; the target application and the source application are different applications.
[0073] In one embodiment, in response to a scanning operation initiated on the source application, the source application's QR code recognition interface can be displayed. The source application is an application capable of recognizing graphic codes. It can be installed and run on a computer device (e.g., a terminal device) and supports scanning graphic codes. The source application may be, for example, a social application, a content interaction platform, an audio-visual application, etc. The user can initiate a scanning operation on the source application through a computer device. The initiation method can include physical button triggering, voice triggering, gesture triggering, virtual button triggering, etc., and is not limited thereto. In response to the scanning operation, the computer device can display the source application's QR code recognition interface, which displays the scanned graphic code. Regarding the above process, Figure 3 This diagram illustrates an exemplary QR code scanning operation. Taking a social application as the source application, a drop-down menu 31 is displayed on the social application's interface 30 by triggering a "More Functions" button. This menu includes a virtual button labeled "Scan." Clicking this virtual button initiates a QR code scanning operation on the source application. The computer device responds to this operation by redirecting to the source application's QR code scanning interface 32, which displays the scanned graphic code 33. It should be noted that the scanned graphic code can be any type of QR code, barcode, etc., without limitation. Different target applications have their own graphic code generation rules; therefore, the graphic codes generated by different target applications are different, and consequently, the target application redirected by the source application after recognizing the graphic code may also differ.
[0074] S202, in response to the recognition result of the graphic code, jumps from the source application to the business processing interface of the target application.
[0075] By utilizing the image code recognition technology supported by the source application, the scanned image code can be recognized, i.e., the image code can be parsed to obtain the recognition result, and the user can be redirected to the target application's business processing interface based on the recognition result, i.e., the target application's processing interface can be displayed on the terminal device. In one embodiment, the target application's business processing interface includes one or more of the following: the target application's login interface, the target application's download interface, the target application's information collection interface, the target application's information viewing interface, the target application's friend adding interface, the target application's content browsing interface, the target application's multimedia interface, and the target application's registration interface.
[0076] In one embodiment, S202 may include the following 1) to 3):
[0077] 1) Obtain the recognition result of the graphic code. The recognition result includes business object information and business association information. For example, the recognition result can be a pseudo-link, the business object information can be the prefix of the pseudo-link, and the business association information is the other available information in the pseudo-link excluding the prefix. The business object information is used to determine the target application that processes the business pointed to by the graphic code. In order to distinguish specific business objects, the target application can be uniquely identified by the business object information in the recognition result of the graphic code. For example, the QR codes of application A and application B both support virtual resource transfer services, but their processing logic and application frameworks are different. The information represented by the QR codes is usually distinguished. Therefore, the business object information obtained by recognizing the QR codes of different applications is also different. The recognized business object information will uniquely identify the application that can process the business pointed to by the QR code. The business association information is used to indicate the opening of the business processing interface of the target application associated with the business pointed to by the graphic code. For different businesses, the business processing interface of the associated target application is different.
[0078] In one embodiment, the recognition result obtained from the first scan of the graphic code can be stored in a database so that the recognition result can be directly retrieved from the database when the same graphic code is scanned again. This reduces redundant calculations in graphic code processing and saves computational resources for recognition results.
[0079] 2) Based on the business object information included in the identification results, determine the target application for processing the business pointed to by the graphic code. The application that processes the business pointed to by the graphic code is called the target application. This target application and the source application are two different applications. The target application is determined in order to call the target application to process the corresponding business. Here, the business pointed to by the graphic code is a business that the target application supports and needs to process, such as resource transfer business, login business, anti-counterfeiting and traceability business, information acquisition business, etc., supported by the target application. In this embodiment, the specific type of business pointed to by the graphic code is not limited.
[0080] In one embodiment, the method for determining the target application based on the business object information included in the identification result may be: searching for a target candidate application that matches the business object information based on the business object information included in the identification result; determining the target candidate application as the target application for processing the business pointed to by the graphic code, wherein the tag information of the target candidate application matches the business object information.
[0081] In one embodiment, a target candidate application matching the business object information can be found from a candidate application set. This candidate application set can be stored in a local database or a cloud database accessible locally. The candidate application set includes N candidate applications, where N is a positive integer. Each candidate application corresponds to a unique tag. Specifically, the business object information and the tag information of each candidate application in the candidate application set can be compared to filter out tag information that matches the business object information. The candidate application corresponding to this tag information is the target candidate application. Matching the business object information can mean that the tag information and the business object information are identical, or that the similarity between the tag information and the business object information is greater than a certain similarity threshold.
[0082] For example, the identification result is the pseudo link obtained by parsing the graphic code. The tag information of the candidate application is the prefix of different pseudo links. Therefore, the business object information takes the prefix of the pseudo link and matches it with the tag information. When the prefix of the pseudo link in the identification result is consistent with the prefix of the pseudo link of a certain candidate application among the candidate applications, the candidate application can be identified as the target application.
[0083] 3) Based on the business association information included in the identification result, redirect to the target application's business processing interface. The business association information indicates the target application's business processing interface associated with the business pointed to by the graphic code. This business processing interface may include one or more of the following: login interface, download interface, information collection interface, information viewing interface, friend addition interface, content browsing interface, multimedia interface, registration interface, and resource transfer interface. Taking a pseudo-link as an example, the business association information is all information except for the pseudo-link prefix. For the target application processing the business pointed to by the graphic code, the source application acts as a third-party application to invoke the target application and implement the business processing.
[0084] Jumping to the target application's business processing interface means running an existing target application on the computer device. This target application can be an application capable of displaying data information such as text, images, and video, such as interactive content applications, social applications, etc. Running the target application displays its business processing interface, enabling the processing of the business logic indicated by the graphical code.
[0085] S203, perform business processing on the business processing interface of the target application.
[0086] In the business processing interface, a series of operations can be performed to process the business. For example, if the business processing interface is a resource transfer interface, you can start from this resource transfer interface and complete the business processing of the resource transfer business pointed to by the graphic code through a series of corresponding operations.
[0087] The solution provided in this application involves scanning and recognizing a graphic code by a source application to obtain a recognition result. The target application is then identified using the business object information within the recognition result. Furthermore, the business association information in the recognition result is used to invoke the target application to process the business indicated by the graphic code. This breaks down the barriers between different applications in processing graphic codes. Previously, application A could scan its own graphic code to process the business indicated by that code. Now, application B can scan application A's graphic code to invoke application A to process the business indicated by that code. Therefore, the scanning and processing of graphic codes is no longer limited to applications capable of handling the business indicated by the graphic code, but can support scanning and recognition by other applications, achieving cross-application recognition. The application scenarios of the source application's scanning and recognition function, as well as the business initiation scenarios supported by the target application, are further enriched. Simultaneously, it innovatively breaks down the scenario limitations of scanning and processing the target application's business, allowing third-party applications to also process business by scanning the target application's graphic code. In some scenarios, such as when a user is currently using a social application installed on their terminal device, when it is necessary to make a payment based on a graphic code, they can directly scan the graphic code through the social application to start the payment process, without having to switch to another payment application and then make the payment through that application. This reduces the number of steps and improves the efficiency of graphic code recognition and processing.
[0088] Please see Figure 4 This is a flowchart illustrating another graphic code processing method provided in an exemplary embodiment of this application. The method can be implemented by a computer device (e.g., a terminal device, which is equipped with...). Figure 1 The graphic code processing device 100 shown executes the process. The graphic code processing method includes, but is not limited to, the following steps.
[0089] S401 displays the QR code recognition interface of the source application.
[0090] S402, Obtain the recognition result of the graphic code.
[0091] S403, based on the business object information included in the identification result, determine the target application for processing the business pointed to by the graphic code.
[0092] For details on how to implement the above steps, please refer to [link / reference]. Figure 2 The steps S201 to S203 in the corresponding embodiments will not be described in detail here.
[0093] In one feasible embodiment, after identifying the target application, it is possible to detect whether the target application is installed on a computer device (e.g., a terminal device). For different detection results, corresponding prompt information is output, including:
[0094] ① If the target application is not detected, an installation prompt or an identification result prompt will be output. The installation prompt will encourage users to download and install the target application, while the identification result prompt will indicate that the graphic code cannot be recognized.
[0095] Please see Figure 5a This is a schematic diagram illustrating an exemplary installation prompt message provided in an embodiment of this application. For example... Figure 5a As shown, the installation prompt is displayed as a pop-up in the source application's QR code scanning interface. The displayed installation prompt is "This device does not have the target application installed. Please download and install it," informing the user that they need to download and install the target application. At this point, the user can manually switch to the app store to download and install the target application based on this prompt. Figure 5b This is a schematic diagram illustrating another exemplary installation prompt message provided in this application embodiment. The specific content of the installation prompt message includes "This device does not have the target application installed. Do you want to download and install it?" and two options: "Yes" and "No". If the user selects "Yes", the target application can be downloaded directly; if the user selects "No", a QR code recognition interface will be displayed. It is evident that such option settings provide users with a shortcut to download and install the target application with one click, thereby improving the efficiency of subsequent business processing.
[0096] Please see Figure 6 This is a schematic diagram of an exemplary identification result prompt message provided in an embodiment of this application. The identification result prompt message is a prompt text, specifically: "Warning: Unable to identify". Here, "unable to identify" specifically means that the target application determined based on the business object information cannot be detected in the computer device. The user can perform further processing based on this identification result prompt message.
[0097] ② If the target application is detected, an open prompt message is output. This open prompt message prompts the user to trigger the step of jumping to the target application's business processing interface based on the business association information included in the identification result, as described in step S404 below. In one embodiment, the open prompt message can be an open prompt icon or open prompt text. When it is open prompt text, please refer to... Figure 7a This diagram illustrates an exemplary method for opening a prompt message. The prompt message, displayed on a pre-entry prompt interface 70, displays the text "Open Application B." Selecting this text message allows the user to further open the target application. Additionally, the prompt interface 70 may include a "Return to Application A" message, providing the user with the ability to return to the source application. For an example of an open prompt icon, please refer to [link to example diagram]. Figure 7b Another exemplary diagram showing how to open the prompt message is provided; Figure 7bThe opening prompt is displayed as a prompt icon 71 on the graphic code in the barcode scanning interface. Clicking this prompt icon opens the target application, which then displays its business processing interface. In one embodiment, after the user selects to open the target application, the source application can call the target application's SDK to pass the recognition result (e.g., a pseudo link), thereby instructing the target application to open its business processing interface based on the business association information included in the recognition result (e.g., the pseudo link). This operation is mainly for processing operations of target applications that are not allowed to be called by other applications. Once the target application is run, the source application can pass the graphic code recognition result to the target application, which will then perform subsequent steps.
[0098] In one embodiment, the terminal device can also output an open prompt message before detecting the target application. That is, after identifying the target application, an open prompt message is output before detecting it; this prompt message triggers the detection of the target application. For example... Figure 7b The "open" prompt message displayed on the scanning and recognition interface triggers the detection of the target application when clicked, leading to further processing based on the detection results. If the target application is detected, it can be opened directly without needing to display the prompt message. Figure 7a or Figure 7b The open prompt message shown omits the step of displaying the target application's business processing interface by triggering the open prompt message. It should be noted that after the user triggers the open prompt message, the source application can also call the target application's SDK to pass the recognition result (e.g., a pseudo link), thereby instructing the target application to open the target application's business processing interface based on the business association information included in the recognition result (e.g., the pseudo link).
[0099] Furthermore, under the premise of satisfying ② above (i.e., detecting that the target application is installed), it is also possible to: call the public development interface provided by the target application through the source application to determine whether the target application supports being called to process the business pointed to by the graphic code; if the target application does not support being called to process the business pointed to by the graphic code, then output update prompt information, which is used to prompt the target application to be updated.
[0100] Please see Figure 8a This is an exemplary update prompt message provided in an embodiment of this application. In this illustration, the update prompt message is displayed in a floating window of the QR code recognition interface. The specific content is: "The target application in the current version does not support the call. Please update to the latest version." After the user receives the update prompt message, they can manually update the target application. Figure 8b This is a schematic diagram illustrating another update notification message provided in an embodiment of this application; and Figure 8aThe difference is that the update prompt includes "The target application in the current version does not support the call, do you want to update?" and two options, "Yes" and "No". The update prompt in this illustration provides users with a quick update option. By selecting the "Yes" option, the target application can be updated in one step without manually switching applications, making the update of the target application more convenient.
[0101] Understandably, if the target application supports being invoked to process the business logic pointed to by the graphic code, then step S404 can be executed.
[0102] S404. Based on the business association information included in the recognition results, jump to the business processing interface of the target application.
[0103] In one embodiment, the service pointed to by the graphic code is a resource transfer service. The specific implementation of this step may include: calling the target application and displaying the resource transfer interface of the target application indicated by the service association information, so as to complete the service processing of the resource transfer service pointed to by the graphic code.
[0104] This step can be performed after the target application has been identified and meets the conditions for processing the business (including detecting that the target application and that the current version of the target application supports being invoked to process the business pointed to by the graphic code). In this embodiment, the business pointed to by the graphic code is a resource transfer business, such as a payment business; the business association information is used to indicate opening the resource transfer interface associated with the resource transfer business. Starting from this resource transfer interface, the business processing of the resource transfer business pointed to by the graphic code can be completed through a series of corresponding operations. Please refer to... Figure 9 This is a schematic diagram of an exemplary resource transfer interface provided in an embodiment of this application. Figure 9 As shown, the resource transfer interface 90 is specifically a payment interface, which displays the recipient, payment amount, and virtual numeric keypad. Users can enter the payment amount through the virtual numeric keypad, click the payment button, and request the target application's server to transfer the virtual resources in the payment transaction.
[0105] In one embodiment, after the target application's server completes the resource transfer as instructed, it can send a resource transfer service return packet to a computer device (e.g., a terminal device). The computer device then informs the user that the resource transfer service indicated by the graphical code has been completed. This means: receiving the resource transfer service return packet from the target application's server; displaying the target application's processing result interface; wherein the resource transfer service return packet is used to determine the processing result of the resource transfer service; the processing result interface displays the processing result, which includes a resource receiving object identifier and a resource transfer quantity identifier. Here, the resource receiving object identifier is used to mark the party receiving the resources in the resource transfer service (i.e., the resource receiving object), and the resource transfer quantity identifier is used to indicate the quantity of resources transferred; for example... Figure 9 In the payment transaction, the amount paid to user Q is 145, the resource recipient is identified as user Q, and the resource transfer quantity is identified as 145. The processing result of the target application can be either the result when the resource transfer transaction is successfully processed or the result when the resource transfer transaction fails.
[0106] Please see Figure 10 A schematic diagram of an exemplary processing result interface 1000 is shown, which is based on Figure 9 The payment result interface shown is the result obtained from inputting the resource transfer information. Specifically, it displays the payment success result determined by the payment feedback packet. The payment result interface 1000 shows the specific payee user Q (corresponding to the resource receiving object identifier), the payment amount 145 (corresponding to the resource transfer quantity identifier), and a "Payment Successful" notification message. It should be noted that if the payment result determined by the payment feedback packet is a payment failure, a processing prompt message can be output to suggest reprocessing the resource transfer transaction.
[0107] Furthermore, the target application can send a processing notification message to the source application through its own software development kit (SDK). This processing notification message is used to notify the source application of the processing result of the resource transfer business.
[0108] In one embodiment, after the service processing indicated by the graphic code is completed, the terminal device can respond to the end confirmation command for the service indicated by the graphic code and output the operation interface of the source application. This end confirmation command can be triggered by pressing a corresponding button on the processing result interface (e.g., ...). Figure 10 The scan can be triggered via the "Complete" button in the application; it can also be triggered in other ways, which are not limited here. The source application's interface can be used to display buttons for the scan operation, such as... Figure 3 The "Scan" button in the drop-down menu 31 displayed on the QR code recognition interface 30. For the source application's operation interface, such as... Figure 11 This is a schematic diagram of an exemplary user interface for a geospatial application. For example, by clicking... Figure 10 The "Complete" button on the payment result interface 1000 triggers an end confirmation command, and the terminal device responds by outputting the end confirmation command. Figure 11 The source application's user interface 110 is shown here. It should be noted that user interface 110 here is different from... Figure 3 The user interface 30 of the social applications is the same.
[0109] In another embodiment, after the business processing indicated by the graphic code is completed, the terminal device can also respond to the end confirmation command for the business indicated by the graphic code by outputting a selection prompt message. This selection prompt message prompts the user to choose between displaying the target application's interface or displaying the source application's interface. In other words, the output selection prompt message allows the user to choose to stay in the target application or return to the source application, specifically indicated by displaying either the target application's or the source application's interface. It should be noted that the triggering method for the end confirmation command can be the same as in the above embodiment, but the target application and the source application are two different applications, and their corresponding interfaces also differ. This approach, by providing different application switching options, avoids the user being directly redirected to the source application's interface after confirming the business processing is complete. It allows the user to directly use the target application when needed, rather than having to redirect to and reopen the source application, improving the convenience of target application switching and providing a better user experience. Please refer to [link to relevant documentation]. Figure 12 , Figure 12 This is a schematic diagram illustrating an exemplary selection prompt message provided in an embodiment of this application, such as... Figure 12 As shown, taking application B as the target application and application A as the source application as an example, the output selection prompt message includes the text "Stay in application B" and "Return to application A". If the former is selected, the interface of application B will be displayed; if the latter is selected, the interface of application A will be displayed (e.g., ...). Figure 11 (A schematic diagram of the user interface of the source application is shown).
[0110] In one possible embodiment, when the target application does not send a final processing request to the corresponding server, the user can choose whether to stop the resource transfer service processing in a suitable manner. Optional steps include: in response to a stop trigger command for the resource transfer service pointed to by the graphical code, outputting a service prompt interface; the service prompt interface includes: service prompt information indicating whether to process the resource transfer service indicated by the service association information; if a confirmation operation is detected on the service prompt interface, the service prompt interface is closed and the resource transfer interface is displayed; if an abandonment operation is detected on the service prompt interface, the target interface of the source application is displayed. The service prompt information can be any one of prompt text, prompt animation, or prompt icon; the service prompt interface can be a floating window interface or a fixed window interface.
[0111] Please see Figure 13 This is a schematic diagram of an exemplary business prompt interface provided in an embodiment of this application; as shown... Figure 13 As shown, it is based on Figure 9 The diagram provided shows the payment interface. The business prompt interface 130 is a floating window displayed above the payment interface. It includes a text prompt asking "Do you wish to cancel this payment?" and two selection buttons: "Continue" and "Cancel". If the "Continue" button is selected, a confirmation action will be detected on the business prompt interface 130. At this point, the business prompt interface will close, the business prompt will no longer be displayed, and the resource transfer interface (such as...) will continue to be displayed. Figure 9 (The payment interface); if the "Cancel" button is selected, the cancellation operation can be detected on the business prompt interface 130. At this time, the system returns from the target application to the target interface of the source application (such as the payment interface). Figure 11 The operation interface 110 in the middle.
[0112] It is understood that the service pointed to by the graphic code can be other services, and the interface to be opened after the jump can be one or more of the following: the login interface of the target application, the download interface of the target application, the information collection interface of the target application, the information viewing interface of the target application, the friend adding interface of the target application, the content browsing interface of the target application, the multimedia playback interface of the target application, and the registration interface of the target application. This application embodiment uses a resource transfer application and its resource transfer interface as an example for illustration. In the case of other applications and their related interfaces, the jump between applications and the processing of related services can also be achieved by executing the various steps of this application embodiment. For example, the login service corresponding to the login interface, the download service corresponding to the download interface, the information collection service corresponding to the information collection interface, the information viewing service corresponding to the information viewing interface, the friend adding service corresponding to the friend adding interface, the content browsing service corresponding to the content browsing interface, the multimedia playback service corresponding to the multimedia playback interface, the registration service corresponding to the registration interface, and so on.
[0113] S405 performs business processing on the target application's business processing interface.
[0114] In this embodiment, the business processing interface of the target application is used as an example to illustrate the business processing flow. For example, in Figure 9 The resource transfer interface shown allows users to input the corresponding resource transfer quantity, which triggers a resource transfer button (e.g., a payment button) to begin the transfer. When the business process is complete, the result is output, and the user is redirected to a page like... Figure 10The processing results interface displays the number of resources transferred and the identifier of the resource recipient. Of course, the processing flows on other business processing interfaces, such as the login interface, download interface, information collection interface, registration interface, etc., will differ depending on the specific business being supported, and will not be detailed here.
[0115] In this embodiment, after the source application scans the graphic code to obtain the recognition result, the target application is determined based on the business object information included in the recognition result. Whether the target application is installed, and whether the installed version supports being called to handle the business pointed to by the graphic code, can all be indicated by outputting prompts based on the determination results. This allows the user to make corresponding adjustments based on the prompts, thereby processing the business and improving the operation of the source application recognizing the graphic code of the target application for business processing. This makes the operation during business processing more in line with user expectations. Furthermore, not only can the graphic code recognition technology, combined with the linkage between graphic code recognition and the target application, enable secure resource transfer by scanning and recognizing the graphic code of the target application through the source application, but it also avoids manually switching to the target application when the user is currently using the source application but needs to process the business of the target application. This is highly convenient and efficient, optimizing and improving the business loop experience and further enhancing user stickiness.
[0116] based on Figure 4 Based on the examples, Figure 14 A flowchart illustrating another graphic code processing method provided by an exemplary embodiment is shown. This method can be implemented by a computer device (e.g., a terminal device equipped with...). Figure 1 The graphic code processing device 100 shown executes the method. This application embodiment of the graphic code processing method mainly introduces how, when the service pointed to by the graphic code is a resource transfer service, the security of the resource transfer service can be ensured while processing the resource transfer service, including but not limited to the following steps.
[0117] S1401, Obtain the resource transfer relationship chain of the resource transfer service pointed to by the graphic code. Since the resource transfer service pointed to by the graphic code is processed by the source application scanning the graphic code and calling the target application based on the graphic code recognition result, a resource transfer relationship chain is formed from the user object of the source application, the user object of the target application (i.e., the resource delivery object in the resource transfer service below), and the resource receiving object in the resource transfer service. This resource transfer relationship chain includes all object identifiers (e.g., user accounts) in the link of the resource transfer service. Through this resource transfer relationship chain, not only can the party transferring resources and the party receiving resources in the resource transfer service be identified, but also the party that calls the target application can be identified. Therefore, if a security risk occurs during the process of the source application jumping to the target application to execute the resource transfer service, appropriate blocking measures (e.g., restricting the target user object of the source application from calling the target application) can be adopted based on the target object identifier at the time of the source application jump, thereby effectively avoiding user property loss.
[0118] It should be noted that during the acquisition of the resource relationship chain in this application embodiment, the acquisition of each user account or identifier requires a prompting interface to remind the user. For example, after the user of the source application opens the scanning function to scan the graphic code, a window can be displayed prompting that account information and other relevant user information related to this operation will be collected (the various information to be collected can be directly listed for the user to choose from). Similarly, during the execution of the target application, a corresponding prompting window will be displayed to remind the user that account information and other user information will be collected for this operation. The required information can also be listed for the user to view or select. The user can choose whether to agree to the collection of information each time. The incomplete collection of information does not necessarily terminate the operation. For example, the collection of some information is for security considerations (such as user account and property security). This information is optional. When the user decides not to allow the collection, the user is only reminded that there may be security risks, but it does not affect the identification and processing of the graphic code.
[0119] In one embodiment, the steps for obtaining the resource transfer relationship chain include the following 1)-3):
[0120] 1) Obtain encrypted data obtained by the source application's server through encryption of the target object identifier. The target object identifier is used to identify the target user object of the source application. To avoid leakage of resource transfer relationship chains, the target object identifier can be encrypted. The encryption process is performed by the source application's server (i.e., the business backend). Specifically, a computer device (e.g., a terminal device) can request encrypted data from the source application's server. On the first request, the computer device can send the target object identifier, which marks the user object of the source application, to the source application's server. The source application's server then returns the encrypted data obtained through encryption to the computer device. On subsequent requests, the encrypted data stored in the source application's server can be obtained based on the target object identifier. For example, the target object identifier can be a user information identification code (userinformation, abbreviated as uin), and the encrypted data can correspond to a token, i.e., an encrypted string or an encrypted token. That is, the source application's server encrypts the uin based on an encryption algorithm and uses the encrypted result (i.e., encrypted data) as a token. This token carries non-sensitive user information and has an expiration time, which can improve data security. Subsequently, the source application's server transmits the token string to the computer device, and the computer device saves the token string. The above process can be referred to as requesting a token. The computer device can include this token string in subsequent requests, and then combine it with other data to obtain the resource transfer relationship chain.
[0121] In one embodiment, after obtaining encrypted data, the source application can send a call request to the target application via a public open interface (such as the API interface provided by OpenSDK). This call request requests the terminal device to invoke the target application, meaning the currently running program on the terminal device jumps from the source application to the target application. The call request carries transparent parameters, including identification results (e.g., pseudo-links), encrypted data (e.g., tokens), etc. Subsequent business processing can be performed based on these parameters, such as building a resource transfer relationship chain. Through the above steps, it can be seen that the transparent data passed to the target application does not use plaintext to transmit the target object identifier (e.g., the source application's account), but rather encrypts it. This ensures that only encrypted data (e.g., a token obtained by encrypting uin) is transmitted, effectively reducing the risk of exposing the object identifier system and improving data transmission security. For example, it can effectively prevent the account of instant messaging application A from being directly exposed to instant messaging application B.
[0122] 2) Obtain the resource delivery object identifier and resource receiving object identifier of the resource transfer service pointed to by the graphic code. The resource transfer service pointed to by the graphic code includes a resource delivery object and a resource receiving object, corresponding to the party transferring the resource and the party receiving the resource, respectively. The resource delivery object identifier is used to identify the resource delivery object, and the resource receiving object identifier is used to identify the resource receiving object. It should be noted that both the resource delivery object and the resource receiving object are user objects of the target application. In one embodiment, when the business processing interface of the target application is opened according to the instructions of the business association information, the corresponding resource delivery object identifier and resource receiving object identifier can be obtained.
[0123] 3) Based on encrypted data, resource delivery object identifier, and resource receiving object identifier, obtain the resource transfer relationship chain of the resource transfer business pointed to by the graphic code.
[0124] Furthermore, based on the encrypted data, resource delivery object identifier, and resource receiving object identifier obtained in the above steps, a resource transfer relationship chain can be obtained. The data included in the resource transfer relationship chain can identify two types of objects: the target user object of the source application and the user object of the target application. Both can be considered participants in the resource transfer service pointed to by the graphical code. It should be noted that the initially generated resource transfer relationship chain can be stored in a database so that the corresponding resource transfer relationship chain can be directly retrieved from the database when needed to perform secure processing on the corresponding resource transfer service.
[0125] S1402, the target application sends a notification message carrying the resource transfer relationship chain to the target application's server. In one embodiment, the notification message triggers the target application's server to perform secure processing on the resource transfer service pointed to by the graphic code based on the resource transfer relationship chain. This secure processing may include storing the resource transfer relationship chain and using it for security verification. For example, the target data's server stores the resource transfer relationship chain carried in the notification message in a database and monitors for anomalies in the resource transfer service based on this chain. For instance, it may detect whether the number of resource transfers between the resource delivery object and the resource receiving object in a resource transfer service initiated by the target user object is abnormal, or when the target application's server detects that the resource receiving object corresponding to the resource receiving object identifier is marked as a suspicious resource receiving object in other resource transfer relationship chains stored in the database, it can intercept the corresponding operation initiated by the target user object or the resource delivery object of the source application, thereby avoiding further resource loss. In one embodiment, the target application's server can directly perform secure processing based on the encrypted data in the resource transfer relationship chain without decrypting the encrypted data.
[0126] In another embodiment, the notification message is also used to notify the server of the target application to send the encrypted data included in the resource transfer relationship chain to the server of the source application, so that the server of the target application can receive the target data object generated by the server of the source application after decrypting the encrypted data included in the resource transfer relationship chain; the server of the target application uses the target data object to perform security monitoring on the target user object of the source application. That is, in the process of the server of the target application performing security protection based on the resource transfer relationship chain, the server of the target application can specifically request the server of the source application to decrypt, and use the target data object generated by decryption to realize security monitoring on the target user object corresponding to the target object identifier in the resource transfer relationship chain. This target data object can be other identifier data rather than the user account corresponding to the source application itself. The specific process includes:
[0127] a. After receiving the notification message sent by the target application, the server of the target application can send the encrypted data in the resource transfer relationship chain carried in the notification message to the server of the source application.
[0128] b. The source application's server decrypts the received encrypted data (e.g., a token) (e.g., the target application's server decrypts the token using an interface provided by the source application's server), and then returns the target data object generated based on the decrypted data to the target application's server. The target data object can be a string uniquely representing the target object identifier, such as a hash value obtained by hashing the decrypted data, which serves as the encrypted target object identifier. This ensures the security of the source application's target object identifier (e.g., a user account) on the target application's side.
[0129] c. The target application's server receives the returned target data object and performs security monitoring on the target user object of the source application.
[0130] The above process is also the process by which the server of the target application exchanges encrypted data with the server of the source application for the target data object. Throughout the entire process, the server of the target application cannot actually obtain the target object identifier representing the target user object, thereby ensuring the security of the target object identifier that identifies the target user object of the source application.
[0131] It should be noted that, in this embodiment, both the source application server and the target application server can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. No restrictions are imposed here. The terminal device can be a smartphone, tablet computer, smart wearable device, smart voice interaction device, smart home appliance, personal computer, in-vehicle terminal, etc., and this application does not impose any restrictions on this.
[0132] It is understood that in the specific implementation of this application, information involving user objects, such as target object identifiers, resource transfer delivery object identifiers, resource transfer receiving object identifiers, accounts, and other related data, is required to obtain user permission or consent when the above embodiments of this application are applied to specific products or technologies. Furthermore, the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0133] The solution provided in this application is applied to the processing scenario of resource transfer business. It solves the security problem of jumping to the target application by encrypting and transparently transmitting the target object identifier of the source application. This supports the target application side (including the target application and the target application's server) to improve the monitoring capability of the entire resource transfer relationship chain. Specifically, the target application's server can exchange the encrypted data included in the resource transfer relationship chain for the target data object with the unique identifier of the target object in the source application's server. This enables security monitoring of the target user object of the source application, thereby better controlling the risk of the source application jumping to the target application and achieving better security performance.
[0134] Based on the content described in the above embodiments, the following can be provided: Figure 15 The diagram illustrates an exemplary interaction flow of a graphic code processing method, specifically an interaction flow where the graphic code processing method is applied to a resource transfer business scenario, where the resource transfer business is specifically a payment business. Figure 15As shown, the application includes a source application 150, a target application's software development kit 151, a source application backend 152, a target application backend 153, and a target application 154. The software development kit 152 provided by the target application can be used to establish a data transmission channel between the source application 150 and the target application 154. Specifically, the software development kit can provide a public development interface for the source application to enable the jump from the source application 150 to the target application 154. The source application 150 belongs to client 1, and the software development kit 151 and the target application 154 belong to client 2. Client 1 and client 2 can run on the same computer device (e.g., a terminal device). The source application backend 152 and the target application backend 153 belong to the server side.
[0135] S10. Scan the graphic code using the scanning function supported by the source application 150. Specifically, the source application 150's own graphic code (e.g., QR code) recognition technology can be used to parse the graphic code and obtain the pseudo link.
[0136] S11, Source application 150 determines whether it is the target graphic code.
[0137] The target image code here refers to the image code of the target application 154. The business pointed to by this target image code can be processed by the target application 154, and there is a unique correspondence between the target application 154 and the target image code. For example, image codes that support payment services can include payment codes and collection codes. However, different applications may support processing this type of business. Typically, the payment codes of application A are processed by application A, and the payment codes of application B are processed by application B. That is, each application processes the business pointed to by its own image code. For the target image code: whether the image code is the target image code can be determined by whether the prefix of the pseudo-link provided by the target application 154 matches the prefix of the pseudo-link obtained by scanning the image code. In other words, the unique target application 154 that processes the business pointed to by the image code can be identified.
[0138] S12, Source application 150 provides a prompt pop-up window to confirm and redirect to target application 154.
[0139] The source application 150 displays a pop-up window prompting the user to confirm redirection to the target application 154 for payment. The pop-up window may include a prompt message, which can be text or an icon, such as... Figure 7b The opening prompt message is an opening prompt icon output on the QR code recognition interface of the source application. The user can click on the opening prompt icon to confirm and jump to the target application 154. In one embodiment, this step is optional. In actual use, the user can directly jump to the target application 154 as needed.
[0140] S13, Source application 150 requests encrypted data from source application backend 152.
[0141] The source application backend 152 (i.e., the business backend) corresponds to the server of source application 150. The encrypted data can be a token string (or simply token). Source application 150 can send the target object identifier (e.g., uin, used to identify the target user object of source application 150) to source application backend 152. Upon receiving this, source application backend 152 processes the target object identifier using an encryption algorithm, obtains encrypted data, and returns it to source application 150. Based on this encrypted data, a resource transfer relationship chain is further established by combining the resource transfer object (i.e., the resource delivery object) and the resource receiving object in the resource transfer business. When source application 150 subsequently transmits a call request, it can include the necessary data from the resource transfer relationship chain in the request. By using the encrypted target object identifier, i.e., the encrypted data obtained from the request to the business backend, the leakage of the resource transfer relationship chain (i.e., the payment link) can be avoided during data transmission.
[0142] Source application 150 can call the software development kit (SDK) (such as OpenSDK) provided by target application 154 to perform a payment redirection, including steps S14 and S15:
[0143] S14, Source application 150 calls the target application's software development kit 151 to determine whether the target application is installed 154 and whether the target application 154 supports payment redirection.
[0144] Specifically, the public development interface provided by the SDK (such as OpenSDK) of the target application 154 can be used. By calling the public development interface of the target application 154, it is first determined whether the target application 154, which processes the business pointed to by the graphic code, is installed on the user's computer device. If it is not installed, an installation prompt message is output to prompt the user to install it (e.g., ...). Figure 5a or Figure 5b Secondly, based on the installation of target application 154, it is determined whether the user's version of target application 154 supports payment redirection. If it does not support redirection, an update prompt message can be output to remind the user to update target application 154 (e.g., ...). Figure 8a or Figure 8b This allows subsequent payment redirection to proceed normally. Conversely, if the installed target application 154 supports redirection to the target application 154's business processing interface, step S15 can be executed.
[0145] S15. Call the target application's software development kit 151 to perform a payment redirection, i.e., redirect to the target application 154 to perform the payment.
[0146] During the payment redirection process, the public development interface of target application 154 can forward call requests carrying encrypted data to target application 154, i.e., perform data pass-through. The specific pass-through data may include pseudo-links, encrypted data (such as tokens), etc. Then, the target application side (including target application 154 and target application backend 153) can obtain the resource transfer relationship chain (such as the payment link) based on the pass-through data and maintain the resource transfer relationship chain. This resource transfer relationship chain can connect the initiator of the resource transfer business (i.e., the target user object of source application 150) to the resource transferor and the resource receiver, so as to subsequently monitor the target user object corresponding to the target object identifier (such as account) in the resource transfer relationship chain.
[0147] S16. Target application 154 requests payment from target application backend 153.
[0148] The target application backend 153 is the server of the target application 154. The notification message corresponding to the payment request may carry a resource transfer relationship chain, and then the target application backend 153 performs security processing based on the encrypted data in the resource transfer relationship chain. In one embodiment, the target application backend 153 can perform security processing independently, or it can interact with the source application backend 152 to perform security processing (corresponding to the execution of step S17).
[0149] S17. Exchange target data object by encrypting data.
[0150] The target application backend 153 sends the encrypted data in the resource transfer relationship chain to the source application backend 152. The source application backend 152 decrypts the encrypted data to obtain the target object identifier, which uniquely identifies the target user object of the source application 150. This target object identifier is further processed to generate a target data object, for example, by performing a hash calculation on the target object identifier using a hash algorithm to obtain a hash value, which is then returned to the target application backend 153. Because the original data (i.e., the target object identifier) cannot be derived from the hash value, the resource transfer relationship chain enjoys extremely high security.
[0151] S18, Target application backend 153 sends a payment response packet to target application 154.
[0152] The target application 154 can determine the payment result based on the payment response packet. If the payment is successful, it will execute step S19: send a payment completion notification message to the target application's software development kit 151, and then execute step S20: send the notification message to the source application 150 through the public development interface provided by the target application 154's development kit.
[0153] Compared to the target application that processes the business indicated by the graphic code, the source application that provides the graphic code scanning function can be regarded as a third-party application. The graphic code of the target application supports scanning and identification on third-party applications other than the target application and completes the corresponding business in conjunction with the target application. In business areas with high security requirements, such as resource transfer business, the security of the target object identifier when the source application jumps to the target application is ensured by encrypted transparent transmission, and the target application's monitoring capability of the resource transfer relationship chain is further improved.
[0154] Please see Figure 16 , Figure 16 This is a schematic diagram illustrating the structure of a graphic code processing apparatus according to an exemplary embodiment of this application. The aforementioned graphic code processing apparatus can be a computer program (including program code) running on a computer device; for example, the graphic code processing apparatus is application software. The graphic code processing apparatus can be used to execute corresponding steps in the methods provided in the embodiments of this application. Figure 16 As shown, the graphic code processing device 1600 may include a detection module 1601 and a processing module 1602.
[0155] Detection module 1601 is used to detect user operations;
[0156] The processing module 1602 is used to display the barcode scanning and recognition interface of the source application; the barcode scanning and recognition interface is used to display the scanned graphic code, which is generated based on the graphic code generation rules of the target application; the target application and the source application are different applications; in response to the recognition result of the graphic code, the application jumps from the source application to the business processing interface of the target application; and business processing is performed on the business processing interface of the target application.
[0157] In one embodiment, the processing module 1602 is specifically configured to: obtain the recognition result of the graphic code, the recognition result including business object information and business association information; determine the target application for processing the business pointed to by the graphic code based on the business object information included in the recognition result; and jump to the business processing interface of the target application based on the business association information included in the recognition result.
[0158] In one embodiment, the target application's business processing interface that the user is redirected to includes one or more of the following: the target application's login interface, the target application's download interface, the target application's information collection interface, the target application's information viewing interface, the target application's friend adding interface, the target application's content browsing interface, the target application's multimedia interface, and the target application's registration interface.
[0159] In one embodiment, the business pointed to by the graphic code is a resource transfer business. The processing module 1602 is specifically used to: call the target application and display the resource transfer interface of the target application indicated by the business association information, so as to complete the business processing of the resource transfer business pointed to by the graphic code.
[0160] In one embodiment, the processing module 1602 is further configured to: obtain the resource transfer relationship chain of the resource transfer service pointed to by the graphic code; and send a notification message carrying the resource transfer relationship chain to the server of the target application through the target application, wherein the notification message is used to trigger the server of the target application to perform security processing on the resource transfer service pointed to by the graphic code according to the resource transfer relationship chain.
[0161] In one embodiment, the processing module 1602 is specifically used to: obtain encrypted data obtained by the source application's server encrypting the target object identifier, wherein the target object identifier is used to identify the target user object of the source application; obtain the resource delivery object identifier and resource receiving object identifier of the resource transfer service pointed to by the graphic code; and obtain the resource transfer relationship chain of the resource transfer service pointed to by the graphic code based on the encrypted data, the resource delivery object identifier, and the resource receiving object identifier.
[0162] In one embodiment, the notification message is further used to notify the server of the target application to send the encrypted data included in the resource transfer relationship chain to the server of the source application, so that the server of the target application can receive the target data object generated by the server of the source application after decrypting the encrypted data included in the resource transfer relationship chain; the server of the target application uses the target data object to perform security monitoring on the target user object of the source application.
[0163] In one embodiment, the processing module 1602 is further configured to: receive a resource transfer service response packet returned by the server of the target application; the resource transfer service response packet is used to determine the processing result of the resource transfer service; and display the processing result interface of the target application, wherein the processing result interface displays the processing result, and the processing result includes a resource receiving object identifier and a resource transfer quantity identifier.
[0164] In one embodiment, the processing module 1602 is further configured to: in response to a stop trigger command for the resource transfer service pointed to by the graphic code, output a service prompt interface; the service prompt interface includes: service prompt information for prompting whether to process the resource transfer service indicated by the service association information; if a confirmation operation is detected on the service prompt interface, the service prompt interface is closed and the resource transfer interface is displayed; if an abandonment operation is detected on the service prompt interface, the target interface of the source application is displayed; wherein, the service prompt information is prompt text or prompt animation; the service prompt interface is a floating window interface or a fixed window interface.
[0165] In one embodiment, the processing module 1602 is specifically used to: find a target candidate application that matches the business object information based on the business object information included in the identification result, wherein the tag information of the target candidate application matches the business object information; and determine the target candidate application as the target application used to process the business pointed to by the graphic code.
[0166] In one embodiment, the processing module 1602 is further configured to: determine whether the target application supports being called to process the business pointed to by the graphic code by calling the public development interface provided by the target application through the source application; if the target application does not support being called to process the business pointed to by the graphic code, then output update prompt information, the update prompt information being used to prompt the target application to update.
[0167] In one embodiment, the processing module 1602 is further configured to: if no target application is detected, output an installation prompt message or an identification result prompt message; the installation prompt message is used to prompt the download and installation of the target application, and the identification result prompt message is used to prompt that the graphic code cannot be identified; or, if the target application is detected, output an opening prompt message, which is used to prompt the opening of the target application to trigger the execution of the step of jumping to the business processing interface of the target application based on the business association information included in the identification result.
[0168] In one embodiment, the processing module 1602 is further configured to: in response to the end confirmation instruction of the service pointed to by the graphic code, output selection prompt information, the selection prompt information being used to prompt whether to display the operation interface of the target application or the operation interface of the source application.
[0169] It is understood that the functions of each functional module of the graphic code processing device described in the embodiments of this application can be specifically implemented according to the methods in the above method embodiments, and the specific implementation process can be referred to the relevant descriptions in the above method embodiments, which will not be repeated here. In addition, the beneficial effects of using the same method will not be repeated here either.
[0170] Please see Figure 17 , Figure 17 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. The computer device 1700 may include one or more independent devices (such as servers, nodes, terminals, etc.), or it may include components within independent devices (such as chips, software modules, or hardware modules). The computer device 1700 may include at least one processor 1701 and a communication interface 1702. Further optionally, the computer device 1700 may also include at least one memory 1703 and a bus 1704. The processor 1701, communication interface 1702, and memory 1703 are connected via the bus 1704.
[0171] The processor 1701 is a module that performs arithmetic and / or logical operations. Specifically, it can be one or a combination of processing modules such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor unit (MPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a complex programmable logic device (CPLD), a coprocessor (to assist the central processing unit in completing corresponding processing and applications), and a microcontroller unit (MCU).
[0172] The communication interface 1702 can be used to provide information input or output to the at least one processor. And / or, the communication interface 1702 can be used to receive data sent from outside and / or send data to outside, and can be a wired link interface including such as an Ethernet cable, or a wireless link interface (Wi-Fi, Bluetooth, general wireless transmission, vehicle short-range communication technology and other short-range wireless communication technologies, etc.).
[0173] The memory 1703 provides storage space, in which data such as the operating system and computer programs can be stored. The memory 1703 can be one or a combination of several of the following: random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CD-ROM).
[0174] At least one processor 1701 in the computer device 1700 is used to call a computer program stored in at least one memory 1703 to execute the aforementioned graphics code processing method, such as the aforementioned Figure 2 , Figure 4 , Figure 14 The illustrated embodiment describes a graphic code processing method.
[0175] In one possible implementation, the processor 1701 in the computer device 1700 is used to call a computer program stored in at least one memory 1703 to perform the following operations: detect user operation through a communication interface and display the barcode recognition interface of the source application; the barcode recognition interface is used to display the scanned graphic code, which is generated based on the graphic code generation rules of the target application; the target application and the source application are different applications; in response to the recognition result of the graphic code, jump from the source application to the business processing interface of the target application; and perform business processing on the business processing interface of the target application.
[0176] In one embodiment, when the processor jumps from the source application to the business processing interface of the target application in response to the recognition result of the graphic code, it is specifically used to: obtain the recognition result of the graphic code, the recognition result including business object information and business association information; determine the target application for processing the business pointed to by the graphic code based on the business object information included in the recognition result; and jump to the business processing interface of the target application based on the business association information included in the recognition result.
[0177] In one embodiment, the target application's business processing interface that the user is redirected to includes one or more of the following: the target application's login interface, the target application's download interface, the target application's information collection interface, the target application's information viewing interface, the target application's friend adding interface, the target application's content browsing interface, the target application's multimedia interface, and the target application's registration interface.
[0178] In one embodiment, the service pointed to by the graphic code is a resource transfer service. When the processor 1701 jumps to the service processing interface of the target application based on the service association information included in the identification result, it is specifically used to: call the target application and display the resource transfer interface of the target application indicated by the service association information, so as to complete the service processing of the resource transfer service pointed to by the graphic code.
[0179] In one embodiment, the processor 1701 is further configured to: obtain the resource transfer relationship chain of the resource transfer service pointed to by the graphic code; and send a notification message carrying the resource transfer relationship chain to the server of the target application through the target application, wherein the notification message is used to trigger the server of the target application to perform security processing on the resource transfer service pointed to by the graphic code according to the resource transfer relationship chain.
[0180] In one embodiment, when the processor 1701 obtains the resource transfer relationship chain of the resource transfer service pointed to by the graphical code, it is specifically used to: obtain encrypted data obtained by the source application's server encrypting the target object identifier, wherein the target object identifier is used to identify the target user object of the source application; obtain the resource delivery object identifier and the resource receiving object identifier of the resource transfer service pointed to by the graphical code; and obtain the resource transfer relationship chain of the resource transfer service pointed to by the graphical code based on the encrypted data, the resource delivery object identifier, and the resource receiving object identifier.
[0181] In one embodiment, the notification message is further used to notify the server of the target application to send the encrypted data included in the resource transfer relationship chain to the server of the source application, so that the server of the target application can receive the target data object generated by the server of the source application after decrypting the encrypted data included in the resource transfer relationship chain; the server of the target application uses the target data object to perform security monitoring on the target user object of the source application.
[0182] In one embodiment, the processor 1701 is further configured to: receive a resource transfer service response packet returned by the server of the target application; the resource transfer service response packet is used to determine the processing result of the resource transfer service; and display the processing result interface of the target application, wherein the processing result interface displays the processing result, and the processing result includes a resource receiving object identifier and a resource transfer quantity identifier.
[0183] In one embodiment, the processor 1701 is further configured to: in response to a stop trigger instruction for the resource transfer service pointed to by the graphical code, output a service prompt interface; the service prompt interface includes: service prompt information for prompting whether to process the resource transfer service indicated by the service association information; if a confirmation operation is detected on the service prompt interface, the service prompt interface is closed and the resource transfer interface is displayed; if an abandonment operation is detected on the service prompt interface, the target interface of the source application is displayed; wherein, the service prompt information is prompt text or prompt animation; the service prompt interface is a floating window interface or a fixed window interface.
[0184] In one embodiment, when the processor 1701 determines the target application for processing the service pointed to by the graphic code based on the service object information included in the identification result, it specifically performs the following steps: searching for a target candidate application that matches the service object information based on the service object information included in the identification result, wherein the tag information of the target candidate application matches the service object information; and determining the target candidate application as the target application for processing the service pointed to by the graphic code.
[0185] In one embodiment, the processor 1701 is further configured to: call the public development interface provided by the target application through the source application, determine whether the target application supports being called to process the business pointed to by the graphic code; if the target application does not support being called to process the business pointed to by the graphic code, output update prompt information, the update prompt information being used to prompt the target application to update.
[0186] In one embodiment, the processor 1701 is further configured to: if no target application is detected, output an installation prompt message or an identification result prompt message; the installation prompt message is used to prompt the download and installation of the target application, and the identification result prompt message is used to prompt that the graphic code cannot be identified; or, if the target application is detected, output an opening prompt message, the opening prompt message is used to prompt the opening of the target application to trigger the execution of the step of jumping to the business processing interface of the target application based on the business association information included in the identification result.
[0187] In one embodiment, the processor 1701 is further configured to: in response to the end confirmation instruction of the service pointed to by the graphic code, output a selection prompt message, the selection prompt message being used to prompt whether to display the operation interface of the target application or the operation interface of the source application.
[0188] It should be understood that the computer device 1700 described in the embodiments of this application can execute the graphic code processing method described in the corresponding embodiments above, and can also execute the methods described above. Figure 16 The description of the graphic code processing device 1600 in the corresponding embodiments will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated here.
[0189] Furthermore, it should be noted that an exemplary embodiment of this application also provides a storage medium storing a computer program for the aforementioned graphic code processing method. This computer program includes program instructions that, when loaded and executed by one or more processors, can implement the graphic code processing method described in the embodiments, which will not be repeated here. The beneficial effects of employing the same method will also not be repeated here. It is understood that the program instructions can be deployed on one or more computer devices capable of communicating with each other for execution.
[0190] The aforementioned computer-readable storage medium can be the internal storage unit of the graphic code processing apparatus provided in any of the foregoing embodiments or the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device. Furthermore, the computer-readable storage medium can include both internal storage units and external storage devices of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0191] One aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method provided in one aspect of the embodiments of this application.
[0192] In one aspect of this application, another computer program product is provided, which includes a computer program or computer instructions that, when executed by a processor, implement the steps of the graphic code processing method provided in the embodiments of this application.
[0193] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A method for processing graphic codes, characterized in that, The method includes: The source application's QR code scanning interface is displayed; the QR code scanning interface is used to display the scanned graphic code, which is generated based on the target application's graphic code generation rules; the target application and the source application are different applications. Obtain the recognition result of the graphic code, wherein the recognition result includes business object information and business association information; Based on the business object information included in the identification result, determine the target application for processing the business pointed to by the graphic code; The source application calls the public development interface provided by the target application to pass the recognition result to the target application, thereby triggering the target application to open the business processing interface of the target application according to the business association information; Perform business processing on the business processing interface of the target application.
2. The method as described in claim 1, characterized in that, The target application's business processing interface that the user is redirected to includes one or more of the following: the target application's login interface, the target application's download interface, the target application's information collection interface, the target application's information viewing interface, the target application's friend adding interface, the target application's content browsing interface, the target application's multimedia interface, and the target application's registration interface.
3. The method as described in claim 1, characterized in that, The service indicated by the graphic code is a resource transfer service. The step of redirecting to the service processing interface of the target application based on the service association information included in the identification result includes: The target application is invoked, and the resource transfer interface of the target application, indicated by the business association information, is displayed to facilitate the business processing of the resource transfer business pointed to by the graphic code.
4. The method as described in claim 3, characterized in that, The method further includes: Obtain the resource transfer relationship chain of the resource transfer service pointed to by the graphic code; The target application sends a notification message carrying a resource transfer relationship chain to the target application's server. The notification message is used to trigger the target application's server to perform secure processing on the resource transfer service pointed to by the graphic code according to the resource transfer relationship chain.
5. The method as described in claim 4, characterized in that, The step of obtaining the resource transfer relationship chain of the resource transfer service pointed to by the graphic code includes: The encrypted data obtained by the server of the source application encrypting the target object identifier, wherein the target object identifier is used to identify the target user object of the source application; Obtain the resource delivery object identifier and resource receiving object identifier of the resource transfer service pointed to by the graphic code; Based on the encrypted data, the resource delivery object identifier, and the resource receiving object identifier, the resource transfer relationship chain of the resource transfer service pointed to by the graphic code is obtained.
6. The method as described in claim 5, characterized in that, The notification message is also used to notify the server of the target application to send the encrypted data included in the resource transfer relationship chain to the server of the source application, so that the server of the target application can receive the target data object generated by the server of the source application after decrypting the encrypted data included in the resource transfer relationship chain. The server of the target application performs security monitoring on the target user object of the source application through the target data object.
7. The method as described in claim 3, characterized in that, The method further includes: Receive a resource transfer service response packet returned by the server of the target application; the resource transfer service response packet is used to determine the processing result of the resource transfer service; The processing result interface of the target application is displayed. The processing result interface displays the processing result, which includes the resource receiving object identifier and the resource transfer quantity identifier.
8. The method as described in claim 3, characterized in that, The method further includes: In response to the stop trigger command for the resource transfer service pointed to by the graphic code, a service prompt interface is output; the service prompt interface includes: service prompt information for prompting whether to process the resource transfer service indicated by the service association information; If a confirmation operation is detected on the business prompt interface, the business prompt interface is closed and the resource transfer interface is displayed; If an abandonment operation is detected on the business prompt interface, the target interface of the source application is displayed; The business prompt information is either prompt text or prompt animation; the business prompt interface is either a floating window interface or a fixed window interface.
9. The method as described in claim 1, characterized in that, The step of determining the target application for processing the service pointed to by the graphic code based on the service object information included in the identification result includes: Based on the business object information included in the identification result, a target candidate application matching the business object information is found, and the tag information of the target candidate application matches the business object information; The target candidate application is determined as the target application for processing the service pointed to by the graphic code.
10. The method according to any one of claims 1-9, characterized in that, The method further includes: By calling the public development interface provided by the target application through the source application, it is determined whether the target application supports being called to process the business pointed to by the graphic code; If the target application does not support being invoked to process the service pointed to by the graphic code, an update prompt message is output, which is used to prompt the target application to be updated.
11. The method according to any one of claims 1-9, characterized in that, The method further includes: If the target application is not detected, an installation prompt or an identification result prompt is output; the installation prompt prompt is used to encourage the download and installation of the target application, and the identification result prompt is used to indicate that the graphic code cannot be recognized; or... If the target application is detected, an opening prompt message is output. The opening prompt message is used to prompt the opening of the target application to trigger the execution of the step of jumping to the business processing interface of the target application based on the business association information included in the identification result.
12. The method according to any one of claims 1-9, characterized in that, The method further includes: In response to the end confirmation command for the service pointed to by the graphic code, a selection prompt message is output, which prompts the user to choose to display the operation interface of the target application or the operation interface of the source application.
13. A graphic code processing device, characterized in that, include: The detection module is used to detect user actions; The processing module is used to display the QR code recognition interface of the source application; The barcode scanning interface displays the scanned graphic code, which is generated based on the graphic code generation rules of the target application. The target application and the source application are different applications. The recognition result of the graphic code is obtained, and the recognition result includes business object information and business association information. Based on the business object information included in the recognition result, the target application for processing the business pointed to by the graphic code is determined. The recognition result is passed to the target application by calling the public development interface provided by the target application through the source application, so as to trigger the target application to open the business processing interface of the target application according to the business association information. Perform business processing on the business processing interface of the target application.
14. A computer device, characterized in that, include: Processor, memory, and network interface; The processor is connected to the memory and the network interface, wherein the network interface is used to provide network communication functions, the memory is used to store program code, and the processor is used to call the program code to execute the graphic code processing method according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the graphic code processing method according to any one of claims 1 to 12.
16. A computer program product, characterized in that, The computer program product includes a computer program or computer instructions, which, when executed by a processor, implement the steps of the graphic code processing method as described in any one of claims 1 to 12.