CN104517088A - Method and apparatus for interacting code by use of client - Google Patents

Method and apparatus for interacting code by use of client Download PDF

Info

Publication number
CN104517088A
CN104517088A CN201310451116.2A CN201310451116A CN104517088A CN 104517088 A CN104517088 A CN 104517088A CN 201310451116 A CN201310451116 A CN 201310451116A CN 104517088 A CN104517088 A CN 104517088A
Authority
CN
China
Prior art keywords
quick response
response code
client
information
new
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.)
Granted
Application number
CN201310451116.2A
Other languages
Chinese (zh)
Other versions
CN104517088B (en
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.)
Patriot Co Creating Foreign Exchange Beijing Technology Co ltd
Original Assignee
AIGO O2O (BEIJING) NETWORK 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 AIGO O2O (BEIJING) NETWORK TECHNOLOGY Co Ltd filed Critical AIGO O2O (BEIJING) NETWORK TECHNOLOGY Co Ltd
Priority to CN201310451116.2A priority Critical patent/CN104517088B/en
Publication of CN104517088A publication Critical patent/CN104517088A/en
Application granted granted Critical
Publication of CN104517088B publication Critical patent/CN104517088B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Image Processing (AREA)

Abstract

The invention is applied to the field of a computer, and provides a method and apparatus for interacting a code by use of a client. The method comprises: the client obtaining a two-dimensional code through a camera, and decoding the two-dimensional code to obtain data information of the two-dimensional code; the client synthesizing the data information of the two-dimensional code and newly added information into a new two-dimensional code; and the client sending the new two-dimensional code to other clients to enable said other clients to use the new two-dimensional code. The technical scheme provided by the invention has the advantage of realizing interaction among clients.

Description

