CN107122817A - Processing method and Quick Response Code terminal based on Quick Response Code - Google Patents

Processing method and Quick Response Code terminal based on Quick Response Code Download PDF

Info

Publication number
CN107122817A
CN107122817A CN201710283629.5A CN201710283629A CN107122817A CN 107122817 A CN107122817 A CN 107122817A CN 201710283629 A CN201710283629 A CN 201710283629A CN 107122817 A CN107122817 A CN 107122817A
Authority
CN
China
Prior art keywords
quick response
response code
mobile terminal
data
terminal
Prior art date
Application number
CN201710283629.5A
Other languages
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 努比亚技术有限公司
Priority to CN201710283629.5A priority Critical patent/CN107122817A/en
Publication of CN107122817A publication Critical patent/CN107122817A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06KRECOGNITION OF DATA; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06KRECOGNITION OF DATA; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06KRECOGNITION OF DATA; 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
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code

Abstract

The invention discloses a kind of processing method based on Quick Response Code and Quick Response Code terminal, methods described is used for Quick Response Code terminal, and the Quick Response Code terminal includes memory cell and processing unit;The memory cell is used for the Quick Response Code for storing and showing the information with target;Methods described includes:The processing unit it is determined that the Quick Response Code by mobile terminal barcode scanning after, data are performed from the acquisition for mobile terminal, and the execution data are verified, and the result corresponding function with the verification is called according to call relation, the target is operated.It is of the invention effectively to solve in Quick Response Code application scenarios, communication of the server to service end is reduced, the cost of server and service end verification communication is reduced, the success rate of service end verification is improved, so as to improve Consumer's Experience.

Description

Processing method and Quick Response Code terminal based on Quick Response Code

Technical field

Field, more particularly to a kind of processing method and Quick Response Code end based on Quick Response Code are recognized the present invention relates to Quick Response Code End.

Background technology

Current popular shared bicycle (for example rub and visit bicycle), using following unblock scheme.

1st, car Bluetooth information can be read when mobile phone is scanned, if mobile phone opens bluetooth, APP can attempt pairing.

2nd, server receives the data of mobile phone transmission, while unlocking instruction can be sent to mobile phone and bicycle, after all bicycle SM card signals are not as good as mobile phone, therefore in order to ensure that bicycle can normally unlock, and mobile phone is receiving the unlocking instruction of server, can pass through Bluetooth is sent to the bicycle of pairing.

Existing unblock scheme needs to be communicated with server, and bicycle is shared for this needs increase SIM card and bluetooth connection Module, adds verification communications cost.This programme improves two-dimension code structure feature, to solve the scene of local barcode scanning verification, subtracts Few communication of the server to server end, improves Consumer's Experience.

The content of the invention

It is a primary object of the present invention to propose a kind of processing method based on Quick Response Code and mobile terminal, it is intended to solve existing Have and realized by sweeping target Quick Response Code in the scheme for starting some function of target, communications cost is verified between server and target high The problem of.

To achieve the above object, the present invention provides a kind of processing method based on Quick Response Code, and methods described is used for Quick Response Code Terminal, the Quick Response Code terminal includes memory cell and processing unit;The memory cell is used to store and show with target Information Quick Response Code;Methods described includes:

