CN104200252A - Bar code data-based functional logic jumping method, client and system - Google Patents

Bar code data-based functional logic jumping method, client and system Download PDF

Info

Publication number
CN104200252A
CN104200252A CN201410422578.6A CN201410422578A CN104200252A CN 104200252 A CN104200252 A CN 104200252A CN 201410422578 A CN201410422578 A CN 201410422578A CN 104200252 A CN104200252 A CN 104200252A
Authority
CN
China
Prior art keywords
bar code
logic
function logic
data
client
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
CN201410422578.6A
Other languages
Chinese (zh)
Other versions
CN104200252B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410422578.6A priority Critical patent/CN104200252B/en
Publication of CN104200252A publication Critical patent/CN104200252A/en
Application granted granted Critical
Publication of CN104200252B publication Critical patent/CN104200252B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a bar code data-based functional logic jumping method, client and system. The bar code data-based functional logic jumping method includes that a client acquires the bar code data of a target bar code, the bar code data of the target bar code comprises the bar code type and content data of the target bar code, and the bar code type comprises one-dimensional code or two-dimensional code; the client sends the bar code data to a server; the client acquires functional logic information returned from the server according to the bar code data of the target bar code and a preset bar code logic mapping relationship, wherein the functional logic information comprises a functional logic mark and logic content data corresponding to the bar code data of the target bar code; the client performs the corresponding functional logic according to the functional logic mark and logic content data. The bar code data-based functional logic jumping method, client and system are capable of reinforcing the bar code jumping ability and effectively widening the bar code application scene and use range.

Description

A kind of function logic jump method, client and system based on barcode data
Technical field
The present invention relates to Internet technical field, relate in particular to a kind of function logic jump method, client and system based on barcode data.
Background technology
Barcode technology is that grow up on computer technology and Information Technology Foundation a kind of melted coding, printing, identification, data acquisition and processing (DAP) in the emerging technology of one, and bar code generally comprises bar code and two-dimensional bar code.Common the seen bar code being printed in commodity packaging of people is bar code, and owing to being subject to the restriction of information capacity, bar code just identifies commodity, and commodity is not described.
Along with the development of modern high technology, an urgent demand represents more information in limited geometric space by bar code, thereby meets the needs of Protean information.Two-dimensional bar code has the feature such as high density, large capacity, so can represent data file (comprising Chinese character file), picture etc. with it.Two-dimensional bar code is that the also Perfected process of automatically identifying and reading is stored, carried to the large capacity such as various certificates and card, highly reliable information.According to the difference that realizes principle, planform, two-dimensional bar code can be divided into capable row's formula and matrix form two classes.
The coding principle of row row formula two-dimensional bar code is to be based upon on bar code basis, is piled on demand the code system of two row or multirow.It has inherited the feature of bar code, its recognizing apparatus bar code printing and bar code compatibility at aspects such as code Design, verification principle, recognition modes.But due to the increase of line number ' the discriminating of row, decoding algorithm be incomplete identical with bar code with software.The code system of representational row row formula two-dimensional bar code comprises: PDF417, Code49, Code16K etc.
Matrix two-dimensional barcode is with the form composition of matrix.On the position of matrix respective element, represent binary one with the appearance of point (points of square point, round dot or other shapes), point not there is not representing binary " 0 ", the permutation and combination of point has been determined the meaning of matrix representative.Square matrix code is that a kind of New Graphics symbol automatically identifying and reading being based upon on the basis such as computer image processing technology, assembly coding principle is processed code system.Representative square matrix code code system comprises: QR Code (QuickResponse, fast response), Data Matrix, Code one, Maxi code etc.
Bar code of the prior art only represents goods number; And two-dimensional bar code generally only represents a url (Uniform Resoure Locator: uniform resource locator), open corresponding webpage by sweeping bar code application.Above-mentioned bar code application turn function is very single, has limited greatly application scenarios and the usable range of bar code.
Summary of the invention
Embodiment of the present invention technical matters to be solved is, a kind of function logic jump method, client and system based on barcode data is provided, and can strengthen the redirect ability of bar code, effectively widens application scenarios and the usable range of bar code.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of function logic jump method based on barcode data, and described method comprises:
Client is obtained the barcode data of target bar code, and the barcode data of described target bar code comprises barcode types and the content-data of described target bar code, and described barcode types comprises bar code or two-dimensional bar code;
Described barcode data is sent to server by described client;
Described client is obtained the function logic information that server returns according to the barcode data of described target bar code and default bar code logical mappings relation, and described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code;
Described client is carried out corresponding function logic according to described function logic mark and logic content data.
Correspondingly, the embodiment of the present invention also provides a kind of function logic jump method based on barcode data, and described method comprises:
The barcode data that receives the target bar code of client transmission, the barcode data of described target bar code comprises barcode types and the content-data of described target bar code, described barcode types comprises bar code or two-dimensional bar code;
Search the function logic information corresponding with the barcode data of described target bar code according to default bar code logical mappings relation, described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code;
Return to described function logic information to described client, so that described client is carried out corresponding function logic according to described function logic mark and logic content data.
Correspondingly, the embodiment of the present invention also provides a kind of client, and described client comprises:
Barcode data acquisition module, for obtaining the barcode data of target bar code, the barcode data of described target bar code comprises barcode types and the content-data of described target bar code, described barcode types comprises bar code or two-dimensional bar code;
Barcode data sending module, for being sent to server by described barcode data;
Function logic acquisition module, the function logic information of returning according to the barcode data of described target bar code and default bar code logical mappings relation for obtaining server, described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code;
Function logic execution module, for carrying out corresponding function logic according to described function logic mark and logic content data.
Correspondingly, the embodiment of the present invention also provides a kind of server, and described server comprises:
Barcode data receiver module, the barcode data of target bar code sending for receiving client, the barcode data of described target bar code comprises barcode types and the content-data of described target bar code, described barcode types comprises bar code or two-dimensional bar code;
Function logic is searched module, for searching the function logic information corresponding with the barcode data of described target bar code according to default bar code logical mappings relation, described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code;
Function logic returns to module, for return to described function logic information to described client, so that described client is carried out corresponding function logic according to described function logic mark and logic content data.
Correspondingly, the embodiment of the present invention also provides a kind of function logic jump system, it is characterized in that, described system comprises server and at least one client, wherein:
Described client is for obtaining the barcode data of target bar code; Described barcode data is sent to described server;
Described server is for returning to function logic information according to the barcode data of described target bar code and default bar code logical mappings relation to described client, and described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code;
Described client, also for receiving described function logic information, is carried out corresponding function logic according to described function logic mark and logic content data.
Client in the present embodiment can based target bar code barcode data obtain server function logic information that return and described barcode data, and according to described function logic information and executing corresponding function logic, can greatly strengthen the redirect ability of bar code, effectively widen application scenarios and the usable range of bar code.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of function logic jump method based on barcode data in the embodiment of the present invention;
Fig. 2 is the function logic jump method based on barcode data in another embodiment of the present invention;
Fig. 3 is the function logic jump method based on barcode data in another embodiment of the present invention;
Fig. 4 is the schematic flow sheet that in the embodiment of the present invention, client is obtained barcode data;
Fig. 5 is the structural representation of a kind of client in the embodiment of the present invention;
Fig. 6 is the structural representation of the barcode data acquisition module of client in the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of server in the embodiment of the present invention;
Fig. 8 is the structural representation of a kind of function logic jump system in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The client of mentioning in the embodiment of the present invention, can be for operating in the application program on electric terminal, also can be understood to be operation has the electric terminal of application program, described electric terminal can comprise PC (personal computer, PC), mobile phone, panel computer, smart mobile phone, electronic reader, notebook computer, car-mounted terminal etc.
Fig. 1 is a kind of function logic jump method based on barcode data in the embodiment of the present invention, and the present embodiment is the realization flow that carrys out representation function logic jump method with the angle of client-side, can comprise as shown in the figure:
S101, client is obtained the barcode data of target bar code.
In specific implementation, described client may operate in mobile terminal, obtains described target bar code, and then described target bar code is decoded and obtained the barcode data of target bar code by the camera function scanning of calling described mobile terminal.In other optional embodiment, described client can be also by data shift, the mode such as download obtains described target bar code, for example scanned the image of the target bar code obtaining by camera function by mobile phone, and the image of described target bar code is sent to the client of moving in PC, and by client, the image of described target bar code is decoded and obtained the barcode data of target bar code.The barcode data of described target bar code can comprise barcode types and content-data, described barcode types can comprise bar code and two-dimensional bar code, also can further be divided into dissimilar two-dimensional bar code according to the difference of the code system of two-dimensional bar code or form, the embodiment of the present invention for target bar code can be any one bar code; Described content-data is decoded and is obtained the content that it comprises described target bar code by decoding process corresponding to bar code code system, no matter target bar code is bar code or two-dimensional bar code, all can obtain one group of character string by decoding, can be understood to the content-data in the present embodiment.
Further in optional embodiment, the described target bar-code identification that client can obtain scanning obtains the barcode types of described target bar code, and then can call corresponding decoding algorithm according to described barcode types described target bar code image is decoded and obtained the content-data of target bar code, bar code as identification obtains target bar code, the decoding algorithm that can call bar code is decoded to it, if it is two-dimensional bar code that identification obtains target bar code, can call the decoding algorithm that two-dimensional bar code is corresponding decodes and obtains the content-data of target bar code it.
S102, described barcode data is sent to server by described client.
Server in the present embodiment can provide bar code redirect logical mappings for described client, it presets the corresponding relation between barcode data and function logic information, it is bar code logical mappings relation, for example, according to the registration request of businessman, for the specific barcode data of function logic Information generation of its request, and preserve the bar code logical mappings relation between this barcode data and this function logic information in the mapping database of specifying.
S103, described client is obtained the function logic information that server returns according to the barcode data of described target bar code and default bar code logical mappings relation, and described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code.
Concrete, server is getting after the barcode data of client transmission, can in the bar code logical mappings relation of setting up in advance, find the function logic information corresponding to barcode data of target bar code.Described function logic is designated notice client and can calls with this function logic and identify corresponding logic function, and described logic content data can be required data or parameter of client executing counterlogic function.
S104, described client is carried out corresponding function logic according to described function logic mark and logic content data.
In specific implementation, described client can be called logic function corresponding to described client according to described function logic mark described logic content data are carried out to logical process.
In optional embodiment, described client can jump to corresponding logic function interface and call logic function corresponding to described client described logic content data are carried out to logical process according to described function logic mark.The function logic for example, carrying in the function logic information that server returns is designated " browser " or " 1 ", the logic content data that it carries are a web pages url, client can jump to built-in web page browsing interface, and access the webpage url carrying in described function logic information by this web page browsing interface, as being the buyer's guide page or html5 (HyperText Mark-up Language, the HTML (Hypertext Markup Language)) page.The function logic carrying in the function logic information that for example server returns is again designated " contact person " or " 2 ", the search criterion that the logic content data that it carries are targeted customer, client can jump to built-in searching contact person interface, and meets the targeted customer of the search criterion carrying in described function logic information by corresponding searching contact person function lookup.The function logic mark of carrying in the function logic information that described server returns is also " payment ", " checking ", " false proof ", " logistics " or " receiving the award " or the setting identification corresponding with it, receiving after the function logic information of carrying above-mentioned functions logical identifier, client can jump to corresponding payment function interface, authentication function interface, antiforge function interface, logistics enquiring function interface or the function interface of receiving the award, and call the payment data that logic function corresponding to described client carried described function logic information, verification msg, commodity data, logistics object data etc. carries out corresponding logical process.Described logic function corresponding to described client of calling carried out logical process to described logic content data, is specifically as follows to call the inner logical process function corresponding with described logic function of client described logic content data are carried out to logical process.
And in other optional embodiment, described client also can be according to described function logic mark, described logic content data are passed to described function logic and identify corresponding applications, trigger described applications described logic content data are carried out to logical process, and jump to logic function interface corresponding to described applications.With in embodiment above, call logic function corresponding to described client and described logic content data are carried out to logical process fly difference and be, described be specifically responsible for carry out corresponding function logic be not the inner corresponding logic function interface of client, but the application of client outside, for example browser program, instant communication client, payment client terminal, verification tool, commodity counterfeit prevention program or the logistics enquiring client etc. separate with client.
Client in the present embodiment can based target bar code barcode data obtain server function logic information that return and described barcode data, and according to described function logic information and executing corresponding function logic, can greatly strengthen the redirect ability of bar code, effectively widen application scenarios and the usable range of bar code.
Fig. 2 is the function logic jump method based on barcode data in another embodiment of the present invention, and the present embodiment is the realization flow of the angle representation function logic jump method based on client and server both sides, can comprise as shown in the figure:
S201, client is obtained barcode types and the content-data of target bar code.
Concrete, the described target bar code that client can obtain scanning is identified the barcode types that obtains described target bar code, and then can call corresponding decoding algorithm according to described barcode types described target bar code image is decoded and obtained the content-data of target bar code, bar code as identification obtains target bar code, the decoding algorithm that can call bar code is decoded to it, if it is two-dimensional bar code that identification obtains target bar code, can calls the decoding algorithm that two-dimensional bar code is corresponding it is decoded and obtains the content-data of target bar code.
S202, barcode types and the content-data of the target bar code getting are sent to server by client.
S203, server is searched the function logic information corresponding with the barcode data of described target bar code according to default bar code logical mappings relation, and described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code.
Server in the present embodiment can provide bar code redirect logical mappings for described client, it presets the corresponding relation between barcode data and function logic information, it is bar code logical mappings relation, for example, according to the registration request of businessman, for the specific barcode data of function logic Information generation of its request, comprise barcode types and content-data, and preserve the bar code logical mappings relation between this barcode data and this function logic information in the mapping database of specifying.Server is getting after the barcode data of client transmission, can in the bar code logical mappings relation of setting up in advance, find the function logic information corresponding to barcode data of target bar code.Described function logic is designated notice client and can calls with this function logic and identify corresponding logic function, and described logic content data can be required data or parameter of client executing counterlogic function.
S204, server returns to described function logic information to described client.
S205, client jumps to corresponding logic function interface according to described function logic mark.
The function logic for example, carrying in the function logic information that server returns is designated " browser " or " 1 ", the logic content data that it carries are a web pages url, client can jump to built-in web page browsing interface, and access the webpage url carrying in described function logic information by this web page browsing interface, as being the buyer's guide page or html5 (HyperText Mark-up Language, the HTML (Hypertext Markup Language)) page.The function logic carrying in the function logic information that for example server returns is again designated " contact person " or " 2 ", the search criterion that the logic content data that it carries are targeted customer, client can jump to built-in searching contact person interface, and meets the targeted customer of the search criterion carrying in described function logic information by corresponding searching contact person function lookup.The function logic mark of carrying in the function logic information that described server returns is also " payment ", " checking ", " false proof ", " logistics " or " receiving the award " or the setting identification corresponding with it, receiving after the function logic information of carrying above-mentioned functions logical identifier, client can jump to corresponding payment function interface, authentication function interface, antiforge function interface, logistics enquiring function interface or the function interface of receiving the award.
S206, the logic function that client call is corresponding is carried out logical process to described logic content data.Be specifically as follows and call the inner logical process function corresponding with described logic function of client described logic content data are carried out to logical process.
Client in the present embodiment can based target bar code barcode data obtain server function logic information that return and described barcode data, and according to described function logic information and executing corresponding function logic, can greatly strengthen the redirect ability of bar code, effectively widen application scenarios and the usable range of bar code.
Fig. 3 is the function logic jump method based on barcode data in another embodiment of the present invention, and the function logic redirect flow process in the present embodiment can comprise as shown in the figure:
S301, client is obtained barcode types and the content-data of target bar code.
S302, barcode types and the content-data of the target bar code getting are sent to server by client.
S303, server is searched the function logic information corresponding with the barcode data of described target bar code according to default bar code logical mappings relation, and described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code;
S304, server returns to described function logic information to described client, so that described client is carried out corresponding function logic according to described function logic mark and logic content data.
S305, described client identifies according to described function logic, and described logic content data are passed to described function logic and identify corresponding applications.With in embodiment above, call logic function corresponding to described client and described logic content data are carried out to logical process fly difference and be, described be specifically responsible for carry out corresponding function logic be not the inner corresponding logic function interface of client, but the application of client outside, the for example browser program separate with client, instant communication client, payment client terminal, verification tool, commodity counterfeit prevention program or logistics enquiring client etc., the function logic mark that client is returned according to server, find with this function logic and identify corresponding applications, and transmit logic content data by available interprocess communication mode to identifying corresponding applications with described function logic.
S306, jumps to logic function interface corresponding to described applications.
S307, applications is carried out logical process to described logic content data, and logical process result is presented on logic function interface corresponding to applications.
Client in the present embodiment can based target bar code barcode data obtain server function logic information that return and described barcode data, and jump to corresponding applications according to described function logic information and trigger it and carry out corresponding function logic, can greatly strengthen the redirect ability of bar code, effectively widen application scenarios and the usable range of bar code.
Fig. 4 is the schematic flow sheet that in the embodiment of the present invention, client is obtained barcode data, and the flow process that client is obtained barcode data in the present embodiment as shown in the figure can comprise:
S401, the scanning of the camera function of mobile terminal obtains described target bar code described in described client call;
S402, the described target bar code that described client obtains scanning is identified the barcode types that obtains described target bar code;
S403, described client is called corresponding decoding algorithm according to described barcode types described target bar code image is decoded and obtained the content-data of target bar code.Bar code as identification obtains target bar code, the decoding algorithm that can call bar code is decoded to it, if it is two-dimensional bar code that identification obtains target bar code, can calls the decoding algorithm that two-dimensional bar code is corresponding it is decoded and obtains the content-data of target bar code.
Fig. 5 is the structural representation of a kind of client in the embodiment of the present invention, and in the embodiment of the present invention, client at least can comprise as shown in the figure:
Barcode data acquisition module 510, for obtaining the barcode data of target bar code, the barcode data of described target bar code comprises barcode types and the content-data of described target bar code, described barcode types comprises bar code or two-dimensional bar code.
In specific implementation, described client may operate in mobile terminal, barcode data acquisition module 510 can obtain described target bar code by the camera function scanning of calling described mobile terminal, and then described target bar code is decoded and obtained the barcode data of target bar code.In other optional embodiment, barcode data acquisition module 510 can be also by data shift, the mode such as download obtains described target bar code, for example scanned the image of the target bar code obtaining by camera function by mobile phone, and the image of described target bar code is sent to the client of moving in PC, and by client, the image of described target bar code is decoded and obtained the barcode data of target bar code.The barcode data of described target bar code can comprise barcode types and content-data, described barcode types can comprise bar code and two-dimensional bar code, also can further be divided into dissimilar two-dimensional bar code according to the difference of the code system of two-dimensional bar code or form, the embodiment of the present invention for target bar code can be any one bar code; Described content-data is decoded and is obtained the content that it comprises described target bar code by decoding process corresponding to bar code code system, no matter target bar code is bar code or two-dimensional bar code, all can obtain one group of character string by decoding, can be understood to the content-data in the present embodiment.
Further, in optional embodiment, barcode data acquisition module 510 can further comprise as shown in Figure 6:
Bar code scan unit 511, obtains described target bar code for the camera function scanning of calling described mobile terminal;
Decoding unit 512, for decoding and obtain the barcode data of target bar code described target bar code.And then in optional embodiment, decoding unit 512 may further include:
Identification of code type subelement 5121, identifies for the described target bar code that bar code scan unit scan is obtained the barcode types that obtains described target bar code;
Decoding subelement 5122, decodes and obtains the content-data of target bar code described target bar code image for call corresponding decoding algorithm according to described barcode types.Bar code as identification obtains target bar code, the decoding algorithm that can call bar code is decoded to it, if it is two-dimensional bar code that identification obtains target bar code, can calls the decoding algorithm that two-dimensional bar code is corresponding it is decoded and obtains the content-data of target bar code.
Barcode data sending module 520, for being sent to server by described barcode data.
Server in the present embodiment can provide bar code redirect logical mappings for described client, it presets the corresponding relation between barcode data and function logic information, it is bar code logical mappings relation, for example, according to the registration request of businessman, for the specific barcode data of function logic Information generation of its request, and preserve the bar code logical mappings relation between this barcode data and this function logic information in the mapping database of specifying.
Function logic acquisition module 530, the function logic information of returning according to the barcode data of described target bar code and default bar code logical mappings relation for obtaining server, described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code.
Concrete, server is getting after the barcode data of client transmission, can in the bar code logical mappings relation of setting up in advance, find the function logic information corresponding to barcode data of target bar code, and then return to described function logic information to client.Described function logic mark identifies corresponding logic function in order to notify client can call with this function logic, and described logic content data can be required data or parameter of client executing counterlogic function.
Function logic execution module 540, for carrying out corresponding function logic according to described function logic mark and logic content data.
In specific implementation, function logic execution module 540 can call logic function corresponding to described client according to described function logic mark described logic content data are carried out to logical process.
In optional embodiment, function logic execution module 540 can jump to corresponding logic function interface and call logic function corresponding to described client described logic content data are carried out to logical process according to described function logic mark.The function logic for example, carrying in the function logic information that server returns is designated " browser " or " 1 ", the logic content data that it carries are a web pages url, function logic execution module 540 can jump to the built-in web page browsing interface of client, and access the webpage url carrying in described function logic information by this web page browsing interface, as being the buyer's guide page or html5 (HyperText Mark-up Language, the HTML (Hypertext Markup Language)) page.The function logic carrying in the function logic information that for example server returns is again designated " contact person " or " 2 ", the search criterion that the logic content data that it carries are targeted customer, function logic execution module 540 can jump to the built-in searching contact person interface of client, and meets the targeted customer of the search criterion carrying in described function logic information by corresponding searching contact person function lookup.The function logic mark of carrying in the function logic information that described server returns is also " payment ", " checking ", " false proof ", " logistics " or " receiving the award " or the setting identification corresponding with it, receiving after the function logic information of carrying above-mentioned functions logical identifier, function logic execution module 540 can jump to corresponding payment function interface, authentication function interface, antiforge function interface, logistics enquiring function interface or the function interface of receiving the award, and call the payment data that logic function corresponding to described client carried described function logic information, verification msg, commodity data, logistics object data etc. carries out corresponding logical process.Described function logic execution module 540 calls logic function corresponding to described client described logic content data is carried out to logical process, is specifically as follows to call the inner logical process function corresponding with described logic function of client described logic content data are carried out to logical process.
And in other optional embodiment, function logic execution module 540 also can be according to described function logic mark, described logic content data are passed to described function logic and identify corresponding applications, trigger described applications described logic content data are carried out to logical process, and jump to logic function interface corresponding to described applications.Calling logic function corresponding to described client with embodiment function logic execution module 540 above carries out logical process to described logic content data and flies difference and be, described be specifically responsible for carry out corresponding function logic be not the inner corresponding logic function interface of client, but the application of client outside, for example browser program, instant communication client, payment client terminal, verification tool, commodity counterfeit prevention program or the logistics enquiring client etc. separate with client.The function logic mark that function logic execution module 540 returns according to server, find with this function logic and identify corresponding applications, and transmit logic content data by available interprocess communication mode to identifying corresponding applications with described function logic.
Client in the present embodiment can based target bar code barcode data obtain server function logic information that return and described barcode data, and according to described function logic information and executing corresponding function logic, can greatly strengthen the redirect ability of bar code, effectively widen application scenarios and the usable range of bar code.
Fig. 7 is the structural representation of a kind of server in the embodiment of the present invention, and the server in the embodiment of the present invention can comprise as shown in the figure:
Barcode data receiver module 710, be used for the barcode data of the target bar code that receives client transmission, the barcode data of described target bar code comprises barcode types and the content-data of described target bar code, described barcode types comprises bar code or two-dimensional bar code, also can further be divided into dissimilar two-dimensional bar code according to the difference of the code system of two-dimensional bar code or form, the embodiment of the present invention for target bar code can be any one bar code; Described content-data is decoded and is obtained the content that it comprises described target bar code by decoding process corresponding to bar code code system, no matter target bar code is bar code or two-dimensional bar code, all can obtain one group of character string by decoding, can be understood to the content-data in the present embodiment.
Function logic is searched module 720, for searching the function logic information corresponding with the barcode data of described target bar code according to default bar code logical mappings relation, described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code.
Server in the present embodiment can provide bar code redirect logical mappings for described client, it presets the corresponding relation between barcode data and function logic information, it is bar code logical mappings relation, for example, according to the registration request of businessman, for the specific barcode data of function logic Information generation of its request, and preserve the bar code logical mappings relation between this barcode data and this function logic information in the mapping database of specifying.Server is getting after the barcode data of client transmission, can in the bar code logical mappings relation of setting up in advance, find the function logic information corresponding to barcode data of target bar code, and then return to described function logic information to client.Described function logic mark identifies corresponding logic function in order to notify client can call with this function logic, and described logic content data can be required data or parameter of client executing counterlogic function.
Function logic returns to module 730, for return to described function logic information to described client, so that described client is carried out corresponding function logic according to described function logic mark and logic content data.
Fig. 8 is the structural representation of a kind of function logic jump system in the embodiment of the present invention.System comprises server 810 and at least one client 820 as described in Figure, wherein:
Server as claimed in claim 14 and at least one client as described in claim 8~13 any one, wherein:
Described client 820 can be as embodiment by reference to the accompanying drawings 5 and the described client of accompanying drawing 6 above, for obtaining the barcode data of target bar code; Described barcode data is sent to described server 810;
Described server 810 can be as embodiment 7 described servers by reference to the accompanying drawings above, for returning to function logic information according to the barcode data of described target bar code and default bar code logical mappings relation to described client 820, described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code;
Described client 820, also for receiving described function logic information, is carried out corresponding function logic according to described function logic mark and logic content data.
Client in the present embodiment can based target bar code barcode data obtain server function logic information that return and described barcode data, and according to described function logic information and executing corresponding function logic, can greatly strengthen the redirect ability of bar code, effectively widen application scenarios and the usable range of bar code.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.

Claims (15)

1. the function logic jump method based on barcode data, is characterized in that, described method comprises:
Client is obtained the barcode data of target bar code, and the barcode data of described target bar code comprises barcode types and the content-data of described target bar code, and described barcode types comprises bar code or two-dimensional bar code;
Described barcode data is sent to server by described client;
Described client is obtained the function logic information that server returns according to the barcode data of described target bar code and default bar code logical mappings relation, and described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code;
Described client is carried out corresponding function logic according to described function logic mark and logic content data.
2. the function logic jump method based on barcode data as claimed in claim 1, is characterized in that, described client comprises according to described function logic mark and logic content data execution corresponding function logic:
Described client jumps to corresponding logic function interface and calls logic function corresponding to described client described logic content data are carried out to logical process according to described function logic mark.
3. the function logic jump method based on barcode data as claimed in claim 1, is characterized in that, described client comprises according to described function logic mark and logic content data execution corresponding function logic:
Described client identifies according to described function logic, described logic content data are passed to described function logic and identify corresponding applications, trigger described applications described logic content data are carried out to logical process, and jump to logic function interface corresponding to described applications.
4. the function logic jump method based on barcode data as claimed in claim 1, is characterized in that, described client operates on mobile terminal.
5. the function logic jump method based on barcode data as claimed in claim 4, is characterized in that, the barcode data that described client is obtained target bar code comprises:
Described in described client call, the scanning of the camera function of mobile terminal obtains described target bar code;
Described client is decoded and is obtained the barcode data of target bar code described target bar code.
6. the function logic jump method based on barcode data as claimed in claim 5, is characterized in that, described client comprises the described target bar code barcode data that obtains target bar code of decoding:
The described target bar code that described client obtains scanning is identified the barcode types that obtains described target bar code;
Described client is called corresponding decoding algorithm according to described barcode types described target bar code image is decoded and obtained the content-data of target bar code.
7. the function logic jump method based on barcode data, is characterized in that, described method comprises:
The barcode data that receives the target bar code of client transmission, the barcode data of described target bar code comprises barcode types and the content-data of described target bar code, described barcode types comprises bar code or two-dimensional bar code;
Search the function logic information corresponding with the barcode data of described target bar code according to default bar code logical mappings relation, described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code;
Return to described function logic information to described client, so that described client is carried out corresponding function logic according to described function logic mark and logic content data.
8. a client, is characterized in that, described client comprises:
Barcode data acquisition module, for obtaining the barcode data of target bar code, the barcode data of described target bar code comprises barcode types and the content-data of described target bar code, described barcode types comprises bar code or two-dimensional bar code;
Barcode data sending module, for being sent to server by described barcode data;
Function logic acquisition module, the function logic information of returning according to the barcode data of described target bar code and default bar code logical mappings relation for obtaining server, described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code;
Function logic execution module, for carrying out corresponding function logic according to described function logic mark and logic content data.
9. client as claimed in claim 8, is characterized in that, described function logic execution module is used for:
Jump to corresponding logic function interface and call logic function corresponding to described client described logic content data are carried out to logical process according to described function logic mark.
10. client as claimed in claim 8, is characterized in that, described function logic execution module is used for:
According to described function logic mark, described logic content data are passed to described function logic and identify corresponding applications, trigger described applications described logic content data are carried out to logical process, and jump to logic function interface corresponding to described applications.
11. clients as claimed in claim 8, is characterized in that, described client operates on mobile terminal.
12. clients as claimed in claim 11, is characterized in that, described barcode data acquisition module comprises:
Bar code scan unit, obtains described target bar code for the camera function scanning of calling described mobile terminal;
Decoding unit, for decoding and obtain the barcode data of target bar code described target bar code.
13. clients as claimed in claim 12, is characterized in that, described decoding unit comprises:
Identification of code type subelement, identifies for the described target bar code that bar code scan unit scan is obtained the barcode types that obtains described target bar code;
Decoding subelement, decodes and obtains the content-data of target bar code described target bar code image for call corresponding decoding algorithm according to described barcode types.
14. 1 kinds of servers, is characterized in that, described server comprises:
Barcode data receiver module, the barcode data of target bar code sending for receiving client, the barcode data of described target bar code comprises barcode types and the content-data of described target bar code, described barcode types comprises bar code or two-dimensional bar code;
Function logic is searched module, for searching the function logic information corresponding with the barcode data of described target bar code according to default bar code logical mappings relation, described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code;
Function logic returns to module, for return to described function logic information to described client, so that described client is carried out corresponding function logic according to described function logic mark and logic content data.
15. 1 kinds of function logic jump system, is characterized in that, described system comprises server as claimed in claim 14 and at least one client as described in claim 8~13 any one, wherein:
Described client is for obtaining the barcode data of target bar code; Described barcode data is sent to described server;
Described server is for returning to function logic information according to the barcode data of described target bar code and default bar code logical mappings relation to described client, and described function logic information comprises function logic mark and the logic content data corresponding with the barcode data of described target bar code;
Described client, also for receiving described function logic information, is carried out corresponding function logic according to described function logic mark and logic content data.
CN201410422578.6A 2014-08-25 2014-08-25 A kind of function logic jump method, client and system based on barcode data Active CN104200252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410422578.6A CN104200252B (en) 2014-08-25 2014-08-25 A kind of function logic jump method, client and system based on barcode data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410422578.6A CN104200252B (en) 2014-08-25 2014-08-25 A kind of function logic jump method, client and system based on barcode data

Publications (2)

Publication Number Publication Date
CN104200252A true CN104200252A (en) 2014-12-10
CN104200252B CN104200252B (en) 2018-11-06

Family

ID=52085541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410422578.6A Active CN104200252B (en) 2014-08-25 2014-08-25 A kind of function logic jump method, client and system based on barcode data

Country Status (1)

Country Link
CN (1) CN104200252B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844071A (en) * 2015-12-04 2017-06-13 阿里巴巴集团控股有限公司 A kind of method and apparatus for obtaining input data
CN107644188A (en) * 2017-09-30 2018-01-30 联想(北京)有限公司 A kind of information identifying method and electronic equipment
CN109508948A (en) * 2018-09-30 2019-03-22 口碑(上海)信息技术有限公司 A kind of method for routing that checking and writing off code, apparatus and system
CN110264179A (en) * 2018-03-12 2019-09-20 阿里巴巴集团控股有限公司 Commodity settlement method, device, system and electronic equipment
CN112800803A (en) * 2021-04-09 2021-05-14 腾讯科技(深圳)有限公司 Graphic code identification method, device, equipment and storage medium
CN117130692A (en) * 2023-10-23 2023-11-28 成都赛力斯科技有限公司 Application management method, device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437038A (en) * 2007-11-15 2009-05-20 深圳市矽感数码系统有限公司 Method for monitoring increase value business of two-dimension bar-code direct mode
CN102929595A (en) * 2012-09-20 2013-02-13 腾讯科技(深圳)有限公司 Method and device for realizing action command
WO2013152129A1 (en) * 2012-04-03 2013-10-10 Fourth Wall Studios, Inc. Transmedia story management systems and methods

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437038A (en) * 2007-11-15 2009-05-20 深圳市矽感数码系统有限公司 Method for monitoring increase value business of two-dimension bar-code direct mode
WO2013152129A1 (en) * 2012-04-03 2013-10-10 Fourth Wall Studios, Inc. Transmedia story management systems and methods
CN102929595A (en) * 2012-09-20 2013-02-13 腾讯科技(深圳)有限公司 Method and device for realizing action command

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844071A (en) * 2015-12-04 2017-06-13 阿里巴巴集团控股有限公司 A kind of method and apparatus for obtaining input data
CN106844071B (en) * 2015-12-04 2020-09-22 菜鸟智能物流控股有限公司 Method and device for acquiring input data
CN107644188A (en) * 2017-09-30 2018-01-30 联想(北京)有限公司 A kind of information identifying method and electronic equipment
CN110264179A (en) * 2018-03-12 2019-09-20 阿里巴巴集团控股有限公司 Commodity settlement method, device, system and electronic equipment
CN109508948A (en) * 2018-09-30 2019-03-22 口碑(上海)信息技术有限公司 A kind of method for routing that checking and writing off code, apparatus and system
CN112800803A (en) * 2021-04-09 2021-05-14 腾讯科技(深圳)有限公司 Graphic code identification method, device, equipment and storage medium
CN112800803B (en) * 2021-04-09 2021-07-30 腾讯科技(深圳)有限公司 Graphic code identification method, device, equipment and storage medium
CN117130692A (en) * 2023-10-23 2023-11-28 成都赛力斯科技有限公司 Application management method, device, electronic equipment and storage medium
CN117130692B (en) * 2023-10-23 2024-01-23 成都赛力斯科技有限公司 Application management method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104200252B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
US9818011B2 (en) Method and device for identifying two-dimensional barcodes
CN104200252A (en) Bar code data-based functional logic jumping method, client and system
US9197692B2 (en) Remote application invocation system and method
US8186572B2 (en) Systems and methods for animating barcodes
US11861450B2 (en) Multiplexed quick response (“QR”) code experience derivation
EP2898451B1 (en) Information obtaining method and apparatus
CN103400099A (en) Terminal and two-dimension code identification method
CN105391674B (en) Information processing method and system, server and client
Dabrowski et al. QR inception: Barcode-in-barcode attacks
CN103593773A (en) Product anti-fake method and system and client terminal
CN102375969A (en) System and method for document processing
US9047544B2 (en) System and method for mobile tags with dynamic content
US20140312113A1 (en) Method, apparatus and system for obtaining location information
CN109376825A (en) A kind of two-dimensional code generation method and device
CN107590411A (en) A kind of method and system of the Quick Response Code identification based on WWW
CN103903036A (en) High-capacity easily-updated two-dimensional code system
Lei et al. A secure mobile track and trace system for anti-counterfeiting
CN112364676A (en) Image code processing method and device, electronic equipment and storage medium
Falk Physical Mobile Interaction in Omni-Channel Retailing: Using the customers’ smartphone to interact with smart objects in a store
US20140067805A1 (en) Cloud-based information exchange using identifiers such as QR codes
CN1787662A (en) Apparatus and method for controlling movable terminal display
WO2022176704A1 (en) Determination method, determination device, communication system, and program
WO2019023864A1 (en) Two-dimensional code identification method and system based on intelligent terminal camera
CN113610547A (en) Processing method, device, equipment and medium for anti-counterfeit label based on block chain
Shim et al. Design of circular dot pattern code (CDPC) for maximum information capacity and robustness on geometric distortion/noise

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