WO2023051508A1 - 图形码的显示方法及装置 - Google Patents

图形码的显示方法及装置 Download PDF

Info

Publication number
WO2023051508A1
WO2023051508A1 PCT/CN2022/121624 CN2022121624W WO2023051508A1 WO 2023051508 A1 WO2023051508 A1 WO 2023051508A1 CN 2022121624 W CN2022121624 W CN 2022121624W WO 2023051508 A1 WO2023051508 A1 WO 2023051508A1
Authority
WO
WIPO (PCT)
Prior art keywords
graphic code
graphic
code
codes
pattern
Prior art date
Application number
PCT/CN2022/121624
Other languages
English (en)
French (fr)
Inventor
许胜华
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023051508A1 publication Critical patent/WO2023051508A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application belongs to the technical field of information processing, and in particular relates to a method and device for displaying graphic codes.
  • graphic code As a popular image code on mobile devices in recent years, graphic code is widely used in people's payment, transportation, license and other services. In daily life, people often use multiple graphic codes. However, these graphic codes are generally on different application programs, and the corresponding application program pages need to be opened during use. If different graphic codes need to be used in a short period of time, different application pages need to be opened frequently.
  • the purpose of the embodiments of the present application is to provide a method and device for displaying graphic codes, which can solve the problems of cumbersome and inefficient use of graphic codes in the prior art.
  • the embodiment of the present application provides a method for displaying a graphic code, including:
  • the first graphic code is a graphic code in the graphic code set
  • the second pattern code is the pattern code in the set of pattern codes
  • the embodiment of the present application provides a graphic code display device, including:
  • the first display module is used to display the first graphic code;
  • the first graphic code is a graphic code in the graphic code set;
  • a first acquiring module configured to acquire a second graphic code according to the position of the first graphic code in the graphic code set; the second graphic code is a graphic code in the graphic code set;
  • the second display module is used to display the second graphic code.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the graphic code display method described in the first aspect when executed.
  • 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 graphics code described in the first aspect is implemented. Shows the steps of the method.
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect The display method of the graphic code.
  • this technical solution uses each graphic code based on a set of graphic codes, which can prevent users from frequently switching between different application programs when using each graphic code page, thereby simplifying the process of using the graphic code, making the use of the graphic code more convenient, improving the efficiency of using the graphic code, and enhancing the user experience.
  • Fig. 1 is a schematic flowchart of a display method of a graphic code in an embodiment of the present application.
  • Fig. 2 is a schematic diagram of a graphic code processing function or a display interface of a graphic code processing application program in an embodiment of the present application.
  • Fig. 3 is a schematic flowchart of a method for displaying graphic codes in another embodiment of the present application.
  • Fig. 4 is a schematic flowchart of a method for displaying graphic codes in another embodiment of the present application.
  • Fig. 5 is a schematic structural diagram of a graphic code display device in an embodiment of the present application.
  • Fig. 6 is a schematic structural diagram of an electronic device in an embodiment of the present application.
  • Fig. 7 is a schematic diagram of a hardware structure of an electronic device in an embodiment of the present application.
  • Fig. 1 is a schematic flowchart of a display method of a graphic code in an embodiment of the present application.
  • the graphic code display method provided by the embodiment of the present application can be applied to electronic devices (such as mobile phones, smart watches, etc.), and is used to realize the graphic code processing function or the graphic code processing application program on the electronic device.
  • the graphics code processing application program can realize the display of the graphics code according to the following S102-S106.
  • the display method of graphic code can comprise:
  • the graphic code can be a barcode, a two-dimensional code, etc., which are distributed on a plane (one-dimensional or two-dimensional direction) according to certain rules with a specific geometric figure, black and white, and record data symbol information.
  • each graphic code is arranged in an orderly manner.
  • the position of the second graphic code in the graphic code set is adjacent to the position of the first graphic code in the graphic code set. Therefore, according to the user's trigger operation on the graphic code displayed on the interface, the second graphic code can be quickly displayed, which improves the use efficiency of the graphic code.
  • the first graphic code is displayed on the first page
  • the second graphic code is displayed on the second page.
  • the first page and the second page may be the same or different.
  • this technical solution uses each graphic code based on a set of graphic codes, which can prevent users from frequently switching between different application programs when using each graphic code page, thereby simplifying the process of using the graphic code, making the use of the graphic code more convenient, improving the efficiency of using the graphic code, and enhancing the user experience.
  • a graphic code set before displaying the first graphic code, can be generated according to the following steps A1-A2:
  • Step A1 when it is detected that the third graphic code is displayed on the interface, the feature information of the third graphic code is acquired.
  • the page information of each application program used by the user on the electronic device can be monitored through the graphic code processing function or the graphic code processing application program. Switch an application page, and obtain the feature information of the graphic code when the current application page displays the graphic code.
  • the graphic code processing function on the electronic device can be triggered to be turned on or off by the user; the graphic code processing application program on the electronic device can keep running in the background after the user starts it, continuously monitors and obtains the multiple data used by the user on the electronic device.
  • the feature information of each pattern code will not stop until the user manually closes the pattern code processing application running in the background.
  • the monitoring period can be preset in the graphic code processing function or the graphic code processing application program, so that after the graphic code processing function or the graphic code processing application program is turned on, according to the preset monitoring period, the graphics displayed on the interface of the electronic device code to monitor and obtain feature information.
  • the characteristic information includes at least one of the type of graphic code, source of graphic code, place of use, and time of use.
  • the graphic code type can be payment code, ride code, health code, check-in code and other types.
  • the source of the graphic code may be an application program, a small program, etc. to which the graphic code belongs. For example, if the current graphic code is the payment code in the X application, then the graphic code source of the current graphic code is the X application.
  • the place of use can be obtained through the positioning information of the electronic device when the user uses the current graphic code.
  • the usage time can be obtained through the time information on the electronic device when the user uses the current graphic code.
  • the feature information of the graphic code may also include an acquisition link of the graphic code, other feature type information of the graphic code, and the like.
  • the acquisition link can be a picture link, acquisition path, etc.; for fixed static graphic codes, such as static health codes, static check-in codes, etc., the acquisition link is a picture link of a static graphic code; for real-time updated dynamic graphic codes, such as payment Code, ride code, etc., the acquisition link is the acquisition path of the dynamic graphic code (such as X application-payment code).
  • Other feature type information may include Wi-Fi (wireless communication technology) list information, base station ID (Identity document, unique code), signal strength of electronic equipment, etc., which are used to assist in judging where the current graphic code is used.
  • the acquired feature information of each piece of graphic code can be a data vector, and the representation form of the data vector is: time of use, place of use - "link to obtain graphic code source and type of graphic code". Then, when the user is on his way to work, the characteristic information of the graphic code obtained can be: 9:00 the first subway station - "XX application obtains the link and health code", 9:05 the first subway station - "X application obtains the link and Bus code", 9:20 First Convenience Store - "X app acquisition link and payment code", 9:30 First Industrial Park - "XXX app acquisition link and sign-in code”.
  • Step A2 generating a set of graphic codes according to the obtained characteristic information of the plurality of third graphic codes.
  • a graphic code set is generated according to the acquired feature information of a plurality of third graphic codes , to achieve the effect of generating a set of graphic codes in line with the user's usage habits according to the user's historical use of graphic codes.
  • step A2 can be specifically implemented as the following steps B1-B3:
  • Step B1 according to the obtained characteristic information of the multiple third pattern codes, select a plurality of target pattern codes from the plurality of third pattern codes.
  • multiple target graphic codes satisfy at least one of the following C1-C3:
  • the use time difference of two target graphic codes whose use time is adjacent is less than or equal to the preset time difference.
  • the two target pattern codes with adjacent use time are pattern code 1 and pattern code 2
  • the use time of pattern code 1 is t 1
  • the use time of pattern code 2 is t 2
  • the preset time difference is d.
  • the absolute value of the usage time difference between pattern code 1 and pattern code 2 is less than or equal to the preset time difference, ie
  • Multiple target graphic codes have the same usage characteristics within a preset period of time.
  • the usage characteristics may include at least one item of usage location, usage time, and usage sequence.
  • the use order is the order in which the user uses multiple target graphic codes.
  • the preset duration may be the preset monitoring period of the above-mentioned third graphic code. Assuming that the preset duration is 7 days, then, after obtaining the characteristic information of the third pattern code for 7 consecutive days, if it is determined that pattern code 3-pattern code 4 among the multiple third pattern codes has the same usage characteristics within 7 days , it can be determined that graphic code 3-graphic code 4 are target graphic codes, and the usage sequence of graphic code 3 is prior to graphic code 4.
  • the number of times that the multiple target pattern codes have the same usage feature is greater than or equal to the preset number of times.
  • the pattern code 5 and the pattern code 6 in the third pattern codes have the same usage characteristics within 7 days, and the pattern code 5 and the pattern code 6 have the same
  • the number of times of using the feature is greater than or equal to 3 times, then it can be determined that the pattern code 5 and the pattern code 6 are target pattern codes.
  • the third pattern code that simultaneously satisfies the above C1-C3 may be determined as the target pattern code.
  • Step B2 according to the characteristic information of each target pattern code, determine the sequence of each target pattern code.
  • the order of each target pattern code can be determined.
  • Step B3 generating a set of graphic codes according to the order of the target graphic codes.
  • the feature information of each target pattern code can be combined according to the sequence of each target pattern code to obtain a set of pattern codes.
  • a combination method of combining the feature information of each target pattern code can be preset.
  • the graphic code source and graphic code type of the target graphic code can be used as dominant features
  • the acquisition link of the target graphic code can be used as a recessive feature
  • the sequence of each target graphic code can be used as a sequential feature to form a graphic code set .
  • the graphic code set obtained in this way is a multi-frame acquisition of empty packets of feature combination.
  • the obtained graphic code set can be displayed in the form shown in Figure 2 in the graphic code processing function or in the graphic code processing application program.
  • the user can select the currently used graphic code set.
  • 210 is the homepage code displayed after opening the graphic code processing function or the graphic code processing application program (that is, the graphic code in the currently used graphic code set), or, 210 is the graphic to be used and displayed according to the user's trigger operation code.
  • 220 is a plurality of graphic code sets obtained.
  • a set of graphic codes corresponding to multiple target graphic codes is generated according to the order of each target graphic code, so that multiple target graphic codes with a certain order of use are realized according to the user's usage habits.
  • the graphic codes are combined into a graphic code set, which can prevent the user from frequently switching between different application program pages when using each graphic code in the graphic code set, simplifies the use process of the graphic codes, and improves the use efficiency of the graphic codes.
  • step B3 is executed, and after the graphic code set is generated, when an update operation on the graphic code set is received, the graphic code set is updated according to the update operation.
  • the update operation includes at least one of the following: deleting the characteristic information of at least one pattern code in the pattern code set, modifying the characteristic information of at least one pattern code, inserting the characteristic information of a new pattern code in the pattern code set.
  • the update operation of the graphic code set may be manually triggered by the user, or automatically triggered by the electronic device according to a preset update period. If the update operation of the graphic code set is manually triggered by the user, the user can delete, modify, insert and other operations on the graphic code set in the graphic code processing function or the graphic code processing application program, and the setting interface corresponding to the graphic code set, thereby Implement the update of the graphics code set.
  • the graphic code processing function or the graphic code processing application automatically monitors whether there is an update in the graphic code set according to the update period, so that there is an update in the graphic code set , automatically triggers an update operation on the graphic code set, so as to delete, modify or insert the graphic code in the graphic code set.
  • the graphic code set is updated according to the update operation, so that the timeliness of the graphic code set is ensured, so that the graphic code set highly conforms to the requirements of the user. habits, thereby improving the user experience.
  • the above-mentioned embodiment introduces the process of generating the graphic code set in detail. Next, the process of using the graphic code set is introduced in detail.
  • the use of the first graphic code in the graphic code set can be realized according to the following steps D1-D3:
  • Step D1 receiving a use request for a graphic code set.
  • the user when the user uses each target graphic code in the graphic code set, the user can use the desktop floating ball of the electronic device, a small program in an application in the electronic device, the graphic code processing function on the electronic device, or the Any item in the graphic code processing application program triggers the opening of the display interface of the graphic code set. Then, when the electronic device receives that the user executes a trigger operation on any one of the above-mentioned desktop floating ball, a small program in a certain application, a graphic code processing function, and a graphic code processing application program, it can determine that the graphic code has been received. Collection usage requests. Wherein, the triggering operation may be a long-press operation, a single-click operation, a double-click operation, and the like.
  • Step D2 in response to the use request, determine the first graphic code to be displayed in the graphic code set.
  • Step D3 according to the acquisition link corresponding to the first graphic code, acquire and display the first graphic code.
  • using each graphic code based on the graphic code set can prevent the user from frequently switching between different application program pages when using each graphic code, thereby simplifying the use process of the graphic code and improving the use efficiency of the graphic code, and It makes the use of the graphic code more convenient and improves the user experience.
  • the above step D1 can also be executed as: when the user's request for obtaining the fourth graphic code is detected and the fourth graphic code matches the characteristic information in the graphic code set, a prompt message is sent out, and when receiving When the user confirms the prompt information, it is determined that the use request for the graphic code set is received.
  • the fourth graphic code may be any graphic code in the graphic code set, and the prompt information is used to prompt the user whether to use the graphic code set.
  • the fourth graphic code is the first graphic code in the graphic code set, compared to the fourth graphic code which is the last graphic code in the graphic code set or a graphic code close to the last graphic code, it can maximize Simplify the use process of graphic codes to the maximum extent.
  • the user opens the health code in the XX application on the way to work.
  • the electronic device can monitor the user's request for the fourth graphic code (that is, the health code in the XX application), and monitor the fourth graphic code.
  • the opening time is 9:00, and the opening location is the first subway station.
  • a prompt message will be sent out.
  • the confirmation operation of the prompt message is received by the user, it is confirmed that the A usage request for a collection of graphics codes.
  • a prompt message is issued, and when the user's request for the prompt information is received.
  • the use process improves the use efficiency of the graphic code, makes the use of the graphic code more convenient, and improves the user experience.
  • the first graphic code to be displayed in the graphic code set can be determined according to any one of the following E1-E3:
  • a user's trigger operation on a graphic code in the graphic code set when a user's trigger operation on a graphic code in the graphic code set is received, it may be determined that a user's acquisition request for the graphic code is received.
  • the triggering operation can be a pull-down operation, a long-press operation, a single-click operation, a double-click operation, and the like.
  • the first graphic code to be displayed in the graphic code set can be determined manually by the user, which simplifies the process of determining the first graphic code.
  • the health code displayed during the security check can be used to feed back the information of whether the health code is used to the graphic code processing according to the NFC (Near Field Communication) between the electronic device and the security check device after the electronic device passes the security check device. function or graphics code processing applications.
  • the boarding code displayed when entering and leaving the subway station can be fed back to the graphics code processing function or the graphics code processing application program after the electronic device passes through the code verification device of the gate machine.
  • the payment code displayed during payment can be fed back to the graphic code processing function or graphic code processing application after the code scanning gun in the store scans the code.
  • the time interval between the fifth graphic code and the next graphic code can be determined according to the feature information of each graphic code in the graphic code set, so that after the fifth graphic code is displayed and after the time interval arrives, automatic Displaying the next graphic code simplifies the process of using the graphic code and improves the user experience.
  • the current environment information includes at least one of current time, current geographic location information, and current environment type.
  • the current environment type may be a convenience store, a subway station, a bus station, and the like.
  • the current environment information matches the graphic code type belonging to the payment code in the feature information in the graphic code set.
  • a prompt message can be issued by way of geo-fencing, and when the confirmation operation of the prompt message by the user is received, it is determined that the received The request for using the graphic code set enters the display interface of the graphic code set and displays the corresponding graphic code.
  • the feature information also includes privacy feature information.
  • the privacy characteristic information may be in the form of a label; if the graphic code has a label, then the graphic code belongs to the privacy category; if the graphic code has no label, then the graphic code does not belong to the privacy category.
  • the corresponding relationship between each graphic code type and privacy type graphic code can be defined in advance, so that according to the corresponding relationship, according to the acquired graphic code type of each graphic code, determine each Whether the pattern code is a privacy pattern code, and when a pattern code is determined to be a privacy pattern code, a label is added to the pattern code.
  • the encryption method for encrypting the first graphic code may be encryption methods such as fingerprint encryption, password encryption, and user facial information encryption. Therefore, after the encrypted first graphic code is displayed, decryption is performed according to the corresponding decryption mode. If the encryption method is fingerprint encryption, after the user inputs the fingerprint on the electronic device, decryption can be realized. If the encryption method is password encryption, after the user enters the password on the electronic device, decryption can be realized. If the encryption method is to encrypt the user's face information, the electronic device can realize decryption after recognizing the user's face.
  • the first pattern code belongs to the privacy pattern code
  • preset display duration when the graphic code covered on the first graphic code reaches the preset display duration, it will directly switch to the first graphic code, so as to avoid affecting the user's use.
  • the first graphic code when it is judged that the first graphic code belongs to the private graphic code, the first graphic code is encrypted, and the encrypted first graphic code is displayed, which greatly improves the use security of the graphic code.
  • the acquisition condition includes at least one of the following: receiving a user's acquisition request for the second graphic code; detecting that the first graphic code has been used; and matching the current environment information with the characteristic information of the second graphic code.
  • the current environment information includes at least one item of current time, current geographic location information, and current environment type;
  • the feature information includes at least one item of graphic code type, graphic code source, place of use, and time of use.
  • each graphic code is used based on the graphic code set, which can prevent the user from frequently switching between different application program pages when using each graphic code, thereby simplifying the graphic code.
  • the use process makes the use of the graphic code more convenient, improves the efficiency of the use of the graphic code, and improves the user experience.
  • the feature information also includes privacy feature information. After executing S104 to obtain the second pattern code, before performing S106 to display the second pattern code, it can be judged whether the second pattern code belongs to the privacy class pattern code according to the privacy characteristic information of the second pattern code; The code is encrypted.
  • the form of the privacy feature information and the encryption method of the encryption process can refer to the description in the embodiment of the specific execution method of obtaining and displaying the first graphic code above, and to avoid repetition, details are not repeated here.
  • the second graphic code when it is determined that the second graphic code belongs to a private graphic code, the second graphic code is encrypted, so that the use security of the graphic code is improved.
  • Fig. 3 is a schematic flowchart of a display method of a graphic code in another embodiment of the present application. In this embodiment, how to generate a graphic code set is introduced. As shown in Fig. 3, the display method of a graphic code may include :
  • the characteristic information may include at least one of the type of the graphic code, the source of the graphic code, the place of use, and the time of use.
  • the feature information may also include an acquisition link of the graphic code.
  • a plurality of target graphic codes meet at least one of the following: the use time difference of two target graphic codes adjacent to the use time is less than or equal to the preset time difference; multiple target graphic codes have the same usage characteristics within the preset duration; The characteristics include at least one item of use location, use time, and use sequence; the number of times that multiple target graphic codes have the same use characteristic is greater than or equal to the preset number of times.
  • the graphic code set is updated according to the update operation.
  • the updating operation includes at least one of the following: deleting characteristic information of at least one pattern code in the pattern code set, modifying characteristic information of at least one pattern code, inserting characteristic information of a new pattern code in the pattern code set.
  • a plurality of target pattern codes are screened out according to the feature information, and a set of pattern codes is generated according to the order of the target pattern codes.
  • the effect of generating a set of graphic codes in line with the user's usage habits is realized according to the user's historical use of graphic codes.
  • Fig. 4 is a schematic flowchart of a method for displaying graphic codes in another embodiment of the present application. After the graphic code set is generated according to the embodiment shown in FIG. 3 , the graphic code set can be used according to the embodiment shown in FIG. 4 . As shown in Figure 4, the display method of graphic code can comprise:
  • S401 Receive a request for using a graphic code set.
  • the graphic code corresponding to the acquisition request is the first graphic code to be displayed.
  • the next graphic code of the fifth graphic code is the first graphic code to be displayed.
  • the current environment information matches the feature information in the graphic code set, then determine that the graphic code corresponding to the matched feature information is the first graphic code to be displayed; the current environment information includes current time, current geographic location information, current At least one of the environment types you are in.
  • the feature information of the graphic code may include privacy feature information. Therefore, when obtaining and displaying the first graphic code, it is first possible to judge whether the first graphic code belongs to the privacy class graphic code according to the privacy feature information of the first graphic code; if so, the first graphic code is encrypted and displayed. The encrypted first graphic code; if not, then directly display the unencrypted first graphic code.
  • the second graphic code is a graphic code in the graphic code set.
  • the acquisition condition includes at least one of the following: receiving a user's acquisition request for the second graphic code; detecting that the first graphic code has been used; and matching the current environment information with the characteristic information of the second graphic code.
  • the current environment information includes at least one item of current time, current geographic location information, and current environment type; the feature information includes at least one item of graphic code type, graphic code source, place of use, and time of use.
  • the position of the second graphic code in the graphic code set is adjacent to the position of the first graphic code in the graphic code set.
  • the feature information of the graphic code may include privacy feature information. Therefore, after executing S404 and before executing S405, firstly, according to the privacy feature information of the second graphic code, it can be judged whether the second graphic code belongs to the privacy type graphic code; if so, the second graphic code is encrypted. When S405 is executed, the encrypted second graphic code is displayed.
  • this technical solution uses each graphic code based on a set of graphic codes, which can prevent users from frequently switching between different application programs when using each graphic code page, thereby simplifying the process of using the graphic code, making the use of the graphic code more convenient, improving the efficiency of using the graphic code, and enhancing the user experience.
  • the graphic code display method provided by the embodiment of the present application may be executed by a graphic code display device, or a control module in the graphic code display device for executing the graphic code display method.
  • the display device for the graphic code provided by the embodiment of the present application is described by taking the graphic code display device executing the graphic code display method as an example.
  • Fig. 5 is a schematic structural diagram of a graphic code display device in an embodiment of the present application. Please refer to Fig. 5, the display device of graphic code can comprise:
  • the first display module 510 is used to display the first graphic code; the first graphic code is a graphic code in the graphic code set;
  • the first acquisition module 520 is used to obtain the second graphic code according to the position of the first graphic code in the graphic code set; the second graphic code is the graphic code in the graphic code set;
  • the second display module 530 is configured to display the second graphic code.
  • the position of the second graphic code in the graphic code set is adjacent to the position of the first graphic code in the graphic code set.
  • the display device of graphic code also includes:
  • the second acquisition module is used to obtain the feature information of the third graphic code when it is detected that the third graphic code is displayed on the interface;
  • the feature information includes at least one of the graphic code type, the source of the graphic code, the place of use, and the time of use one item;
  • a generating module configured to generate a set of graphic codes according to the acquired feature information of multiple third graphic codes.
  • the generating module includes:
  • a screening unit configured to filter out a plurality of target pattern codes from the plurality of third pattern codes according to the obtained characteristic information of the plurality of third pattern codes
  • a determining unit configured to determine the sequence of each target graphic code according to the feature information of each target graphic code
  • a generating unit configured to generate a set of graphic codes according to the order of each target graphic code
  • multiple target pattern codes satisfy at least one of the following:
  • the use time difference of two target pattern codes adjacent to each other is less than or equal to the preset time difference
  • Multiple target graphic codes have the same usage characteristics within a preset duration; the usage characteristics include at least one of usage location, usage time, and usage sequence;
  • the number of times that the multiple target graphic codes have the same usage feature is greater than or equal to the preset number of times.
  • the display device of graphic code also includes:
  • a determination module configured to determine that the acquisition condition of the second graphic code is triggered; the acquisition condition includes at least one of the following:
  • the current environment information matches the feature information of the second graphic code; the current environment information includes at least one of the current time, current geographic location information, and the current environment type; the feature information includes the type of graphic code, the source of the graphic code, and the place of use , at least one of the time of use.
  • the device uses each graphic code based on the graphic code set, which can prevent the user from frequently switching different application program pages when using each graphic code , thereby simplifying the use process of the graphic code, making the use of the graphic code more convenient, improving the use efficiency of the graphic code, and enhancing the user experience.
  • the device for displaying the graphic code in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the device for displaying the graphic code in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the graphic code display device provided in the embodiment of the present application can implement various processes in the graphic code display method embodiments shown in FIG. 1 to FIG. 4 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, and programs or instructions stored in the memory 602 and operable on the processor 601,
  • an electronic device 600 including a processor 601, a memory 602, and programs or instructions stored in the memory 602 and operable on the processor 601
  • the program or instruction is executed by the processor 601
  • each process of the above embodiment of the graphic code display method can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710, etc. part.
  • the electronic device 700 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 710 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • the display unit 706 is used to display the first graphic code;
  • the first graphic code is a graphic code in the graphic code set;
  • the processor 710 is configured to acquire a second graphic code according to the position of the first graphic code in the graphic code set; the second graphic code is a graphic code in the graphic code set;
  • the display unit 706 is also used to display the second graphic code.
  • the position of the second graphic code in the graphic code set is adjacent to the position of the first graphic code in the graphic code set.
  • the processor 710 is further configured to obtain feature information of the third graphic code when it is detected that the third graphic code is displayed on the interface; the feature information includes the graphic code type, At least one of the source of the graphic code, the place of use, and the time of use; according to the obtained feature information of multiple third graphic codes, a set of graphic codes is generated.
  • the processor 710 is further configured to select from the multiple acquired feature information of the third graphic codes A plurality of target graphic codes are screened out in the third graphic code; according to the feature information of each target graphic code, the order of each target graphic code is determined; according to the order of each target graphic code, a graphic code set is generated;
  • multiple target pattern codes satisfy at least one of the following:
  • the use time difference of two target pattern codes adjacent to each other is less than or equal to the preset time difference
  • Multiple target graphic codes have the same usage characteristics within a preset duration; the usage characteristics include at least one of usage location, usage time, and usage sequence;
  • the number of times that the multiple target graphic codes have the same usage feature is greater than or equal to the preset number of times.
  • the processor 710 is further configured to determine that the acquisition condition of the second graphic code is triggered;
  • Acquisition conditions include at least one of the following:
  • the current environment information matches the feature information of the second graphic code; the current environment information includes at least one of the current time, current geographic location information, and the current environment type; the feature information includes the type of graphic code, the source of the graphic code, and the place of use , at least one of the time of use.
  • the device uses each graphic code based on a set of graphic codes, which can prevent the user from frequently switching between different application pages when using each graphic code , thereby simplifying the use process of the graphic code, making the use of the graphic code more convenient, improving the use efficiency of the graphic code, and enhancing the user experience.
  • the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 707 includes a touch panel 7071 and other input devices 7072 .
  • the touch panel 7071 is also called a touch screen.
  • the touch panel 7071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 709 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, user interface, application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, each process of the above-mentioned embodiment of the graphic code display method is realized, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to realize the implementation of the display method of the above-mentioned graphic code
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions to realize the implementation of the display method of the above-mentioned graphic code
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • 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. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种图形码的显示方法及装置,属于信息处理技术领域。该方法包括:显示第一图形码;所述第一图形码为图形码集合中的图形码;根据所述第一图形码在所述图形码集合中的位置,获取第二图形码;所述第二图形码为所述图形码集合中的图形码;显示所述第二图形码。

