[go: up one dir, main page]

CN104820855A - Generation and identification method of dynamic two-dimensional codes based on mobile environment perception technology - Google Patents

Generation and identification method of dynamic two-dimensional codes based on mobile environment perception technology Download PDF

Info

Publication number
CN104820855A
CN104820855A CN201510138126.XA CN201510138126A CN104820855A CN 104820855 A CN104820855 A CN 104820855A CN 201510138126 A CN201510138126 A CN 201510138126A CN 104820855 A CN104820855 A CN 104820855A
Authority
CN
China
Prior art keywords
information
dynamic
dimensional code
static
environmental
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201510138126.XA
Other languages
Chinese (zh)
Inventor
边凯归
刘敏行
史杨勍惟
陈庆英
张书豪
田阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University
Original Assignee
Peking University
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 Peking University filed Critical Peking University
Priority to CN201510138126.XA priority Critical patent/CN104820855A/en
Publication of CN104820855A publication Critical patent/CN104820855A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开一种基于移动环境感知技术的动态二维码生成和识别方法。该方法基于静态的二维码信息模板,进一步地动态识别环境特征信息并且生成动态二维码信息,从而在用户扫码之后,通过智能移动设备的环境感知技术抓取环境信息,进而解码出最适合用户所处移动环境的二维码信息。本发明可以向下兼容传统的静态二维码技术,无需增加硬件成本,实现起来方便快捷,可用于任何使用二维码的设备与应用,如智能手机、ATM机、平板电脑、广告显示屏、传统媒体、身份验证系统等设备。

The invention discloses a dynamic two-dimensional code generation and recognition method based on mobile environment perception technology. Based on the static two-dimensional code information template, the method further dynamically recognizes the environmental feature information and generates dynamic two-dimensional code information, so that after the user scans the code, the environment information is captured by the environment perception technology of the smart mobile device, and then the most accurate information is decoded. QR code information suitable for the user's mobile environment. The present invention can be downwardly compatible with the traditional static two-dimensional code technology without increasing hardware costs, and it is convenient and quick to realize, and can be used for any equipment and application using two-dimensional codes, such as smart phones, ATM machines, tablet computers, advertising display screens, Devices such as traditional media, authentication systems, etc.

Description

基于移动环境感知技术的动态二维码生成和识别方法Dynamic two-dimensional code generation and recognition method based on mobile environment perception technology

技术领域technical field

本发明涉及计算机软件技术,移动环境感知技术,以及二维码设计、生成、识别等多个技术领域,具体涉及一种基于移动环境感知技术的二维码生成和识别方法。The present invention relates to multiple technical fields such as computer software technology, mobile environment perception technology, design, generation and identification of two-dimensional codes, and specifically relates to a method for generating and identifying two-dimensional codes based on mobile environment perception technology.

背景技术Background technique

随着二维码及其相关应用的普及,扫描二维码已经成为移动设备用户用来获取物理世界中各种信息的最主要手段之一。例如,通过扫描二维码可以进行网站登录,手机支付,广告优惠券获取,身份识别,传递信息等等。除了传统的黑白色块的传统设计之外,近年来衍生出的主要的二维码设计方法包括:(1)在外观上进行美化(例如,多颜色,在中心插入图片);(2)将二维码链接到一个可以修改内容的远程服务器页面,实现二维码内容的变化,也即“活码”;(3)对二维码编码的修改,实现不同扫码距离扫出不同的二维码内容;(4)在二维码中写入基本信息(例如,xml标签),在扫码时根据二维码内容和其他外部参数整合成新的内容(例如,完整的xml文件);(5)已有的二维码设计专利:“一种随时间变化的动态二维码门禁识别方法及装置”(专利号CN201410219488),根据时间生成不同的验证二维码从而增加安全性等。With the popularity of QR codes and related applications, scanning QR codes has become one of the most important means for mobile device users to obtain various information in the physical world. For example, website login, mobile payment, advertisement coupon acquisition, identity recognition, information transfer, etc. can be performed by scanning the QR code. In addition to the traditional design of traditional black and white blocks, the main two-dimensional code design methods derived in recent years include: (1) beautify the appearance (for example, multi-color, insert pictures in the center); The two-dimensional code is linked to a remote server page that can modify the content, so as to realize the change of the two-dimensional code content, that is, "live code"; (3) modify the two-dimensional code code to realize different scanning distances to scan out different two-dimensional codes. Two-dimensional code content; (4) Write basic information (for example, xml tags) in the two-dimensional code, and integrate new content (for example, a complete xml file) according to the content of the two-dimensional code and other external parameters when scanning the code; (5) Existing two-dimensional code design patent: "A dynamic two-dimensional code access control identification method and device that changes with time" (patent number CN201410219488), which generates different verification two-dimensional codes according to time to increase security.

扫描二维码的用户是身处移动环境中的,而这些已有的设计方法中的二维码信息都需要发布者的输入而且大多数的信息是固定不变的,无法自适应地根据用户所处的环境不同而变化,降低了二维码内容个性化,同时也增加了二维码内容更新的难度。The user who scans the QR code is in a mobile environment, and the QR code information in these existing design methods needs to be input by the publisher, and most of the information is fixed and cannot be adaptively based on the user’s The environment varies from place to place, which reduces the personalization of the content of the two-dimensional code and increases the difficulty of updating the content of the two-dimensional code.

发明内容Contents of the invention

为了克服现有二维码内容不能随着环境不同而自适应改变这一缺陷,本发明提出一种基于移动环境感知技术的二维码生成和识别方法,以及采用该方法的二维码识别软件,可以大大提高二维码内容和用户所处环境的契合度,并能够降低二维码内容更新的难度。In order to overcome the defect that the existing two-dimensional code content cannot be adaptively changed with different environments, the present invention proposes a two-dimensional code generation and recognition method based on mobile environment perception technology, and two-dimensional code recognition software using this method , can greatly improve the fit between the two-dimensional code content and the user's environment, and can reduce the difficulty of updating the two-dimensional code content.

为实现上述目的,本发明采用如下技术方案:To achieve the above object, the present invention adopts the following technical solutions:

一种基于移动环境感知技术的二维码生成和识别方法,其主要思想是将二维码内容分成静态信息和动态信息两部分。静态信息仍然由发布者决定,而动态信息由二维码扫描的用户所处环境信息决定,即用户所持移动设备感知的环境信息决定。这一方法其步骤包括:A two-dimensional code generation and recognition method based on mobile environment perception technology, the main idea of which is to divide the two-dimensional code content into static information and dynamic information. Static information is still determined by the publisher, while dynamic information is determined by the user's environment information scanned by the QR code, that is, the environmental information perceived by the mobile device held by the user. The steps of this method include:

1)二维码静态信息输入:发布者输入二维码需要包含的“静态信息”。首先,选择静态信息模板(例如,打折类广告信息模板,讲座类海报信息模板,链接类信息模板等),并且填写静态信息模板中的非关键字信息;模板中的关键字信息为空缺(例如打折类信息模板中,商家名称、折扣时间等信息空缺),关键字信息将由后续生成的动态信息填补。1) Input of static information of QR code: The publisher enters the "static information" that needs to be included in the QR code. First, select a static information template (for example, a discount advertisement information template, a lecture poster information template, a link information template, etc.), and fill in the non-keyword information in the static information template; the keyword information in the template is vacant (such as In the discount information template, there are vacancies in information such as business name and discount time), and the keyword information will be filled by the subsequent dynamic information.

2)二维码动态信息生成规则输入:发布者选择动态信息生成规则,包括环境特征选取规则(地理位置、时间、天气、用户动作、用户使用移动设备历史行为等环境特征),环境信息转化规则(例如地理位置信息转化为商户名称还是行政区名称,时间信息转化为判断折扣时间是否过期)。2) Two-dimensional code dynamic information generation rule input: the publisher selects dynamic information generation rules, including environmental feature selection rules (geographic location, time, weather, user actions, user historical behavior of using mobile devices and other environmental features), environmental information conversion rules (For example, geographical location information is transformed into a business name or an administrative district name, and time information is transformed into judging whether the discount time has expired).

3)二维码生成:基于发布者输入的静态信息与动态信息生成规则,本方法中二维码生成服务器将按照传统二维码编码标准生成二维码。二维码中有一部分特定信息或冗余信息(如纠错码),可以用来标识动态二维码信息生成规则。3) Two-dimensional code generation: Based on the static information and dynamic information generation rules input by the publisher, the two-dimensional code generation server in this method will generate the two-dimensional code according to the traditional two-dimensional code coding standard. There is a part of specific information or redundant information (such as error correction code) in the two-dimensional code, which can be used to identify the dynamic two-dimensional code information generation rule.

4)二维码扫描与识别:用户在智能移动设备上,通过本方法提出的二维码扫码软件(见后文)来识别该动态二维码,解码得到全部信息。其中,通过传统二维码解码算法直接得到静态信息模板,其中关键字信息由智能移动设备的环境感知技术抓取环境信息生成。例如,打折类模板中的商家名称可以由移动室内定位技术得到、折扣时间是否过期可以参照打折信息读取系统时间来决定。4) Two-dimensional code scanning and identification: The user uses the two-dimensional code scanning software (see below) proposed by this method to identify the dynamic two-dimensional code on the smart mobile device, and decodes to obtain all information. Among them, the static information template is directly obtained through the traditional two-dimensional code decoding algorithm, and the keyword information is generated by the environment perception technology of the smart mobile device to capture the environment information. For example, the business name in the discount template can be obtained by mobile indoor positioning technology, and whether the discount time expires can be determined by referring to the time of the discount information reading system.

