CN103716445A - Dynamic barcode-based data exchange method - Google Patents

Dynamic barcode-based data exchange method Download PDF

Info

Publication number
CN103716445A
CN103716445A CN201210377328.6A CN201210377328A CN103716445A CN 103716445 A CN103716445 A CN 103716445A CN 201210377328 A CN201210377328 A CN 201210377328A CN 103716445 A CN103716445 A CN 103716445A
Authority
CN
China
Prior art keywords
data
frame
dynamic bar
bar codes
user
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
CN201210377328.6A
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.)
Shanghai Bolu Information Technology Co Ltd
Original Assignee
Shanghai Bolu Information Technology Co Ltd
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 Shanghai Bolu Information Technology Co Ltd filed Critical Shanghai Bolu Information Technology Co Ltd
Priority to CN201210377328.6A priority Critical patent/CN103716445A/en
Publication of CN103716445A publication Critical patent/CN103716445A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed in the invention is a dynamic bar code-based data exchange method. A data encoding module, a service logic module, and a data decoding module and the like are arranged. According to the invention, on the basis of an encoding parameter, set by a user, of a dynamic bar code as well as a user data type and a data size, the user data are segmented and encoded and then the processed data are written in all frames of the dynamic bar code; a receiving data terminal device scans all frame images of the dynamic bar code, parses data of each frame of the dynamic bar code, and restores the data into original data according to a frame order. Because data exchanging is carried out based on the dynamic bar code, the simple and rapid capacity-extensible data exchange mode and service can be provided for the user.

Description

A kind of method for interchanging data based on dynamic bar codes
Technical field
The present invention relates to mobile terminal, barcode technology field, refers to a kind of method for interchanging data based on dynamic bar codes especially.
Background technology
Along with the development of mobile terminal technology and barcode technology, the particularly development of terminal shooting and scan capability, for providing feasibility based on a kind of method for interchanging data based on dynamic bar codes.
The common mode of current traditional internet data exchanged form is for setting up the webserver, for user assignment authority is downloaded, occupation mode is comparatively loaded down with trivial details, it need to be user assignment authority, maybe need to know the better address of resource, need user to input tediously long network address, meanwhile, and the automatic exchange of unrealized data end to end.
And traditional bar coding mode exchanges data can only adapt to the exchanges data with low capacity, barcode data capacity is little, as can encode the at most character of about 4K of QR code, and the increase along with code character, the figure of bar code will more and more be difficult to identification and differentiate, the light to environment for use, and the requirement of scan camera shooting head is more and more higher, limited the application of the exchanges data of larger capacity, and dynamic electron bar code provides the feasibility of the exchanges data of larger capacity for the data exchange ways based on bar code.
Development along with wireless Internet, the scope of terminal is extended to mobile phone, the various portable equipments such as panel computer, the exchanges data of equipment room becomes normality, common exchanges data is except traditional internet data exchanged form, based on various short-distance wireless technology, be also the conventional means of exchanges data, as the exchanges data of wireless blue tooth technology, but there is the otherness of software and hardware and user's the use habit of terminal, and the problem of the fail safe of short-distance wireless technology, make the user of exchanges data of the wireless technology of short distance experience poor, so far also well applied.
Simultaneously, support the terminal of short-distance wireless technology due to the reason of technology maturity and cost, so far also do not obtain large area universal, cannot and not support in support short-distance wireless technology to transmit and swap data between short-distance wireless technology is as the terminal of NFC technology, user's use impression further declines.
And the identification of bar code has become the ability generally possessing of current intelligent terminal, by bar code, realize the exchange of data, to terminal require low, do not need the support of various short-distance wireless technology can realize exchanges data fast, further, the dynamic strip-shaped code carrying by electronic image, has further expanded the ability of the exchanges data based on bar code, can carry fast more data, expand the scene that barcode data exchange is used.
Bar code is as an increasingly mature RM, in various application, obtained well universal, bar code miscellaneous can be used under different scenes, recognition speed and code capacity have all obtained good checking, terminal is to the support of bar code and very universal, by the exchange of bar code trigger data, become a kind of selection of automation data exchanged form.
In view of this, the object of the invention is to propose a kind of method for interchanging data based on cloud memory technology and barcode technology. ?
Summary of the invention
As can be seen from above, the coding parameter of the dynamic bar codes that the present invention sets by user also selects to need coded data, user data is cut apart in each frame that rear coding is written to dynamic bar codes, receive each two field picture of data terminal device scan dynamic bar codes, resolve dynamic bar codes every frame data and according to frame order with data are reduced to initial data
Further, pass through provided a kind of method for interchanging data based on dynamic bar codes for the development of data exchange service fast between a kind of user provides powerful guarantee, meet the requirement of user each side, promote user friendly experience.
For achieving the above object, one aspect of the present invention provides a kind of method for interchanging data based on dynamic bar codes, and the method comprises:
User selects to need coded data, and system judges user data type and size, and sets the coding parameter of dynamic bar codes, comprises frame per second, the information such as the coded data capacity of every frame bar code.
In an embodiment of a kind of method for interchanging data based on dynamic bar codes provided by the invention, the method also comprises:
System according to the data redudancy partition data of the amount of capacity of every frame and barcode space, and is converted to after character text according to the coding rule of dynamic bar codes the component frame to each dynamic bar codes by data encoding by the data after cutting apart by modes such as BASE64 by data.
In an embodiment of a kind of method for interchanging data based on dynamic bar codes provided by the invention, the method also comprises:
Other-end is opened the dynamic bar codes on camera scanning user mobile phone, catch each two field picture on dynamic bar codes, record the order of every two field picture, every frame bar code image is decoded, according to the frame data order of record, data are carried out to assembled and data check, reduction and recovery initial data.
 