Description

图形码的显示方法及装置
交叉引用
本发明要求在2021年09月30日提交中国专利局、申请号为202111166155.9、发明名称为“图形码的显示方法及装置”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。
技术领域
本申请属于信息处理技术领域,具体涉及一种图形码的显示方法及装置。
背景技术
图形码作为近几年来移动设备上流行的图像编码,在人们的支付、交通、证照等业务上的应用十分广泛。在日常生活中,人们往往会使用多种图形码。但是这些图形码一般都在不同的应用程序上,使用过程中需要打开对应的应用程序页面。如果在短时间内需要使用不同的图形码,则需要频繁打开不同的应用程序页面。
例如,用户乘坐地铁上班,进出站时需打开“乘车码”应用或小程序使用地铁乘车码,买早餐付款时需切换到支付应用使用付款码,进公司时需切换到“健康码”应用或小程序使用健康码。频繁切换不同的应用程序页面,使用非常不便,且导致图形码的使用效率较低,用户的使用体验较差。
发明内容
本申请实施例的目的是提供一种图形码的显示方法及装置,能够解决现有技术中对图形码的使用过程繁琐、使用效率低的问题。
第一方面,本申请实施例提供了一种图形码的显示方法,包括:
显示第一图形码;所述第一图形码为图形码集合中的图形码;
根据所述第一图形码在所述图形码集合中的位置,获取第二图形码;所 述第二图形码为所述图形码集合中的图形码;
显示所述第二图形码。
第二方面,本申请实施例提供了一种图形码的显示装置,包括:
第一显示模块,用于显示第一图形码;所述第一图形码为图形码集合中的图形码;
第一获取模块,用于根据所述第一图形码在所述图形码集合中的位置,获取第二图形码;所述第二图形码为所述图形码集合中的图形码;
第二显示模块,用于显示所述第二图形码。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的图形码的显示方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的图形码的显示方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的图形码的显示方法。
在本申请实施例中,通过显示图形码集合中的第一图形码,从而根据第一图形码在图形码集合中的位置,获取图形码集合中的第二图形码,并显示第二图形码,相较于现有技术中分别打开多个应用程序页面使用图形码的方式而言,该技术方案基于图形码集合使用各图形码,能够避免用户在使用各图形码时频繁切换不同的应用程序页面,从而简化了图形码的使用过程,使得对图形码的使用更加便利,提高了图形码的使用效率,提升了用户的使用体验感。
附图说明
图1是本申请的一个实施例中一种图形码的显示方法的示意性流程图。
图2是本申请的一个实施例中一种图形码处理功能或者图形码处理应用程序的显示界面的示意图。
图3是本申请的另一个实施例中一种图形码的显示方法的示意性流程图。
图4是本申请的另一个实施例中一种图形码的显示方法的示意性流程图。
图5是本申请的一个实施例中一种图形码的显示装置的结构示意图。
图6是本申请的一个实施例中一种电子设备的结构示意图。
图7是本申请的一个实施例中一种电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图形码的显示方法进行详细地说明。
图1是本申请的一个实施例中一种图形码的显示方法的示意性流程图。本申请实施例提供的图形码的显示方法可应用于电子设备(如手机、智能手 表等),用于实现电子设备上的图形码处理功能或者图形码处理应用程序,从而通过开启图形码处理功能或者图形码处理应用程序即可按照下述S102-S106,实现对图形码的显示。如图1所示,图形码的显示方法可包括:
S102,显示第一图形码;第一图形码为图形码集合中的图形码。
其中,图形码可以是条形码、二维码等用某种特定的几何图形按一定规律在平面(一维或二维方向上)分布的、黑白相间的、记录数据符号信息的图形。在图形码集合中,各图形码有序排列。
S104,根据第一图形码在图形码集合中的位置,获取第二图形码;第二图形码为图形码集合中的图形码。
在一个实施例中,第二图形码在图形码集合中的位置与第一图形码在图形码集合中的位置相邻。从而,根据用户对界面上显示的图形码的触发操作,能够快速地显示第二图形码,提高了图形码的使用效率。
S106,显示第二图形码。
可选地,在第一页面中显示第一图形码,在第二页面中显示第二图形码。第一页面和第二页面可以相同,也可以不同。
在本申请实施例中,通过显示图形码集合中的第一图形码,从而根据第一图形码在图形码集合中的位置,获取图形码集合中的第二图形码,并显示第二图形码,相较于现有技术中分别打开多个应用程序页面使用图形码的方式而言,该技术方案基于图形码集合使用各图形码,能够避免用户在使用各图形码时频繁切换不同的应用程序页面,从而简化了图形码的使用过程,使得对图形码的使用更加便利,提高了图形码的使用效率,提升了用户的使用体验感。
为方便描述,在以下实施例中,以当前大多数用户上班途中按照“健康码-地铁乘车码-早餐付款码-公司签到码”的顺序使用各图形码进行举例,详细说明本申请实施例提供的图形码的显示方法。以下,首先介绍如何生成图形码集合。
在一个实施例中,在显示第一图形码之前,可根据下述步骤A1-A2,生成图形码集合:
步骤A1,在监测到界面上显示有第三图形码的情况下,获取第三图形码的特征信息。
在一个实施例中,可在用户开启图形码处理功能或者图形码处理应用程序后,通过图形码处理功能或者图形码处理应用程序监测用户在电子设备上使用的各应用程序的页面信息,用户每切换一个应用程序页面,在当前应用程序页面显示有图形码时,获取该图形码的特征信息。
可选的,电子设备上的图形码处理功能可由用户触发开启或关闭;电子设备上的图形码处理应用程序可在用户开启后,保持后台运行,持续监测并获取用户在电子设备上使用的多个图形码的特征信息,直至用户手动关闭后台运行的图形码处理应用程序时停止。另外,可在图形码处理功能或者图形码处理应用程序中预设监测周期,从而在开启图形码处理功能或者图形码处理应用程序后,根据预设监测周期,对电子设备的界面上显示的图形码进行监测及获取特征信息。
其中,特征信息包括图形码类型、图形码来源、使用地点、使用时间中的至少一项。图形码类型可以是付款码、乘车码、健康码、签到码等类型。图形码来源可以是图形码所属的应用程序、小程序等。例如,当前图形码是X应用中的付款码,那么当前图形码的图形码来源为X应用。使用地点可以在用户使用当前图形码时,通过电子设备的定位信息获取到。使用时间可以在用户使用当前图形码时,通过电子设备上的时间信息获取到。
在一个实施例中,图形码的特征信息还可包括图形码的获取链接、图形码的其他特征类型信息等。获取链接可以是图片链接、获取路径等;针对固定不变的静态图形码,如静态健康码、静态签到码等,获取链接为静态图形码的图片链接;针对实时更新的动态图形码,如付款码、乘车码等,获取链接为动态图形码的获取路径(如X应用-付款码)。其他特征类型信息可包括 Wi-Fi(无线通信技术)列表信息、基站ID(Identity document,唯一编码)、电子设备的信号强度等,用于辅助判断当前图形码的使用地点。
可选的,获取到的每一条图形码的特征信息可为一条数据向量,数据向量的表征形式为:使用时间使用地点-“图形码来源获取链接及图形码类型”。那么,在用户上班途中,获取到的图形码的特征信息可以是:9:00第一地铁站-“XX应用获取链接及健康码”、9:05第一地铁站-“X应用获取链接及乘车码”、9:20第一便利店-“X应用获取链接及付款码”、9:30第一产业园-“XXX应用获取链接及签到码”。
步骤A2,根据获取到的多个第三图形码的特征信息,生成图形码集合。
在本实施例中,通过在监测到界面上显示有第三图形码的情况下,获取第三图形码的特征信息,从而根据获取到的多个第三图形码的特征信息,生成图形码集合,实现了根据用户历史上对图形码的使用情况,生成符合用户使用习惯的图形码集合的效果。
在一个实施例中,上述步骤A2可具体执行为下述步骤B1-B3:
步骤B1,根据获取到的多个第三图形码的特征信息,从多个第三图形码中筛选出多个目标图形码。
其中,多个目标图形码满足以下C1-C3中的至少一项:
C1、使用时间相邻的两个目标图形码的使用时差小于或等于预设时差。
假设使用时间相邻的两个目标图形码为图形码1和图形码2,图形码1的使用时间为t 1,图形码2的使用时间为t 2,预设时差为d。那么,在图形码1与图形码2的使用时差的绝对值小于或等于预设时差,即|t 1-t 2|≤d时,可确定图形码1和图形码2是目标图形码。
C2、多个目标图形码在预设时长内具有相同的使用特征。
其中,使用特征可包括使用地点、使用时间、使用顺序中的至少一项。使用顺序为用户使用多个目标图形码的顺序。预设时长可为上述的第三图形码的预设监测周期。假设预设时长为7天,那么,在连续7天获取到第三图 形码的特征信息后,若确定多个第三图形码中的图形码3-图形码4在7天内具有相同的使用特征,则可确定图形码3-图形码4是目标图形码,且图形码3的使用顺序先于图形码4。
C3、多个目标图形码具有相同的使用特征的次数大于或等于预设次数。
假设预设次数为3次,沿用C2中的举例,若确定多个第三图形码中的图形码5和图形码6在7天内具有相同的使用特征、且图形码5和图形码6具有相同的使用特征的次数大于或等于3次,则可确定图形码5和图形码6是目标图形码。
可选的,在一个实施例中,为进一步提高筛选出的目标图形码的准确度,可将同时满足上述C1-C3的第三图形码确定为目标图形码。
步骤B2,根据各目标图形码的特征信息,确定各目标图形码的顺序。
其中,根据各目标图形码的特征信息中的图形码类型、图形码来源、使用地点、使用时间中的至少一项,可确定出各目标图形码的顺序。
步骤B3,根据各目标图形码的顺序,生成图形码集合。
其中,可按照各目标图形码的顺序,将各目标图形码的特征信息进行组合,得到图形码集合。
其中,可预设将各目标图形码的特征信息进行组合的组合方式。可选的,可将目标图形码的图形码来源和图形码类型作为显性特征,将目标图形码的获取链接作为隐性特征,将各目标图形码的顺序作为顺序特征,组合形成图形码集合。这样得到的图形码集合,是一种特征组合的多帧获取空包。在接收到用户的触发操作(如点击操作、下拉操作)后,按照当前帧的特征(包括显性特征、隐性特征和顺序特征),类似超链接的形式,根据获取链接,实时获取图形码并反馈补齐图形码处理功能或者图形码处理应用程序中待使用的图形码界面。
其中,在实时获取图形码并反馈补齐图形码处理功能或者图形码处理应用程序中待使用的图形码界面时,会有一定的时间延迟。而一般情况下,电 子设备具有对特定操作的数据加速传输功能。因此,可通过预先在电子设备的“设置”中,设置实时获取图形码并反馈补齐这一操作中,数据能够加速传输,从而避免或者减小上述的时间延迟,降低用户的感知,以提高用户的使用体验感。
本实施例中,根据用户上班途中使用的各图形码,得到的图形码集合,在图形码处理功能或者图形码处理应用程序中,可按照图2所示的形式显示,在图2所示的显示界面上,用户可以选择当前使用的图形码集合。210为打开图形码处理功能或者图形码处理应用程序后显示的首页码(即当前使用的图形码集合中的图形码),或者,210为根据用户的触发操作而显示的、当前待使用的图形码。220为得到的多个图形码集合。
在本实施例中,通过筛选出目标图形码,从而根据各目标图形码的顺序,生成多个目标图形码对应的图形码集合,实现了按照用户的使用习惯,将有一定使用顺序的多个图形码组合成图形码集合的效果,从而能够避免用户在使用图形码集合中的各图形码时,频繁切换不同的应用程序页面,简化了图形码的使用过程,提高了图形码的使用效率。
在一个实施例中,执行上述步骤B3,生成图形码集合之后,当接收到对图形码集合的更新操作时,根据更新操作更新图形码集合。
其中,更新操作包括以下至少一项:删除图形码集合中的至少一个图形码的特征信息、修改至少一个图形码的特征信息、在图形码集合中插入新的图形码的特征信息。
其中,对图形码集合的更新操作可由用户手动触发,也可由电子设备根据预设更新周期自动触发。若对图形码集合的更新操作由用户手动触发,用户可以在图形码处理功能或者图形码处理应用程序中、图形码集合对应的设置界面,对图形码集合进行删除、修改、插入等操作,从而实现对图形码集合的更新。若对图形码集合的更新操作由电子设备根据预设更新周期自动触发,那么,图形码处理功能或者图形码处理应用程序根据更新周期自动监测 图形码集合是否存在更新,从而在图形码集合有更新时,自动触发对图形码集合的更新操作,从而实现在图形码集合中删除、修改或者插入图形码。
在本实施例中,通过在生成图形码集合之后,当接收到对图形码集合的更新操作时,根据更新操作更新图形码集合,确保了图形码集合的时效性,使得图形码集合高度符合用户的使用习惯,从而提高了用户的使用体验感。
上述实施例对图形码集合的生成过程进行了详细介绍,下面,详细介绍对图形码集合的使用过程。
在一个实施例中,生成图形码集合之后,显示第一图形码之前,可根据下述步骤D1-D3,实现对图形码集合中的第一图形码的使用:
步骤D1,接收对图形码集合的使用请求。
在一个实施例中,用户使用图形码集合中的各目标图形码时,可以通过电子设备的桌面悬浮球、电子设备中某应用中的小程序、电子设备上的图形码处理功能、电子设备上的图形码处理应用程序中的任意一项,触发打开图形码集合的显示界面。那么,当电子设备接收到用户对上述的桌面悬浮球、某应用中的小程序、图形码处理功能、图形码处理应用程序中的任意一项执行了触发操作时,可确定接收到对图形码集合的使用请求。其中,触发操作可以是长按操作、单击操作、双击操作等。
步骤D2,响应于使用请求,确定图形码集合中的待显示的第一图形码。
步骤D3,根据第一图形码对应的获取链接,获取并显示第一图形码。
在本实施例中,基于图形码集合使用各图形码,能够避免用户在使用各图形码时频繁切换不同的应用程序页面,从而简化了图形码的使用过程,提高了图形码的使用效率,且使得对图形码的使用更加便利,提升了用户的使用体验感。
在一个实施例中,上述步骤D1还可执行为:当监测到用户对第四图形码的获取请求、且第四图形码与图形码集合中的特征信息相匹配时,发出提示信息,当接收到用户对提示信息的确认操作时,确定接收到对图形码集合 的使用请求。
其中,第四图形码可以是图形码集合中的任意一个图形码,提示信息用于提示用户是否使用图形码集合。可选的,第四图形码为图形码集合中的第一个图形码,相较于第四图形码是图形码集合中最后一个图形码或者靠近最后一个图形码的图形码而言,能够最大限度的简化图形码的使用过程。
例如,用户在上班途中,打开了XX应用中的健康码,此时,电子设备能够监测到用户对第四图形码(即XX应用中的健康码)的获取请求,并监测到第四图形码的打开时间为9:00,打开地点为第一地铁站,通过对比确定与图形码集合中的特征信息相匹配,则发出提示信息,当接收到用户对提示信息的确认操作时,确定接收到对图形码集合的使用请求。
在本实施例中,通过在监测到用户对第四图形码的获取请求、且第四图形码与图形码集合中的特征信息相匹配时,发出提示信息,并在接收到用户对提示信息的确认操作时,确定接收到对图形码集合的使用请求,从而能够使用图形码集合中的各图形码,避免了用户在使用各图形码时频繁切换不同的应用程序页面,从而简化了图形码的使用过程,提高了图形码的使用效率,且使得对图形码的使用更加便利,提升了用户的使用体验感。
在一个实施例中,可根据如下E1-E3中的任一项,确定图形码集合中的待显示的第一图形码:
E1、当接收到用户对图形码集合中的图形码的获取请求时,确定获取请求对应的图形码为待显示的第一图形码。
其中,当接收到用户对图形码集合中的图形码的触发操作时,可确定接收到用户对该图形码的获取请求。触发操作可以是下拉操作、长按操作、单击操作、双击操作等。
在本实施例中,能够通过用户手动触发的方式确定图形码集合中待显示的第一图形码,简化了第一图形码的确定过程。
E2、当监测到图形码集合中的第五图形码已被使用,则确定第五图形码 的下一个图形码为待显示的第一图形码。
其中,安检时显示的健康码可以在电子设备通过安检装置后,根据电子设备与安检装置之间的NFC(Near Field Communication,近场通信),将该健康码是否使用的信息反馈至图形码处理功能或者图形码处理应用程序中。进出地铁站时显示的乘车码可以在电子设备通过闸机的验码装置后,将该乘车码是否使用的信息反馈至图形码处理功能或者图形码处理应用程序中。支付时显示的付款码可以在店铺的扫码枪扫码后,将该付款码是否使用的信息反馈至图形码处理功能或者图形码处理应用程序中。
本实施例中,可根据图形码集合中各图形码的特征信息,确定第五图形码与下一个图形码之间的时间间隔,从而在显示第五图形码之后、该时间间隔到达后,自动显示下一个图形码,简化了图形码的使用过程,提升了用户的使用体验感。
在本实施例中,通过在监测到图形码集合中的第五图形码已被使用时,自动确定第五图形码的下一个图形码为待显示的第一图形码,实现了自动识别是否使用了图形码的效果,从而避免了用户去手动触发显示下一个图形码,使得对图形码的使用更加高效便捷。
E3、若当前环境信息与图形码集合中的特征信息相匹配,则确定相匹配的特征信息对应的图形码为待显示的第一图形码。
其中,当前环境信息包括当前时间、当前地理位置信息、当前所处环境类型中的至少一项。当前所处环境类型可以是便利店、地铁站、公交站等。例如,当前所处环境类型为便利店,则当前环境信息与图形码集合中的特征信息中、属于付款码的图形码类型相匹配。
在一个实施例中,可通过地理围栏的方式,当用户进入图形码集合的任一个图形码对应的使用地点时,发出提示信息,并在接收到用户对提示信息的确认操作时,确定接收到对图形码集合的使用请求,进入图形码集合的显示界面,并显示相应的图形码。
在本实施例中,通过在电子设备所处的当前环境信息与图形码集合中的特征信息相匹配时,自动确定相匹配的特征信息对应的图形码为待显示的第一图形码,简化了图形码的使用过程,使得对图形码的使用更加高效便捷。
在一个实施例中,特征信息还包括隐私性特征信息。上述步骤D3:获取并显示第一图形码。可具体执行为:根据第一图形码的隐私性特征信息,判断第一图形码是否属于隐私类图形码;若是,则对第一图形码进行加密处理,并显示加密后的第一图形码;若否,则直接显示未加密的第一图形码。
可选的,隐私性特征信息可以是标签形式;若图形码有标签,则该图形码属于隐私类图形码;若图形码无标签,则该图形码不属于隐私类图形码。其中,可在获取多个图形码的特征信息之前,预先定义各图形码类型与隐私类图形码之间的对应关系,从而根据对应关系,根据获取到的各图形码的图形码类型,确定各图形码是否为隐私类图形码,并在确定一图形码为隐私类图形码时,对该图形码添加标签。
其中,对第一图形码进行加密处理的加密方式,可以是指纹加密、密码加密、用户面部信息加密等加密方式。从而在显示加密后的第一图形码之后,根据对应的解密方式进行解密。若加密方式是指纹加密,则当用户在电子设备上输入指纹后,即可实现解密。若加密方式是密码加密,则当用户在电子设备上输入密码后,即可实现解密。若加密方式是用户面部信息加密,则当电子设备识别到用户面部后,即可实现解密。
此外,若确定第一图形码属于隐私类图形码,还可监测该图形码集合中不属于隐私类图形码的图形码,复制该图形码并覆盖在第一图形码上,以确保显示的安全性。当然,在实际使用过程中,可通过预设显示时长的方式,在覆盖在第一图形码上的图形码达到预设显示时长时,直接转到第一图形码,以避免影响用户的使用。
在本实施例中,通过在判断出第一图形码属于隐私类图形码时,对第一图形码进行加密处理,并显示加密后的第一图形码,大大提升了图形码的使 用安全性。
在一个实施例中,执行S104,根据第一图形码在图形码集合中的位置,获取第二图形码之前,需确定第二图形码的获取条件被触发。
其中,获取条件包括以下至少一项:接收用户对第二图形码的获取请求;监测到第一图形码已被使用;当前环境信息与第二图形码的特征信息相匹配。当前环境信息包括当前时间、当前地理位置信息、当前所处环境类型中的至少一项;特征信息包括图形码类型、图形码来源、使用地点、使用时间中的至少一项。需要说明的是,各获取条件的具体实施过程与上述E1-E3类似,此处不另赘述。
在本实施例中,通过在第二图形码的获取条件被触发后,基于图形码集合使用各图形码,能够避免用户在使用各图形码时频繁切换不同的应用程序页面,从而简化了图形码的使用过程,使得对图形码的使用更加便利,提高了图形码的使用效率,提升了用户的使用体验感。
在一个实施例中,特征信息还包括隐私性特征信息。在执行S104获取第二图形码之后,执行S106显示第二图形码之前,可根据第二图形码的隐私性特征信息,判断第二图形码是否属于隐私类图形码;若是,则对第二图形码进行加密处理。
其中,隐私性特征信息的形式、以及加密处理的加密方式,可参照上述获取并显示第一图形码的具体执行方式实施例中的说明,为避免重复,此处不另赘述。
在本实施例中,通过在判断出第二图形码属于隐私类图形码时,对第二图形码进行加密处理,提升了图形码的使用安全性。
图3是本申请的另一个实施例中一种图形码的显示方法的示意性流程图,本实施例中,介绍了如何生成图形码集合,如图3所示,图形码的显示方法可包括:
S301,在监测到界面上显示有第三图形码的情况下,获取第三图形码的 特征信息。
其中,特征信息可包括图形码类型、图形码来源、使用地点、使用时间中的至少一项。特征信息还可包括图形码的获取链接。
S302,根据获取到的多个第三图形码的特征信息,从多个第三图形码中筛选出多个目标图形码。
其中,多个目标图形码满足以下至少一项:使用时间相邻的两个目标图形码的使用时差小于或等于预设时差;多个目标图形码在预设时长内具有相同的使用特征;使用特征包括使用地点、使用时间、使用顺序中的至少一项;多个目标图形码具有相同的使用特征的次数大于或等于预设次数。
S303,根据各目标图形码的特征信息,确定各目标图形码的顺序。
S304,按照各目标图形码的顺序,将各目标图形码的特征信息进行组合,生成图形码集合。
此外,当接收到对图形码集合的更新操作时,根据更新操作更新图形码集合。更新操作包括以下至少一项:删除图形码集合中的至少一个图形码的特征信息、修改至少一个图形码的特征信息、在图形码集合中插入新的图形码的特征信息。
上述S301-S304的具体过程在上述实施例中已进行详细说明,此处不再赘述。
在本申请实施例中,通过获取多个第三图形码的特征信息,从而根据特征信息,筛选出多个目标图形码,并根据各目标图形码的顺序,生成图形码集合。实现了根据用户历史上对图形码的使用情况,生成符合用户使用习惯的图形码集合的效果。
图4是本申请的另一个实施例中一种图形码的显示方法的示意性流程图。在根据图3所示的实施例生成图形码集合之后,可根据图4所示的实施例实现对图形码集合的使用。如图4所示,图形码的显示方法可包括:
S401,接收对图形码集合的使用请求。
S402,响应于使用请求,确定图形码集合中的待显示的第一图形码。
在一个实施例中,当接收到用户对图形码集合中的图形码的获取请求时,确定获取请求对应的图形码为待显示的第一图形码。或者,当监测到图形码集合中的第五图形码已被使用,则确定第五图形码的下一个图形码为待显示的第一图形码。或者,若当前环境信息与图形码集合中的特征信息相匹配,则确定相匹配的特征信息对应的图形码为待显示的第一图形码;当前环境信息包括当前时间、当前地理位置信息、当前所处环境类型中的至少一项。
S403,根据第一图形码对应的获取链接,获取并显示第一图形码。
在一个实施例中,图形码的特征信息可包括隐私性特征信息。从而在获取并显示第一图形码时,可首先根据第一图形码的隐私性特征信息,判断第一图形码是否属于隐私类图形码;若是,则对第一图形码进行加密处理,并显示加密后的第一图形码;若否,则直接显示未加密的第一图形码。
S404,确定第二图形码的获取条件被触发,根据第一图形码在图形码集合中的位置,获取第二图形码。
其中,第二图形码为图形码集合中的图形码。获取条件包括以下至少一项:接收用户对第二图形码的获取请求;监测到第一图形码已被使用;当前环境信息与第二图形码的特征信息相匹配。当前环境信息包括当前时间、当前地理位置信息、当前所处环境类型中的至少一项;特征信息包括图形码类型、图形码来源、使用地点、使用时间中的至少一项。
在一个实施例中,第二图形码在图形码集合中的位置与第一图形码在图形码集合中的位置相邻。
S405,显示第二图形码。
在一个实施例中,图形码的特征信息可包括隐私性特征信息。从而在执行S404之后,执行S405之前,可首先根据第二图形码的隐私性特征信息,判断第二图形码是否属于隐私类图形码;若是,则对第二图形码进行加密处理。在执行S405时,显示加密后的第二图形码。
上述S401-S405的具体过程在上述实施例中已进行详细说明,此处不再赘述。
在本申请实施例中,通过显示图形码集合中的第一图形码,从而根据第一图形码在图形码集合中的位置,获取图形码集合中的第二图形码,并显示第二图形码,相较于现有技术中分别打开多个应用程序页面使用图形码的方式而言,该技术方案基于图形码集合使用各图形码,能够避免用户在使用各图形码时频繁切换不同的应用程序页面,从而简化了图形码的使用过程,使得对图形码的使用更加便利,提高了图形码的使用效率,提升了用户的使用体验感。
需要说明的是,本申请实施例提供的图形码的显示方法,执行主体可以为图形码的显示装置,或者该图形码的显示装置中的用于执行图形码的显示方法的控制模块。本申请实施例中以图形码的显示装置执行图形码的显示方法为例,说明本申请实施例提供的图形码的显示装置。
图5是本申请的一个实施例中一种图形码的显示装置的结构示意图。请参考图5,图形码的显示装置可包括:
第一显示模块510,用于显示第一图形码;第一图形码为图形码集合中的图形码;
第一获取模块520,用于根据第一图形码在图形码集合中的位置,获取第二图形码;第二图形码为图形码集合中的图形码;
第二显示模块530,用于显示第二图形码。
在一个实施例中,第二图形码在图形码集合中的位置与第一图形码在图形码集合中的位置相邻。
在一个实施例中,图形码的显示装置还包括:
第二获取模块,用于在监测到界面上显示有第三图形码的情况下,获取第三图形码的特征信息;特征信息包括图形码类型、图形码来源、使用地点、使用时间中的至少一项;
生成模块,用于根据获取到的多个第三图形码的特征信息,生成图形码集合。
在一个实施例中,生成模块包括:
筛选单元,用于根据获取到的多个第三图形码的特征信息,从多个第三图形码中筛选出多个目标图形码;
确定单元,用于根据各目标图形码的特征信息,确定各目标图形码的顺序;
生成单元,用于根据各目标图形码的顺序,生成图形码集合;
其中,多个目标图形码满足以下至少一项:
使用时间相邻的两个目标图形码的使用时差小于或等于预设时差;
多个目标图形码在预设时长内具有相同的使用特征;使用特征包括使用地点、使用时间、使用顺序中的至少一项;
多个目标图形码具有相同的使用特征的次数大于或等于预设次数。
在一个实施例中,图形码的显示装置还包括:
确定模块,用于确定第二图形码的获取条件被触发;获取条件包括以下至少一项:
接收用户对第二图形码的获取请求;
监测到第一图形码已被使用;
当前环境信息与第二图形码的特征信息相匹配;当前环境信息包括当前时间、当前地理位置信息、当前所处环境类型中的至少一项;特征信息包括图形码类型、图形码来源、使用地点、使用时间中的至少一项。
在本申请实施例中,通过显示图形码集合中的第一图形码,从而根据第一图形码在图形码集合中的位置,获取图形码集合中的第二图形码,并显示第二图形码,相较于现有技术中分别打开多个应用程序页面使用图形码的方式而言,该装置基于图形码集合使用各图形码,能够避免用户在使用各图形码时频繁切换不同的应用程序页面,从而简化了图形码的使用过程,使得对 图形码的使用更加便利,提高了图形码的使用效率,提升了用户的使用体验感。
本申请实施例中的图形码的显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的图形码的显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的图形码的显示装置能够实现图1至图4的图形码的显示方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图6所示,本申请实施例还提供一种电子设备600,包括处理器601,存储器602,存储在存储器602上并可在所述处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述图形码的显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图7为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、以及处理器710等部件。
本领域技术人员可以理解,电子设备700还可以包括给各个部件供电的 电源(比如电池),电源可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,显示单元706,用于显示第一图形码;第一图形码为图形码集合中的图形码;
处理器710,用于根据第一图形码在图形码集合中的位置,获取第二图形码;第二图形码为图形码集合中的图形码;
显示单元706,还用于显示第二图形码。
可选地,第二图形码在图形码集合中的位置与第一图形码在图形码集合中的位置相邻。
可选地,在显示第一图形码之前,处理器710,还用于在监测到界面上显示有第三图形码的情况下,获取第三图形码的特征信息;特征信息包括图形码类型、图形码来源、使用地点、使用时间中的至少一项;根据获取到的多个第三图形码的特征信息,生成图形码集合。
可选地,在根据获取到的多个第三图形码的特征信息,生成图形码集合的情况下,处理器710,还用于根据获取到的多个第三图形码的特征信息,从多个第三图形码中筛选出多个目标图形码;根据各目标图形码的特征信息,确定各目标图形码的顺序;根据各目标图形码的顺序,生成图形码集合;
其中,多个目标图形码满足以下至少一项:
使用时间相邻的两个目标图形码的使用时差小于或等于预设时差;
多个目标图形码在预设时长内具有相同的使用特征;使用特征包括使用地点、使用时间、使用顺序中的至少一项;
多个目标图形码具有相同的使用特征的次数大于或等于预设次数。
可选地,在根据第一图形码在图形码集合中的位置,获取第二图形码之前,处理器710,还用于确定第二图形码的获取条件被触发;
获取条件包括以下至少一项:
接收用户对第二图形码的获取请求;
监测到第一图形码已被使用;
当前环境信息与第二图形码的特征信息相匹配;当前环境信息包括当前时间、当前地理位置信息、当前所处环境类型中的至少一项;特征信息包括图形码类型、图形码来源、使用地点、使用时间中的至少一项。
在本申请实施例中,通过显示图形码集合中的第一图形码,从而根据第一图形码在图形码集合中的位置,获取图形码集合中的第二图形码,并显示第二图形码,相较于现有技术中分别打开多个应用程序页面使用图形码的方式而言,该设备基于图形码集合使用各图形码,能够避免用户在使用各图形码时频繁切换不同的应用程序页面,从而简化了图形码的使用过程,使得对图形码的使用更加便利,提高了图形码的使用效率,提升了用户的使用体验感。
应理解的是,本申请实施例中,输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元706可包括显示面板7061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板7061。用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器709可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图形码的显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述图形码的显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通 过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种图形码的显示方法,其中,包括:
    显示第一图形码;所述第一图形码为图形码集合中的图形码;
    根据所述第一图形码在所述图形码集合中的位置,获取第二图形码;所述第二图形码为所述图形码集合中的图形码;
    显示所述第二图形码。
  2. 根据权利要求1所述的方法,其中,所述第二图形码在所述图形码集合中的位置与所述第一图形码在所述图形码集合中的位置相邻。
  3. 根据权利要求1所述的方法,其中,所述显示第一图形码之前,还包括:
    在监测到界面上显示有第三图形码的情况下,获取所述第三图形码的特征信息;所述特征信息包括图形码类型、图形码来源、使用地点、使用时间中的至少一项;
    根据获取到的多个所述第三图形码的所述特征信息,生成所述图形码集合。
  4. 根据权利要求3所述的方法,其中,所述根据获取到的多个所述第三图形码的所述特征信息,生成所述图形码集合,包括:
    根据获取到的多个所述第三图形码的所述特征信息,从多个所述第三图形码中筛选出多个目标图形码;
    根据各所述目标图形码的所述特征信息,确定各所述目标图形码的顺序;
    根据各所述目标图形码的顺序,生成所述图形码集合;
    其中,所述多个目标图形码满足以下至少一项:
    使用时间相邻的两个所述目标图形码的使用时差小于或等于预设时差;
    所述多个目标图形码在预设时长内具有相同的使用特征;所述使用特征包括所述使用地点、所述使用时间、使用顺序中的至少一项;
    所述多个目标图形码具有相同的所述使用特征的次数大于或等于预设次数。
  5. 根据权利要求1所述的方法,其中,所述根据所述第一图形码在所述图形码集合中的位置,获取第二图形码之前,还包括:
    确定所述第二图形码的获取条件被触发;所述获取条件包括以下至少一项:
    接收用户对所述第二图形码的获取请求;
    监测到所述第一图形码已被使用;
    当前环境信息与所述第二图形码的特征信息相匹配;所述当前环境信息包括当前时间、当前地理位置信息、当前所处环境类型中的至少一项;所述特征信息包括图形码类型、图形码来源、使用地点、使用时间中的至少一项。
  6. 一种图形码的显示装置,其中,包括:
    第一显示模块,用于显示第一图形码;所述第一图形码为图形码集合中的图形码;
    第一获取模块,用于根据所述第一图形码在所述图形码集合中的位置,获取第二图形码;所述第二图形码为所述图形码集合中的图形码;
    第二显示模块,用于显示所述第二图形码。
  7. 根据权利要求6所述的装置,其中,所述第二图形码在所述图形码集合中的位置与所述第一图形码在所述图形码集合中的位置相邻。
  8. 根据权利要求6所述的装置,其中,所述装置还包括:
    第二获取模块,用于在监测到界面上显示有第三图形码的情况下,获取 所述第三图形码的特征信息;所述特征信息包括图形码类型、图形码来源、使用地点、使用时间中的至少一项;
    生成模块,用于根据获取到的多个所述第三图形码的所述特征信息,生成所述图形码集合。
  9. 根据权利要求8所述的装置,其中,所述生成模块包括:
    筛选单元,用于根据获取到的多个所述第三图形码的所述特征信息,从多个所述第三图形码中筛选出多个目标图形码;
    确定单元,用于根据各所述目标图形码的所述特征信息,确定各所述目标图形码的顺序;
    生成单元,用于根据各所述目标图形码的顺序,生成所述图形码集合;
    其中,所述多个目标图形码满足以下至少一项:
    使用时间相邻的两个所述目标图形码的使用时差小于或等于预设时差;
    所述多个目标图形码在预设时长内具有相同的使用特征;所述使用特征包括所述使用地点、所述使用时间、使用顺序中的至少一项;
    所述多个目标图形码具有相同的所述使用特征的次数大于或等于预设次数。
  10. 根据权利要求6所述的装置,其中,所述装置还包括:
    确定模块,用于确定所述第二图形码的获取条件被触发;所述获取条件包括以下至少一项:
    接收用户对所述第二图形码的获取请求;
    监测到所述第一图形码已被使用;
    当前环境信息与所述第二图形码的特征信息相匹配;所述当前环境信息包括当前时间、当前地理位置信息、当前所处环境类型中的至少一项;所述特征信息包括图形码类型、图形码来源、使用地点、使用时间中的至少一项。
  11. 一种电子设备,其中,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的图形码的显示方法的步骤。
  12. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的图形码的显示方法的步骤。
  13. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5任一项所述的图形码的显示方法的步骤。
  14. 一种图形码的显示设备,包括所述设备被配置成用于执行如权利要求1-5任一项所述的图形码的显示方法的步骤。
  15. 一种计算机软件产品,所述软件产品被存储在非易失的存储介质中,所述软件产品被至少一个处理器执行以实现如权利要求1-5任一项所述的图形码的显示方法的步骤。
PCT/CN2022/121624 2021-09-30 2022-09-27 图形码的显示方法及装置 WO2023051508A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111166155.9 2021-09-30
CN202111166155.9A CN113835820A (zh) 2021-09-30 2021-09-30 图形码的显示方法及装置

Publications (1)

Publication Number Publication Date
WO2023051508A1 true WO2023051508A1 (zh) 2023-04-06

Family

ID=78967989

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/121624 WO2023051508A1 (zh) 2021-09-30 2022-09-27 图形码的显示方法及装置

Country Status (2)

Country Link
CN (1) CN113835820A (zh)
WO (1) WO2023051508A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835820A (zh) * 2021-09-30 2021-12-24 维沃移动通信有限公司 图形码的显示方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013186826A (ja) * 2012-03-09 2013-09-19 Oki Software Co Ltd 情報コード作成装置、情報コード読み取り装置及び情報コード
CN106453846A (zh) * 2016-09-14 2017-02-22 北京小米移动软件有限公司 二维码名片的显示方法及装置
US20170316626A1 (en) * 2016-04-27 2017-11-02 Cubic Corporation 4d barcode
CN111309275A (zh) * 2020-02-24 2020-06-19 Oppo广东移动通信有限公司 图形码显示方法、装置、终端及存储介质
CN111815319A (zh) * 2020-06-22 2020-10-23 维沃移动通信有限公司 图形码处理方法及电子设备
CN113835820A (zh) * 2021-09-30 2021-12-24 维沃移动通信有限公司 图形码的显示方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766345A (zh) * 2016-08-15 2018-03-06 北京搜狗科技发展有限公司 一种数据处理方法、装置和移动终端
CN111881703A (zh) * 2020-07-30 2020-11-03 维沃移动通信(杭州)有限公司 图形码识别方法、装置和电子设备
CN112181567A (zh) * 2020-09-27 2021-01-05 维沃移动通信有限公司 界面显示方法、装置及电子设备
CN112183149B (zh) * 2020-09-29 2023-01-31 维沃移动通信(杭州)有限公司 图形码处理方法及装置
CN113298212B (zh) * 2021-05-25 2024-08-23 艾酷软件技术(上海)有限公司 图形码显示方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013186826A (ja) * 2012-03-09 2013-09-19 Oki Software Co Ltd 情報コード作成装置、情報コード読み取り装置及び情報コード
US20170316626A1 (en) * 2016-04-27 2017-11-02 Cubic Corporation 4d barcode
CN106453846A (zh) * 2016-09-14 2017-02-22 北京小米移动软件有限公司 二维码名片的显示方法及装置
CN111309275A (zh) * 2020-02-24 2020-06-19 Oppo广东移动通信有限公司 图形码显示方法、装置、终端及存储介质
CN111815319A (zh) * 2020-06-22 2020-10-23 维沃移动通信有限公司 图形码处理方法及电子设备
CN113835820A (zh) * 2021-09-30 2021-12-24 维沃移动通信有限公司 图形码的显示方法及装置