一种基于移动环境感知技术的二维码应用软件系统,其包括:A two-dimensional code application software system based on mobile environment perception technology, which includes:

发布者输入界面,用于输入待设定的静态信息模板,与动态信息生成规则;Publisher input interface, used to input static information templates to be set and dynamic information generation rules;

二维码生成模块,用于根据发布者选择的模板和规则来生成动态二维码,该动态二维码的关键字信息包含智能移动设备的环境感知技术所能抓取的环境特征,该环境特征作为待设定的二维码关键字的全部或部分内容;The two-dimensional code generation module is used to generate a dynamic two-dimensional code according to the template and rules selected by the publisher. The keyword information of the dynamic two-dimensional code contains the environmental characteristics that can be captured by the environment perception technology of the smart mobile device. The environment feature as all or part of the QR code keyword to be set;

二维码识别模块(扫码软件、扫码器),用于区分传统静态二维码和本方法所提出的动态二维码,并且结合移动设备传感信息进行二维码解码。The two-dimensional code recognition module (code scanning software, code scanning device) is used to distinguish the traditional static two-dimensional code and the dynamic two-dimensional code proposed by this method, and to decode the two-dimensional code in combination with the sensor information of the mobile device.

与现有技术相比,本发明的有益效果如下:Compared with the prior art, the beneficial effects of the present invention are as follows:

1)本发明提出了基于移动环境感知技术的二维码生成和识别方法,可以大大提高二维码内容和用户所处环境的契合度。本发明提出的二维码应用软件系统主要涉及两个部分:1)静态信息模板选择与静态信息识别;2)进一步地,动态信息生成和环境特征识别。在用户扫描二维码之后,将静态信息与动态信息相结合,从而解码出最适合用户所处移动环境的二维码信息。1) The present invention proposes a two-dimensional code generation and recognition method based on mobile environment perception technology, which can greatly improve the fit between the two-dimensional code content and the user's environment. The two-dimensional code application software system proposed by the present invention mainly involves two parts: 1) static information template selection and static information identification; 2) further, dynamic information generation and environmental feature identification. After the user scans the QR code, the static information is combined with the dynamic information to decode the QR code information most suitable for the user's mobile environment.

2)本发明可以向下兼容传统的静态二维码技术。步骤3)中二维码如包含动态生成规则标识符,则生成的是动态二维码,在步骤4)中使用动态二维码识别算法进行扫描;否则步骤3)中生成的是传统二维码,在步骤4)中使用传统静态二维码识别算法进行扫描,即本方法向下兼容传统静态二维码。该方法中,发布者需要选择二维码所包含信息的格式和规范,通过选择模板和规则来确认;当移动设备所抓取的事件不属于模板与规则的范围之内,无法生成动态内容;扫描识别结果等同于传统二维码的方式。2) The present invention can be backward compatible with traditional static two-dimensional code technology. If the two-dimensional code in step 3) contains a dynamic generation rule identifier, then what is generated is a dynamic two-dimensional code, which is scanned using a dynamic two-dimensional code recognition algorithm in step 4); otherwise, what is generated in step 3) is a traditional two-dimensional code Code, in step 4), use the traditional static two-dimensional code recognition algorithm to scan, that is, this method is backward compatible with the traditional static two-dimensional code. In this method, the publisher needs to select the format and specifications of the information contained in the QR code, and confirm by selecting templates and rules; when the events captured by the mobile device do not fall within the scope of the templates and rules, dynamic content cannot be generated; The scanning recognition result is equivalent to the traditional two-dimensional code method.

3)本发明无需增加硬件成本,实现起来方便快捷,可用于任何使用二维码的设备与应用,如智能手机、ATM机、平板电脑、广告显示屏、传统媒体、身份验证系统等设备。3) The present invention does not need to increase the hardware cost, and it is convenient and quick to implement, and can be used in any equipment and application using two-dimensional codes, such as smart phones, ATM machines, tablet computers, advertising display screens, traditional media, identity verification systems and other equipment.

附图说明Description of drawings

图1为本发明方法的总体流程图。Fig. 1 is the overall flowchart of the method of the present invention.

图2为移动设备的环境感知能力示意图。FIG. 2 is a schematic diagram of an environment perception capability of a mobile device.

图3为实施例中打折类广告的动态二维码内容包含静态模板信息和动态环境信息两部分的示意图。Fig. 3 is a schematic diagram of the content of the dynamic two-dimensional code of the discount advertisement in the embodiment including static template information and dynamic environment information.

具体实施方式Detailed ways

下面通过具体实施例,并配合附图,对本发明做详细的说明。The present invention will be described in detail below through specific embodiments and accompanying drawings.

本发明利用移动环境特征信息来增强二维码内容的自适应性。本实施例的基于移动环境感知技术的动态二维码设计方法,其总体流程如图1所示,具体实施步骤如下:The invention utilizes the characteristic information of the mobile environment to enhance the adaptability of the content of the two-dimensional code. The overall flow of the dynamic two-dimensional code design method based on mobile environment perception technology in this embodiment is shown in Figure 1, and the specific implementation steps are as follows:

1.静态模板设定:1. Static template setting:

静态模板的设定和C语言中的printf函数有相似之处,采用固定文本和可变文本相结合的方式。具体方案是,用‘#’代替一段可变字符串,其他的字符则代表固定的字符串。二维码发布者通过在网页中输入自己的标识符以及依据响应范式的显示内容即可。例如,如图3(a)所示,麦当劳输入“薯条价格:¥#”作为二维码内容,‘¥’后面的‘#’是一串可以根据扫描时刻环境和用户内部信息而自动改变的信息,其余为静态内容。在这个情景下,是一个根据外界参数形成的数字。The setting of the static template is similar to the printf function in the C language, using a combination of fixed text and variable text. The specific solution is to replace a variable string with '#', and other characters represent fixed strings. The publisher of the QR code can enter his own identifier in the webpage and display the content according to the response paradigm. For example, as shown in Figure 3(a), McDonald's enters "french fries price: ¥#" as the content of the QR code, and the '#' behind '¥' is a string that can be automatically changed according to the environment at the time of scanning and the internal information of the user. information, and the rest is static content. In this case, a number formed from external parameters.

2.动态信息规则生成:2. Generation of dynamic information rules:

根据二维码发布者不同的需求可能会用到不同的动态信息生成规则。以下类别为已经设计好的动态信息生成规则类。Different dynamic information generation rules may be used according to different requirements of QR code issuers. The following categories are designed dynamic information generation rule classes.

·优惠券打折类:商家获得当前环境的时间和地点,并通过时间和地点给出相应的打折或优惠信息,如折扣数目或者优惠价格等。·Coupon discount category: Merchants obtain the time and place of the current environment, and give corresponding discount or preferential information through the time and place, such as the number of discounts or preferential prices.

·讲座与告示信息类:告示发布者获得当前环境的时间和地点,并发布与当前时间和地点有关的相应信息,如一家大影院的不同分部在不同时刻的排片表信息。Lectures and bulletin information: the bulletin issuer obtains the time and place of the current environment, and releases corresponding information related to the current time and place, such as the schedule information of different branches of a large theater at different times.

·广告类:商家获取扫描用户扫描的时间和地点,以及用户的当前环境(如是否在电梯中,是否在办公楼中等等),并且发布与当前环境对应盈利机遇最大的广告。·Advertising: The merchant obtains the time and location of the scanned user, as well as the user's current environment (such as whether it is in an elevator, whether it is in an office building, etc.), and publishes the advertisement with the greatest profit opportunity corresponding to the current environment.

·社交性服务类:可获得用户的通讯录信息,通过用户的社交圈获得用户的相应情况,并针对其特殊的社交行为特征发布响应信息,进而可以进一步推广。·Social service category: It can obtain the user's address book information, obtain the corresponding situation of the user through the user's social circle, and release response information according to its special social behavior characteristics, and then can be further promoted.

·自定义规则类:为发布者提供所有可以使用的接口,如获取用户的时间,地点,三轴陀螺仪,光线传感器等等,让发布者自定义动态规则。·Custom rule class: Provide publishers with all available interfaces, such as obtaining user's time, location, three-axis gyroscope, light sensor, etc., allowing publishers to customize dynamic rules.

以上动态信息生成规则中的参数均通过手机端得到。如图2所示为移动设备的环境感知能力示意图,一般Android设备拥有众多传感器,利用Android系统对应的API可以得到传感器的相应数据,经过解析之后,可以得到相应数据。The parameters in the above dynamic information generation rules are all obtained through the mobile terminal. Figure 2 is a schematic diagram of the environmental perception capabilities of mobile devices. Generally, Android devices have many sensors. The corresponding data of the sensors can be obtained by using the corresponding API of the Android system. After analysis, the corresponding data can be obtained.

3.动态二维码内容生成:3. Dynamic QR code content generation:

当静态模板与动态规则生成已经确立了以后,便可以为二维码发布者生成动态的二维码。动态的二维码内部只保存静态模板,但是在服务器后台把发布者的动态信息规则通过dex字节码的形式保存,并通过用户可选择的方式与用户客户端进行同步。字节码的具体生成步骤为:After the static template and dynamic rule generation have been established, a dynamic QR code can be generated for the QR code issuer. The dynamic QR code only saves the static template, but the publisher's dynamic information rules are saved in the form of dex bytecode in the server background, and synchronized with the user client through the user's optional method. The specific steps to generate bytecode are:

·将发布者输入的描述性动态规则转换为相应的java代码动态规则,再通过动态编译的方式将代码保存在服务器的后端。·Convert the descriptive dynamic rules input by the publisher into corresponding java code dynamic rules, and then save the codes in the back end of the server by means of dynamic compilation.

·在生成结束时刻,调用相应的打包程序将java字节码转换为dex字节码。·At the end of the generation, call the corresponding packaging program to convert java bytecode into dex bytecode.

·二维码中还可以加入特定的标识符表示这是新型动态二维码,例如,可以利用二维码标准中对信息冗余编码这一特性,可以将这一标识符放入二维码的冗余信息部分,同时保证容错率,保证二维码仍可以正常使用。A specific identifier can also be added to the QR code to indicate that this is a new type of dynamic QR code. For example, the feature of redundant coding of information in the QR code standard can be used to put this identifier into the QR code The redundant information part, while ensuring the fault tolerance rate, to ensure that the two-dimensional code can still be used normally.

4.动态二维码内容扫描与识别:4. Dynamic two-dimensional code content scanning and recognition:

需要一个配套的扫码软件对动态二维码内容进行扫描和识别。首先,利用开源Java类库Zxing可以对二维码的内容进行解析,对Zxing原有代码经过修改可以根据存放在冗余信息中的标记判断此二维码是否为新型二维码。得到二维码的内容后,再利用分隔“#”提取二维码的发布者以及待显示的信息。利用这些信息,从存放在手机SD卡中的“发布者类库”(即上面提到的dex字节码)匹配对应的类,调用其中的函数获取待填入的参数。这里主要利用了Android系统API中的类dalvik.system.DexClassLoader,从而可以将外部类实例化,动态地加载入扫码器应用程序中,可以正常调用这些类中已有的函数功能。这个类库在服务器端生成与更新,用户可以根据需要下载类库。类库中的函数根据二维码发布者定义的动态信息规则,生成对应的参数替换二维码原来内容中的未知量,并输出。例如,图3(b)中,肯德基生成内容为“炸鸡打折优惠:#折”的新型二维码,并指定规则为“当地点为北京时为8.5;其余地点为9”,如果用户持扫码器在北京扫此二维码,那么就会看到“炸鸡打折优惠:8.5折”。A matching code scanning software is required to scan and identify the content of the dynamic QR code. First, the open source Java class library Zxing can be used to analyze the content of the QR code. After modifying the original code of Zxing, it can be judged whether the QR code is a new type of QR code based on the marks stored in the redundant information. After obtaining the content of the QR code, use the separator "#" to extract the publisher of the QR code and the information to be displayed. Using this information, match the corresponding class from the "publisher class library" (that is, the dex bytecode mentioned above) stored in the SD card of the mobile phone, and call the function in it to obtain the parameters to be filled. Here, the class dalvik.system.DexClassLoader in the Android system API is mainly used, so that external classes can be instantiated and dynamically loaded into the scanner application, and the existing functions in these classes can be called normally. This class library is generated and updated on the server side, and users can download the class library as needed. The functions in the class library generate corresponding parameters to replace the unknown quantities in the original content of the QR code according to the dynamic information rules defined by the QR code publisher, and output them. For example, in Figure 3(b), KFC generates a new QR code with the content "fried chicken discount: #投", and specifies the rule as "8.5 when the location is Beijing; 9 for other locations", if the user holds If you scan this QR code in Beijing, you will see "Fried Chicken Discount: 15% off".

以上用谷歌公司Android系统软件平台中的DexClassLoader类、以及开源Java类库Zxing来举例,仅用以说明本发明的密码认证的检测过程,而非对其进行限制。本领域的普通技术人员可以对本发明的密码认证检测方法在基于其他软件平台的触屏设备上(如基于苹果公司iOS系统的触屏设备、触屏ATM机器、触屏门禁系统等)进行修改或者等同替换,而不脱离本发明的精神和范围。本发明的保护范围应以权利要求书所述为准。The above uses the DexClassLoader class in Google's Android system software platform and the open source Java class library Zxing as examples, only to illustrate the detection process of the password authentication of the present invention, rather than to limit it. Those of ordinary skill in the art can modify the password authentication detection method of the present invention on touch-screen devices based on other software platforms (such as touch-screen devices based on Apple's iOS system, touch-screen ATM machines, touch-screen access control systems, etc.) or equivalents may be substituted without departing from the spirit and scope of the invention. The scope of protection of the present invention should be defined by the claims.

Claims (8)

1.一种基于移动环境感知技术的动态二维码生成和识别方法,其步骤包括:1. A dynamic two-dimensional code generation and recognition method based on mobile environment perception technology, the steps comprising: 1)发布者选择静态信息模板,在其中输入二维码需要包含的静态信息;模板中的非关键字信息由发布者指定,关键字信息为空缺;1) The publisher selects a static information template, and enters the static information that needs to be included in the QR code; the non-keyword information in the template is specified by the publisher, and the keyword information is vacant; 2)发布者选择动态信息生成规则,包括环境特征选取规则和环境信息转化规则,所述静态信息模板中的关键字信息由动态信息生成规则定义;2) The publisher selects dynamic information generation rules, including environmental feature selection rules and environmental information conversion rules, and the keyword information in the static information template is defined by dynamic information generation rules; 3)基于发布者输入的静态信息与动态信息生成规则,生成包含环境特征的动态二维码;3) Based on the static information and dynamic information generation rules input by the publisher, a dynamic two-dimensional code containing environmental characteristics is generated; 4)用户扫描生成的动态二维码,并通过智能移动设备的环境感知技术抓取环境信息,进而根据动态信息生成规则生成静态信息模板中的关键字信息,实现对动态二维码的解码。4) The user scans the generated dynamic two-dimensional code, captures the environmental information through the environment perception technology of the smart mobile device, and then generates the keyword information in the static information template according to the dynamic information generation rules to realize the decoding of the dynamic two-dimensional code. 2.如权利要求1所述的方法,其特征在于,步骤1)中的静态信息模板为下列分类中的一种:广告、链接、文字、图片、名片。2. The method according to claim 1, wherein the static information template in step 1) is one of the following categories: advertisement, link, text, picture, business card. 3.如权利要求1所述的方法,其特征在于,步骤2)中通过环境特征选取规则得到的特征包括智能移动设备所能抓取的所有用户行为特征,包括:地理位置、时间、天气、三轴陀螺仪数据、光强、磁场数据、加速度传感器数据、用户使用移动应用历史行为、用户使用移动设备硬件历史行为。3. The method according to claim 1, characterized in that, in step 2), the features obtained by the environment feature selection rules include all user behavior features that smart mobile devices can capture, including: geographic location, time, weather, Three-axis gyroscope data, light intensity, magnetic field data, acceleration sensor data, historical behavior of users using mobile applications, and historical behavior of users using mobile device hardware. 4.如权利要求3所述的方法,其特征在于,步骤2)中通过环境信息转化规则进行的操作,等价于将环境特征信息转化为具体环境中发生的事件或存在的物体,包括:将地理位置信息转化为地名、时间转化为事件有效性、天气信息转化为出行建议、三轴陀螺仪数据/光强/磁场数据/加速度传感器数据转化为用户提示信息、用户使用移动应用/硬件历史行为转化为用户使用建议与提示。4. The method according to claim 3, characterized in that, in step 2), the operation performed through environmental information conversion rules is equivalent to converting environmental feature information into events or existing objects in a specific environment, including: Convert geographic location information into place names, time into event validity, weather information into travel advice, three-axis gyroscope data/light intensity/magnetic field data/acceleration sensor data into user prompt information, user use of mobile applications/hardware history Behaviors are transformed into user suggestions and tips. 5.如权利要求1所述的方法,其特征在于,利用二维码中的一部分特定信息或冗余信息来标识所述动态信息生成规则。5. The method according to claim 1, wherein the dynamic information generation rule is identified by using a part of specific information or redundant information in the two-dimensional code. 6.如权利要求1所述的方法,其特征在于,所述动态二维码包含的内容不再是发布者指定的静态信息,而是在选择的静态信息模板和动态信息生成规则基础上,由智能移动设备的环境感知能力动态生成的适应于用户所处环境中的信息和数据。6. The method according to claim 1, wherein the content contained in the dynamic two-dimensional code is no longer the static information specified by the publisher, but based on the selected static information template and dynamic information generation rules, The information and data adapted to the user's environment are dynamically generated by the environmental awareness of smart mobile devices. 7.如权利要求1所述的方法,其特征在于,当移动设备所抓取的环境信息不属于静态信息模板与动态信息生成规则的范围之内时,无法生成动态内容,扫描识别结果等同于传统二维码的方式。7. The method according to claim 1, wherein when the environmental information captured by the mobile device does not belong to the scope of the static information template and dynamic information generation rules, the dynamic content cannot be generated, and the scanning recognition result is equivalent to The way of traditional two-dimensional code. 8.一种基于移动环境感知技术的动态二维码生成和识别系统,其特征在于,包括:8. A dynamic two-dimensional code generation and recognition system based on mobile environment perception technology, characterized in that it comprises: 发布者输入界面,用于输入待设定的静态信息模板,与动态信息生成规则;Publisher input interface, used to input static information templates to be set and dynamic information generation rules; 二维码生成模块,用于根据发布者选择的静态信息模板和动态信息生成规则来生成动态二维码,该动态二维码的关键字信息包含环境感知技术所能抓取到的环境特征;The two-dimensional code generation module is used to generate a dynamic two-dimensional code according to the static information template and dynamic information generation rules selected by the publisher, and the keyword information of the dynamic two-dimensional code includes environmental characteristics that can be captured by the environmental perception technology; 二维码识别模块,用于区分传统静态二维码和二维码生成模块生成的动态二维码,并且通过智能移动设备的移动感知技术抓取环境信息,根据动态信息生成规则来进行解码。The two-dimensional code recognition module is used to distinguish between the traditional static two-dimensional code and the dynamic two-dimensional code generated by the two-dimensional code generation module, and captures the environmental information through the mobile sensing technology of the smart mobile device, and decodes it according to the dynamic information generation rules.
CN201510138126.XA 2015-03-26 2015-03-26 Generation and identification method of dynamic two-dimensional codes based on mobile environment perception technology Pending CN104820855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510138126.XA CN104820855A (en) 2015-03-26 2015-03-26 Generation and identification method of dynamic two-dimensional codes based on mobile environment perception technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510138126.XA CN104820855A (en) 2015-03-26 2015-03-26 Generation and identification method of dynamic two-dimensional codes based on mobile environment perception technology