Have the following advantages specifically:
Expand exchanges data capacity:
By automatic analysis and judgement data type and capacity, generate corresponding dynamic electron bar code, expand data capacity, bar code by scanning the other side can realize obtaining of data and synchronous, alleviated user's operating procedure, expanded the scope of application of exchanges data, can carry larger file, as video etc., images etc., have improved user's experience.
Reduce costs:
Compare the universal high with price of short-distance wireless technology, as NFC technology, by contrast, high-resolution camera is universal in terminal large area, barcode technology is also very ripe, by the mode of photoelectricity, reduced significantly the software and hardware requirement of terminal, reduced the input cost of user in terminal.
 
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is system module structural representation of the present invention.
Fig. 2 is system business process schematic diagram of the present invention.
 
Embodiment
With reference to the accompanying drawings the present invention is described more fully, exemplary embodiment of the present invention is wherein described.
For achieving the above object, a kind of method for interchanging data based on dynamic bar codes has been proposed.
Below in conjunction with the drawings, embodiments of the present invention are described.
 
The key point that realizes a kind of method for interchanging data based on dynamic bar codes is as follows:
Data Analysis:
System is carried out type and size judgement to needs coded data, judgement data type and size of data, and according to every frame capacity parameter of the dynamic bar codes of setting, original data are carried out carrying out BASE64 conversion after cutting apart of corresponding frame number, binary data is converted to character.
Data encoding:
After Data Analysis and conversion, the data after conversion are encoded respectively and are written in order the frame of each dynamic bar codes according to the capacity of every frame, and fill other fields of each frame.
Bar code scan is resolved:
User obtains after dynamic bar codes, in terminal, shows, calling party, by the bar code on terminal scanning sharing data user terminal, scans and catch each two field picture, and each two field picture is as the part forming as data with order.
Data reduction:
System is after the image of each frame of scanning, each frame order is positioned, the data that parse according to the order of every frame and every frame bar code, extract the content of the data division of every frame, be reduced into binary data, and the binary data that every frame is parsed carry out assembled, reduction initial data and fileinfo.
 
Main functional modules
As shown in Figure 1, a kind of system configuration of data exchange system mainly comprises:
System module comprises:
User terminal 100:
User terminal, possesses camera and operating system, is generally smart mobile phone, dull and stereotyped grade for equipment.
Scan module 101:
The bar code scan module of subscriber terminal side, calls every two field picture that camera function obtains dynamic electron bar code.
Business logic modules 102:
The functional module that the service logic of system end is controlled and carried out, carries out alternately, completing each system business logic with each functional module.
Data coding module 103:
File data is carried out to the conversion of binary system and BASE64 coding.
Data decode module 104:
File data is carried out to BASE64 to binary code conversion.
Bar code module 105:
According to bar code, generate parameter, and file data, each frame of filling electronic Dynamic bar code, generates electronic Dynamic bar code.
Document processing module 106:
File is carried out to size, and type judgement, obtains fileinfo, and the data of reduction bar code, and assembled and recovery original file data, preserves file.
Management configuration module 107:
The administration configuration functional module of system end, configures various systems and service parameter, administers and maintains the operation of system.
 
Give one example to illustrate that user of the present invention uses the workflow of a kind of data exchange system of the present invention below, as shown in Figure 2, in this embodiment, operation flow comprises the following steps:
Step 1: user selects to need the file of exchange and coding;
Step 2: the information such as file type is obtained in application, the size code conversion of row binary to BASE64 of going forward side by side;
Step 3: application bar code reading parameter and fileinfo, determine dynamic bar codes frame number, calculate the data that every frame should be filled, write data to bar code;
Step 4. cellphone subscriber shows the dynamic electron bar code on mobile phone to calling party;
Step 5. calling party is used the dynamic electron bar code of terminal scanning user displaying, catches the image of every frame;
The every frame bar code of step 6. calling party end analytic application, obtains file metadata with file data;
The file data of step 7. access end application decoder coding, is reduced to binary data;
The data of the every frame obtaining are spliced in the application of step 8. access end.
Step 9. access end is preserved the data of splicing.
 
Description of the invention provides for the purpose of example and explanation, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is for better explanation principle of the present invention and practical application, thereby and makes those of ordinary skill in the art can understand the various embodiment with various modifications that the present invention's design is suitable for special-purpose.

Claims (4)

1. the method for interchanging data based on dynamic bar codes, it is characterized in that, the coding parameter of the dynamic bar codes that user sets also selects to need coded data, user data is cut apart in each frame that rear coding is written to dynamic bar codes, receive each two field picture of data terminal device scan dynamic bar codes, resolve dynamic bar codes every frame data and according to frame order with data are reduced to initial data.
2. as claimed in claim 1, the coding parameter of the dynamic bar codes that user sets also selects to need coded data, it is characterized in that, user selects to need coded data, system judgement user data type and size, and set the coding parameter of dynamic bar codes, comprise frame per second, the coded data capacity of every frame bar code.
3. as claimed in claim 1, user data is cut apart in each frame that rear coding is written to dynamic bar codes, it is characterized in that, system according to the data redudancy partition data of the amount of capacity of every frame and barcode space, and is converted to after character text according to the coding rule of dynamic bar codes the component frame to each dynamic bar codes by data encoding by the data after cutting apart by modes such as BASE64 by data.
4. as claimed in claim 1, receive each two field picture of data terminal device scan dynamic bar codes, resolve dynamic bar codes every frame data and according to frame order with data are reduced to initial data, it is characterized in that, other-end is opened the dynamic bar codes on camera scanning user mobile phone, catch each two field picture on dynamic bar codes, record the order of every two field picture, every frame bar code image is decoded, according to the frame data order of record, data are carried out to assembled and data check, reduction and recovery initial data.
CN201210377328.6A 2012-10-09 2012-10-09 Dynamic barcode-based data exchange method Pending CN103716445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210377328.6A CN103716445A (en) 2012-10-09 2012-10-09 Dynamic barcode-based data exchange method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210377328.6A CN103716445A (en) 2012-10-09 2012-10-09 Dynamic barcode-based data exchange method

