Barcode display method, device and system

By identifying and storing barcodes on the mobile phone screen and displaying barcodes on the screen when specific conditions are met, the problem of inconvenient finding of appointment barcodes during use is solved, and the user experience is improved, and it is especially suitable for scenarios such as medical appointments for the elderly.

CN119865549APending Publication Date: 2025-04-22GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411940787.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

When placing numbers on your mobile phone, it is inconvenient to find the problem that the barcode (QR code or barcode) you make when using, especially when the elderly use medical appointments, the WeChat mini program may be hidden, making it difficult for users to find the mini program.

Method used

A barcode display method is provided by identifying whether the current screen content is a barcode when the first preset condition is triggered, and storing it in a preset storage location when the barcode is recognized. When the second preset condition is triggered, the barcode is displayed on the screen. The method includes obtaining the target parameters and the target parameters of the barcode in real time, calculating the similarity, triggering the second preset condition when the similarity is greater than the threshold, and directly displaying the barcode on the screen.

Benefits of technology

There is no need to go to the order list or order details to view it. You can directly display the barcode on the screen. The steps are simple and the user experience is greatly improved. It is especially suitable for scenarios such as medical appointments for the elderly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865549A_ABST
    Figure CN119865549A_ABST
Patent Text Reader

Abstract

The invention relates to a bar code display method, device and system, and relates to the technical field of bar code display. When the first preset condition is triggered, whether the current screen content is the bar code or not is recognized, if yes, the bar code is stored in the preset storage position, and therefore when the second preset condition is triggered, the bar code can be displayed on the screen. In this way, when the bar code is obtained during appointment of the APP or the applet, after the second preset condition is triggered, the bar code can be directly displayed on the screen without going to an order list or order details to check, the steps are simple, manual operation is not needed, and the user experience is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of barcode display technology, and in particular to a barcode display method, device and system. Background Art

[0002] When queuing up for a number on your mobile phone, ordering meals online, booking various tickets, and making hospital appointments through the APP, a barcode (QR code or barcode) for verification will be generated in advance. Especially for tickets booked a few days in advance, when the user arrives at the target venue to check the machine, the user may have forgotten which platform they bought the ticket on. Taking train tickets as an example, they can be purchased through 12306, Meituan, Alipay, and WeChat. To find the purchase record, you need to reopen the phone, find the APP (or mini program) used to make the appointment, and then retrieve the order list and order details to find the QR code. This is an extremely cumbersome and worrying search experience, especially for the elderly who use medical appointments. The WeChat mini program will be hidden and they cannot find the mini program at all. Summary of the invention

[0003] The present invention provides a barcode display method, device and system, which are used to solve the problem that the existing reserved barcode is inconvenient to find when in use.

[0004] The present invention provides a barcode display method, comprising:

[0005] When the first preset condition is triggered, identifying whether the current screen content is a barcode, wherein the barcode includes a QR code and a barcode;

[0006] When the current screen content is identified as a barcode, storing the barcode in a preset storage location;

[0007] When the second preset condition is triggered, the barcode is displayed on the screen.

[0008] In one embodiment, it further comprises:

[0009] Acquire real-time target parameters and acquire barcode target parameters, wherein the barcode target parameters are target parameters acquired from the barcode when the barcode is used;

[0010] Calculating the similarity between any real-time target parameter and the target parameter corresponding to the barcode;

[0011] When the similarity is greater than the corresponding threshold, a second preset condition is triggered.

[0012] In one embodiment, it further comprises:

[0013] Obtain a target application corresponding to the barcode, wherein the target application includes a mini-program or an APP;

[0014] When it is detected that the target application is opened, a second preset condition is triggered.

[0015] In one embodiment, when the second preset condition is triggered, displaying the barcode on the screen includes:

[0016] When the second preset condition is triggered, the barcode is directly displayed on the screen.

[0017] In one embodiment, when the second preset condition is triggered, displaying the barcode on the screen includes:

[0018] When the second preset condition is triggered, a prompt is displayed at a preset screen position, and the prompt is used for the user to issue a confirmation command to confirm the display of the barcode after clicking;

[0019] In response to the confirmation command, the barcode is displayed on the screen.

[0020] In one embodiment, it further comprises:

[0021] Obtaining the usage time of the barcode;

[0022] Determine whether the barcode has timed out based on the current time and the usage time;

[0023] If the barcode times out, the barcode stored in the preset storage location is cleared.

[0024] In one embodiment, it further comprises:

[0025] If the usage time of the barcode cannot be obtained, then the storage time of the barcode stored in the preset storage location is recorded;

[0026] When the storage time is greater than or equal to the preset storage time, the barcode stored in the preset storage location is cleared.

[0027] The present invention also provides a barcode display device, comprising:

[0028] A screen content recognition module, used to identify whether the current screen content is a barcode when the first preset condition is triggered, wherein the barcode includes a QR code and a barcode;

[0029] A screen content storage module, for storing the barcode in a preset storage location when the current screen content is identified as a barcode;

[0030] The screen barcode display module is used to display the barcode on the screen when the second preset condition is triggered.

[0031] The present invention also provides a barcode display system, comprising:

[0032] at least one processor and at least one memory;

[0033] The memory stores executable instructions of the processor;

[0034] The processor is configured to execute the above-mentioned barcode display method.

[0035] The present invention also provides a terminal device, applying the above barcode display method.

[0036] Compared with the prior art, the advantage of the present invention is that it provides a barcode display method, device and system. When the first preset condition is triggered, it is identified whether the current screen content is a barcode. If it is a barcode, the barcode is stored in a preset storage location, so that when the second preset condition is triggered, the barcode can be displayed on the screen. In this way, when the barcode obtained when making an appointment in the APP or mini program is triggered, the barcode can be directly displayed on the screen after the second preset condition is triggered, without going to the order list or order details to view, the steps are simple, no manual operation is required, and the user experience is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Hereinafter, the present invention will be described in more detail based on embodiments and with reference to the accompanying drawings.

[0038] Figure 1 is a flow chart of a barcode display method provided in an embodiment of the present invention;

[0039] Figure 2 is a specific barcode display method flow chart provided in an embodiment of the present invention;

[0040] Figure 3 is a schematic structural diagram of a barcode display device provided in an embodiment of the present invention;

[0041] Figure 4 is a structural schematic diagram of a barcode display system provided in an embodiment of the present invention; DETAILED DESCRIPTION

[0042] 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 drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0043] The serial numbers of the following embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0044] In the following embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0045] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0046] Embodiment 1

[0047] like Figure 1 As shown, the present application provides a barcode display method, comprising:

[0048] S11: When the first preset condition is triggered, identifying whether the current screen content is a barcode, wherein the barcode includes a QR code and a barcode.

[0049] In one embodiment, when the screenshot function is triggered, the first preset condition is triggered.

[0050] That is, in actual use, users generally take screenshots of the reserved barcodes, so when the screenshot function is triggered, it is determined that the first preset condition is triggered. When the first preset condition is triggered, it is necessary to identify whether the current screen content is a QR code or a barcode because when users take screenshots, they do not necessarily take screenshots of QR codes or barcodes, so further identification is required before the next operation can be performed.

[0051] In another embodiment, the user can manually click on a preset function to trigger the first preset condition. For example, the function of automatically displaying an appointment QR code or barcode in the present application is automatic display of an appointment barcode. This function is provided in the settings or other programs of terminal devices such as mobile phones or tablets. When the user chooses to turn on this function, the screen of the terminal device will be monitored in real time, and then it will be identified whether the current screen content is a QR code or barcode.

[0052] It is understandable that the user needs to manually choose to turn on this function because, after turning it on, the screen of the terminal device will be monitored in real time, which requires processing a large amount of data on the one hand, and on the other hand, real-time monitoring of the screen of the terminal device may expose the risk of leaking user privacy. Therefore, the user needs to manually choose to turn on this function.

[0053] However, it is understandable that if the large amount of data processing and the risk of privacy leakage are not taken into consideration, or if there is a solution that can avoid the privacy leakage of content other than QR codes or bar codes, the screen of the terminal device can be monitored in real time directly after the device terminal is turned on, that is, after the device terminal is turned on, the first preset condition is triggered.