Publications (1)

Publication Number Publication Date
CN104820855A true CN104820855A (en) 2015-08-05

Family

ID=53731141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510138126.XA Pending CN104820855A (en) 2015-03-26 2015-03-26 Generation and identification method of dynamic two-dimensional codes based on mobile environment perception technology

Country Status (1)

Country Link
CN (1) CN104820855A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106384143A (en) * 2016-09-20 2017-02-08 北京兆信信息技术股份有限公司 Dynamic electronic two-dimensional code generation and recognition method
CN107220691A (en) * 2017-06-15 2017-09-29 北京大学 A kind of method and system of the expansible information code of the space-time of software definition
CN107480746A (en) * 2017-06-19 2017-12-15 四川蓝海创想科技有限公司 A kind of method and its system produced in batches based on commercial brand Quick Response Code
CN107679912A (en) * 2017-09-30 2018-02-09 深圳市极成光电有限公司 The application process and device of electronic-parking ticket are obtained based on scanning Quick Response Code
CN108564152A (en) * 2018-03-01 2018-09-21 联动优势电子商务有限公司 A kind of dynamic two-dimension code methods of exhibiting, apparatus and system
CN108920535A (en) * 2018-06-08 2018-11-30 厦门攸信信息技术有限公司 A kind of large-size screen monitors input method and system
CN110598501A (en) * 2018-06-12 2019-12-20 北京大学 Acquisition system for two-dimensional code image in motion state
CN111626390A (en) * 2019-02-27 2020-09-04 北京京东尚科信息技术有限公司 Method and device for dynamically displaying two-dimensional code
CN111898718A (en) * 2020-09-14 2020-11-06 弦子科技(北京)有限公司 Anti-counterfeiting label based on burnt code, anti-counterfeiting method and anti-counterfeiting verification system
CN112418373A (en) * 2020-09-29 2021-02-26 武汉格事化信息技术有限公司 Internet of things dynamic two-dimensional code generation method, storage medium and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185839A (en) * 2011-04-22 2011-09-14 北京华玛科技有限公司 Fraud-preventing registration system based on dynamic two-dimension codes or dynamic bar codes
CN103077413A (en) * 2013-01-06 2013-05-01 张福禄 Method for dynamically binding prefabricated label with internet information
CN103955982A (en) * 2014-05-22 2014-07-30 国家电网公司 Method and device for identifying time-varying dynamic two-dimensional code entrance guard
CN104318291A (en) * 2014-11-05 2015-01-28 深圳市快印客投资管理有限公司 Variable two-dimensional code generating method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185839A (en) * 2011-04-22 2011-09-14 北京华玛科技有限公司 Fraud-preventing registration system based on dynamic two-dimension codes or dynamic bar codes
CN103077413A (en) * 2013-01-06 2013-05-01 张福禄 Method for dynamically binding prefabricated label with internet information
CN103955982A (en) * 2014-05-22 2014-07-30 国家电网公司 Method and device for identifying time-varying dynamic two-dimensional code entrance guard
CN104318291A (en) * 2014-11-05 2015-01-28 深圳市快印客投资管理有限公司 Variable two-dimensional code generating method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106384143A (en) * 2016-09-20 2017-02-08 北京兆信信息技术股份有限公司 Dynamic electronic two-dimensional code generation and recognition method
CN106384143B (en) * 2016-09-20 2020-03-17 北京兆信信息技术股份有限公司 Dynamic electronic two-dimensional code generation method and identification method
CN107220691B (en) * 2017-06-15 2020-09-08 北京大学 Method and system for software-defined space-time extensible information code
CN107220691A (en) * 2017-06-15 2017-09-29 北京大学 A kind of method and system of the expansible information code of the space-time of software definition
CN107480746A (en) * 2017-06-19 2017-12-15 四川蓝海创想科技有限公司 A kind of method and its system produced in batches based on commercial brand Quick Response Code
CN107679912A (en) * 2017-09-30 2018-02-09 深圳市极成光电有限公司 The application process and device of electronic-parking ticket are obtained based on scanning Quick Response Code
CN108564152A (en) * 2018-03-01 2018-09-21 联动优势电子商务有限公司 A kind of dynamic two-dimension code methods of exhibiting, apparatus and system
CN108920535A (en) * 2018-06-08 2018-11-30 厦门攸信信息技术有限公司 A kind of large-size screen monitors input method and system
CN110598501A (en) * 2018-06-12 2019-12-20 北京大学 Acquisition system for two-dimensional code image in motion state
CN110598501B (en) * 2018-06-12 2020-07-28 北京大学 Acquisition system for two-dimensional code image in motion state
CN111626390A (en) * 2019-02-27 2020-09-04 北京京东尚科信息技术有限公司 Method and device for dynamically displaying two-dimensional code
CN111898718A (en) * 2020-09-14 2020-11-06 弦子科技(北京)有限公司 Anti-counterfeiting label based on burnt code, anti-counterfeiting method and anti-counterfeiting verification system
CN112418373A (en) * 2020-09-29 2021-02-26 武汉格事化信息技术有限公司 Internet of things dynamic two-dimensional code generation method, storage medium and system

