QR code management method, system, electronic device and storage medium
Through centralized management and unified display of QR code labels and data, it solves the problem of low efficiency for users in finding QR codes in different applications, and improves the efficiency and user experience of scanning code data exchange.
Patent Information
- Application Number
- CN201910841239.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-06
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2039-09-06
AI Technical Summary
In the era of mobile Internet, the scattered applications and multiple interfaces of QR codes have led to inefficiency in the process of users searching for QR codes in different applications, occupying most of the time in the data exchange process and affecting user experience.
By receiving the QR code addition instructions input by the user, the QR code data and access parameters are collected and bound, a label is created, and displayed in a unified QR code display window. After the user selects the label, a QR code image is generated and displayed, reducing User search costs and paths in different applications.
It improves the efficiency of QR code search and code scanning data exchange process, improves user experience, and reduces user access paths through centralized management and unified interaction optimization.
Smart Images

Figure CN110795180B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data technology, and in particular to a two-dimensional code management method, system, electronic device and storage medium. Background Art
[0002] In the era of mobile Internet, business card communication and mobile payment through QR codes are now very common. When scanning codes, one way is for the user to provide the QR code, and professional scanning equipment to read the QR code to achieve data interaction.
[0003] Scanning a QR code is an efficient way to exchange data, but the process of calling out a QR code takes up a lot of time, affecting the efficiency of data interaction. To call out a QR code, you need to enable the device, find the corresponding APP, and find the corresponding QR code. This process may take up 90% of the entire data exchange process (from the user enabling the device to the completion of data exchange), which greatly affects the efficiency of use. A large part of the reason for the above problems is that the required QR codes are scattered in different applications and different interfaces, and the loss of time and efficiency lies more in finding QR codes rather than data exchange. With the increasing popularity of QR codes and the increasing variety of various APPs, people will use QR codes for data interaction more frequently in life scenarios, and it will become more and more troublesome to find the corresponding QR codes from various different APPs. Summary of the invention
[0004] The purpose of the embodiments of the present application is to propose a QR code management method, system, electronic device and storage medium, which centrally manages QR codes scattered in different applications, avoiding users from repeatedly and repeatedly searching in different applications, thus reducing search costs. Moreover, through unified interaction optimization, the user's access path is also reduced, ultimately improving the efficiency of finding QR codes, optimizing the overall process of scanning code data exchange, and improving user experience.
[0005] In order to solve the above technical problems, the present application embodiment provides a two-dimensional code management method, which adopts the following technical solution:
[0006] A two-dimensional code management method comprises the following steps:
[0007] Receive the QR code adding instruction input by the user;
[0008] In response to the adding instruction, access the specified application and interface, collect the QR code data on the interface, and record the access parameters of the collected QR code data;
[0009] Bind the QR code data with the corresponding access parameters and create a label corresponding to the QR code data;
[0010] Displaying the label through a QR code display window;
[0011] When receiving a user's selection operation on a tag in the QR code display window, the access parameter bound to the QR code data corresponding to the tag selected by the user is called, the corresponding interface is accessed according to the access parameter, and the current QR code data of the corresponding interface is collected to generate a QR code image;
[0012] The currently generated two-dimensional code image is displayed on the page for user use.
[0013] Further, the access parameters include an access path, an application package name, and an ID of an interface within the application; the steps of responding to the add instruction, accessing the specified application and interface, and collecting the QR code on the interface specifically include:
[0014] Determine the type of the adding instruction;
[0015] When the type of the adding instruction is a user operation adding instruction, the user's currently accessed specified application and interface are recorded, the access path, application package name, and ID of the interface within the application during the QR code operation are called, and the QR code data is collected;
[0016] When the type of the adding instruction is an automatic adding instruction, the automatic adding instruction includes the access parameters of the QR code to be added, accesses the specified application and interface based on the access parameters, collects the QR code data on the interface, and records the access parameters of the collected QR code data.
[0017] Furthermore, the step of displaying the label through the QR code display window specifically includes:
[0018] The labels in the QR code display window are sorted according to preset rules, and the sorted labels are displayed.
[0019] Furthermore, the step of sorting the labels in the QR code display window according to the preset rules specifically includes:
[0020] Regularly collect statistics on the usage frequency and usage time of all tags;
[0021] Sorting the tags according to the frequency of use or the time of use;
[0022] A preset number of tags ranked first are selected as recommended tags and set in the floating preferred window, and tags ranked last in the floating preferred window are removed, wherein the floating preferred window is a subwindow of the QR code display window.
[0023] Furthermore, the step of sorting the labels in the QR code display window according to the preset rules specifically includes:
[0024] Mark tags that have been used frequently in the past but have not been used in the recent preset time period;
[0025] The marked label is added to a marking window, wherein the marking window is a subwindow of the QR code display window.
[0026] Furthermore, after the step of selecting a preset number of tags ranked first as recommended tags and setting them in the floating preferred window, and removing tags ranked later in the floating preferred window, the method further includes:
[0027] When a tag in the floating preferred window is removed from the floating preferred window, a time-limited tag is generated for the removed tag;
[0028] When a tag with an expiration mark is set as a recommended tag in the floating preference window, the expiration mark attached to the tag is deleted.
[0029] Furthermore, after the step of displaying the label through the QR code display window, the method further includes:
[0030] Create a floating window in the user interface as the entrance to the QR code display window;
[0031] When a user operation event is received in the floating window, the QR code display window is expanded to allow the user to select a tag.
[0032] In order to solve the above technical problems, the embodiment of the present application also provides a two-dimensional code management system, which adopts the following technical solution:
[0033] A two-dimensional code management system, comprising:
[0034] A receiving module, used to receive a QR code adding instruction input by a user;
[0035] A collection module, used to respond to the adding instruction, access the specified application and interface, collect the QR code data on the interface, and record the access parameters of the collected QR code data;
[0036] Establish a module for binding the QR code data with the corresponding access parameters and establishing a label corresponding to the QR code data;
[0037] A display module, used to display the label through a QR code display window;
[0038] A generation module is used to call the access parameters bound to the QR code data corresponding to the tag selected by the user when receiving the user's selection operation on the QR code display window, access the corresponding interface according to the access parameters and collect the current QR code data of the corresponding interface to generate a QR code image;
[0039] The display module is used to display the currently generated two-dimensional code image on the page for user use.
[0040] In order to solve the above technical problems, the embodiment of the present application further provides an electronic device, which adopts the following technical solution:
[0041] An electronic device includes at least one memory and at least one processor, wherein the memory stores a computer program, and the processor implements the steps of the two-dimensional code management method as described above when executing the computer program.
[0042] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:
[0043] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the two-dimensional code management method described above are implemented.
[0044] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0045] By centralizing the QR codes scattered in different applications and displaying the labels corresponding to the collected QR codes in the QR code display window, unified services are provided to users. When users choose to use the corresponding QR code, the QR code display window receives the user's selection operation on the label, calls the QR code data and access parameters corresponding to the user's selected label, collects the current QR code data of the corresponding interface according to the access parameters to generate a QR code image, and displays the currently generated QR code image on the page for users to use, avoiding users from repeatedly and repeatedly searching in different applications, reducing search costs. Moreover, through unified interaction optimization, the user's access path is also reduced, ultimately improving the efficiency of finding QR codes, optimizing the overall process of scanning code data exchange, and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0047] Figure 1 is a flowchart of an embodiment of a two-dimensional code management method according to the present application;
[0048] Figure 2 is a structural diagram of an embodiment of a two-dimensional code management system according to the present application;
[0049] Figure 3 It is a schematic structural diagram of an embodiment of an electronic device according to the present application.
[0050] Figure numerals: 201, receiving module; 202, collecting module; 203, establishing module; 204, display module; 205, generating module; 206, display module; 3, electronic device; 301, memory; 302, processor. DETAILED DESCRIPTION
[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0052] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0053] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
[0054] The system architecture may include terminal devices, networks, and servers. The network is used to provide a medium for communication links between terminal devices and servers. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables.
[0055] Users can use terminal devices to interact with servers through the network to receive or send messages, etc. Various communication client applications can be installed on the terminal devices, such as payment applications, shopping applications, transportation applications, instant messaging tools, email clients, social platform software, etc.
[0056] The terminal device may be any electronic device having a display screen and supporting web browsing, including but not limited to a smart phone, a tablet computer, an e-book reader, a laptop computer, and the like.
[0057] The server may be a server that provides various services, such as a background server that provides support for web pages displayed on a terminal device.
[0058] It should be noted that the two-dimensional code management method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the two-dimensional code management device is generally set in the server / terminal device. It should be understood that any number of terminal devices, networks and servers can be provided according to implementation needs.
[0059] refer to Figure 1 , shows a flow chart of an embodiment of a two-dimensional code management method according to the present application. The two-dimensional code management method comprises the following steps:
[0060] Step S1, receiving a QR code adding instruction input by a user.
[0061] Among them, QR codes include but are not limited to QR codes such as boarding codes, membership codes, payment codes, and business card codes.
[0062] The types of QR code adding instructions include user operation adding instructions and automatic adding instructions. Among them, the user operation adding instruction is that the user manually adds the QR code, obtains the QR code through a call, and obtains the access parameters of the QR code data during the call process. The automatic adding instruction is that the parameters required to access the specified application and interface are directly described in the instruction.
[0063] Step S2, responding to the adding instruction, accessing the specified application and interface, collecting the QR code data on the interface, and recording the access parameters of the collected QR code data.
[0064] Among them, the specified application refers to the application used by the QR code to be added in the QR code adding instruction, which can be an APP or a mini program, etc.
[0065] This application calls the interface of the specified application, accesses the application of the QR code to be added and the specified interface, collects the QR code data on the interface, and records the access parameters of the collected QR code data. The QR codes scattered in different applications can be collected and concentrated to form a QR code card package.
[0066] The access parameters include the access path, the application package name, and the ID of the interface within the application.
[0067] When adding a corresponding QR code, the background calls the interface of the application package of the corresponding QR code in the terminal device, opens the application package of the corresponding QR code, and opens to the QR code interface. The adding process can be implemented through URL Schemes, that is, the application package of the corresponding QR code is opened through the QR code card package system. URL Schemes is a mechanism provided by Apple to jump to system applications or jump to other people's applications. At the same time, data can also be transferred between applications. When adding a QR code, in the process of opening to the QR code interface, the access path during the QR code operation, the application package name of the corresponding QR code called by the user (refers to the unique identification symbol of the application, called "package name" in the JAVA development software field) and the ID of the interface within the corresponding QR code application are recorded, and the current QR code data is collected, and the access parameters of the collected QR code data are recorded.
[0068] The step S2, responding to the adding instruction, accessing the specified application and interface, collecting the QR code data on the interface, and recording the access parameters of the collected QR code data specifically includes:
[0069] Determine the type of the adding instruction;
[0070] When the type of the adding instruction is a user operation adding instruction, the user's currently accessed specified application and interface are recorded, the access path, application package name, and ID of the interface within the application during the QR code operation are called, and the QR code data is collected;
[0071] When the type of the adding instruction is an automatic adding instruction, the automatic adding instruction includes the access parameters of the QR code to be added, accesses the specified application and interface based on the access parameters, collects the QR code data on the interface, and records the access parameters of the collected QR code data.
[0072] For example, when a user needs to add a boarding code, he or she calls the boarding code application and the corresponding interface once. During the operation of calling the boarding code, the accessed boarding code application and the corresponding interface, as well as the access path, application package name, and ID of the interface within the application are recorded to collect the QR code data of the boarding code.
[0073] When the parameters required to access the boarding code application and the corresponding interface are directly described in the automatic addition instruction, the boarding code application and the corresponding interface are accessed based on the access parameters of the boarding code data, the boarding code data on the interface is collected, and the access parameters of the collected boarding code data are recorded.
[0074] This makes it easier to collect QR codes scattered across different applications and provide unified services to users.
[0075] Step S3, binding the two-dimensional code data with the corresponding access parameters, and establishing a tag corresponding to the two-dimensional code data.
[0076] After collecting the QR code, the application binds the QR code data with the corresponding access parameters and creates a tag corresponding to the current QR code data, wherein the QR code data is information that can uniquely identify the QR code, including but not limited to a character sequence or an image. Each tag corresponds to the corresponding QR code.
[0077] As a preferred solution, users can add corresponding names to the QR codes on the labels to facilitate users to distinguish and identify the corresponding QR codes, such as boarding codes, membership codes, payment codes, business card codes and other QR code names. The corresponding QR codes can be directly distinguished and identified through labels displayed with names.
[0078] Step S4, displaying the label through a QR code display window.
[0079] The QR code display window is the entrance to the QR code card package. Users can quickly open the QR code display window and easily find the corresponding label through the QR code display window. Click the corresponding label to open the corresponding QR code.
[0080] As a preferred solution, when the corresponding tab is opened in the QR code display window, the introduction information of the QR code is displayed at the same time. The introduction information is pre-set, and may include the introduction information corresponding to the QR code and the relevant information of the QR code. For example, when the QR code is a boarding code, the introduction information may be the application package name of the boarding code, the icon of the application package, the classification of the application, etc. By selecting the corresponding tab in the QR code display window, the corresponding QR code and introduction information will pop up automatically.
[0081] The introduction information can be displayed in a separate window or in a window shared with the QR code, without any specific limitation.
[0082] The step S4, displaying the label through the QR code display window specifically includes:
[0083] The labels in the QR code display window are sorted according to preset rules, and the sorted labels are displayed.
[0084] As a preferred solution, the tags are sorted according to the frequency of use, or they can be sorted according to the time of use.
[0085] As a preferred solution, when the number of labels corresponding to the QR codes is large, they can be classified according to user usage habits and preferences, and then sorted according to the above preset rules.
[0086] The step of sorting the labels in the QR code display window according to the preset rules specifically includes:
[0087] Regularly collect statistics on the usage frequency and usage time of all tags;
[0088] Sorting the tags according to the frequency of use or the time of use;
[0089] A preset number of tags ranked first are selected as recommended tags and set in the floating preferred window, and tags ranked last in the floating preferred window are removed, wherein the floating preferred window is a subwindow of the QR code display window.
[0090] Among them, after sorting the labels in the QR code display window, a preset number of labels in the front sorting are selected as recommended labels and set in the floating preferred window. The preset number is 1 or more. In this embodiment, the floating preferred window selects 3-5 labels corresponding to the QR codes according to preset rules. The preset rules can be to select labels based on the frequency of use of the labels, or to select labels based on the order of the most recent use time, or can be customized by the user.
[0091] The floating priority window selects a preset number of labels according to preset rules, which can make it easier for users to find the labels corresponding to the most commonly used or recently used or more important QR codes set by users themselves in the QR code display window, and the labels corresponding to the QR codes in the floating priority window can be adjusted and changed according to preset rules, which greatly improves the user experience.
[0092] As a preferred solution, the floating preferred window can be set as a sub-window of the QR code display window on the home page of the QR code display window; the floating preferred window is set with a bold border to highlight the floating preferred window, making it convenient for users to directly find the label corresponding to the QR code with a higher priority in the floating preferred window.
[0093] After the step of selecting a preset number of tags ranked first as recommended tags and setting them in the floating preferred window, and removing tags ranked later in the floating preferred window, the method further includes:
[0094] When a tag in the floating preferred window is removed from the floating preferred window, a time-limited tag is generated for the removed tag;
[0095] When a tag with an expiration mark is set as a recommended tag in the floating preference window, the expiration mark attached to the tag is deleted.
[0096] As a preferred solution, the label removed from the floating preferred window is attached with a time-limited mark, which is marked as a star or a color mark, to facilitate subsequent search; after the set time, the time-limited mark disappears; when the label corresponding to the QR code with the mark is added to the floating preferred window again, the time-limited mark disappears.
[0097] The step of sorting the labels in the QR code display window according to the preset rules specifically includes:
[0098] Mark the labels corresponding to the QR codes that have been used frequently in history but have not been used in the recent preset time period;
[0099] The marked label is added to a marking window, wherein the marking window is a subwindow of the QR code display window.
[0100] Mark tags that have been frequently used in history but have not been used in the recent preset time period, select the marked tags to the marking window, and highlight them with stars or colors to distinguish them from the tags generated by tags removed from the floating preferred window.
[0101] As a preferred solution, the marking window can be used as a sub-window of the QR code display window. The marking window label is set in the QR code display window homepage. The marking window can also be a label named after the marking window, and the marking window can be opened by clicking the marking window label.
[0102] After the step of displaying the label through the QR code display window, the method further includes:
[0103] Create a floating window in the user interface as the entrance to the QR code display window;
[0104] When a user operation event is received in the floating window, the QR code display window is expanded to allow the user to select a tag.
[0105] As a preferred solution, the floating window can be used as the entrance to the QR code display window, that is, click the floating window to pop up the QR code display window. Based on user experience considerations, in order to avoid interfering with users, the floating window can be called out through device gestures such as shaking. This function is achieved by judging the swing amplitude of the gyroscope of the user's device. The application of the existing technology will not be described in detail.
[0106] Step S5, when receiving the user's selection operation on the tag in the QR code display window, call the access parameters bound to the QR code data corresponding to the tag selected by the user, access the corresponding interface according to the access parameters and collect the current QR code data of the corresponding interface to generate a QR code image.
[0107] Since the access parameters include the access path, application package name, and the ID of the in-application interface, when the user's selection operation on a label is received in the QR code display window, the access path, application package name, and in-application interface ID of the QR code data corresponding to the current label are called, the application and interface are opened, and the current QR code data of the interface is collected to generate a QR code image.
[0108] Step S6, displaying the currently generated QR code image on the page for user use.
[0109] This application manages the QR code data scattered in different applications in a centralized manner as tags, displays them in the QR code display window, and provides unified services to users. Users select the required tags in the QR code display window, and directly call the program through the tags to obtain the QR code image for use, avoiding users from repeatedly and repeatedly searching in different applications, reducing search costs. Moreover, through unified interactive optimization, the user's access path is also reduced, ultimately improving the efficiency of finding QR codes, optimizing the overall process of scanning code data exchange, and improving user experience.
[0110] In this embodiment, the electronic device on which the QR code management method is running can receive the request through a wired connection or a wireless connection. It should be noted that the above wireless connection method may include but is not limited to 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.
[0111] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0112] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0113] Further references Figure 2 , as a response to the above Figure 1 The present application provides an embodiment of a two-dimensional code management system. Figure 1 Corresponding to the method embodiment shown, the system can be specifically applied to various electronic devices.
[0114] like Figure 2 As shown, the two-dimensional code management system described in this embodiment includes:
[0115] Receiving module 201 , collecting module 202 , establishing module 203 , displaying module 204 , generating module 205 and displaying module 206 .
[0116] The receiving module 201 is used to receive a QR code adding instruction input by a user;
[0117] The acquisition module 202 is used to respond to the adding instruction, access the specified application and interface, acquire the QR code data on the interface, and record the access parameters of the acquired QR code data;
[0118] The establishment module 203 is used to bind the two-dimensional code data with the corresponding access parameters and establish a label corresponding to the two-dimensional code data;
[0119] The display module 204 is used to display the label through a QR code display window;
[0120] The generation module 205 is used to call the access parameters bound to the QR code data corresponding to the tag selected by the user when receiving the user's selection operation on the QR code display window, access the corresponding interface according to the access parameters and collect the current QR code data of the corresponding interface to generate a QR code image;
[0121] The display module 206 is used to display the currently generated two-dimensional code image on the page for user use.
[0122] In some preferred implementations of this embodiment, the acquisition module 202 includes: a judgment module, a first sub-acquisition module and a second sub-acquisition module.
[0123] Wherein, the judging module is used to judge the type of the adding instruction;
[0124] The first sub-collection module is used to record the user's current access to the specified application and interface, the access path, application package name, and ID of the interface within the application during the QR code operation, and collect the QR code data when the type of the adding instruction is a user operation adding instruction;
[0125] The second sub-collection module is used to, when the type of the adding instruction is an automatic adding instruction, the automatic adding instruction includes the access parameters of the QR code to be added, access the specified application and interface based on the access parameters, collect the QR code data on the interface, and record the access parameters of the collected QR code data.
[0126] In some preferred implementations of this embodiment, the two-dimensional code management system further includes a statistical module, a sorting module and a removal module.
[0127] Among them, the statistics module is used to regularly count the usage frequency and usage time of all tags;
[0128] The sorting module is used to sort the tags corresponding to the QR codes according to the frequency of use or the time of use or a custom setting;
[0129] The removal module is used to select a preset number of tags ranked in front as recommended tags and set them in the floating preferred window, and remove the tags ranked in the back of the floating preferred window, wherein the floating preferred window is a subwindow of the QR code display window.
[0130] In some preferred implementations of this embodiment, the two-dimensional code management system further includes a marking module and an adding module.
[0131] Among them, the marking module is used to mark the labels corresponding to the QR codes that have been used frequently in history but have not been used in the recent preset time period;
[0132] The adding module is used to add the marked label to the marking window, wherein the marking window is a subwindow of the QR code display window.
[0133] In some preferred implementations of this embodiment, the two-dimensional code management system further includes a first sub-generation module and a deletion module.
[0134] The first sub-generation module is used for generating a time-limited mark for the label corresponding to the removed QR code when the label corresponding to the QR code in the floating preferred window is removed from the floating preferred window;
[0135] The deletion module is used for deleting the time limit mark attached to the tag when the tag with the time limit mark is set as a recommended tag in the floating preferred window.
[0136] In some preferred implementations of this embodiment, the two-dimensional code management system further includes a creation module and an expansion module.
[0137] The creation module is used to create a floating window in the user interface as an entrance to the QR code display window;
[0138] The expansion module is used to expand the QR code display window for the user to select a tag when receiving a user operation event in the floating window.
[0139] By centralizing the QR codes scattered in different applications and displaying the labels corresponding to the collected QR codes in the QR code display window, unified services are provided to users. When users choose to use the corresponding QR code, the QR code display window receives the user's selection operation on the label, calls the QR code data and access parameters corresponding to the user's selected label, collects the current QR code data of the corresponding interface according to the access parameters to generate a QR code image, and displays the currently generated QR code image on the page for users to use, avoiding users from repeatedly and repeatedly searching in different applications, reducing search costs. Moreover, through unified interaction optimization, the user's access path is also reduced, ultimately improving the efficiency of finding QR codes, optimizing the overall process of scanning code data exchange, and improving user experience.
[0140] To solve the above technical problems, the present application also provides an electronic device. Figure 3 , Figure 3 This is a basic structural block diagram of the electronic device of this embodiment.
[0141] The electronic device 3 includes at least one memory 301 and at least one processor 302, wherein a computer program is stored in the memory 301, and the processor 302 implements the steps of the two-dimensional code management method as described above when executing the computer program. It should be noted that the figure only shows an electronic device 3 having components 301-302, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the electronic device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.
[0142] The electronic device may be a computing device such as a mobile phone, a desktop computer, a notebook, a PDA, a cloud server, etc. The electronic device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.
[0143] The memory 301 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 301 can be an internal storage unit of the electronic device 3, such as a hard disk or memory of the electronic device 3. In other embodiments, the memory 301 can also be an external storage device of the electronic device 3, such as a plug-in hard disk equipped on the electronic device 3, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 301 can also include both the internal storage unit of the electronic device 3 and its external storage device. In this embodiment, the memory 301 is generally used to store the operating system and various application software installed on the electronic device 3, such as the program code of the two-dimensional code management method, etc. In addition, the memory 301 can also be used to temporarily store various types of data that have been output or are to be output.
[0144] The processor 302 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 302 is generally used to control the overall operation of the electronic device 3. In this embodiment, the processor 302 is used to run the program code stored in the memory 301 or process data, such as running the program code of the two-dimensional code management method.
[0145] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores a QR code management program, and the QR code management program can be executed by at least one processor 302 to enable the at least one processor 302 to perform the steps of the QR code management method as described above.
[0146] 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, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0147] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.
Claims
1. A two-dimensional code management method, characterized in that: The steps include: Receive the QR code adding instruction input by the user; In response to the adding instruction, access the specified application and interface, collect the QR code data on the interface, and record the access parameters of the collected QR code data; Bind the QR code data with the corresponding access parameters and create a label corresponding to the QR code data; Displaying the label through a QR code display window; When receiving a user's selection operation on a tag in the QR code display window, the access parameter bound to the QR code data corresponding to the tag selected by the user is called, the corresponding interface is accessed according to the access parameter, and the current QR code data of the corresponding interface is collected to generate a QR code image; Display the currently generated QR code image on the page for user use; Wherein, the two-dimensional code management method further includes: Regularly collect statistics on the usage frequency and usage time of all tags; Sorting the tags according to the frequency of use or the time of use; Select a preset number of tags ranked first as recommended tags and set them in the floating preferred window, and remove the tags ranked last in the floating preferred window, wherein the floating preferred window is a subwindow of the QR code display window; Wherein, after the step of selecting a preset number of tags ranked first as recommended tags and setting them in the floating preferred window, and removing tags ranked later in the floating preferred window, the method further includes: When a tag in the floating preferred window is removed from the floating preferred window, a time-limited tag is generated for the removed tag; When a tag with an expiration mark is set as a recommended tag in the floating preference window, the expiration mark attached to the tag is deleted.
2. The two-dimensional code management method according to claim 1, characterized in that: The access parameters include an access path, an application package name, and an ID of an interface within the application; the steps of responding to the add instruction, accessing the specified application and interface, and collecting the QR code on the interface specifically include: Determine the type of the adding instruction; When the type of the adding instruction is a user operation adding instruction, the user's current access to the specified application and interface is recorded, the access path, application package name, and ID of the interface within the application during the QR code operation are called, and the QR code data is collected; When the type of the adding instruction is an automatic adding instruction, the automatic adding instruction includes the access parameters of the QR code to be added, accesses the specified application and interface based on the access parameters, collects the QR code data on the interface, and records the access parameters of the collected QR code data.
3. The two-dimensional code management method according to claim 1, characterized in that: The step of displaying the label through the QR code display window specifically includes: The labels in the QR code display window are sorted according to preset rules, and the sorted labels are displayed.
4. The two-dimensional code management method according to claim 3, characterized in that: The step of sorting the labels in the QR code display window according to the preset rules specifically includes: Mark tags that have been used frequently in the past but have not been used in the recent preset time period; The marked label is added to a marking window, wherein the marking window is a subwindow of the QR code display window.
5. The two-dimensional code management method according to claim 1, characterized in that: After the step of displaying the label through the QR code display window, the method further includes: Create a floating window in the user interface as the entrance to the QR code display window; When a user operation event is received in the floating window, the QR code display window is expanded to allow the user to select a tag.
6. A two-dimensional code management system, characterized in that: include: A receiving module, used to receive a QR code adding instruction input by a user; A collection module, used to respond to the adding instruction, access the specified application and interface, collect the QR code data on the interface, and record the access parameters of the collected QR code data; Establish a module for binding the QR code data with the corresponding access parameters and establishing a label corresponding to the QR code data; A display module, used to display the label through a QR code display window; A generation module is used to call the access parameters bound to the QR code data corresponding to the tag selected by the user when receiving the user's selection operation on the QR code display window, access the corresponding interface according to the access parameters and collect the current QR code data of the corresponding interface to generate a QR code image; A display module, used to display the currently generated QR code image on a page for user use; Wherein, the two-dimensional code management system also includes a statistical module, a sorting module and a removal module; The statistics module is used to regularly count the usage frequency and usage time of all tags; The sorting module is used to sort the tags according to the frequency of use or the time of use; The removal module is used to select a preset number of tags ranked first as recommended tags and set them in the floating preferred window, and remove the tags ranked last in the floating preferred window, wherein the floating preferred window is a subwindow of the QR code display window; The two-dimensional code management system also includes a first sub-generation module and a deletion module; The first sub-generating module is used for generating a time-limited mark for the removed label when the label in the floating preferred window is removed from the floating preferred window; The deletion module is used for deleting the time limit mark attached to the tag when the tag with the time limit mark is set as a recommended tag in the floating preferred window.
7. An electronic device, characterized in that: It includes at least one memory and at least one processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the two-dimensional code management method as described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the two-dimensional code management method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Shortcut use method and apparatus for common functions of application
CN107085488A
Method and device for enabling shortcut function, mobile terminal and storage medium
CN107613118A
Application program starting method and device
CN108121573A
User interface display method, device, terminal and storage medium
CN108845855A
Selecting products in a virtual environment
US20180144397A1