[0054] Among them, as a preferred implementation method of the present application, the function of identifying whether the current screen content is a barcode can call an existing image recognition system or module. For example, after long pressing a picture in the existing mobile phone WeChat, if there is a QR code in the picture, a prompt can be displayed to identify the QR code in the picture (the same applies to the barcode), or there is an image recognition and classification system in applications such as Baidu and Taobao, which can accurately identify the classification of objects in the picture.

[0055] Of course, as an optional implementation method of the present application, a barcode recognition model can also be pre-trained, and the barcode recognition model can be used to identify whether the current screen content has a QR code or a barcode. It is understandable that in order to reduce the training cost, when training the barcode recognition model, it can only be trained to be able to identify whether it is a QR code or a barcode, that is, it has only two outputs, one is that the current screen content has a QR code or a barcode, and the other is that the current screen content does not have a QR code or a barcode; it does not need to be trained to recognize the category of other objects other than the barcode of the current screen content, nor does it need to specifically distinguish whether the barcode is a QR code or a barcode.

[0056] S12: When the current screen content is identified as a barcode, the barcode is stored in a preset storage location.

[0057] As an optional implementation method of the embodiment of the present application, when the current screen content is identified as a barcode, the entire current screen content can be stored in a preset storage location. The advantage is that it is simple and convenient without the need for additional operations. The disadvantage is that the entire screen content may leak privacy information.

[0058] Therefore, as another optional implementation method of the embodiment of the present application, when the current screen content is identified as a barcode, the target area of ​​the barcode on the entire screen is determined, and the target area is stored in a preset storage location. Since the target area only includes a QR code or a barcode, private information will not be leaked, but the disadvantage is that further processing is required.

[0059] In addition, in one embodiment, the barcode is stored in a preset storage location:

[0060] Store the barcode in the gallery. However, this will occupy the gallery's memory or affect the user's daily use.

[0061] Therefore, in another embodiment, the barcode is stored in a preset storage location as:

[0062] Store the barcode in a preset designated storage location, which will not occupy the library's memory and affect the user's daily use.

[0063] In addition, it is understandable that when it is recognized that the current screen content is not a barcode, no subsequent operation is performed.

[0064] S13: When the second preset condition is triggered, the barcode is displayed on the screen.

[0065] As a preferred implementation method of the embodiment of the present application, it also includes:

[0066] Obtain a target application corresponding to the barcode, wherein the target application includes a mini-program or an APP;

[0067] When it is detected that the target application is opened, a second preset condition is triggered.

[0068] That is, when the barcode is stored in the preset storage location, the barcode is also obtained in the mini program or APP, so that when the user opens the target application again, it is most likely to obtain the QR code or barcode for the appointment. Therefore, at this time, the QR code or barcode previously stored in the preset location can be displayed on the screen, without going to the order list or order details page to view.

[0069] However, this solution requires the user to open the target application again, and in actual use, the user may forget in which application the reservation was made. Therefore, as another preferred implementation method of the embodiment of the present application, the real-time target parameters and the target parameters of the barcode are obtained, and the target parameters of the barcode are the target parameters obtained from the barcode when the barcode is used;

[0070] Calculate the similarity between any real-time target parameter and the corresponding target parameter of the barcode;

[0071] When the similarity is greater than the corresponding threshold, a second preset condition is triggered.

[0072] Wherein, preferably, the target parameter includes at least one of the following:

[0073] Name of the place;

[0074] address;

[0075] time.

[0076] That is, after the barcode is stored in the preset storage location, the target parameters of the barcode are extracted from the barcode, that is, the place name, address and usage time of the barcode are obtained; then the terminal device obtains its own location and current time in real time. When its own location is the same as the address and / or place name extracted from the barcode, or the current time is the same as the usage time extracted from the barcode, the second preset condition is triggered.

[0077] It is understandable that the thresholds of the similarities of the target parameters may be the same or different, and are set according to actual needs.

[0078] This embodiment does not require the user to open the target application, and the second preset condition can be triggered only according to the location and time, thereby reducing the user's operating difficulty and improving the user experience.

[0079] In one embodiment, when the second preset condition is triggered, displaying the barcode on the screen includes:

[0080] When the second preset condition is triggered, the barcode is directly displayed on the screen.

[0081] That is, when the second preset condition is triggered, the barcode is directly displayed on the terminal device, but in actual use, it may affect the user's current use. For example, when the user is typing some text, the barcode suddenly appears, which may cancel the input text and affect the user's normal use. In addition, it may pop up suddenly multiple times, such as when the target application is accidentally opened or the position corresponding to the barcode is passed, it will pop up directly.

[0082] Therefore, in another embodiment, when the second preset condition is triggered, displaying the barcode on the screen includes:

[0083] When the second preset condition is triggered, a preset prompt is displayed at a preset screen position, and the preset prompt is used to respond to a confirmation instruction for confirming the display of the barcode when the user clicks on it;

[0084] In response to the confirmation instruction, the barcode is displayed on the screen.

[0085] That is, in this embodiment, when the second preset condition is triggered, a preset prompt will pop up at the top or side first, and when the user sees the prompt, if the prompt is clicked, the barcode will be displayed, and if the prompt is not clicked, the barcode will not be displayed. This can remind the user without affecting the user's normal use.

[0086] In addition, in order to avoid too many barcodes in the preset storage location, which would take up too much memory, they need to be cleaned up in time.

[0087] As an optional implementation of this application, it also includes:

[0088] Obtaining the usage time of the barcode;

[0089] Determine whether the barcode has timed out based on the current time and the usage time;

[0090] If the barcode times out, the barcode stored in the preset storage location is cleared.

[0091] That is, when the usage time can be identified from the barcode, it can be determined whether it has timed out based on the current time. If it has timed out, it will be automatically cleaned up, and if it has not timed out, it will continue to be saved.

[0092] In some embodiments, the usage time may not be extracted from the barcode. Therefore, as another optional implementation of the present application, if the usage time of the barcode cannot be obtained, the storage time of the barcode stored in the preset storage location is recorded;

[0093] When the storage time is greater than or equal to the preset storage time, the barcode stored in the preset storage location is cleared.

[0094] The barcode display method provided in the embodiment of the present application identifies whether the current screen content is a barcode when the first preset condition is triggered. If it is a barcode, the barcode is stored in a preset storage location, so that the barcode can be displayed on the screen when the second preset condition is triggered. In this way, when the barcode obtained when making an appointment in the APP or mini program is triggered, the barcode can be directly displayed on the screen after the second preset condition is triggered, without going to the order list or order details to view. The steps are simple and no manual operation is required, which greatly improves the user experience.

[0095] Embodiment 2

[0096] like Figure 2 As shown, the present application provides a specific barcode display method, comprising the following steps:

[0097] When the s101 user uses the application, if a QR code (barcode) image is generated, the user only needs to trigger the screenshot function to start the application.

[0098] When the screenshot function s102 is triggered, the image recognition system of the application is started, the QR code (barcode) is distinguished by the image recognition algorithm, and then goes to s103. If the recognition fails, it is treated as a general screenshot operation and waits for the next touch of the screen.

[0099] S103 will automatically save the identified screenshots to another location, which is different from general pictures saved to the gallery, does not occupy gallery space and does not affect the user's daily use, and sends the pictures to S104;

[0100] [s104] The background performs big data analysis and image recognition processing, performs deep recognition content matching with historical big data, completes the extraction of specific information such as the place, time, address, and location of the image, and returns the information results to s103.

[0101] The following matching data scheme

[0102] 1). Name matching, define name matching function M name (q name ,dname )

[0103]

[0104] .q name The place name extracted from the QR code;

[0105] .d name The name of the place in the database;

[0106] .Similarity: You can use fuzzy matching algorithms (such as Levenshtein distance) to calculate the similarity between two names, with a value range of [10,100].

[0107] .t name The matching similarity threshold, such as t name >85%

[0108] 2). Address pairing, define address matching function M address (q address, d address )

[0109]

[0110] .q address, The address extracted from the QR code,

[0111] .d address Address and location information in the database

[0112] 3). Time matching, define the time matching function M time (q time, d time )

[0113]

[0114] .q time Time extracted from the QR code

[0115] .d time Time in the database

[0116] .Δt max Allowable time error, such as Δt max =30 minutes

[0117] 4). Based on the above conditions, if the match is successful, the underground coordinates and time in the database will be returned and the planning function will be started. Otherwise, the match fails.

[0118] After s103 confirms the information that the screenshot image pairing is complete, jump to s105 to start the background service and wait for the information to be confirmed. If it is successful, the planned task will be started.

[0119] The following is a formulaic description of the judgment:

[0120] Defining variables

[0121] I: Input image

[0122] D(I): A function that detects whether an image contains a QR code or barcode. If it does, it returns 1; otherwise, it returns 0.

[0123] T(I): Text information extracted from the image by OCR, including address and time.

[0124] A(T): Address information extracted from text information.

[0125] ·t(T): time information extracted from text information.

[0126] DB: Database, contains multiple records, each record contains location address, coordinates and time.

[0127] Match(A, t, DB): Matching function, used to find coordinates matching address A and time t in the database. If the match is successful, it returns coordinate C; if there is no match, it returns None.

[0128] P(C, t): A function that starts a new plan. It inputs coordinates C and time t to trigger the corresponding display.

[0129] Mathematical formula flow

[0130] Detect QR code or barcode:

[0131] Convert (I) to a grayscale image:

[0132] I′=GrayScale(I)

[0133] Check QR code or barcode with detector:

[0134] Detection through barcode detection library and QR code detection library (such as QR code, code 128)

[0135]

[0136] Conditional judgment: if a QR code or barcode is detected in the image (I), define: D(I) = 1 otherwise: D(I) = 0

[0137] 2. Image extraction address and time:

[0138] When D(I)=1, the text T is extracted from the image I, and the address A(T) and time (T) are obtained therefrom.

[0139] 3. Matching database:

[0140] Use the match function to find coordinates in the database:

[0141] C = Match(A(T), t(T), DB)

[0142] 4. Start a new plan:

[0143] If the match succeeds (i.e. C≠None}), a new plan is started:

[0144] P(C, t(T))={QR / (L, C)≤Rt=t(T)

[0145] in:

[0146] P: Start-up plan

[0147] L: Current coordinates, obtained by mobile phone in real time

[0148] R: Maximum trigger radius, such as 10 meters or 50 meters

[0149] t: current time, obtained by mobile phone in real time

[0150] t(T): matching time, image recognition time

[0151] The complete process expressed in formula is as follows:

[0152] D(I)=1, T=OCR(I)→(A(T),t(T))

[0153] C = Match(A(T), t(T), DB)

[0154] C≠None, P(C, t(T))

[0155] This formula describes the complete process from detection to triggering a new plan. Starting a new plan means starting the positioning service and clock service. Positioning checks include GPS, base stations, WiFi, UWB and other positioning detections.

[0156] s106 has started the mission plan and is waiting for the approach time, positioning and other information to make a judgment. When approaching the target area [there is a formula for starting a new plan in 4 above], the system completes the loading action in advance. If the confirmation is successful, go to step s107.

[0157] s107 automatically pops up a prompt window. The prompt window content is displayed when the phone screen is black, locked, or in third-party full screen. If the user needs to use a QR code (barcode), click the prompt window to jump to s108.

[0158] s108 pop-up window displays the previously captured content page information, and the user scans the code to complete it.

[0159] s109 For confirmed screenshots, if the specific activity usage time is identified, the system will automatically clean up the timed screenshots within a certain period of time. If not identified, all will be cleaned up within a certain period of time to reduce the space occupied by the images and user operations.

[0160] The specific barcode display method provided in the embodiment of the present application is inventive in that it automatically identifies the screenshot interface information, captures the location, time, and address information of the QR code (barcode), and automatically triggers a pop-up window prompt when the key time and location information are close. It reduces the time spent on reopening the application to search, and the priority process is extremely simple.

[0161] Embodiment 3

[0162] like Figure 3 As shown, the present application also provides a barcode display device 30, comprising:

[0163] The screen content recognition module 31 is used to recognize whether the current screen content is a barcode when the first preset condition is triggered. The barcode includes a QR code and a barcode.

[0164] In one embodiment, when the screenshot function is triggered, the first preset condition is triggered.

[0165] That is, in actual use, users generally take screenshots of the reserved barcodes, so when the screenshot function is triggered, it is determined that the first preset condition is triggered. When the first preset condition is triggered, it is necessary to identify whether the current screen content is a QR code or a barcode because when users take screenshots, they do not necessarily take screenshots of QR codes or barcodes, so further identification is required before the next operation can be performed.

[0166] In another embodiment, the user can manually click on a preset function to trigger the first preset condition. For example, the function of automatically displaying an appointment QR code or barcode in the present application is automatic display of an appointment barcode. This function is provided in the settings or other programs of terminal devices such as mobile phones or tablets. When the user chooses to turn on this function, the screen of the terminal device will be monitored in real time, and then it will be identified whether the current screen content is a QR code or barcode.

[0167] It is understandable that the user needs to manually choose to turn on this function because, after turning it on, the screen of the terminal device will be monitored in real time, which requires processing a large amount of data on the one hand, and on the other hand, real-time monitoring of the screen of the terminal device may expose the risk of leaking user privacy. Therefore, the user needs to manually choose to turn on this function.

[0168] However, it is understandable that if the large amount of data processing and the risk of privacy leakage are not taken into consideration, or if there is a solution that can avoid the privacy leakage of content other than QR codes or bar codes, the screen of the terminal device can be monitored in real time directly after the device terminal is turned on, that is, after the device terminal is turned on, the first preset condition is triggered.

[0169] Among them, as a preferred implementation method of the present application, the function of identifying whether the current screen content is a barcode can call an existing image recognition system or module. For example, after long pressing a picture in the existing mobile phone WeChat, if there is a QR code in the picture, a prompt can be displayed to identify the QR code in the picture (the same applies to the barcode), or there is an image recognition and classification system in applications such as Baidu and Taobao, which can accurately identify the classification of objects in the picture.

[0170] Of course, as an optional implementation method of the present application, a barcode recognition model can also be pre-trained, and the barcode recognition model can be used to identify whether the current screen content has a QR code or a barcode. It is understandable that in order to reduce the training cost, when training the barcode recognition model, it can only be trained to be able to identify whether it is a QR code or a barcode, that is, it has only two outputs, one is that the current screen content has a QR code or a barcode, and the other is that the current screen content does not have a QR code or a barcode; it does not need to be trained to recognize the category of other objects other than the barcode of the current screen content, nor does it need to specifically distinguish whether the barcode is a QR code or a barcode.

[0171] The screen content storage module 32 is used to store the barcode in a preset storage location when the current screen content is identified as a barcode.

[0172] As an optional implementation method of the embodiment of the present application, when the current screen content is identified as a barcode, the entire current screen content can be stored in a preset storage location. The advantage is that it is simple and convenient without the need for additional operations. The disadvantage is that the entire screen content may leak privacy information.

[0173] Therefore, as another optional implementation method of the embodiment of the present application, when the current screen content is identified as a barcode, the target area of ​​the barcode on the entire screen is determined, and the target area is stored in a preset storage location. Since the target area only includes a QR code or a barcode, private information will not be leaked, but the disadvantage is that further processing is required.

[0174] In addition, in one embodiment, the barcode is stored in a preset storage location:

[0175] Store the barcode in the gallery. However, this will occupy the gallery's memory or affect the user's daily use.

[0176] Therefore, in another embodiment, the barcode is stored in a preset storage location as:

[0177] Store the barcode in a preset designated storage location, which will not occupy the library's memory and affect the user's daily use.

[0178] In addition, it is understandable that when it is recognized that the current screen content is not a barcode, no subsequent operation is performed.

[0179] The screen barcode display module 33 is used to display the barcode on the screen when the second preset condition is triggered.

[0180] As a preferred implementation method of the embodiment of the present application, it also includes:

[0181] Obtain a target application corresponding to the barcode, wherein the target application includes a mini-program or an APP;

[0182] When it is detected that the target application is opened, a second preset condition is triggered.

[0183] That is, when the barcode is stored in the preset storage location, the barcode is also obtained in the mini program or APP, so that when the user opens the target application again, it is most likely to obtain the QR code or barcode for the appointment. Therefore, at this time, the QR code or barcode previously stored in the preset location can be displayed on the screen, without going to the order list or order details page to view.

[0184] However, this solution requires the user to open the target application again, and in actual use, the user may forget in which application the reservation was made. Therefore, as another preferred implementation method of the embodiment of the present application, the real-time target parameters and the target parameters of the barcode are obtained, and the target parameters of the barcode are the target parameters obtained from the barcode when the barcode is used;

[0185] Calculate the similarity between any real-time target parameter and the corresponding target parameter of the barcode;

[0186] When the similarity is greater than the corresponding threshold, a second preset condition is triggered.

[0187] Wherein, preferably, the target parameter includes at least one of the following:

[0188] Name of the place;

[0189] address;

[0190] time.

[0191] That is, after the barcode is stored in the preset storage location, the target parameters of the barcode are extracted from the barcode, that is, the place name, address and usage time of the barcode are obtained; then the terminal device obtains its own location and current time in real time. When its own location is the same as the address and / or place name extracted from the barcode, or the current time is the same as the usage time extracted from the barcode, the second preset condition is triggered.

[0192] It is understandable that the thresholds of the similarities of the target parameters may be the same or different, and are set according to actual needs.

[0193] This embodiment does not require the user to open the target application, and the second preset condition can be triggered only according to the location and time, thereby reducing the user's operating difficulty and improving the user experience.

[0194] In one embodiment, when the second preset condition is triggered, displaying the barcode on the screen includes:

[0195] When the second preset condition is triggered, the barcode is directly displayed on the screen.

[0196] That is, when the second preset condition is triggered, the barcode is directly displayed on the terminal device, but in actual use, it may affect the user's current use. For example, when the user is typing some text, the barcode suddenly appears, which may cancel the input text and affect the user's normal use. In addition, it may pop up suddenly multiple times, such as when the target application is accidentally opened or the position corresponding to the barcode is passed, it will pop up directly.

[0197] Therefore, in another embodiment, when the second preset condition is triggered, displaying the barcode on the screen includes:

[0198] When the second preset condition is triggered, a preset prompt is displayed at a preset screen position, and the preset prompt is used to respond to a confirmation instruction for confirming the display of the barcode when the user clicks on it;

[0199] In response to the confirmation instruction, the barcode is displayed on the screen.

[0200] That is, in this embodiment, when the second preset condition is triggered, a preset prompt will pop up at the top or side first, and when the user sees the prompt, if the prompt is clicked, the barcode will be displayed, and if the prompt is not clicked, the barcode will not be displayed. This can remind the user without affecting the user's normal use.

[0201] In addition, in order to avoid too many barcodes in the preset storage location, which would take up too much memory, they need to be cleaned up in time.

[0202] As an optional implementation of this application, it also includes:

[0203] Obtaining the usage time of the barcode;

[0204] Determine whether the barcode has timed out based on the current time and the usage time;

[0205] If the barcode times out, the barcode stored in the preset storage location is cleared.

[0206] That is, when the usage time can be identified from the barcode, it can be determined whether it has timed out based on the current time. If it has timed out, it will be automatically cleaned up, and if it has not timed out, it will continue to be saved.

[0207] In some embodiments, the usage time may not be extracted from the barcode. Therefore, as another optional implementation of the present application, if the usage time of the barcode cannot be obtained, the storage time of the barcode stored in the preset storage location is recorded;

[0208] When the storage time is greater than or equal to the preset storage time, the barcode stored in the preset storage location is cleared.

[0209] The barcode display device provided in the embodiment of the present application identifies whether the current screen content is a barcode when the first preset condition is triggered. If it is a barcode, the barcode is stored in a preset storage location, so that the barcode can be displayed on the screen when the second preset condition is triggered. In this way, when the barcode obtained when making an appointment in the APP or mini program is triggered, the barcode can be directly displayed on the screen after the second preset condition is triggered, without going to the order list or order details to view, the steps are simple, no manual operation is required, and the user experience is greatly improved.

[0210] Embodiment 4

[0211] like Figure 4 As shown, the present application also provides a barcode display system 40, including:

[0212] at least one processor 41 and at least one memory 42;

[0213] The memory stores executable instructions of the processor;

[0214] The processor is configured to execute the barcode display method provided in the above embodiment.

[0215] The barcode display system provided by the embodiment of the present application stores the executable instructions of the processor in the memory. When the executable instructions are executed, the processor can identify whether the current screen content is a barcode when the first preset condition is triggered. If it is a barcode, the barcode is stored in the preset storage location, so that when the second preset condition is triggered, the barcode can be displayed on the screen. In this way, when the barcode obtained when making an appointment in the APP or mini program is triggered, the barcode can be directly displayed on the screen after the second preset condition is triggered, without going to the order list or order details to view, the steps are simple, and no manual operation is required, which greatly improves the user experience.

[0216] Embodiment 5

[0217] The present invention also provides a terminal device, applying the barcode display method provided in the embodiment.

[0218] The terminal device provided in the embodiment of the present application can, by applying the barcode display method provided in the embodiment, identify whether the current screen content is a barcode when the first preset condition is triggered, and if it is a barcode, store the barcode in a preset storage location, so that when the second preset condition is triggered, the barcode can be displayed on the screen. In this way, when the barcode obtained when making an appointment in the APP or mini program is triggered, the barcode can be directly displayed on the screen after the second preset condition is triggered, without going to the order list or order details to view, the steps are simple, no manual operation is required, and the user experience is greatly improved.

[0219] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0220] It should be noted that, in the description of this application, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0221] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0222] Although the present invention has been described with reference to preferred embodiments, various modifications may be made thereto and parts thereof may be replaced by equivalents without departing from the scope of the present invention. In particular, the various technical features mentioned in the various embodiments may be combined in any manner as long as there are no structural conflicts. The present invention is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.