Also Published As

Publication number Publication date
CN113835820A (zh) 2021-12-24

Similar Documents

Publication Publication Date Title
WO2020156199A1 (zh) 应用登录方法、装置、终端及存储介质
CN108475304B (zh) 一种关联应用程序和生物特征的方法、装置以及移动终端
CN108334755A (zh) 隐私空间创建方法和装置、存储介质、电子设备
CN111144953B (zh) 一种资源分配方法、装置、设备及介质
CN111866270A (zh) 应用程序控制方法、装置和电子设备
TW201426593A (zh) 資訊校驗的方法及裝置
CN114726947B (zh) 消息展示方法、装置、用户终端及可读存储介质
CN109219003B (zh) 信息加密方法、装置、存储介质及电子设备
CN112462990A (zh) 图像发送方法、装置及电子设备
WO2023024970A1 (zh) 信息处理方法、相关设备及可读存储介质
WO2023051508A1 (zh) 图形码的显示方法及装置
CN112235412B (zh) 消息处理方法和装置
WO2023186011A1 (zh) 图像显示方法、装置及电子设备
WO2023134599A1 (zh) 语音信息发送方法、装置及电子设备
WO2023143380A1 (zh) 输入方法、装置、电子设备及可读存储介质
WO2022253132A1 (zh) 信息显示方法、装置和电子设备
CN115718581A (zh) 信息显示方法、装置、电子设备和存储介质
CN113946456A (zh) 信息分享方法和信息分享装置
CN113093941A (zh) 操作方法、移动终端及存储介质
CN113300944A (zh) 好友添加方法和装置、电子设备
CN111600847A (zh) 信息处理方法及电子设备
CN110751487A (zh) 支付方法、支付校验方法及电子设备
CN113115287B (zh) 数据传输方法及装置
CN113986075B (zh) 信息显示方法及装置、验证方法及装置和电子设备
CN110505339B (zh) 消息加密方法、装置、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22874893

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE