Scan code interaction method and device
By saving the QR code scanning record in the application, users can directly jump to the business interface of historical QR code scanning through the snapshot function, which solves the problem of cumbersome QR code scanning interaction in the existing technology and realizes a convenient QR code scanning interaction process.
Patent Information
- Application Number
- CN202011174501.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-28
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-10-28
AI Technical Summary
The existing code-scanning interaction method requires users to exit without reason after scanning the QR code or barcode, or they need to reopen the code-scanning application when making multiple payments at the same store, resulting in a cumbersome interaction process.
When the preset application performs a code scanning operation, the scanning record is saved, including the application identification, the source information of the encoded image, and the business interface identification. The user can directly jump to the corresponding business interface by viewing and selecting the historical code scanning record to avoid Repeat the scan operation.
The snapshot function records the user's historical QR code scanning operations. Users can jump directly to the corresponding business interface without performing the QR code scanning operation again, which significantly simplifies the QR code scanning interaction process and improves convenience.
Smart Images

Figure CN112287706B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communication technology, and in particular to a code scanning interaction method and device. Background Art
[0002] As electronic devices become more powerful, various ways of information interaction emerge one after another. Coding methods such as QR codes and barcodes have become very important technologies in daily information interaction, such as: users pay, join groups and add friends by scanning QR codes, and obtain product information by scanning barcodes.
[0003] Currently, there are mainly the following ways to scan QR codes and barcodes: open the camera of the electronic device and scan the picture containing the QR code or barcode for scanning and recognition; recognize the QR code and barcode in the album. In the existing scanning interaction method, if the user exits without reason after scanning the QR code, or pays multiple times in the same store, it is necessary to reopen the scanning application and scan the code again to jump to the corresponding interface for operation, and the interaction process is cumbersome. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a code scanning interaction method and device, which can solve the problem of complicated interaction process of the code scanning interaction method in the prior art.
[0005] In order to solve the above-mentioned technical problems, the present invention is achieved as follows:
[0006] In the first aspect, an embodiment of the present application provides a scanning interaction method, wherein the method includes: when a preset application performs a scanning operation, saving a scanning record corresponding to the scanning operation, wherein the scanning record includes: the preset application identifier, source information of the scanned first coded image, and a first identifier of a business interface, wherein the business interface is an interface displayed after the first coded image is scanned by the preset application; when a first input for viewing the scanning record is received, displaying at least one saved scanning record; receiving a second input for a target scanning record in the at least one scanning record; and in response to the second input, jumping to the business interface indicated by the first identifier corresponding to the target scanning record.
[0007] In the second aspect, an embodiment of the present application provides a scanning interaction device, wherein the device includes: a saving module, which is used to save a scanning record corresponding to the scanning operation when a preset application performs the scanning operation, wherein the scanning record includes: the preset application identifier, the source information of the scanned first coded image and an identifier of a business interface, wherein the business interface is an interface displayed after the first coded image is scanned by the preset application; a first display module, which is used to display at least one saved scanning record when a first input for viewing the scanning snapshot record is received; a first receiving module, which is used to receive a second input from a user for a target scanning record in the at least one scanning record; and a jump module, which is used to jump to the business interface indicated by the first identifier corresponding to the target scanning record in response to the second input.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0011] In an embodiment of the present application, by saving a scanning record corresponding to a scanning operation when a scanning operation is performed in a preset application; displaying at least one saved scanning record when a first input for viewing the scanning record is received; receiving a second input for a target scanning record; and responding to the second input, jumping to a business interface indicated by a first identifier corresponding to the target scanning record. The user's historical scanning operations can be recorded in the form of snapshots. When the user scans the encoded image of the historical scan again, only a second input is made for the corresponding scanning record to directly jump to the business interface corresponding to the scanning operation. There is no need to perform the scanning operation again, and the scanning interaction is convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0013] Figure 1 is a flowchart showing a code scanning interaction method according to an embodiment of the present application;
[0014] Figure 2 It is a code scanning record display interface representing an embodiment of the present application;
[0015] Figure 3 2 is a schematic diagram showing a convenient code scanning operation according to an embodiment of the present application;
[0016] Figure 4 2 is a schematic diagram showing a process of enabling the scan code snapshot function in an embodiment of the present application;
[0017] Figure 5 is a schematic diagram of a scan code record classification display interface of an embodiment of the present application;
[0018] Figure 6 is a structural block diagram of a code scanning interaction device according to an embodiment of the present application;
[0019] Figure 7 is a structural block diagram of an electronic device according to an embodiment of the present application;
[0020] Figure 8 It is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0022] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0023] The code scanning interaction method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0024] Reference Figure 1 , showing a step flow chart of a code scanning interaction method according to an embodiment of the present application.
[0025] The code scanning interaction method of the embodiment of the present application includes the following steps:
[0026] Step 101: When a preset application performs a code scanning operation, a code scanning record corresponding to the code scanning operation is saved.
[0027] The code scanning interaction method provided in the embodiment of the present invention can be applied to electronic devices. A setting item "Allow code scanning snapshot function" is pre-added in the settings of the electronic device. When the setting item is turned on, the code scanning snapshot function is turned on, and the code scanning interaction method provided in the embodiment of the present application is executed.
[0028] The code scanning record includes: a preset application identifier, source information of the scanned first coded image, and a first identifier of a business interface, wherein the business interface is an interface displayed after the first coded image is scanned by the preset application.
[0029] For example: after enabling the scan snapshot function, the user opens application A to scan the coded image provided by store B. The scanning record generated by this scanning operation includes the A application identifier, store B information, and the first identifier of the business interface displayed after scanning the coded image provided by store B.
[0030] In the actual implementation process, the code scanning records can be stored in the preset storage space. After the code scanning snapshot function is turned on, the system can open a cache area for code scanning records on the negative one screen as the preset storage space. The cache area is used to display part or all of the recorded code scanning records.
[0031] Step 102: When a first input for viewing a code scanning record is received, at least one saved code scanning record is displayed.
[0032] The first input is used to trigger the system to display the saved scan records. The first input may include but is not limited to: sliding up or sliding down the screen.
[0033] Figure 2 The scan code record display interface is as follows: Figure 2 As shown in (a), the cache area can display a first preset number of scan records, for example, the three most recently stored scan records; the user can touch the arrow circled by the rectangular frame in the interface to trigger the system to display more scan records. When displaying more scan records, the scan records can be classified according to the preset application identifiers contained in the scan records, and a second preset number of scan records are displayed under each category. For example: Figure 2 As shown in (b), each category displays the scanning records generated by the application corresponding to the category when scanning the code for the last three times.
[0034] Figure 2 The method of displaying the scan code records is only exemplified. In the specific implementation process, the classification method of the scan code records and the number of scan code records displayed under each classification can be set by technical personnel in this field according to actual needs, and no specific restrictions are made in the embodiments of the present application.
[0035] Step 103: Receive a second input from the user regarding a target code scanning record in at least one code scanning record.
[0036] The second input is used to select the target code scanning record. The second input may include but is not limited to: a single-click operation, a double-click operation, or a long-press operation.
[0037] Figure 3 To facilitate the scanning operation diagram, users Figure 3 After the target scan record in (a) executes the second input, the system will jump to Figure 3 (b) In the business interface shown.
[0038] Step 104: In response to the second input, jump to the business interface indicated by the first identifier corresponding to the target scan code record.
[0039] Among them, the business interface is an interface displayed after the first coded image is scanned by a preset application.
[0040] Directly adjust to the business interface indicated by the first identification corresponding to the target code scanning record, without the user opening the code scanning application, and scan the coded image through the code scanning function in the opened application.
[0041] The scanning interaction method provided in the embodiment of the present application saves a scanning record corresponding to a scanning operation when a scanning operation is performed in a preset application; displays at least one saved scanning record when a first input for viewing the scanning record is received; receives a second input for a target scanning record; and jumps to a business interface indicated by a first identifier corresponding to the target scanning record in response to the second input. The method can record the user's historical scanning operations in the form of snapshots. When the user scans the encoded image of the historical scan again, the user only needs to make a second input for the corresponding scanning record to directly jump to the business interface corresponding to the scanning operation, without having to perform the scanning operation again. The scanning interaction is convenient.
[0042] In an optional embodiment, when the preset application performs a code scanning operation, before saving the code scanning record corresponding to the code scanning operation, the following steps are also included:
[0043] Step 1: Display the logo corresponding to each first application;
[0044] Among them, the first application is each application with a code scanning function.
[0045] The identifier corresponding to the first application can trigger the system display in the following manner: first, receiving the user's input to the first preset control; second, in response to the input to the first preset control, turning on the scan code snapshot function; finally, after turning on the scan code snapshot function, displaying the identifier corresponding to each first application.
[0046] Figure 4 This is a schematic diagram of the process of enabling the scan code snapshot function, where: Figure 4 (a) is a schematic diagram of the interface before the scan code snapshot function is enabled. Figure 4 The "scan code snapshot function" shown in (a) is the first preset control. After the user performs input on the first preset control, the system is triggered to start Figure 4 (b) shows the interface. The QR code scanning snapshot function is now enabled.
[0047] The input performed on the first preset control may include, but is not limited to: a single-click operation, a double-click operation, or a long-press operation.
[0048] After turning on the scan code snapshot function, you can add applications with the scan code snapshot function to the list of applications that are allowed to scan code snapshots. The added applications with the scan code snapshot function can be called preset applications. When adding preset applications, the system automatically identifies each application with the scan code snapshot function, displays the identification of each identified application, and each identification corresponds to an add control and a delete control.
[0049] Step 2: receiving a third input of a target identifier from a user;
[0050] The third input may be a direct input of the target identifier, or an input of adding a control or deleting a control corresponding to the target identifier.
[0051] Step three: in response to the third input, determine the first application corresponding to the target identifier as a preset program.
[0052] When the third input is an input of an add control or a delete control corresponding to the target identifier, the corresponding identifier can be added to the list of allowed scan code snapshot applications by executing the third input on the add control; similarly, the corresponding identifier can be deleted from the list of allowed scan code snapshot applications by executing the third input on the delete control.
[0053] When the third input is a direct input of the target identifier, the target identifier can be added to the list of allowed scan code snapshot applications through the first touch operation; and the target identifier can be deleted from the list of allowed scan code snapshot applications through the second touch operation.
[0054] In this optional embodiment, the user can flexibly add or delete identifiers in the list of applications that are allowed to scan code snapshots according to actual needs, thereby adjusting the preset applications that are allowed to scan code snapshots.
[0055] In an optional embodiment, when a first input for viewing a code scanning record is received, at least one saved code scanning record is displayed as follows:
[0056] When a first input for viewing a scan record is received, a first preset number of scan records that meet a first preset condition are displayed in a preset interface in a sorted order according to the scan record generation time. The first preset condition may be: sorting the saved scan records from short to long according to the generation time, and sorting the scan records in the front.
[0057] This method of optionally giving priority to displaying the scanning records generated by the user's recent scanning operations makes it convenient for the user to quickly find the target scanning records and perform another scanning operation.
[0058] In an optional embodiment, the preset interface further includes a preset control, and after the step of displaying and sorting a first preset number of scan code records that meet the first preset condition in the preset interface according to the scan code record generation time, the following steps are also included:
[0059] Step 1: receiving a fourth input of a target classification parameter among at least one preset classification parameter;
[0060] The preset classification parameters include at least one of the following: time, scanning location, scanning event type, and application.
[0061] In the actual implementation process, each preset classification parameter can be displayed in the interface displaying the code scanning record, or the user can perform corresponding input on the second preset control displayed in the interface to trigger the system to display each preset classification parameter in the display interface of the code scanning record. When the user performs corresponding input on the second preset control to trigger the system to display each preset classification parameter in the display interface of the code scanning record, the system receives the input on the second preset control; corresponding to the input on the second preset control, the preset classification parameter is displayed.
[0062] After the scanned code record is displayed in the preset interface in a default manner, the user can trigger the system to display the preset classification parameters by inputting the second preset control. The input to the second preset control may include but is not limited to: a single-click operation, a double-click operation, or a long-press operation.
[0063] The fourth input may include, but is not limited to: a single-click operation, a double-click operation, or a long-press operation.
[0064] Step 2: In response to the fourth input, classify at least one stored scan record according to the target classification parameter;
[0065] Step 3: For each category, select a second preset number of scan snapshot records from the category to display.
[0066] When the preset classification parameter is application, the saved code scanning records are classified and displayed according to the preset application identification contained in the code scanning records.
[0067] When the preset classification parameter is time, the saved scan records can be classified by default according to the preset time period. The preset time period can be flexibly set by those skilled in the art, for example, it can be one hour, two hours or three hours.
[0068] When the preset classification parameter is scanning by location, the saved scanning records can be classified according to the business district where the scanning area is located. For example, the scanning location can be a certain building, a certain shopping mall, etc.
[0069] When the preset classification parameter is the scanning event type, each saved scanning record is classified according to the type of the scanning event. For example, the type of the scanning event may include but is not limited to payment, social networking, reading, login, etc.
[0070] Figure 5 This is a schematic diagram of the scan code record classification display interface. Figure 5 (a) is a schematic diagram of the first interface displayed after the scanned code records are classified according to the application program, Figure 5 (b) is a schematic diagram of the second interface displayed after the scanned code records are classified according to time; Figure 5(c) is a schematic diagram of the third interface displayed after the scanning records are classified according to the scanning event type.
[0071] This solution provides preset classification parameters for users to flexibly set the classification method, which can meet the personalized needs of users.
[0072] In an optional embodiment, for each category, the step of selecting a second preset number of scanned code records from the category for display may include the following sub-steps:
[0073] Sub-step 1: For each category, calculate the weight value corresponding to each scanned code record under the category according to the preset dimension parameters;
[0074] The preset dimension parameters include at least one of the following: time, scanning location, scanning event type, duration of application use at the scanning location, and frequency of user opening at the scanning location;
[0075] Time weight E1 can be the time difference between the current time and the time when the scanned code record is generated;
[0076] The weight of the scan location E2 can be the straight-line distance between the current location and the scan location;
[0077] Scan code event type weight E3, you can preset different scores for different scan code event types, for example: preset payment 5 points, social 3 points, reading and login are 1 point, etc.;
[0078] The weight E4 of the duration of use of the application at the location where the code is scanned can be the duration of use of the application at the location where the code is scanned;
[0079] The opening frequency weight E5 at the code scanning location can be the frequency of opening the application at a certain code scanning location by the user;
[0080] The weight value corresponding to the scan code record can be expressed as: score = w1*E1+w2*E2+w3*E3+w4*E4+w5*E5.
[0081] Among them, w1, w2, w3, w4 and w5 are weight coefficients, and score is the weight value corresponding to the scan code record.
[0082] Sub-step 2: Display and sort a second preset number of scanned code records that meet a second preset condition according to the weight value.
[0083] The second preset condition can be set as: sorting the scanned code records under the category according to the weight value from large to small, and sorting the scanned code records in front.
[0084] This method of optionally sorting and displaying the stored code scanning records by integrating multi-dimensional parameters makes it easier for users to quickly find target code scanning records from the recommended displayed code scanning records.
[0085] It should be noted that the code scanning interaction method provided in the embodiment of the present application can be executed by a code scanning interaction device, or a control module in the code scanning interaction device for executing the code scanning interaction method. In the embodiment of the present application, the code scanning interaction device provided in the embodiment of the present application is illustrated by taking the code scanning interaction device executing the code scanning interaction method as an example.
[0086] Figure 6 A structural block diagram of a code scanning interaction device for implementing an embodiment of the present application. Figure 6 The code scanning interaction device shown in is used to implement Figures 1 to 5 The code scanning interaction method shown in .
[0087] The code scanning interaction device 600 of the embodiment of the present application includes:
[0088] The saving module 601 is used to save a scanning record corresponding to the scanning operation when the preset application performs the scanning operation, wherein the scanning record includes: the preset application identifier, source information of the scanned first coded image, and an identifier of a business interface, wherein the business interface is an interface displayed after the preset application scans the first coded image;
[0089] The first display module 602 is used to display at least one stored scan record when receiving a first input for viewing a scan snapshot record;
[0090] The first receiving module 603 is used to receive a second input of a user regarding a target code scanning record in the at least one code scanning record;
[0091] The jump module 604 is used to jump to the business interface indicated by the first identifier corresponding to the target code scanning record in response to the second input.
[0092] Optionally, the device further comprises:
[0093] A second display module is used for displaying the identifiers corresponding to the first applications before saving the scanning record corresponding to the scanning operation when the preset application performs the scanning operation in the saving module, wherein the first applications are applications with a scanning function;
[0094] A second receiving module, used for receiving a third input of a target identifier from the user;
[0095] A determination module is used to determine the first application corresponding to the target identifier as a preset program in response to the third input.
[0096] Optionally, the first display module is specifically used to: upon receiving a first input for viewing the code scanning records, display a first preset number of code scanning records that meet a first preset condition in a preset interface according to the generation time of the code scanning records.
[0097] Optionally, the preset interface further includes a preset control, and the device further includes: a third receiving module, configured to receive a fourth input of a target classification parameter in at least one preset classification parameter after the first display module displays a first preset number of scan records that meet a preset condition in a sorted manner in the preset interface according to the scan record generation time; wherein the preset classification parameter includes at least one of the following: time, scan location, scan event type, and application;
[0098] a classification module, configured to classify the at least one code scanning record according to the target classification parameter in response to the fourth input;
[0099] The third display module is used to select a second preset number of scan code records from each category for display.
[0100] Optionally, the third display module includes:
[0101] The first submodule is used to calculate the weight value corresponding to each code scanning record under each category according to the preset dimension parameters, wherein the preset dimension parameters include at least one of the following: time, code scanning location, code scanning event type, application usage time at the code scanning location, and user opening frequency at the code scanning location;
[0102] The second submodule is used to display and sort a second preset number of scan code records that meet a second preset condition according to the weight value.
[0103] In the present application embodiment Figure 6The code scanning interaction device shown can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiments of the present application.
[0104] In the embodiments of this application Figure 6 The code scanning interaction device shown may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
[0105] The embodiments of the present application provide Figure 6 The code scanning interactive device shown can realize Figures 1 to 5 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0106] The scanning interaction device provided in the embodiment of the present application saves a scanning record corresponding to a scanning operation when a scanning operation is performed in a preset application; displays at least one saved scanning record when a first input for viewing the scanning record is received; receives a second input for a target scanning record; and jumps to a business interface indicated by a first identifier corresponding to the target scanning record in response to the second input. The device can record the user's historical scanning operations in the form of snapshots. When the user scans the encoded image of the historical scan again, the user only needs to make a second input for the corresponding scanning record to directly jump to the business interface corresponding to the scanning operation, without having to perform the scanning operation again. The scanning interaction is convenient.
[0107] Alternatively, if Figure 7 As shown, an embodiment of the present application also provides an electronic device 700, including a processor 701, a memory 702, and a program or instruction stored in the memory 702 and executable on the processor 701. When the program or instruction is executed by the processor 701, each process of the above-mentioned scanning code interaction method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0108] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0109] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0110] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.
[0111] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0112] The memory 809 is used to save a scanning record corresponding to the scanning operation when the preset application performs the scanning operation, wherein the scanning record includes: the preset application identifier, the source information of the scanned first coded image, and the first identifier of the business interface, wherein the business interface is an interface displayed after the preset application scans the first coded image;
[0113] The display unit 806 is used to display at least one stored scan record when receiving a first input for viewing the scan record;
[0114] The user input unit 807 is used to receive a second input of a user for a target code scanning record in at least one code scanning record;
[0115] Processor 810 is used to jump to the business interface indicated by the first identifier corresponding to the target scan code record in response to the second input.
[0116] The scanning interaction device provided in the embodiment of the present application saves a scanning record corresponding to a scanning operation when a scanning operation is performed in a preset application; displays at least one saved scanning record when a first input for viewing the scanning record is received; receives a second input for a target scanning record; and jumps to a business interface indicated by a first identifier corresponding to the target scanning record in response to the second input. The device can record the user's historical scanning operations in the form of snapshots. When the user scans the encoded image of the historical scan again, the user only needs to make a second input for the corresponding scanning record to directly jump to the business interface corresponding to the scanning operation, without having to perform the scanning operation again. The scanning interaction is convenient.
[0117] Optional,
[0118] The display unit 806 is further configured to display an identifier corresponding to each first application, wherein the first application is each application having a code scanning function;
[0119] The user input unit 807 is further used to receive a third input of the user on the target identifier;
[0120] The processor 810 is further configured to, in response to the third input, determine the first application corresponding to the target identifier as a preset program.
[0121] Optionally, the display unit 806 is also used to display a first preset number of scan records that meet a first preset condition in a preset interface according to the generation time of the scan records when the user input unit 807 receives a first input for viewing the scan records.
[0122] Optionally, the preset interface also includes preset controls;
[0123] The user input unit 807 is further used to receive a fourth input of the user on a target classification parameter in at least one preset classification parameter;
[0124] The processor 810 is configured to classify the at least one stored code scanning record according to the target classification parameter in response to the fourth input;
[0125] The display unit 806 is used to select a second preset number of scan code records from each category for display.
[0126] Optionally, the processor 810 is used to calculate the weight value corresponding to each scanning record under the category according to preset dimensional parameters for each of the categories, wherein the preset dimensional parameters include at least one of the following: time, scanning location, scanning event type, usage time of the application at the scanning location, and frequency of opening the application by the user at the scanning location; the display unit 806 is used to display a second preset number of scanning records that meet the second preset condition in order according to the weight value.
[0127] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 809 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 810 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, etc., and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 810.
[0128] The electronic device provided in the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by the processor, each process of the above-mentioned scanning code interaction method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0129] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0130] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned code scanning interaction method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0131] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0132] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0134] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A code scanning interaction method, characterized in that: The method comprises: Displaying an identifier corresponding to each first application, wherein the first application is an application with a code scanning function; receiving a third input of a target identification; In response to the third input, adding the target identifier to a list of applications that are allowed to scan and take snapshots; When a preset application belonging to the list of applications that are allowed to scan snapshots performs a code scanning operation, a code scanning record corresponding to the code scanning operation is saved; the code scanning record includes: the preset application identifier, source information of the scanned first coded image, and a first identifier of a business interface, where the business interface is an interface displayed after the preset application scans the first coded image; When a first input for viewing a code scanning record is received, at least one saved code scanning record is displayed on a code scanning record classification display interface according to preset classification parameters; the preset classification parameters include application identifier, code scanning time, code scanning location, and code scanning event type; Receiving a second input of a target code scanning record in the at least one code scanning record; In response to the second input, jump to the business interface indicated by the first identifier corresponding to the target code scanning record.
2. The method according to claim 1, characterized in that When a first input for viewing a code scanning record is received, at least one saved code scanning record is displayed on the code scanning record classification display interface according to a preset classification parameter, including: receiving a fourth input of a target classification parameter among at least one preset classification parameter; In response to the fourth input, classifying the at least one stored code scanning record according to the target classification parameter; For each of the categories, a second preset number of scan code records are selected from the category for display.
3. The method according to claim 2, characterized in that For each of the categories, the step of selecting a second preset number of scanned code records from the category for display includes: For each of the categories, the weight values corresponding to the scan records under the category are calculated according to preset dimension parameters, wherein the preset dimension parameters include at least one of the following: time, scan location, scan event type, duration of use of the application at the scan location, and frequency of opening by the user at the scan location; According to the weight value, a second preset number of scan code records satisfying the second preset condition are displayed and sorted.
4. A code scanning interactive device, characterized in that: The device comprises: A second display module is used for displaying the identifiers corresponding to the first applications before saving the scanning record corresponding to the scanning operation when the saving module performs the scanning operation in the preset application, wherein the first applications are applications with a scanning function; A second receiving module, used to receive a third input of a target identifier from a user; a determination module, configured to add the target identifier to a list of applications that are allowed to scan and take snapshots of the target code in response to the third input; A saving module, configured to save a scanning record corresponding to the scanning operation when a preset application belonging to the list of applications that allow scanning snapshots performs a scanning operation; the scanning record includes: the preset application identifier, source information of the scanned first coded image, and an identifier of a business interface, wherein the business interface is an interface displayed after the preset application scans the first coded image; A first display module is used to display at least one saved scan record according to preset classification parameters on the scan record classification display interface when a first input for viewing the scan snapshot record is received; the preset classification parameters include application identifier, scan time, scan location, and scan event type; A first receiving module, configured to receive a second input from a user regarding a target code scanning record in the at least one code scanning record; A jump module is used to jump to the business interface indicated by the first identifier corresponding to the target scan code record in response to the second input.
5. The device according to claim 4, characterized in that The first display module is specifically used for: Receive a fourth input of a target classification parameter in at least one preset classification parameter; in response to the fourth input, classify the at least one scan record according to the target classification parameter; for each of the classifications, select a second preset number of scan records from the classification for display.
6. The device according to claim 5, characterized in that Also includes: A third display module, the third display module comprising: The first submodule is used to calculate the weight value corresponding to each code scanning record under each category according to the preset dimension parameters, wherein the preset dimension parameters include at least one of the following: time, code scanning location, code scanning event type, application usage time at the code scanning location, and user opening frequency at the code scanning location; The second submodule is used to display and sort a second preset number of scan code records that meet a second preset condition according to the weight value.
7. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the code scanning interaction method as described in any one of claims 1 to 3.
8. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the code scanning interaction method as described in any one of claims 1 to 3 are implemented.