Similar Documents

Publication Publication Date Title
CN104820855A (en) Generation and identification method of dynamic two-dimensional codes based on mobile environment perception technology
US11695820B2 (en) Commerce oriented uniform resource locater (URL) shortener
CN107016420B (en) Service processing method and device
US20130043302A1 (en) Social media platforms
JP6746007B2 (en) Image generating method and image generating apparatus
US11017052B1 (en) Electronic forms interaction framework for a consistent user experience
US9672532B2 (en) Monetizing downloadable files based on resolving custodianship thereof to referring publisher and presentation of monetized content in a modal overlay contemporaneously with download
CN109416731A (en) Document optical character identification
JP2016536702A (en) Method and apparatus for remote provisioning, display or presentation of dynamic information content
KR20180089564A (en) Automatic verification of advertiser identifier in advertisements
KR20120090388A (en) Method and apparatus for managing user device and contents using qr code
US8671389B1 (en) Web application resource manager on the web and localizable components
CN109241768B (en) Love information processing method, device, equipment and storage medium
KR20160027419A (en) Method for Providing Additional Functions based on information
CN110266469A (en) A kind of remote online electronic signature method based on WEB script data stream operation
CN117115294A (en) Method, device, equipment and medium for generating artistic code image
US20210035170A1 (en) QR Code Based Review System
JP6889892B1 (en) Management system, server equipment, programs and methods
CN119271180A (en) Data processing method, device, equipment, storage medium and program product
KR20150045543A (en) Genuine product certification and sns posting system, and method using nfc tag and smart phone
JP7029557B1 (en) Judgment device, judgment method and judgment program
EP3819779A1 (en) Browser management system, browser management method, browser management program, and client program
CN111488180B (en) Service information processing method and device, electronic equipment and storage medium
KR101758712B1 (en) Method of managing receipt and apparatus for the same
CN104243455A (en) Method and system for processing image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150805

WD01 Invention patent application deemed withdrawn after publication