Publications (1)

Publication Number Publication Date
CN103716445A true CN103716445A (en) 2014-04-09

Family

ID=50409009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210377328.6A Pending CN103716445A (en) 2012-10-09 2012-10-09 Dynamic barcode-based data exchange method

Country Status (1)

Country Link
CN (1) CN103716445A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106650544A (en) * 2015-10-29 2017-05-10 财团法人工业技术研究院 Data transmission device, data reading device, data coding and decoding system and method thereof
CN107111734A (en) * 2014-12-24 2017-08-29 开利公司 Ambient parameter monitor with machine readable display
CN109088927A (en) * 2018-08-02 2018-12-25 合肥联宝信息技术有限公司 A kind of method and electronic equipment of transmission and reception data
CN110674660A (en) * 2019-09-26 2020-01-10 珠海格力电器股份有限公司 Method and device for determining graphic code information, terminal equipment and household appliance

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107111734A (en) * 2014-12-24 2017-08-29 开利公司 Ambient parameter monitor with machine readable display
CN106650544A (en) * 2015-10-29 2017-05-10 财团法人工业技术研究院 Data transmission device, data reading device, data coding and decoding system and method thereof
CN106650544B (en) * 2015-10-29 2019-10-25 财团法人工业技术研究院 Data transmission device, data reading device, data coding and decoding system and method thereof
CN109088927A (en) * 2018-08-02 2018-12-25 合肥联宝信息技术有限公司 A kind of method and electronic equipment of transmission and reception data
CN110674660A (en) * 2019-09-26 2020-01-10 珠海格力电器股份有限公司 Method and device for determining graphic code information, terminal equipment and household appliance
WO2021057154A1 (en) * 2019-09-26 2021-04-01 珠海格力电器股份有限公司 Graphic code information determination method and apparatus, terminal device, and household appliance
CN110674660B (en) * 2019-09-26 2021-11-05 珠海格力电器股份有限公司 Method and device for determining graphic code information, terminal equipment and household appliance

Similar Documents

Publication Publication Date Title
CN203057193U (en) Data processing apparatus
CN107292808B (en) Image processing method and device and image coprocessor
CN103078868A (en) Application method and system of two-dimension code
US11109012B2 (en) Carriage of PCC in ISOBMFF for flexible combination
CN102123158A (en) Method and system for realizing network data processing
CN101930439B (en) The Website processing device of the various model mobile phone of a kind of adaptation and application thereof
CN103716445A (en) Dynamic barcode-based data exchange method
CN102831663A (en) Smart-phone two-dimensional code attendance checking system and smart-phone two-dimensional code attendance checking method
CN102184379A (en) Data interchange method
US20120266212A1 (en) Apparatus and method for authenticating smart card
CN101296441A (en) Method and device for scanning two-dimension bar code and transmitting message
CN105631378A (en) Two-dimensional code scanning method, two-dimensional code scanning device and terminal comprising two-dimensional code scanning device
CN105550934A (en) System and method for pushing WeChat soft advertisement in virtual reality
CN102238263A (en) Method of getting online by using mobile phone to scan barcode
CN101400182A (en) Self log-on method and system for device management terminal and device management terminal thereof
CN105100893A (en) Video sharing method and device
CN102067122B (en) Method of generating a document from a web server located in a portable electronic device
US20140009563A1 (en) Non-video codecs with video conferencing
CN108965905A (en) A kind of live data plug-flow and offer and the method, apparatus for obtaining plug-flow address
KR102159712B1 (en) Qr code, and terminal using the same
CN112672154A (en) Live video playing method and device, server and computer readable storage medium
KR20190014223A (en) Qr code, and terminal using the same
CN109379591B (en) Image transcoding method, electronic device and computer readable storage medium
CN104703291A (en) MiFi-based communication method and relevant MiFi
CN110677676A (en) Video encoding method and apparatus, video decoding method and apparatus, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140409