Claims

1. A barcode display method, characterized in that: include: When the first preset condition is triggered, identifying whether the current screen content is a barcode, wherein the barcode includes a QR code and a barcode; When the current screen content is identified as a barcode, storing the barcode in a preset storage location; When the second preset condition is triggered, the barcode is displayed on the screen.

2. The barcode display method according to claim 1, characterized in that: Also includes: When the screenshot function is triggered, the first preset condition is triggered.

3. The barcode display method according to claim 1, characterized in that: Also includes: Acquire real-time target parameters and acquire barcode target parameters, wherein the barcode target parameters are target parameters acquired from the barcode when the barcode is used; Calculate the similarity between any real-time target parameter and the corresponding target parameter of the barcode; When the similarity is greater than the corresponding threshold, a second preset condition is triggered.

4. The barcode display method according to claim 1, characterized in that: Also includes: Obtain a target application corresponding to the barcode, wherein the target application includes a mini-program or an APP; When it is detected that the target application is opened, a second preset condition is triggered.

5. The barcode display method according to claim 1, characterized in that: When the second preset condition is triggered, displaying the barcode on the screen includes: When the second preset condition is triggered, the barcode is directly displayed on the screen.

6. The barcode display method according to claim 1, characterized in that: When the second preset condition is triggered, displaying the barcode on the screen includes: When the second preset condition is triggered, a preset prompt is displayed at a preset screen position, and the preset prompt is used to respond to a confirmation instruction for confirming the display of the barcode when the user clicks on it; In response to the confirmation instruction, the barcode is displayed on the screen.

7. The barcode display method according to claim 1, characterized in that: Also includes: Obtaining the usage time of the barcode; Determine whether the barcode has timed out based on the current time and the usage time; If the barcode times out, the barcode stored in the preset storage location is cleared.

8. The barcode display method according to claim 1, characterized in that: Also includes: If the usage time of the barcode cannot be obtained, then the storage time of the barcode stored in the preset storage location is recorded; When the storage time is greater than or equal to the preset storage time, the barcode stored in the preset storage location is cleared.

9. A barcode display device, characterized in that: include: A screen content recognition module, used to identify whether the current screen content is a barcode when the first preset condition is triggered, wherein the barcode includes a QR code and a barcode; A screen content storage module, for storing the barcode in a preset storage location when the current screen content is identified as a barcode; The screen barcode display module is used to display the barcode on the screen when the second preset condition is triggered.

10. A barcode display system, characterized in that: include: at least one processor and at least one memory; The memory stores executable instructions of the processor; The processor is configured to execute the barcode display method according to any one of claims 1 to 8.

11. A terminal device, characterized in that: Application claims: The barcode display method described in any one of claims 1 to 8.