The processing unit it is determined that the Quick Response Code by mobile terminal barcode scanning after, from the acquisition for mobile terminal perform number According to, and the execution data are verified;After verification passes through, the work(corresponding with the execution data into the target Energy unit sending function call instruction, so that the functional unit starts preset function corresponding with the execution data.

Alternatively, methods described also includes:

The memory cell is receiving the signal of making an appointment of mobile terminal transmitting, or detect it is preset really When recognizing button and being triggered, generation barcode scanning completes signal, to activate the processing unit.

Specifically, the Quick Response Code terminal also includes starting switch;The memory cell is after generation barcode scanning completes signal Also include:

Barcode scanning completion signal is sent to starting switch, so that the starting switch activates the processing unit.

Alternatively, it is described to perform data from the acquisition for mobile terminal, including:

The coded data that mobile terminal is sent is received, the coded data is the school that the mobile terminal is returned to server Test after notice data are encoded and obtain;

The coded data is decoded according to default decoding process, the execution data are obtained.

Alternatively, the Quick Response Code terminal also includes generation unit;Methods described also includes:

The generation unit generates the Quick Response Code and verification mode according to the information of the target, and the Quick Response Code is deposited The verification mode is stored in the processing unit by storage in the memory cell;

It is described that the execution data are verified, including:

According to the verification mode of storage, the notice result data is verified.

In addition, to achieve the above object, the present invention also proposes a kind of Quick Response Code terminal, the Quick Response Code terminal includes storage Unit and processing unit, the memory cell are used for the Quick Response Code for storing and showing the information with target, the memory cell Including memory and processor, the memory storage has Quick Response Code processing routine, and the computing device described program is with reality Existing following steps:

It is determined that the Quick Response Code by mobile terminal barcode scanning after, from the acquisition for mobile terminal perform data;

The execution data are verified;

After verification passes through, to the target sending function call instruction, so that the target start and the execution number According to corresponding preset function.

Alternatively, the memory cell is additionally operable to receiving the signal of making an appointment of the mobile terminal transmitting, or When detecting preset confirmation button and being triggered, generation barcode scanning completes signal, to activate the processing unit.

Specifically, the Quick Response Code terminal also includes starting switch;The memory cell is additionally operable to complete the barcode scanning Signal is sent to starting switch, so that the starting switch activates the processing unit.

Alternatively, it is described to perform data from the acquisition for mobile terminal, including:

The coded data that mobile terminal is sent is received, the coded data is the school that the mobile terminal is returned to server Test after notice data are encoded and obtain;

The coded data is decoded according to default decoding process, the execution data are obtained.

Alternatively, the Quick Response Code terminal also includes generation unit;

The generation unit is used to generate the Quick Response Code and verification mode according to the information of the target, by the two dimension Code is stored in the memory cell, and the verification mode is stored in into the processing unit;

It is described that the execution data are verified, including:

According to the verification mode of storage, the notice result data is verified.

Processing method and Quick Response Code terminal proposed by the present invention based on Quick Response Code, are held by redefining 2 D code information Carrier, Quick Response Code is carried in Quick Response Code terminal, and Quick Response Code is defined as into memory cell and processing unit, when in Quick Response Code After the customizing messages of storage is scanned, data are performed from the acquisition for mobile terminal, and the execution data are verified, And the result corresponding function with the verification is called according to call relation, the target is operated, so as to effectively solve two Tie up in code application scenarios, reduce communication of the server to service end, reduce the cost of server and service end verification communication, carry The success rate of service end verification is risen, so as to improve Consumer's Experience.

Brief description of the drawings

The hardware configuration signal for the optional mobile terminal that Fig. 1 swaps for Quick Response Code terminal in the embodiment of the present invention Figure;

Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;

Fig. 3 is a kind of flow chart of the processing method based on Quick Response Code in the embodiment of the present invention;

Fig. 4 is a kind of structural representation of Quick Response Code terminal in the embodiment of the present invention;

Fig. 5 interacts schematic diagram for Quick Response Code terminal in the embodiment of the present invention with mobile terminal.

The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.

Embodiment

It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.

In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed Ground is used.

Summary carries out the terminal of information exchange with Quick Response Code terminal in the present invention first.Terminal can be come real in a variety of manners Apply.For example, the terminal described in the present invention can include such as mobile phone, tablet personal computer, notebook computer, palm PC, individual Digital assistants (Personal Digital Assistant, PDA), portable media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, the mobile terminal such as pedometer, it is and such as numeral TV, desk-top The fixed terminals such as computer.

It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.

Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.

The all parts of mobile terminal are specifically introduced with reference to Fig. 1:

Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..

WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.

Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..

A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042,1041 pairs of graphics processor is in video acquisition mode Or the view data progress of the static images or video obtained in image capture mode by image capture apparatus (such as camera) Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after being handled through graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound The noise produced during frequency signal or interference.

Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.

Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.

User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.

Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein Limit.

Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with For transmitting data between mobile terminal 1 00 and external device (ED).

Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.

Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated application processor and modulatedemodulate mediate Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.

Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.

Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..

For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below Row description.

Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。

Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.

E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.

EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.

IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..

Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.

The present invention is based on above-mentioned mobile terminal hardware configuration and communications network system, proposes each embodiment of the invention.

As shown in figure 3, the embodiment of the present invention provides a kind of processing method based on Quick Response Code, methods described is used for Quick Response Code Terminal, the Quick Response Code terminal includes memory cell and processing unit;The memory cell is used to store and show with target Information Quick Response Code;Methods described includes:

The processing unit it is determined that the Quick Response Code by mobile terminal barcode scanning after, from the acquisition for mobile terminal perform number According to, and the execution data are verified, and the result corresponding function with the verification is called according to call relation, to institute Target is stated to be operated;The call relation is corresponding relation between default each check results and each preset function.

By redefining 2 D code information supporting body in the embodiment of the present invention, Quick Response Code is carried on Quick Response Code terminal In, and Quick Response Code is defined as memory cell and processing unit, when the customizing messages (i.e. the information of target) stored in Quick Response Code After scanned, data are performed from the acquisition for mobile terminal, and the execution data are verified, and according to call relation The result corresponding function with the verification is called, the target is operated, so that effectively solve in Quick Response Code application scenarios, Communication of the server to service end (i.e. target, such as share bicycle) is reduced, server is reduced and service end verifies communication Cost, improves the success rate of service end verification, so as to improve Consumer's Experience.

Target can be set according to practical application scene in the embodiment of the present invention, for example the shared list in shared bicycle Car, and automatic vending equipment described as follows etc., therefore be not especially limited herein.

Quick Response Code application scenarios mainly sweep target Quick Response Code by mobile terminal in the embodiment of the present invention, obtain target Information, sends server by the information of target and information of mobile terminal and is verified, in the case where verification passes through, server to Some functional module sending function call instruction of target, so that the functional module starts corresponding function.Such as shared bicycle, Quick Response Code is sold goods scheme in Quick Response Code unblock scheme in shared motor vehicle, Vending Machine.

For example, present common shared bicycle, realization principle is that mobile terminal (such as) passes through the shared bicycle (target) of scanning Quick Response Code, obtains shared bicycle information;Shared bicycle information generally comprises the identity of shared bicycle.

The information (identity information and log-on message of mobile terminal etc.) of mobile terminal itself and shared bicycle information are sent To server;

The information that server is sent to mobile terminal is verified, and for example whether mobile terminal belongs to registered user, is shared The current state (whether being reserved) of bicycle, if verification passes through, that is to say, that the mobile terminal of barcode scanning belongs to validated user, The lockset (i.e. a kind of functional unit) of the shared bicycle can be unlocked (i.e. unlocking function), then send unlocking function to lockset Call instruction.

Therefore when target is shared bicycle, the execution data are unlocking data, and the functional unit is lockset unit, The preset function is unlocking function.

And for example, automatic vending equipment, realization principle is mobile terminal (such as) by scanning automatic vending equipment (target) Quick Response Code, obtains automatic vending facility information;Automatic vending facility information generally comprises the identity of automatic vending equipment.

The information (identity information and payment information of mobile terminal etc.) and automatic vending facility information of mobile terminal itself It is sent to server;

The information that server is sent to mobile terminal is verified, and whether the payment for for example verifying mobile terminal is correct Etc., if verification passes through, that is to say, that the mobile terminal of barcode scanning belongs to validated user, can going out the automatic vending equipment Goods mouthful (i.e. a kind of functional unit) opens (i.e. opening function), then sends opening function call instruction to outlet.

Target is not limited to above object in the embodiment of the present invention.

When implementing, Quick Response Code terminal is arranged on the body of target in the embodiment of the present invention.

As shown in figure 4, Quick Response Code terminal includes memory cell and processing unit in the embodiment of the present invention, it can also wrap certainly Include starting switch.

That is 2 D code information is defined as three parts in the embodiment of the present invention, information storage part, startup are opened Pass, information reception processing unit.The 2 D code information carrying carrier redefined can be the circuit of FPGA, either Can the display of dynamic change receive screen apparatus etc., but be not limited to above carrier.Surface and current Quick Response Code form Equally, scan mode is same.That is memory cell and processing unit constitute carrying carrier in the embodiment of the present invention.

On the basis of above-described embodiment, it is further proposed that the variant embodiment of above-described embodiment, needs explanation herein It is, in order that description is brief, the only description and the difference of above-described embodiment in each variant embodiment.

In one embodiment of the invention, methods described is used for Quick Response Code terminal, and the Quick Response Code terminal includes storage Unit and processing unit;The memory cell is used for the Quick Response Code for storing and showing the information with target;Methods described includes:

The memory cell is receiving the signal of making an appointment of mobile terminal transmitting, or detect it is preset really When recognizing button and being triggered, generation barcode scanning completes signal, to activate the processing unit.

The processing unit it is determined that the Quick Response Code by mobile terminal barcode scanning after, from the acquisition for mobile terminal perform number According to, and the execution data are verified, and the result corresponding function with the verification is called according to call relation, to institute Target is stated to be operated;The call relation is corresponding relation between default each check results and each preset function.

Previously arranged signal belongs to the signal of mobile terminal and Quick Response Code terminal by protocol conventions in the embodiment of the present invention, or The signal set according to actual conditions, such as blinker signal.

For example, mobile terminal is by scan mode surface sweeping 2 D code information, when scan complete after, mobile terminal is to storage Unit sends blinker signal.

Furtherly, the Quick Response Code terminal also includes starting switch;The memory cell completes signal in generation barcode scanning Also include afterwards:

Barcode scanning completion signal is sent to starting switch, so that the starting switch activates the processing unit.

The purpose of this design, can allow processing unit to be in closing process for a long time, only just be activated after use, so The electricity of processing unit can be largely saved, 2 D code information unit needs to exist for a long time after all.

In another embodiment of the present invention, methods described is used for Quick Response Code terminal, and the Quick Response Code terminal includes depositing Storage unit and processing unit;The memory cell is used for the Quick Response Code for storing and showing the information with target;Methods described bag Include:

The processing unit it is determined that the Quick Response Code by mobile terminal barcode scanning after, from the acquisition for mobile terminal perform number According to, and the execution data are verified;After verification passes through, the work(corresponding with the execution data into the target Energy unit sending function call instruction, so that the functional unit starts preset function corresponding with the execution data.

Wherein, it is described to perform data from the acquisition for mobile terminal, including:

The coded data that mobile terminal is sent is received, the coded data is the school that the mobile terminal is returned to server Test after notice data are encoded and obtain;

The coded data is decoded according to default decoding process, the execution data are obtained.

That is, after the information that mobile scanning terminal is stored into Quick Response Code, being communicated with server unit, take Business device unit is verified according to communication data to mobile terminal, is then back to verification and is notified data, mobile terminal will verify logical Primary data is encrypted coding and (such as by infrared mode, is encrypted using optical encryption encryption algorithm or using flash lamp Coding, can use but be not limited to above method).Then information (can be using infrared or flash lamp etc.) is sent everywhere Manage unit (processing unit can be light receiving element or photoelectric circuit etc.)

In yet another embodiment of the present invention, the Quick Response Code terminal also includes generation unit;Methods described is used for two Code terminal is tieed up, the Quick Response Code terminal includes memory cell and processing unit;The memory cell is used to store and show to have The Quick Response Code of the information of target;Methods described includes:

The generation unit generates the Quick Response Code and verification mode according to the information of target, and the Quick Response Code is stored in The memory cell, the processing unit is stored in by the verification mode;

The processing unit it is determined that the Quick Response Code by mobile terminal barcode scanning after, from the acquisition for mobile terminal perform number According to, and according to the verification mode of storage, the notice result data is verified;After verification passes through, to the target In with the corresponding functional unit sending function call instruction of the execution data performed so that the functional unit starts with described The corresponding preset function of data.

Wherein verification mode can in advance and server commitment.If for example, server with to mobile terminal verification pass through, Set to unlock and perform data for ON, then performing data using the cipher mode dual lock arranged with Quick Response Code terminal is added It is close, and it is sent to mobile terminal.

Mobile terminal is by the execution data of encryption, according to the manner of decryption with server commitment, obtains execution data of unlocking For ON, the verification by performing data is now assured that.

Furtherly, the generation unit generates verification mode according to the information of target, including:

According to the information of target, generation and the predetermined verification mode of server.

Lift method in the concrete application example description embodiment of the present invention.

The present invention be embodiment aim to solve the problem that Quick Response Code can only data storage the problem of be unable to processing data, redefine two The composition structure of code is tieed up, so as to solve the problem of local information under some scenes reads and handled, development cost is saved, lifting is used Experience at family.

As shown in figure 4,2 D code information is defined as into three parts, information storage part, starting switch, information receiving area Manage unit.The 2 D code information carrying carrier redefined can be the circuit of FPGA, or can dynamic change Display receives screen apparatus etc., but is not limited to above carrier.Surface is as current Quick Response Code form, scan mode Similarly.

Quick Response Code generating process:The information for needing to store is written to memory cell, while by the method for check information (such as Decipherment algorithm) write-in processing unit.

The start-up course of Quick Response Code:Mobile terminal after completion is scanned, is moved by scan mode surface sweeping 2 D code information Dynamic terminal transmission signal gives memory cell (such as flash lamp one is inferior), and now memory cell activation starting switch, information is received Processing unit is activated【The purpose of this design, allows 2 D code information unit to be in closing process for a long time, only after use Activation, so can largely save the electricity of 2 D code information unit, and 2 D code information unit needs for a long time after all Presence】.

After the information that mobile scanning terminal is stored into Quick Response Code, communicated with server unit, server unit Back-checking result notifies data, and check results notice data are encrypted coding and (such as by infrared mode, adopted by mobile terminal Coding is encrypted with optics scrambled algorithm or using flash lamp, can use but be not limited to above method).Then The information that will send information to Quick Response Code terminal by information transmitting unit (can be using infrared or flash lamp etc.) receives single First (information receiving unit can be light receiving element or photoelectric circuit etc.), receive information is decrypted information receiving unit Verification, if verification passes through, informing function activation unit (is such as unlocked) using function.

As shown in figure 5, step 1, information in mobile terminal scanning element sweeps Quick Response Code, the information of target is obtained;To startup Switch sends barcode scanning and completes signal, then activates processing unit.

Step 2, communicated with server.

Step 3, server notifies data to mobile terminal back-checking.

Step 4, mobile terminal notifies data that coding is encrypted verification.

Step 5, mobile terminal is sent to the processing unit of Quick Response Code terminal by information transmitting unit.

Step 6, processing unit decryption verification notifies data, and starts verification.

Step 7, verify successfully, startup function activation unit.

Based on method in the various embodiments described above, the embodiment of the present invention provides a kind of Quick Response Code terminal, the Quick Response Code terminal Including memory cell and processing unit, the memory cell is used for the Quick Response Code for storing and showing the information with target, described Memory cell includes memory and processor, and the memory storage has a Quick Response Code processing routine, described in the computing device Program is to realize following steps:

It is determined that the Quick Response Code by mobile terminal barcode scanning after, from the acquisition for mobile terminal perform data;

The execution data are verified;

After verification passes through, to the target sending function call instruction, so that the target start and the execution number According to corresponding preset function.

That is, memory cell described in the embodiment of the present invention is used for the two dimension for storing and showing the information with target Code, processing unit be used for it is determined that the Quick Response Code by mobile terminal barcode scanning after, from the acquisition for mobile terminal perform data;It is right The execution data are verified;After verification passes through, to the target sending function call instruction, so that the target start Preset function corresponding with the execution data.

By redefining 2 D code information supporting body in the embodiment of the present invention, Quick Response Code is carried on Quick Response Code terminal In, and Quick Response Code is defined as memory cell and processing unit, when the customizing messages (i.e. the information of target) stored in Quick Response Code After scanned, data are performed from the acquisition for mobile terminal, and the execution data are verified, and according to call relation The result corresponding function with the verification is called, the target is operated, so that effectively solve in Quick Response Code application scenarios, Communication of the server to service end (i.e. target, such as share bicycle) is reduced, server is reduced and service end verifies communication Cost, improves the success rate of service end verification, so as to improve Consumer's Experience.

Quick Response Code application scenarios mainly sweep target Quick Response Code by mobile terminal in the embodiment of the present invention, obtain target Information, sends server by the information of target and information of mobile terminal and is verified, in the case where verification passes through, server to Some functional module sending function call instruction of target, so that the functional module starts corresponding function.Such as shared bicycle, Quick Response Code is sold goods scheme in Quick Response Code unblock scheme in shared motor vehicle, Vending Machine.

For example, present common shared bicycle, realization principle is that mobile terminal (such as) passes through the shared bicycle (target) of scanning Quick Response Code, obtains shared bicycle information;Shared bicycle information generally comprises the identity of shared bicycle.

The information (identity information and log-on message of mobile terminal etc.) of mobile terminal itself and shared bicycle information are sent To server;

The information that server is sent to mobile terminal is verified, and for example whether mobile terminal belongs to registered user, is shared The current state (whether being reserved) of bicycle, if verification passes through, that is to say, that the mobile terminal of barcode scanning belongs to validated user, The lockset (i.e. a kind of functional unit) of the shared bicycle can be unlocked (i.e. unlocking function), then send unlocking function to lockset Call instruction.

Therefore when target is shared bicycle, the execution data are unlocking data, and the functional unit is lockset unit, The preset function is unlocking function.

And for example, automatic vending equipment, realization principle is mobile terminal (such as) by scanning automatic vending equipment (target) Quick Response Code, obtains automatic vending facility information;Automatic vending facility information generally comprises the identity of automatic vending equipment.

The information (identity information and payment information of mobile terminal etc.) and automatic vending facility information of mobile terminal itself It is sent to server;

The information that server is sent to mobile terminal is verified, and whether the payment for for example verifying mobile terminal is correct Etc., if verification passes through, that is to say, that the mobile terminal of barcode scanning belongs to validated user, can going out the automatic vending equipment Goods mouthful (i.e. a kind of functional unit) opens (i.e. opening function), then sends opening function call instruction to outlet.

Target is not limited to above object in the embodiment of the present invention.

When implementing, Quick Response Code terminal is arranged on the body of target in the embodiment of the present invention.

In embodiments of the present invention, the memory cell is additionally operable to receiving making an appointment for the mobile terminal transmitting Signal, or when detecting preset confirmation button and being triggered, generation barcode scanning completes signal, to activate the processing unit.

Furtherly, the Quick Response Code terminal also includes starting switch;The memory cell is additionally operable to the barcode scanning is complete Starting switch is sent into signal, so that the starting switch activates the processing unit.

In another embodiment of the present invention, it is described to perform data from the acquisition for mobile terminal, including:

The coded data that mobile terminal is sent is received, the coded data is the school that the mobile terminal is returned to server Test after notice data are encoded and obtain;

The coded data is decoded according to default decoding process, the execution data are obtained.

There is one embodiment in the present invention, the Quick Response Code terminal also includes generation unit;

The generation unit is additionally operable to generate the Quick Response Code and verification mode according to the information of target, by the Quick Response Code The memory cell is stored in, the verification mode is stored in the processing unit;

It is described that the execution data are verified, including:

According to the verification mode of storage, the notice result data is verified.

Lift the concrete application example description embodiment of the present invention.

The present invention be embodiment aim to solve the problem that Quick Response Code can only data storage the problem of be unable to processing data, redefine two The composition structure of code is tieed up, so as to solve the problem of local information under some scenes reads and handled, development cost is saved, lifting is used Experience at family.

As shown in figure 4,2 D code information is defined as into three parts, information storage part, starting switch, information receiving area Manage unit.The 2 D code information carrying carrier redefined can be the circuit of FPGA, or can dynamic change Display receives screen apparatus etc., but is not limited to above carrier.Surface is as current Quick Response Code form, scan mode Similarly.

Quick Response Code generating process:The information for needing to store is written to memory cell, while by the method for check information (such as Decipherment algorithm) write-in processing unit.

The start-up course of Quick Response Code:Mobile terminal after completion is scanned, is moved by scan mode surface sweeping 2 D code information Dynamic terminal transmission signal gives memory cell (such as flash lamp one is inferior), and now memory cell activation starting switch, information is received Processing unit is activated【The purpose of this design, allows 2 D code information unit to be in closing process for a long time, only after use Activation, so can largely save the electricity of 2 D code information unit, and 2 D code information unit needs for a long time after all Presence】.

After the information that mobile scanning terminal is stored into Quick Response Code, communicated with server unit, server unit Back-checking result notifies data, and check results notice data are encrypted coding and (such as by infrared mode, adopted by mobile terminal Coding is encrypted with optics scrambled algorithm or using flash lamp, can use but be not limited to above method).Then The information that will send information to Quick Response Code terminal by information transmitting unit (can be using infrared or flash lamp etc.) receives single First (information receiving unit can be light receiving element or photoelectric circuit etc.), receive information is decrypted information receiving unit Verification, if verification passes through, informing function activation unit (is such as unlocked) using function.

Operation principle is as shown in figure 5, step 1, information in mobile terminal scanning element sweeps Quick Response Code, the letter of acquisition target Breath;Barcode scanning is sent to starting switch and completes signal, then activates processing unit.

Step 2, communicated with server.

Step 3, server notifies data to mobile terminal back-checking.

Step 4, mobile terminal notifies data that coding is encrypted verification.

Step 5, mobile terminal is sent to the processing unit of Quick Response Code terminal by information transmitting unit.

Step 6, processing unit decryption verification notifies data, and starts verification.

Step 7, verify successfully, startup function activation unit.

It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the device of key element.

The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.

Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.

Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of processing method based on Quick Response Code, it is characterised in that methods described is used for Quick Response Code terminal, the Quick Response Code is whole End includes memory cell and processing unit;The memory cell is used for the Quick Response Code for storing and showing the information with target;Institute The method of stating includes:
The processing unit it is determined that the Quick Response Code by mobile terminal barcode scanning after, from the acquisition for mobile terminal perform data, And the execution data are verified;After verification passes through, the function corresponding with the execution data into the target Unit sending function call instruction, so that the functional unit starts preset function corresponding with the execution data.
2. the method as described in claim 1, it is characterised in that methods described also includes:
The memory cell is receiving the signal of making an appointment of mobile terminal transmitting, or detect preset confirmation by When key is triggered, generation barcode scanning completes signal, to activate the processing unit.
3. method as claimed in claim 2, it is characterised in that the Quick Response Code terminal also includes starting switch;The storage Unit also includes after generation barcode scanning completes signal:
Barcode scanning completion signal is sent to starting switch, so that the starting switch activates the processing unit.
4. the method as described in any one in claim 1-3, it is characterised in that described to be performed from the acquisition for mobile terminal Data, including:
The coded data that mobile terminal is sent is received, the coded data is that the verification that the mobile terminal is returned to server is led to Primary data is obtained after being encoded;
The coded data is decoded according to default decoding process, the execution data are obtained.
5. the method as described in any one in claim 1-3, it is characterised in that it is single that the Quick Response Code terminal also includes generation Member;Methods described also includes:
The generation unit generates the Quick Response Code and verification mode according to the information of the target, and the Quick Response Code is stored in The memory cell, the processing unit is stored in by the verification mode;
It is described that the execution data are verified, including:
According to the verification mode of storage, the notice result data is verified.
6. a kind of Quick Response Code terminal, it is characterised in that the Quick Response Code terminal includes memory cell and processing unit, the storage Unit is used for the Quick Response Code for storing and showing the information with target, and the memory cell includes memory and processor, described Memory storage has a Quick Response Code processing routine, and the computing device described program is to realize following steps:
It is determined that the Quick Response Code by mobile terminal barcode scanning after, from the acquisition for mobile terminal perform data;
The execution data are verified;
After verification passes through, to the target sending function call instruction, so that the target start and the execution data pair The preset function answered.
7. Quick Response Code terminal as claimed in claim 6, it is characterised in that the memory cell is additionally operable to receiving the shifting The signal of making an appointment of dynamic terminal transmission, or when detecting preset confirmation button and being triggered, generation barcode scanning completes signal, with Activate the processing unit.
8. Quick Response Code terminal as claimed in claim 7, it is characterised in that the Quick Response Code terminal also includes starting switch;Institute State memory cell to be additionally operable to barcode scanning completion signal being sent to starting switch, so that the starting switch activates the processing Unit.
9. the Quick Response Code terminal as described in any one in claim 6-8, it is characterised in that described to be obtained from the mobile terminal Execution data are taken, including:
The coded data that mobile terminal is sent is received, the coded data is that the verification that the mobile terminal is returned to server is led to Primary data is obtained after being encoded;
The coded data is decoded according to default decoding process, the execution data are obtained.
10. the Quick Response Code terminal as described in any one in claim 6-8, it is characterised in that the Quick Response Code terminal is also wrapped Include generation unit;
The generation unit is used to generate the Quick Response Code and verification mode according to the information of the target, and the Quick Response Code is deposited The verification mode is stored in the processing unit by storage in the memory cell;
It is described that the execution data are verified, including:
According to the verification mode of storage, the notice result data is verified.
CN201710283629.5A 2017-04-26 2017-04-26 Processing method and Quick Response Code terminal based on Quick Response Code CN107122817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710283629.5A CN107122817A (en) 2017-04-26 2017-04-26 Processing method and Quick Response Code terminal based on Quick Response Code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710283629.5A CN107122817A (en) 2017-04-26 2017-04-26 Processing method and Quick Response Code terminal based on Quick Response Code

Publications (1)

Publication Number Publication Date
CN107122817A true CN107122817A (en) 2017-09-01

Family

ID=59724928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710283629.5A CN107122817A (en) 2017-04-26 2017-04-26 Processing method and Quick Response Code terminal based on Quick Response Code

Country Status (1)

Country Link
CN (1) CN107122817A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107806691A (en) * 2017-10-30 2018-03-16 中冶集团武汉勘察研究院有限公司 A kind of tail end of central air conditioner barcode scanning manages intelligence system
CN107886642A (en) * 2017-09-27 2018-04-06 广东工业大学 A kind of two-dimentional code management method and system based on shared bicycle
CN107992768A (en) * 2017-11-29 2018-05-04 努比亚技术有限公司 A kind of method of information protection, terminal device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077851A (en) * 2014-07-10 2014-10-01 天津智博源科技发展有限公司 Bicycle public renting system and method based on two-dimensional codes
CN104809791A (en) * 2015-05-11 2015-07-29 杨恒沣 Two-dimensional unlocking method and two-dimensional unlocking device
CN204791168U (en) * 2015-07-09 2015-11-18 厦门城力机电设备有限公司 Access vehicle end and system by oneself
CN106548548A (en) * 2016-08-16 2017-03-29 中山微宇电器科技有限公司 A kind of method for unlocking and intelligent lock system of smart lock

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077851A (en) * 2014-07-10 2014-10-01 天津智博源科技发展有限公司 Bicycle public renting system and method based on two-dimensional codes
CN104809791A (en) * 2015-05-11 2015-07-29 杨恒沣 Two-dimensional unlocking method and two-dimensional unlocking device
CN204791168U (en) * 2015-07-09 2015-11-18 厦门城力机电设备有限公司 Access vehicle end and system by oneself
CN106548548A (en) * 2016-08-16 2017-03-29 中山微宇电器科技有限公司 A kind of method for unlocking and intelligent lock system of smart lock

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107886642A (en) * 2017-09-27 2018-04-06 广东工业大学 A kind of two-dimentional code management method and system based on shared bicycle
CN107806691A (en) * 2017-10-30 2018-03-16 中冶集团武汉勘察研究院有限公司 A kind of tail end of central air conditioner barcode scanning manages intelligence system
CN107992768A (en) * 2017-11-29 2018-05-04 努比亚技术有限公司 A kind of method of information protection, terminal device and storage medium

Similar Documents

Publication Publication Date Title
CN107666526A (en) A kind of terminal with camera
CN107315937A (en) A kind of method for secret protection, mobile terminal and computer-readable recording medium
CN107027114A (en) A kind of SIM card switching method, equipment and computer-readable recording medium
CN107145214A (en) The method and mobile terminal of application program power consumption management
CN107682627A (en) A kind of acquisition parameters method to set up, mobile terminal and computer-readable recording medium
CN107219974A (en) A kind of method, mobile terminal and storage medium for showing application software
CN107247711A (en) A kind of two-way translation method, mobile terminal and computer-readable recording medium
CN107786732A (en) Terminal applies method for pushing, mobile terminal and computer-readable recording medium
CN107820016A (en) Shooting display methods, double screen terminal and the computer-readable storage medium of double screen terminal
CN107528967A (en) A kind of quick payment method, terminal and computer-readable recording medium
CN107145385A (en) A kind of multitask interface display methods, mobile terminal and computer-readable storage medium
CN109286925A (en) ESIM card Activiation method, terminal device and storage medium
CN107343064A (en) A kind of mobile terminal of two-freedom rotating camera
CN107517494A (en) A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium
CN107562336A (en) A kind of method, equipment and computer-readable recording medium for controlling suspension ball
CN107329682A (en) Edge exchange method and mobile terminal
CN107465873A (en) A kind of processing method of image information, equipment and storage medium
CN107347011A (en) A kind of group message processing method, equipment and computer-readable recording medium
CN107437181A (en) Prevent the method, apparatus and computer-readable recording medium of the stolen brush of account
CN106953989A (en) Incoming call reminding method and device, terminal, computer-readable recording medium
CN107249074A (en) Application program quick start method, mobile terminal and computer-readable recording medium
CN107590656A (en) A kind of method, terminal and computer-readable recording medium for obtaining Quick Response Code
CN107678794A (en) Application program launching interface merging method and mobile terminal
CN108289141A (en) A kind of the screen locking unlocking method and mobile terminal of mobile terminal
CN107566980A (en) The localization method and mobile terminal of a kind of mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination