WO2016184318A1 - Barcode popularity display method and apparatus - Google Patents

Barcode popularity display method and apparatus Download PDF

Info

Publication number
WO2016184318A1
WO2016184318A1 PCT/CN2016/081218 CN2016081218W WO2016184318A1 WO 2016184318 A1 WO2016184318 A1 WO 2016184318A1 CN 2016081218 W CN2016081218 W CN 2016081218W WO 2016184318 A1 WO2016184318 A1 WO 2016184318A1
Authority
WO
WIPO (PCT)
Prior art keywords
barcode
access
display attribute
heat
display
Prior art date
Application number
PCT/CN2016/081218
Other languages
French (fr)
Chinese (zh)
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 WO2016184318A1 publication Critical patent/WO2016184318A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes

Definitions

  • the present application relates to the field of bar code technology, and in particular, to a method and device for displaying bar code heat.
  • Barcode is a graphical identifier for expressing a set of information by arranging black and white of different widths, sizes and shapes according to certain coding rules. Among them, according to the arrangement of bar codes, it can be divided into one-dimensional codes. , QR code, etc.
  • the present application provides a method and apparatus for displaying bar code heat to solve the deficiencies in the related art.
  • a method for displaying bar code heat including:
  • the display attribute parameter is applied to the presentation of the barcode.
  • a display device for bar code heat including:
  • the application unit applies the display attribute parameter to the display of the barcode.
  • the present application can learn the historical access status of the barcode by using the statistics of the access heat of the barcode.
  • the user can view and read the barcode information at the same time. You can visually check the accessibility and changes of the barcode to get a better visual and usage experience.
  • FIG. 1 is a flowchart of a method for displaying bar code heat according to an exemplary embodiment of the present application
  • FIG. 2 is a schematic diagram showing a scene of bar code heat according to an exemplary embodiment of the present application
  • FIG. 3 is a flowchart of another method for displaying bar code heat according to an exemplary embodiment of the present application.
  • FIG. 4 is a schematic diagram of a change in bar code heat according to an exemplary embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
  • FIG. 6 is a block diagram of a display device for bar code heat according to an exemplary embodiment of the present application.
  • FIG. 1 is a flowchart of a method for displaying bar code heat according to an exemplary embodiment of the present application. As shown in FIG. 1 , the method is applied to a server, and may include the following steps:
  • step 102 the user's access to the barcode is counted.
  • the user after the user scans the barcode through the terminal, the user can access the corresponding server by accessing the link information included in the barcode, thereby implementing the corresponding service.
  • the bar code may be in various forms such as a one-dimensional code and a two-dimensional code, and the present application does not limit this.
  • the server may acquire user information for performing an access operation each time, and determine whether the user information has been recorded. If the user information has been recorded, the current access operation is ignored, otherwise the current access operation is used for The statistics of the access heat are recorded, and the user information is recorded. Through the recording and matching of user information, it is possible to avoid repeated statistics on multiple visits of the same user, to prevent the occurrence of malicious brushing and the like, and to ensure the accuracy of the statistical access.
  • the access popularity may include at least one of the following: a historical access number, a preset time period (such as the last week, the latest month; or, any specified time period, such as January 1, 2015 to 2015 2) Average number of visits, historical access frequency, and average access frequency within a preset time period.
  • Step 104 Select a display attribute parameter corresponding to the access heat.
  • the attribute parameter is a parameter of the preset display attribute; wherein the preset display attribute can be set according to actual conditions or requirements, such as the color of the barcode, the gray value of the barcode, the background color of the barcode, and the background color. Gray value, etc., this application does not limit this.
  • Step 106 Apply the display attribute parameter to the display of the barcode.
  • the display attribute corresponding to the barcode may be configured by directly according to the selected display attribute parameter. For example, if the barcode is located in a webpage, the display attribute corresponding to the barcode may be selected from the attribute information of the webpage and reconfigured, so that the obtained barcode matches the selected display attribute parameter.
  • the corresponding barcode may be regenerated according to the selected display attribute parameter, and the regenerated barcode is the same as the original barcode, that is, the regenerated barcode contains the same information as the original barcode, but only the display attribute. There are certain differences.
  • the present application can learn the historical access status of the barcode by using the statistics of the access heat of the barcode.
  • the user can view and read the barcode information at the same time. You can visually check the accessibility and changes of the barcode to get a better visual and usage experience.
  • FIG. 2 is a schematic diagram showing a scene of bar code heat according to an exemplary embodiment of the present application.
  • a user reads a two-dimensional code (or other form of bar code) through a mobile phone (or other electronic device)
  • the server is obtained. Accessing the link address and accessing the server accordingly; and the server performs the corresponding configuration on the display attribute of the two-dimensional code by counting the access behavior of the user.
  • FIG. 3 is a flowchart of another method for displaying bar code heat according to an exemplary embodiment of the present application. As shown in FIG. 3, the method is applied to a server, and Includes the following steps:
  • Step 302 Receive an access request sent by the user through the mobile phone.
  • the user can perform image collection on the webpage or the two-dimensional code in the application page through the electronic device configured with the camera, such as a mobile phone, and read the information contained in the two-dimensional code; or, the user can also
  • the information reading operation of the two-dimensional code can also be performed by the electronic device by directly selecting the two-dimensional code to be recognized from the webpage or the application page, or downloading the image of the two-dimensional code to the local.
  • Step 304 Extract user information from the access request.
  • the user information that is, the identity ID of the user, by extracting and identifying the identity ID, can prevent multiple accesses of the same user from affecting the final statistical result, and preventing the occurrence of a situation such as malicious heat.
  • the user information may include at least one of the following: a user registration account, network environment information of the mobile phone, hardware information of the mobile phone, etc.; of course, those skilled in the art may use any other form of information as the user information herein. As long as different users can be distinguished, this application does not limit this.
  • Step 306 Determine whether the user currently initiating the access request is a historical user, and if yes, go to step 308; otherwise, go to step 310.
  • step 308 the access request initiated by the current user is ignored.
  • step 306 when step 306 is transferred to step 308, "ignore” means that the current access is not included in the statistical calculation of the access heat, and when step 314 is transferred to step 308, “ignore” "It means that the display attribute of the QR code does not need to be updated; however, the server still needs to perform a normal response to this access request without affecting the normal access requirements of the user.
  • Step 310 Update the statistics of the access heat of the two-dimensional code.
  • Step 312 Select a corresponding display attribute parameter according to the updated statistical result.
  • a plurality of different access heat intervals may be defined in advance, so that corresponding display attribute parameters are selected according to the heat interval in which the current statistical result is located; wherein different access heat intervals may correspond to different display attributes. Parameter values can also correspond to different display attributes. It is assumed that the predefined heat interval of an exemplary embodiment is as shown in Table 1 below:
  • the gray value of the two-dimensional code will become larger and larger, as shown in Figure 4: when the heat is at 0-50 times/day, the current heat of the two-dimensional code is low, and the two-dimensional code will be two-dimensional.
  • the gray value of the code is set to 0; when the heat is 51-300 times/day, the current heat of the two-dimensional code is generally set, the gray value of the two-dimensional code is set to 80; when the heat is greater than 300 times/day, the description
  • the current heat of the QR code is high, and the gray value of the two-dimensional code is set to 125.
  • changing the gray value of the two-dimensional code is only an exemplary embodiment.
  • the present application does not limit the type of the attribute, the manner of modification, and the like, such as changing the color of the two-dimensional code (for example, When the heat is low, the color is black, the heat is generally yellow, and the heat is high, and the background color of the two-dimensional code is changed (for example, white when the heat is low, yellow when the heat is normal, and red when the heat is high) Etc., etc., can be applied to the technical solution of the present application.
  • step 314 it is determined whether there is a change between the selected display attribute parameter and the current display attribute of the two-dimensional code. If there is a change, the process proceeds to step 316, otherwise, the process proceeds to step 308.
  • step 316 the display attribute of the two-dimensional code is updated.
  • the webpage may be directly modified, or after the server regenerates the new two-dimensional code, Update to the web page.
  • FIG. 5 shows a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
  • the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may of course include hardware required for other services.
  • the processor reads the corresponding computer program from the non-volatile memory into the memory and then runs to form a display device for the barcode heat on the logical level.
  • the present application does not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logical unit, and may be Hardware or logic device.
  • the bar code heat display device may include a statistics unit, a selection unit, and an application unit. among them:
  • the application unit applies the display attribute parameter to the display of the barcode.
  • the statistical unit is specifically configured to:
  • the current access operation is ignored, otherwise the current access operation is used for the statistics of the access heat, and the user information is recorded.
  • the access heat includes at least one of the following:
  • the number of historical visits, the average number of visits in the preset time period, the historical access frequency, and the average access frequency within the preset time period are the number of historical visits, the average number of visits in the preset time period, the historical access frequency, and the average access frequency within the preset time period.
  • the application unit is specifically configured to:
  • the display attribute corresponding to the barcode is configured according to the display attribute parameter.
  • the application unit is specifically configured to:
  • the display attribute parameter includes at least one of the following:
  • a color of the barcode a gray value of the barcode, a background color of the barcode, and a gray value of the background color.
  • the barcode is a two-dimensional code.
  • the computing device includes one or more processors (CPUs), input/output interfaces, and networks.
  • processors CPUs
  • input/output interfaces and networks.
  • Network interface and memory are examples of processors (CPUs), input/output interfaces, and networks.
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A barcode popularity display method and apparatus, the method comprises: counting an access popularity of users for a barcode (102); selecting display attribute parameters corresponding to the access popularity (104); and applying the display attribute parameters to displaying the barcode (106). With the method and apparatus described above, the access popularity of a barcode can be directly reflected during the process of display of the barcode, thus assisting the users in learning historical scanning of the barcode.

Description

条码热度的展示方法及装置Bar code heat display method and device
本申请要求2015年05月15日递交的申请号为201510250232.7、发明名称为“条码热度的展示方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application No. 20151025023, filed on May 15, 2015, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本申请涉及条码技术领域,尤其涉及条码热度的展示方法及装置。The present application relates to the field of bar code technology, and in particular, to a method and device for displaying bar code heat.
背景技术Background technique
条码(barcode)是通过将不同宽度、大小、形状的黑色和白色,按照一定的编码规则排列,用以表达一组信息的图形标识符;其中,根据条码的排列方式,可以分为一维码、二维码等。Barcode is a graphical identifier for expressing a set of information by arranging black and white of different widths, sizes and shapes according to certain coding rules. Among them, according to the arrangement of bar codes, it can be divided into one-dimensional codes. , QR code, etc.
随着移动终端的功能越来越强大,加之网络技术的不断发展,用户可以通过移动终端上的摄像头,轻松扫描出各类条码并读取其包含的信息。As the functions of mobile terminals become more and more powerful, and with the continuous development of network technologies, users can easily scan various bar codes and read the information they contain through the camera on the mobile terminal.
发明内容Summary of the invention
有鉴于此,本申请提供一种条码热度的展示方法及装置,以解决相关技术中的不足。In view of this, the present application provides a method and apparatus for displaying bar code heat to solve the deficiencies in the related art.
为实现上述目的,本申请提供技术方案如下:To achieve the above objective, the present application provides the following technical solutions:
根据本申请的第一方面,提出了一种条码热度的展示方法,包括:According to a first aspect of the present application, a method for displaying bar code heat is proposed, including:
统计用户对条码的访问热度;Count the user's access to the barcode;
选取所述访问热度对应的展示属性参数;Selecting an attribute of the display attribute corresponding to the access heat;
将所述展示属性参数应用于对所述条码的展示。The display attribute parameter is applied to the presentation of the barcode.
根据本申请的第二方面,提出了一种条码热度的展示装置,包括:According to a second aspect of the present application, a display device for bar code heat is provided, including:
统计单元,统计用户对条码的访问热度;A statistical unit that counts the user's access to the barcode;
选取单元,选取所述访问热度对应的展示属性参数;Selecting a unit, and selecting an attribute of the display attribute corresponding to the access heat;
应用单元,将所述展示属性参数应用于对所述条码的展示。The application unit applies the display attribute parameter to the display of the barcode.
由以上技术方案可见,本申请通过对条码的访问热度进行统计,可以了解到该条码的历史访问情况;同时,通过对条码的展示属性进行配置,使得用户在查看和读取条码信息的同时,可以直观地查看到条码的访问热度以及变化情况,从而获得更佳的视觉和使用的体验。 As can be seen from the above technical solution, the present application can learn the historical access status of the barcode by using the statistics of the access heat of the barcode. At the same time, by configuring the display attribute of the barcode, the user can view and read the barcode information at the same time. You can visually check the accessibility and changes of the barcode to get a better visual and usage experience.
附图说明DRAWINGS
图1是根据本申请一示例性实施例的一种条码热度的展示方法的流程图;FIG. 1 is a flowchart of a method for displaying bar code heat according to an exemplary embodiment of the present application; FIG.
图2是根据本申请一示例性实施例的展示条码热度的场景示意图;FIG. 2 is a schematic diagram showing a scene of bar code heat according to an exemplary embodiment of the present application; FIG.
图3是根据本申请一示例性实施例的另一种条码热度的展示方法的流程图;FIG. 3 is a flowchart of another method for displaying bar code heat according to an exemplary embodiment of the present application; FIG.
图4是根据本申请一示例性实施例的条码热度发生变化的示意图;4 is a schematic diagram of a change in bar code heat according to an exemplary embodiment of the present application;
图5是根据本申请一示例性实施例的一种电子设备的结构示意图;FIG. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application; FIG.
图6是根据本申请一示例性实施例的一种条码热度的展示装置的框图。FIG. 6 is a block diagram of a display device for bar code heat according to an exemplary embodiment of the present application.
具体实施方式detailed description
为对本申请进行进一步说明,提供下列实施例:In order to further illustrate this application, the following examples are provided:
图1是根据本申请一示例性实施例的一种条码热度的展示方法的流程图,如图1所示,该方法应用于服务器,可以包括以下步骤:FIG. 1 is a flowchart of a method for displaying bar code heat according to an exemplary embodiment of the present application. As shown in FIG. 1 , the method is applied to a server, and may include the following steps:
步骤102,统计用户对条码的访问热度。In step 102, the user's access to the barcode is counted.
在本实施例中,用户通过终端扫描条码后,可以通过访问该条码包含的链接信息访问对应的服务器,从而实现相应的服务。其中,条码可以为一维码、二维码等各种形式,本申请并不对此进行限制。In this embodiment, after the user scans the barcode through the terminal, the user can access the corresponding server by accessing the link information included in the barcode, thereby implementing the corresponding service. The bar code may be in various forms such as a one-dimensional code and a two-dimensional code, and the present application does not limit this.
在本实施例中,服务器可以获取每次执行访问操作的用户信息,并判断所述用户信息是否已被记录,若已被记录,则忽略本次访问操作,否则将本次访问操作用于对所述访问热度的统计,并对所述用户信息进行记录。通过对用户信息的记录和匹配,可以避免对同一用户的多次访问进行重复统计,防止发生恶意刷热度等行为的出现,确保统计出的访问热度的准确性。In this embodiment, the server may acquire user information for performing an access operation each time, and determine whether the user information has been recorded. If the user information has been recorded, the current access operation is ignored, otherwise the current access operation is used for The statistics of the access heat are recorded, and the user information is recorded. Through the recording and matching of user information, it is possible to avoid repeated statistics on multiple visits of the same user, to prevent the occurrence of malicious brushing and the like, and to ensure the accuracy of the statistical access.
其中,访问热度可以包括以下至少之一:历史访问次数、预设时间段(比如最近一周、最近一个月;或者,也可以为指定的任意时间段,比如2015年1月1日至2015年2月15日之间)内的平均访问次数、历史访问频率、预设时间段内的平均访问频率。The access popularity may include at least one of the following: a historical access number, a preset time period (such as the last week, the latest month; or, any specified time period, such as January 1, 2015 to 2015 2) Average number of visits, historical access frequency, and average access frequency within a preset time period.
步骤104,选取所述访问热度对应的展示属性参数。Step 104: Select a display attribute parameter corresponding to the access heat.
在本实施例中,展示属性参数即预设展示属性的参数;其中,预设展示属性可以根据实际情况或需求进行设置,比如条码的颜色、条码的灰度值、条码的背景颜色、背景颜色的灰度值等,本申请并不对此进行限制。In this embodiment, the attribute parameter is a parameter of the preset display attribute; wherein the preset display attribute can be set according to actual conditions or requirements, such as the color of the barcode, the gray value of the barcode, the background color of the barcode, and the background color. Gray value, etc., this application does not limit this.
步骤106,将所述展示属性参数应用于对所述条码的展示。 Step 106: Apply the display attribute parameter to the display of the barcode.
在本实施例中,作为一示例性实施例,可以通过直接根据选取的展示属性参数,配置条码对应的展示属性。比如条码位于某个网页中,则可以从该网页的属性信息中,选取条码对应的展示属性并重新配置,使得到的条码与选取的展示属性参数相匹配。In this embodiment, as an exemplary embodiment, the display attribute corresponding to the barcode may be configured by directly according to the selected display attribute parameter. For example, if the barcode is located in a webpage, the display attribute corresponding to the barcode may be selected from the attribute information of the webpage and reconfigured, so that the obtained barcode matches the selected display attribute parameter.
作为另一示例性实施例,可以根据选取的展示属性参数,重新生成对应的条码,且重新生成的条码与原始条码的值相同,即重新生成的条码与原始条码包含相同的信息,只是展示属性存在一定的差异。As another exemplary embodiment, the corresponding barcode may be regenerated according to the selected display attribute parameter, and the regenerated barcode is the same as the original barcode, that is, the regenerated barcode contains the same information as the original barcode, but only the display attribute. There are certain differences.
由以上技术方案可见,本申请通过对条码的访问热度进行统计,可以了解到该条码的历史访问情况;同时,通过对条码的展示属性进行配置,使得用户在查看和读取条码信息的同时,可以直观地查看到条码的访问热度以及变化情况,从而获得更佳的视觉和使用的体验。As can be seen from the above technical solution, the present application can learn the historical access status of the barcode by using the statistics of the access heat of the barcode. At the same time, by configuring the display attribute of the barcode, the user can view and read the barcode information at the same time. You can visually check the accessibility and changes of the barcode to get a better visual and usage experience.
图2是根据本申请一示例性实施例的展示条码热度的场景示意图,如图2所示,用户通过手机(或其他电子设备)读取二维码(或其他形式的条码)后,得到服务器的访问链接地址,并据此对服务器进行访问;而服务器通过对用户的访问行为进行统计,从而对二维码的展示属性进行相应配置。FIG. 2 is a schematic diagram showing a scene of bar code heat according to an exemplary embodiment of the present application. As shown in FIG. 2, after a user reads a two-dimensional code (or other form of bar code) through a mobile phone (or other electronic device), the server is obtained. Accessing the link address and accessing the server accordingly; and the server performs the corresponding configuration on the display attribute of the two-dimensional code by counting the access behavior of the user.
对应于图2所示的应用场景,图3示出了根据本申请一示例性实施例的另一种条码热度的展示方法的流程图,如图3所示,该方法应用于服务器中,可以包括以下步骤:Corresponding to the application scenario shown in FIG. 2, FIG. 3 is a flowchart of another method for displaying bar code heat according to an exemplary embodiment of the present application. As shown in FIG. 3, the method is applied to a server, and Includes the following steps:
步骤302,接收到用户通过手机发送的访问请求。Step 302: Receive an access request sent by the user through the mobile phone.
在本实施例中,用户可以通过手机等配置有摄像头的电子设备,对网页或应用程序页面中的二维码进行图像采集,并读取该二维码中包含的信息;或者,用户也可以通过从网页或应用程序页面中直接选取需要识别的二维码,或将二维码的图片下载至本地后,也可以由电子设备执行二维码的信息读取操作。In this embodiment, the user can perform image collection on the webpage or the two-dimensional code in the application page through the electronic device configured with the camera, such as a mobile phone, and read the information contained in the two-dimensional code; or, the user can also The information reading operation of the two-dimensional code can also be performed by the electronic device by directly selecting the two-dimensional code to be recognized from the webpage or the application page, or downloading the image of the two-dimensional code to the local.
步骤304,从访问请求中提取用户信息。Step 304: Extract user information from the access request.
在本实施例中,用户信息即用户的身份ID,通过对身份ID的提取和识别,可以避免同一用户的多次访问影响最终的统计结果,防止出现如恶意刷热度的情况发生。In this embodiment, the user information, that is, the identity ID of the user, by extracting and identifying the identity ID, can prevent multiple accesses of the same user from affecting the final statistical result, and preventing the occurrence of a situation such as malicious heat.
在本实施例中,用户信息可以包括以下至少之一:用户注册账号、手机的网络环境信息、手机的硬件信息等;当然,本领域技术人员可以采用其他任意形式的信息作为此处的用户信息,只要能够区分出不同用户即可,本申请并不对此进行限制。In this embodiment, the user information may include at least one of the following: a user registration account, network environment information of the mobile phone, hardware information of the mobile phone, etc.; of course, those skilled in the art may use any other form of information as the user information herein. As long as different users can be distinguished, this application does not limit this.
步骤306,判断当前发起访问请求的用户是否为历史用户,若是则转入步骤308,否则转入步骤310。Step 306: Determine whether the user currently initiating the access request is a historical user, and if yes, go to step 308; otherwise, go to step 310.
步骤308,忽略当前用户发起的访问请求。 In step 308, the access request initiated by the current user is ignored.
在本实施例中,应当理解的是:对于步骤306转入步骤308时,“忽略”是指不将本次访问纳入对访问热度的统计计算中,对于步骤314转入步骤308时,“忽略”是指不需要对二维码的展示属性进行更新;然而,服务器仍然需要对本次的访问请求执行正常的响应,不会影响用户的正常访问需求。In this embodiment, it should be understood that when step 306 is transferred to step 308, "ignore" means that the current access is not included in the statistical calculation of the access heat, and when step 314 is transferred to step 308, "ignore" "It means that the display attribute of the QR code does not need to be updated; however, the server still needs to perform a normal response to this access request without affecting the normal access requirements of the user.
步骤310,对二维码的访问热度的统计数据进行更新。Step 310: Update the statistics of the access heat of the two-dimensional code.
步骤312,根据更新后的统计结果,选取对应的展示属性参数。Step 312: Select a corresponding display attribute parameter according to the updated statistical result.
在本实施例中,可以预先定义多个不同的访问热度区间,从而根据当前统计结果所处的热度区间,选取对应的展示属性参数;其中,不同访问热度区间可以对应于相同的展示属性的不同参数值,也可以对应于不同的展示属性。假定一示例性实施例的预定义热度区间如下表1所示:In this embodiment, a plurality of different access heat intervals may be defined in advance, so that corresponding display attribute parameters are selected according to the heat interval in which the current statistical result is located; wherein different access heat intervals may correspond to different display attributes. Parameter values can also correspond to different display attributes. It is assumed that the predefined heat interval of an exemplary embodiment is as shown in Table 1 below:
热度区间Heat interval 展示属性Display attribute
0-50次/天0-50 times / day 二维码灰度值=0Two-dimensional code gray value=0
51-300次/天51-300 times / day 二维码灰度值=80QR code gray value = 80
>300次/天>300 times / day 二维码灰度值=125QR code gray value = 125
表1Table 1
那么,随着访问热度的增加,二维码的灰度值将越来越大,比如图4所示:当热度处于0-50次/天时,说明二维码的当前热度低,将二维码的灰度值设置为0;当热度处于51-300次/天时,说明二维码的当前热度一般,将二维码的灰度值设置为80;当热度处于大于300次/天时,说明二维码的当前热度高,将二维码的灰度值设置为125。通过上述对灰度值的改变,从而表现出二维码被“扫”的次数太多,导致发生“磨损”、“折旧”的视觉效果。Then, as the access heat increases, the gray value of the two-dimensional code will become larger and larger, as shown in Figure 4: when the heat is at 0-50 times/day, the current heat of the two-dimensional code is low, and the two-dimensional code will be two-dimensional. The gray value of the code is set to 0; when the heat is 51-300 times/day, the current heat of the two-dimensional code is generally set, the gray value of the two-dimensional code is set to 80; when the heat is greater than 300 times/day, the description The current heat of the QR code is high, and the gray value of the two-dimensional code is set to 125. By the above-mentioned change of the gradation value, it is shown that the number of times the two-dimensional code is "swept" is too large, resulting in a visual effect of "wearing" and "depreciation".
当然,对二维码的灰度值进行改变仅为一种示例性的实施方式,本申请对于展示属性的类型、修改的方式等并不进行限制,比如对二维码的颜色进行改变(例如,热度低时采用黑色、热度一般时采用黄色、热度高时采用红色等)、对二维码的背景颜色进行改变(例如,热度低时采用白色、热度一般时采用黄色、热度高时采用红色等)等,均可以应用于本申请的技术方案中。Of course, changing the gray value of the two-dimensional code is only an exemplary embodiment. The present application does not limit the type of the attribute, the manner of modification, and the like, such as changing the color of the two-dimensional code (for example, When the heat is low, the color is black, the heat is generally yellow, and the heat is high, and the background color of the two-dimensional code is changed (for example, white when the heat is low, yellow when the heat is normal, and red when the heat is high) Etc., etc., can be applied to the technical solution of the present application.
步骤314,判断选取的展示属性参数与二维码的当前展示属性之间是否存在变化,若存在变化则转入步骤316,否则转入步骤308。In step 314, it is determined whether there is a change between the selected display attribute parameter and the current display attribute of the two-dimensional code. If there is a change, the process proceeds to step 316, otherwise, the process proceeds to step 308.
步骤316,更新二维码的展示属性。In step 316, the display attribute of the two-dimensional code is updated.
在本实施例中,可以对网页进行直接修改,或者由服务器重新生成新的二维码后, 更新至网页中。In this embodiment, the webpage may be directly modified, or after the server regenerates the new two-dimensional code, Update to the web page.
图5示出了根据本申请的一示例性实施例的电子设备的示意结构图。请参考图5,在硬件层面,该电子设备包括处理器、内部总线、网络接口、内存以及非易失性存储器,当然还可能包括其他业务所需要的硬件。处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成条码热度的展示装置。当然,除了软件实现方式之外,本申请并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。FIG. 5 shows a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application. Referring to FIG. 5, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may of course include hardware required for other services. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs to form a display device for the barcode heat on the logical level. Of course, in addition to the software implementation, the present application does not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logical unit, and may be Hardware or logic device.
请参考图6,在软件实施方式中,该条码热度的展示装置可以包括统计单元、选取单元和应用单元。其中:Referring to FIG. 6 , in the software implementation manner, the bar code heat display device may include a statistics unit, a selection unit, and an application unit. among them:
统计单元,统计用户对条码的访问热度;A statistical unit that counts the user's access to the barcode;
选取单元,选取所述访问热度对应的展示属性参数;Selecting a unit, and selecting an attribute of the display attribute corresponding to the access heat;
应用单元,将所述展示属性参数应用于对所述条码的展示。The application unit applies the display attribute parameter to the display of the barcode.
可选的,所述统计单元具体用于:Optionally, the statistical unit is specifically configured to:
获取每次执行访问操作的用户信息;Obtaining user information for each access operation performed;
判断所述用户信息是否已被记录;Determining whether the user information has been recorded;
若已被记录,则忽略本次访问操作,否则将本次访问操作用于对所述访问热度的统计,并对所述用户信息进行记录。If it has been recorded, the current access operation is ignored, otherwise the current access operation is used for the statistics of the access heat, and the user information is recorded.
可选的,所述访问热度包括以下至少之一:Optionally, the access heat includes at least one of the following:
历史访问次数、预设时间段内的平均访问次数、历史访问频率、预设时间段内的平均访问频率。The number of historical visits, the average number of visits in the preset time period, the historical access frequency, and the average access frequency within the preset time period.
可选的,所述应用单元具体用于:Optionally, the application unit is specifically configured to:
根据所述展示属性参数,配置所述条码对应的展示属性。The display attribute corresponding to the barcode is configured according to the display attribute parameter.
可选的,所述应用单元具体用于:Optionally, the application unit is specifically configured to:
根据所述展示属性参数,重新生成对应的所述条码,且重新生成的条码与原始条码的值相同。And correspondingly regenerating the corresponding barcode according to the display attribute parameter, and the regenerated barcode is the same as the value of the original barcode.
可选的,所述展示属性参数包括以下至少之一:Optionally, the display attribute parameter includes at least one of the following:
所述条码的颜色、所述条码的灰度值、所述条码的背景颜色、所述背景颜色的灰度值。a color of the barcode, a gray value of the barcode, a background color of the barcode, and a gray value of the background color.
可选的,所述条码为二维码。Optionally, the barcode is a two-dimensional code.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网 络接口和内存。In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, and networks. Network interface and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。 The above is only the preferred embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc., which are made within the spirit and principles of the present application, should be included in the present application. Within the scope of protection.

Claims (14)

  1. 一种条码热度的展示方法,其特征在于,包括:A method for displaying bar code heat, characterized in that it comprises:
    统计用户对条码的访问热度;Count the user's access to the barcode;
    选取所述访问热度对应的展示属性参数;Selecting an attribute of the display attribute corresponding to the access heat;
    将所述展示属性参数应用于对所述条码的展示。The display attribute parameter is applied to the presentation of the barcode.
  2. 根据权利要求1所述的方法,其特征在于,所述统计用户对条码的访问热度,包括:The method according to claim 1, wherein the statistical user access to the barcode includes:
    获取每次执行访问操作的用户信息;Obtaining user information for each access operation performed;
    判断所述用户信息是否已被记录;Determining whether the user information has been recorded;
    若已被记录,则忽略本次访问操作,否则将本次访问操作用于对所述访问热度的统计,并对所述用户信息进行记录。If it has been recorded, the current access operation is ignored, otherwise the current access operation is used for the statistics of the access heat, and the user information is recorded.
  3. 根据权利要求1所述的方法,其特征在于,所述访问热度包括以下至少之一:The method of claim 1, wherein the access heat comprises at least one of:
    历史访问次数、预设时间段内的平均访问次数、历史访问频率、预设时间段内的平均访问频率。The number of historical visits, the average number of visits in the preset time period, the historical access frequency, and the average access frequency within the preset time period.
  4. 根据权利要求1所述的方法,其特征在于,所述将所述展示属性参数应用于对所述条码的展示,包括:The method according to claim 1, wherein the applying the display attribute parameter to the display of the barcode comprises:
    根据所述展示属性参数,配置所述条码对应的展示属性。The display attribute corresponding to the barcode is configured according to the display attribute parameter.
  5. 根据权利要求1所述的方法,其特征在于,所述将所述展示属性参数应用于对所述条码的展示,包括:The method according to claim 1, wherein the applying the display attribute parameter to the display of the barcode comprises:
    根据所述展示属性参数,重新生成对应的所述条码,且重新生成的条码与原始条码的值相同。And correspondingly regenerating the corresponding barcode according to the display attribute parameter, and the regenerated barcode is the same as the value of the original barcode.
  6. 根据权利要求1所述的方法,其特征在于,所述展示属性参数包括以下至少之一:The method of claim 1, wherein the display attribute parameter comprises at least one of the following:
    所述条码的颜色、所述条码的灰度值、所述条码的背景颜色、所述背景颜色的灰度值。a color of the barcode, a gray value of the barcode, a background color of the barcode, and a gray value of the background color.
  7. 根据权利要求1所述的方法,其特征在于,所述条码为二维码。The method of claim 1 wherein said barcode is a two-dimensional code.
  8. 一种条码热度的展示装置,其特征在于,包括:A bar code heat display device, comprising:
    统计单元,统计用户对条码的访问热度;A statistical unit that counts the user's access to the barcode;
    选取单元,选取所述访问热度对应的展示属性参数;Selecting a unit, and selecting an attribute of the display attribute corresponding to the access heat;
    应用单元,将所述展示属性参数应用于对所述条码的展示。 The application unit applies the display attribute parameter to the display of the barcode.
  9. 根据权利要求8所述的装置,其特征在于,所述统计单元具体用于:The device according to claim 8, wherein the statistical unit is specifically configured to:
    获取每次执行访问操作的用户信息;Obtaining user information for each access operation performed;
    判断所述用户信息是否已被记录;Determining whether the user information has been recorded;
    若已被记录,则忽略本次访问操作,否则将本次访问操作用于对所述访问热度的统计,并对所述用户信息进行记录。If it has been recorded, the current access operation is ignored, otherwise the current access operation is used for the statistics of the access heat, and the user information is recorded.
  10. 根据权利要求8所述的装置,其特征在于,所述访问热度包括以下至少之一:The apparatus according to claim 8, wherein said access heat comprises at least one of the following:
    历史访问次数、预设时间段内的平均访问次数、历史访问频率、预设时间段内的平均访问频率。The number of historical visits, the average number of visits in the preset time period, the historical access frequency, and the average access frequency within the preset time period.
  11. 根据权利要求8所述的装置,其特征在于,所述应用单元具体用于:The device according to claim 8, wherein the application unit is specifically configured to:
    根据所述展示属性参数,配置所述条码对应的展示属性。The display attribute corresponding to the barcode is configured according to the display attribute parameter.
  12. 根据权利要求8所述的装置,其特征在于,所述应用单元具体用于:The device according to claim 8, wherein the application unit is specifically configured to:
    根据所述展示属性参数,重新生成对应的所述条码,且重新生成的条码与原始条码的值相同。And correspondingly regenerating the corresponding barcode according to the display attribute parameter, and the regenerated barcode is the same as the value of the original barcode.
  13. 根据权利要求8所述的装置,其特征在于,所述展示属性参数包括以下至少之一:The apparatus according to claim 8, wherein the display attribute parameter comprises at least one of the following:
    所述条码的颜色、所述条码的灰度值、所述条码的背景颜色、所述背景颜色的灰度值。a color of the barcode, a gray value of the barcode, a background color of the barcode, and a gray value of the background color.
  14. 根据权利要求8所述的装置,其特征在于,所述条码为二维码。 The apparatus of claim 8 wherein said barcode is a two-dimensional code.
PCT/CN2016/081218 2015-05-15 2016-05-06 Barcode popularity display method and apparatus WO2016184318A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510250232.7 2015-05-15
CN201510250232.7A CN106294366A (en) 2015-05-15 2015-05-15 The methods of exhibiting of bar code temperature and device

Publications (1)

Publication Number Publication Date
WO2016184318A1 true WO2016184318A1 (en) 2016-11-24

Family

ID=57319488

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081218 WO2016184318A1 (en) 2015-05-15 2016-05-06 Barcode popularity display method and apparatus

Country Status (2)

Country Link
CN (1) CN106294366A (en)
WO (1) WO2016184318A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108681766A (en) * 2018-04-12 2018-10-19 深圳市易迈数据技术有限公司 Idle bit assignment method and its identification code based on user data statistics
CN109669601A (en) * 2018-09-26 2019-04-23 深圳壹账通智能科技有限公司 Information displaying method, device for displaying information, information presentation device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110073650A1 (en) * 2009-09-25 2011-03-31 Getac Technology Corporation Method of improving the barcode recognition efficiency using continuous sampling, computer readable medium, and barcode recognition apparatus
CN102867165A (en) * 2012-09-19 2013-01-09 腾讯科技(深圳)有限公司 Method and associated device for providing and storing two-dimension code information, and associated device
CN103218965A (en) * 2013-03-25 2013-07-24 汪晓春 Two-dimensional code intelligent display device
CN104463062A (en) * 2014-11-03 2015-03-25 腾讯科技(深圳)有限公司 Access method and system based on two-dimensional code scanning
CN104484640A (en) * 2014-12-31 2015-04-01 立德高科(北京)数码科技有限责任公司 Method of two-dimension code reading end for managing number of reading times of current two-dimension code

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012070930A1 (en) * 2010-11-24 2012-05-31 Greenflower Intercode Holding B.V. User -friendly method and system for compiling a unique sample code for a digital sample with the help of a user - interface
US20140019493A1 (en) * 2012-07-14 2014-01-16 Paul William Gardiner Software Application for Recording Trip Information
CN103501349B (en) * 2013-10-18 2016-08-31 南京九度网络科技有限公司 A kind of two-dimensional code cloud service system and method that can access data based on releasing position accurate count
CN104010202A (en) * 2014-06-04 2014-08-27 深圳市九洲光电科技有限公司 Audience rate statistical method for display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110073650A1 (en) * 2009-09-25 2011-03-31 Getac Technology Corporation Method of improving the barcode recognition efficiency using continuous sampling, computer readable medium, and barcode recognition apparatus
CN102867165A (en) * 2012-09-19 2013-01-09 腾讯科技(深圳)有限公司 Method and associated device for providing and storing two-dimension code information, and associated device
CN103218965A (en) * 2013-03-25 2013-07-24 汪晓春 Two-dimensional code intelligent display device
CN104463062A (en) * 2014-11-03 2015-03-25 腾讯科技(深圳)有限公司 Access method and system based on two-dimensional code scanning
CN104484640A (en) * 2014-12-31 2015-04-01 立德高科(北京)数码科技有限责任公司 Method of two-dimension code reading end for managing number of reading times of current two-dimension code

Also Published As

Publication number Publication date
CN106294366A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
KR102225192B1 (en) Method and apparatus for generating security questions and verifying identities
WO2019056721A1 (en) Information pushing method, electronic device and computer storage medium
WO2018001078A1 (en) Url matching method and device, and storage medium
WO2016145993A1 (en) Method and system for user device identification
JP6667645B2 (en) Method, system, user terminal and computer-readable storage medium for implementing public relations PR activities
US10496999B2 (en) Method and apparatus of controlling network payment
JP6626108B2 (en) Identity information verification method and apparatus
CN108089856A (en) The monitor method and device of a kind of page elements
US20190004781A1 (en) Application push method, and a service device
WO2016070673A1 (en) Method and device for analyzing user attribute
CN107844518B (en) Method for evaluating download quantity of specified APP, data server, packaging platform and system
JP2018515845A (en) Method and apparatus for recording and restoring click position on web page
CN107968953A (en) Anti- cheating user method and device
CN107707574A (en) A kind of anti-reptile method based on the behavior of access
CN105391594A (en) Method and device for recognizing characteristic account number
CN104735062A (en) Network user registration method and server
CN107295082A (en) Running software processing method, apparatus and system
CN105847169B (en) A kind of method and device for flow control
CN102880698B (en) A kind of crawl website defining method and device
WO2016184318A1 (en) Barcode popularity display method and apparatus
CN111222592B (en) Method and device for acquiring two-dimensional code of equipment
CN109428682A (en) A kind of Message Processing confirmation method and device
CN106528066B (en) Business process operation method and device
WO2021063104A1 (en) Method and apparatus for constructing knowledge graph
CN105227532A (en) A kind of blocking-up method of malicious act and device

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: 16795805

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16795805

Country of ref document: EP

Kind code of ref document: A1