A kind of utilize client to encode alternately method and device
Technical field
The invention belongs to computer realm, particularly relate to a kind of utilize client to encode alternately method and device.
Background technology
Barcode technology be grow up in computer technology and Information base a kind of melt encode, print, identify, data acquisition and processing (DAP) is in the emerging technology of one.Usual the seen bar code be printed in commodity packaging of people is bar code, and as shown in Figure 1, due to the restriction by information capacity, bar code just identifies trade mark, and is not described trade mark.Therefore, the use of bar code, needs the existence of dependency database.Do not having database and the place of being inconvenient to network, the use of bar code is greatly limited.In addition, bar code may represent Chinese character information hardly, and this seems very inconvenient having the occasion of Chinese character, bar code, and its efficiency is very low.
Along with the development of new and high technology, an urgent demand bar code represents more information in limited geometric space, thus meets the needs of Protean information.Two-dimensional bar code is born to solve the insurmountable problem of bar code just.Two-dimensional bar code as shown in Figure 2, has the feature such as high density, Large Copacity just, so can represent data file (comprising Chinese character file), picture etc. with it.Two-dimensional bar code carries and the optimal method of automatically identifying and reading the Large Copacity such as various certificate and card, highly reliable information.
According to the difference realizing principle, structure is formed, Quick Response Code can be divided into capable row's formula and matrix form two class.
The coding principle of row row formula two-dimensional bar code is based upon on bar code basis, is piled into the code system of two row or multirow on demand.It inherits feature, its recognizing apparatus bar code printing and the bar code compatibility of bar code in code Design, verification principle, recognition mode etc.But due to the increase of line number, discriminating, the decoding algorithm of row are not exclusively identical with bar code with software.Representational row row formula two-dimensional bar code comprises: PDF417, Code49, Code16K etc.
Matrix two-dimensional barcode forms with a matrix type.On the position of matrix respective element with point (square point, round dot or other formed point) appearance represent binary one, point do not occur represent binary " 0 ", the permutation and combination of point determines the meaning representated by matrix.Square matrix code is based upon a kind of New Graphics symbol automatically identifying and reading process code system on the basis such as computer image processing technology, assembly coding principle.Representative square matrix code comprises: QR Code, Data Matrix, Code one, Maxi Code etc.
In the process realizing prior art, find that prior art exists following technical matters:
Existing one-dimension code or Quick Response Code are only used for carrying out scanning obtaining information, and it is mutual that it cannot realize between client, so existing coding cannot realize alternately.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of method utilizing client to encode alternately, and the coding being intended to solve existing technology cannot realize the mutual problem between client.
First aspect, provide a kind of method utilizing client to encode alternately, described method comprises the steps:
Client obtains Quick Response Code by camera, and carrying out decoding to Quick Response Code obtains the data message of Quick Response Code;
The data message of Quick Response Code and other information are synthesized new Quick Response Code by client;
The Quick Response Code that new Quick Response Code sends to other clients to use this new to make other clients by client.
In conjunction with the technical scheme of first aspect, in the first possibility of first aspect,
Other information described are specially, the status information of the identity information of client, the geography information of client or client.
In conjunction with the technical scheme of first aspect or the first possibility of first aspect, in the second possibility of first aspect,
Described Quick Response Code specifically adopts the algorithm in 2 D code information encoding pack to generate.
In conjunction with the technical scheme of first aspect or the first possibility of first aspect, in the third possibility of first aspect, new Quick Response Code sends to other clients specifically to comprise with the Quick Response Code making other clients and use this new by described client:
The information sent is needed to split into two parts new Quick Response Code, the data occupation proportion of two parts is determined according to the ratio of the flow of mobile communications network and the flow of the Internet, the Quick Response Code then simultaneously adopting mobile communications network and the Internet to send to other clients two parts to use this new to make other clients.
Second aspect, provides a kind of client, and described client comprises:
Camera, for obtaining Quick Response Code;
Decoder module, obtain the data message of Quick Response Code for carrying out Quick Response Code decoding;
Synthesis module, for the data message of Quick Response Code and other information are synthesized new Quick Response Code;
Sending module, the Quick Response Code sending to other clients to use this new to make other clients new Quick Response Code.
In conjunction with the technical scheme of second aspect, in the first possibility of second aspect, described client specifically also comprises:
Split module, for needing the information sent to split into two parts new Quick Response Code, the data occupation proportion of two parts is determined according to the ratio of the flow of mobile communications network and the flow of the Internet;
Described sending module, specifically for adopting mobile communications network and the Internet to send to other clients two parts simultaneously.
In conjunction with the technical scheme of second aspect, in the second possibility of second aspect, other information described are specially, the status information of the identity information of client, the geography information of client or client.
In conjunction with the technical scheme of second aspect, in the third possibility of second aspect, described Quick Response Code specifically adopts the algorithm in 2 D code information encoding pack to generate.
In embodiments of the present invention, after technical scheme provided by the invention provides a kind of method utilizing client to encode alternately to scan original Quick Response Code, obtain the data message of original two dimensional code, then other information and data message are synthesized new Quick Response Code, such client just can be undertaken alternately by new Quick Response Code and other clients, and other clients can utilize the data message of new Quick Response Code and its function wanted of other information realizations.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the one-dimensional coding that prior art provides;
Fig. 2 is the two-dimensional encoded schematic diagram that prior art provides;
Fig. 3 is the process flow diagram of the marketing method of the utilization coding that the specific embodiment of the invention provides;
Fig. 4 is the structural drawing of client provided by the invention;
Fig. 5 is the process flow diagram of the marketing method of the utilization coding that the embodiment of the present invention one provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The specific embodiment of the invention provides a kind of method utilizing client to encode alternately, and the method is completed by client, and this client is specifically as follows: the equipment such as mobile phone, panel computer, and the method as shown in Figure 3, comprises the steps:
301, client obtains Quick Response Code by camera, and carrying out decoding to Quick Response Code obtains the data message of Quick Response Code;
302, the data message of Quick Response Code and other information are synthesized new Quick Response Code by client;
303, the client Quick Response Code that sends to other clients to use this new to make other clients new Quick Response Code.
Method provided by the invention is after scanning original Quick Response Code, obtain the data message of original two dimensional code, then other information and data message are synthesized new Quick Response Code, such client just can be undertaken alternately by new Quick Response Code and other clients, and other clients can utilize the data message of new Quick Response Code and its function wanted of other information realizations.
Other information above-mentioned are specifically as follows, the information such as the status information of the identity information of client, the geography information of client or client, the present invention does not limit to the concrete manifestation form of other information above-mentioned, anyly can user and the mutual information of other clients all can be carried in other information above-mentioned.
The generating algorithm of above-mentioned Quick Response Code specifically can adopt the algorithm in 2 D code information encoding pack to generate, and certainly in a practical situation, other algorithm also can be adopted to generate, do not repeating here.
Optionally, new 2 D code information sends to the mode of other clients can be multiple by above-mentioned client, such as, other clients are sent to by bluetooth approach, other clients can certainly be sent to by mobile communications network, certainly can also send to other clients by the Internet.The mode that certain above-mentioned send mode also can adopt mixing to send sends, and when adopting hybrid mode to send, is only suitable for by adopting mobile communications network send and sent by the Internet, when the mode adopting hybrid mode to send is specifically as follows:
New Quick Response Code needs the information sent to split into two parts by mobile phone, the data occupation proportion of two parts is determined according to the ratio of the flow of mobile communications network and the flow of the Internet, then adopt mobile communications network and the Internet to send to other clients two parts, the Quick Response Code that the synthesis that two parts is stitched together after other clients receive is new simultaneously.The transmission speed of new Quick Response Code can be improved like this.
The present invention also provides a kind of client, and the method is completed by client, and this client is specifically as follows: the equipment such as mobile phone, panel computer, and the method as shown in Figure 4, comprises the steps:
Camera 401, for obtaining Quick Response Code;
Decoder module 402, obtain the data message of Quick Response Code for carrying out Quick Response Code decoding;
Synthesis module 403, for the data message of Quick Response Code and other information are synthesized new Quick Response Code;
Sending module 404, the Quick Response Code sending to other clients to use this new to make other clients new Quick Response Code.
Optionally, above-mentioned client specifically can also comprise:
Split module 405, for needing the information sent to split into two parts new Quick Response Code, the data occupation proportion of two parts is determined according to the ratio of the flow of mobile communications network and the flow of the Internet;
Sending module 404, specifically for adopting mobile communications network and the Internet to send to other clients two parts simultaneously;
The Quick Response Code that the synthesis that two parts is stitched together after adopting this mixing send mode that other clients can be made to receive is new.The transmission speed of new Quick Response Code can be improved like this.
Embodiment one
The present embodiment one provides a kind of method utilizing client to encode alternately, the method is completed by mobile phone, the realizing scene and can be of the present embodiment: the customizing messages of above-mentioned Quick Response Code is commercial promotions information, other information above-mentioned are the geographical location information of client, the method as shown in Figure 5, comprises the steps:
501, mobile phone obtains Quick Response Code by camera, and carrying out decoding to Quick Response Code obtains the data message of Quick Response Code;
502, the latitude and longitude coordinates of commercial promotions information and mobile phone is synthesized new Quick Response Code by mobile phone;
503, the mobile phone Quick Response Code that sends to other mobile phones to use this new to make other clients new Quick Response Code;
504, other mobile phones are decoded commodity in use sales promotion information after new Quick Response Code, and are known the position of client by the latitude and longitude coordinates of mobile phone.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (8)

1. the method utilizing client to encode alternately, is characterized in that, described method comprises the steps: that client obtains Quick Response Code by camera, and carrying out decoding to Quick Response Code obtains the data message of Quick Response Code; The data message of Quick Response Code and newly-added information are synthesized new Quick Response Code by client.
2. method according to claim 1, is characterized in that,
Described newly-added information is specially, the status information of the identity information of client, the geography information of client or client.
3. method according to claim 1 and 2, is characterized in that,
Described Quick Response Code specifically adopts the algorithm in 2 D code information encoding pack to generate.
4. method according to claim 1 and 2, is characterized in that, new Quick Response Code sends to other clients specifically to comprise with the Quick Response Code making other clients and use this new by described client:
The information sent is needed to split into two parts new Quick Response Code, the data occupation proportion of two parts is determined according to the ratio of the flow of mobile communications network and the flow of the Internet, the Quick Response Code then simultaneously adopting mobile communications network and the Internet to send to other clients two parts to use this new to make other clients.
5. a client, is characterized in that, described client comprises:
Camera, for obtaining Quick Response Code;
Decoder module, obtain the data message of Quick Response Code for carrying out Quick Response Code decoding;
Synthesis module, for the data message of Quick Response Code and newly-added information are synthesized new Quick Response Code;
Sending module, the Quick Response Code sending to other clients to use this new to make other clients new Quick Response Code.
6. client according to claim 5, is characterized in that, described client specifically also comprises:
Split module, for needing the information sent to split into two parts new Quick Response Code, the data occupation proportion of two parts is determined according to the ratio of the flow of mobile communications network and the flow of the Internet;
Described sending module, specifically for adopting mobile communications network and the Internet to send to other clients two parts simultaneously.
7. client according to claim 5, is characterized in that,
Described newly-added information is specially, the status information of the identity information of client, the geography information of client or client.
8. method according to claim 5, is characterized in that,
Described Quick Response Code specifically adopts the algorithm in 2 D code information encoding pack to generate.
CN201310451116.2A 2013-09-26 2013-09-26 A kind of method and device using client interaction coding Expired - Fee Related CN104517088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310451116.2A CN104517088B (en) 2013-09-26 2013-09-26 A kind of method and device using client interaction coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310451116.2A CN104517088B (en) 2013-09-26 2013-09-26 A kind of method and device using client interaction coding

Publications (2)

Publication Number Publication Date
CN104517088A true CN104517088A (en) 2015-04-15
CN104517088B CN104517088B (en) 2018-11-20

Family

ID=52792369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310451116.2A Expired - Fee Related CN104517088B (en) 2013-09-26 2013-09-26 A kind of method and device using client interaction coding

Country Status (1)

Country Link
CN (1) CN104517088B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095975A (en) * 2016-06-20 2016-11-09 罗东涛 A kind of Quick Response Code based on electronic chart generates system and two-dimensional code generation method thereof
WO2017080007A1 (en) * 2015-11-10 2017-05-18 福建优安米信息科技有限公司 Intelligent analysis and processing system of identification code and processing method therefor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101063999A (en) * 2006-04-29 2007-10-31 银河联动信息技术(北京)有限公司 Synthesis system and method of two-dimension code and sign
CN101976329A (en) * 2010-11-16 2011-02-16 刘彤 Medical record information management method based on two-dimensional code technology
CN102739397A (en) * 2011-03-31 2012-10-17 汉王科技股份有限公司 Method and device for encrypting and checking electronic worksheet
CN103139223A (en) * 2013-03-22 2013-06-05 北京我遥我控科技有限公司 Data verification method, client-side and server based on network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101063999A (en) * 2006-04-29 2007-10-31 银河联动信息技术(北京)有限公司 Synthesis system and method of two-dimension code and sign
CN101976329A (en) * 2010-11-16 2011-02-16 刘彤 Medical record information management method based on two-dimensional code technology
CN102739397A (en) * 2011-03-31 2012-10-17 汉王科技股份有限公司 Method and device for encrypting and checking electronic worksheet
CN103139223A (en) * 2013-03-22 2013-06-05 北京我遥我控科技有限公司 Data verification method, client-side and server based on network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017080007A1 (en) * 2015-11-10 2017-05-18 福建优安米信息科技有限公司 Intelligent analysis and processing system of identification code and processing method therefor
CN106095975A (en) * 2016-06-20 2016-11-09 罗东涛 A kind of Quick Response Code based on electronic chart generates system and two-dimensional code generation method thereof

Also Published As

Publication number Publication date
CN104517088B (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN203057193U (en) Data processing apparatus
CN103248555B (en) Method and device for adding friends
CN102724668A (en) Method and system for sharing WIFI (wireless fidelity) network information on basis of two-dimensional code graphs
CN111723885B (en) Industrial Internet enterprise identification interaction system and implementation method thereof
CN102867205B (en) Information management and two-dimensional code generation method and related devices
CN103179640A (en) Wireless local area network access system and method
CN102609543A (en) Multifunctional two-dimensional code product traceability system and traceability method
CN103442156A (en) Image steganography and secret information extraction method based on intelligent mobile terminal
CN102137353A (en) Short message transmission mode based on two-dimension code
CN101296441B (en) Method and device for scanning two-dimension bar code and transmitting message
WO2010115351A1 (en) Two-dimensional array code
CN102129585A (en) Method and system for transmitting information, device for displaying bar code and device for reading bar code
CN101552675A (en) Commercial intelligent real time identity authentication method based on mobile handhold terminal and two-dimension bar-code
AU2010234173B2 (en) Two-dimensional array code
CN103259621A (en) Encoding method and device of colorized three-dimensional codes and application method and system of colorized three-dimensional codes
CN108846466A (en) Two-dimensional code generation method and device, two-dimensional code identification method and device
CN103037336A (en) Short message transmission method of two-dimensional code
CN104424498A (en) Method and device for transforming two-dimensional codes at high speed
CN104517136A (en) Data label carrier information application and processing system and method
CN106203231A (en) A kind of voucher cloud print system supporting that actively reading code prints
Fang Offline QR code authorization based on visual cryptography
CN104517088A (en) Method and apparatus for interacting code by use of client
CN204288294U (en) Based on the seed traceability system of Quick Response Code
CN1996432A (en) Application method of moving 2D code map
CN104519085A (en) Method and system for registering by using code

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190313

Address after: 100085 One bungalow C1-024, Sipozi, Qinghe, Haidian District, Beijing

Patentee after: Patriot Co-Creating Foreign Exchange (Beijing) Technology Co.,Ltd.

Address before: 100080 Beijing Haidian District, Zhongguancun Street, No. 18, 8th Floor 04-615

Patentee before: AIGO O2O (BEIJING) NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181120

CF01 Termination of patent right due to non-payment of annual fee