CN109615048A - A kind of network address processing method, device, server and user terminal - Google Patents

A kind of network address processing method, device, server and user terminal Download PDF

Info

Publication number
CN109615048A
CN109615048A CN201811575220.1A CN201811575220A CN109615048A CN 109615048 A CN109615048 A CN 109615048A CN 201811575220 A CN201811575220 A CN 201811575220A CN 109615048 A CN109615048 A CN 109615048A
Authority
CN
China
Prior art keywords
network address
goal
selling
user terminal
code
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
CN201811575220.1A
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.)
Beijing Knownsec Information Technology Co Ltd
Original Assignee
Beijing Knownsec 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 Beijing Knownsec Information Technology Co Ltd filed Critical Beijing Knownsec Information Technology Co Ltd
Priority to CN201811575220.1A priority Critical patent/CN109615048A/en
Publication of CN109615048A publication Critical patent/CN109615048A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a kind of network address processing method, device, server and user terminal, can not be changed using scanning device to the data content obtained after two-dimensional code scanning in the prior art for solving the problems, such as.The network address processing method includes: the target access request for receiving the first user terminal and sending, and target access is requested for accessing to goal-selling, and goal-selling is replaceable target, and target access request is to be decoded to generate according to image in 2 D code;Corresponding data content is searched according to goal-selling, obtains the data content of goal-selling;The data content of goal-selling is returned into the first user terminal.

Description

A kind of network address processing method, device, server and user terminal
Technical field
This application involves the technical field of data processing more particularly to a kind of network address processing method, device, server and use Family terminal.
Background technique
Current ordinary QR code technology, the black and white being distributed on two-dimensional surface according to certain rules with specific geometric figure Alternate figure.Directly to have number of words limit data carry out coding write-in, here have number of words limit data for example: electricity The information such as words, address, network address, it is possible to using barcode scanning gun and special installation barcode scanning without networking, also can The content of scanning and two-dimensional code display, but this image in 2 D code can not be known by whose scanning or scanned how many times, That is, can not be changed using scanning device to the data content obtained after two-dimensional code scanning.Therefore, it exists in the prior art The problem of data content obtained after two-dimensional code scanning can not be changed using scanning device.
Summary of the invention
In view of this, the application provides a kind of network address processing method, device, server and user terminal, it is existing for solving There is the problem of can not changing using scanning device to the data content obtained after two-dimensional code scanning in technology.
A kind of network address processing method that the embodiment of the present application provides is applied to server, comprising: it is whole to receive the first user The target access request that end is sent, for accessing to goal-selling, the goal-selling is can for the target access request The target of replacement, the target access request are to be decoded to generate according to image in 2 D code;According to goal-selling lookup pair The data content answered obtains the data content of the goal-selling;The data content of the goal-selling is returned to described One user terminal.
Optionally, in the embodiment of the present application, before the target access request that the first user terminal of the reception is sent, The method also includes: it receives the network address that second user terminal is sent and generates request, it includes described pre- that the network address, which generates request, If the mark of target;Two dimensional code network address is generated according to the mark of the goal-selling;The two dimensional code network address is sent to described Second user terminal.
Optionally, in the embodiment of the present application, further includes: obtain the mark of the goal-selling, and according to described default The mark of target generates two dimensional code network address;The image in 2 D code is generated according to the two dimensional code network address;By the two dimensional code figure As being sent to printer, the printer is for printing the image in 2 D code.
The embodiment of the present application also provides a kind of network address processing methods, are applied to the first user terminal, the network address processing Method includes: that the target access request of acquisition is sent to server, and the target access request is for carrying out goal-selling Access, the goal-selling are replaceable target, and the target access request is to be decoded to generate according to image in 2 D code;It connects Receive the data content for the goal-selling that the server is sent.
Optionally, in the embodiment of the present application, before the target access by acquisition requests to be sent to server, also It include: the scanning clicking operation in response to user, the image comprising two dimensional code that access utilizing camera interface returns obtains two dimensional code Image;The image in 2 D code is decoded, two dimensional code network address is obtained;Target access request is generated according to the two dimensional code network address.
The embodiment of the present application also provides a kind of network address processing methods, are applied to second user terminal, the network address processing Method includes: the two dimensional code generation operation in response to user, obtains network address according to the mark of goal-selling and generates request, described pre- If target is replaceable target;The network address is generated into request and is sent to server;Receive the two dimension that the server is sent Code network address;The two dimensional code network address is encoded and generates image in 2 D code.
The embodiment of the present application also provides a kind of network address processing units, are applied to server, comprising: access request receives mould Block, for receiving the target access request of the first user terminal transmission, the target access request is for carrying out goal-selling Access, the goal-selling are replaceable target, and the target access request is to be decoded to generate according to image in 2 D code;Number Module is obtained according to content, for searching corresponding data content according to the goal-selling, obtains the data of the goal-selling Content;Data content return module, for the data content of the goal-selling to be returned to first user terminal.
The embodiment of the present application also provides a kind of servers, comprising: first processor and first memory, described first deposits Reservoir is stored with the executable machine readable instructions of the first processor, and the machine readable instructions are by the first processor Method as described above is executed when execution.
The embodiment of the present application also provides a kind of first user terminals, comprising: second processor and second memory, it is described Second memory is stored with the executable machine readable instructions of the second processor, and the machine readable instructions are by described second Processor executes method as described above when executing.
The embodiment of the present application also provides a kind of second user terminals, comprising: third processor and third memory, it is described Third memory is stored with the executable machine readable instructions of the third processor, and the machine readable instructions are by the third Processor executes method as described above when executing.
The application provides a kind of network address processing method, device, server and user terminal, by receiving the first user terminal The target access request generated according to image in 2 D code decoding, target access are requested for visiting replaceable goal-selling It asks;Corresponding data content is searched according to the goal-selling, obtains the data content of goal-selling;By the data of the goal-selling Content returns to the first user terminal.It is stored in server by the data content for needing to access after decoding image in 2 D code, Data content on the server can be changed, to efficiently solve in the prior art using scanning device to two dimension The problem of data content obtained after code scanning can not be changed.
To enable the above object and advantages of the application to be clearer and more comprehensible, preferred embodiment is cited below particularly, and appended by cooperation Attached drawing is described in detail below.
Detailed description of the invention
Illustrate the technical solutions in the embodiments of the present application or in the prior art in order to clearer, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 shows the structural schematic diagram of server and user terminal provided by the embodiments of the present application;
Fig. 2 shows the network address processing method flow diagrams provided by the embodiments of the present application applied to server;
Fig. 3 is shown before the step S110 provided by the embodiments of the present application applied to the network address processing method of server Flow diagram;
Fig. 4 is shown after the step S130 provided by the embodiments of the present application applied to the network address processing method of server Flow diagram;
Fig. 5 shows the network address processing method process signal provided by the embodiments of the present application for being applied to the first user terminal Figure;
Fig. 6 shows the network address processing method process provided by the embodiments of the present application applied to second user terminal and illustrates Figure;
When Fig. 7 shows the interaction of server provided by the embodiments of the present application and the first user terminal and second user terminal Sequence figure;
Fig. 8 shows the network address processing device structure diagram of server provided by the embodiments of the present application.
Icon: 100- server;101- first processor;102- first memory;The first communication interface of 103-;200- One user terminal;201- second processor;202- second memory;The second communication interface of 203-;300- second user terminal; 301- third processor;302- third memory;303- third communication interface;400- network address processing unit;410- access request Receiving module;420- data content obtains module;430- data content return module.
Specific embodiment
The embodiment of the present application provides a kind of network address processing method, device, server and user terminal, for solving existing skill The problem of data content obtained after two-dimensional code scanning can not be changed using scanning device in art.Wherein, it is applied to server Method and apparatus be the principle phase that is solved the problems, such as due to method and corresponding device and equipment based on same concept Seemingly, because the implementation of the method and corresponding device and equipment can be with cross-reference, overlaps will not be repeated.
The part term in the embodiment of the present application will be explained below, in order to those skilled in the art's reason Solution.
Two dimensional code: also known as two-dimensional bar code, it is distributed on two-dimensional surface according to certain rules with specific geometric figure Chequered with black and white figure.Common two dimensional code is QR Code, and QR full name Quick Response is one and moved in recent years Super popular a kind of coding mode in equipment, it can deposit more information than traditional Bar Code bar code, can also indicate more More data types.Compared to one-dimensional bar code, two dimensional code can be in horizontal and vertical two orientation expressing information, therefore energy simultaneously A large amount of information is expressed in the area of very little, while there can be higher fault-tolerant ability.
Ordinary QR code: i.e. the two dimensional code of routine techniques realization stores text data.
Scanning device: the tool of two-dimensional code scanning identification, such as barcode scanning gun, Alipay and wechat can be carried out.
In addition, it is necessary to understand, in the description of the embodiment of the present application, the vocabulary such as " first ", " second " are only used for area Divide the purpose of description, and should not be understood as instruction and perhaps imply that relative importance can not be interpreted as instruction or hint sequentially.
With reference to the accompanying drawing, it elaborates to some embodiments of the embodiment of the present application.In the absence of conflict, Feature in following embodiments and embodiment can be combined with each other.
Referring to Figure 1, Fig. 1 shows the structural schematic diagram of server and user terminal provided by the embodiments of the present application.This A kind of server 100 that application embodiment provides, comprising: first processor 101, first memory 102 and the first communication connect Mouth 103, first memory 102 are stored with the executable machine readable instructions of first processor 101, and the first communication interface 103 is used It is communicated in external equipment, machine readable instructions execute method as above when being executed by first processor 101.
The embodiment of the present application also provides the first user terminal of one kind 200, comprising: second processor 201, second store Device 202 and the second communication interface 203, second memory 202 are stored with the executable machine readable instructions of second processor 201, Second communication interface 203 executes such as when machine readable instructions are executed by second processor 201 for being communicated with external equipment Upper method.
The embodiment of the present application also provides a kind of second user terminal 300, comprising: third processor 301, third storage Device 302 and third communication interface 303, third memory 302 are stored with the executable machine readable instructions of third processor 301, Third communication interface 303 executes such as when machine readable instructions are executed by third processor 301 for being communicated with external equipment Upper method.
In the specific implementation process, to convolutional neural networks (Convolutional Neural Network, CNN) Relevant calculation can be accelerated with graphics processor (Graphics Processing Unit, GPU), therefore, the server It can also include graphics processor.In addition, being needed when using distributed computing framework using communication interface, which may be used also To include the components such as communication and network expansion card, sonet card or multi-serial communication card, details are not described herein.
Referring to Figure 1, a kind of storage medium that the embodiment of the present application provides is stored with computer journey on the storage medium Sequence, the computer program execute following method when being run by processor 101.
Wherein, which may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
It will be understood by those skilled in the art that the structure of server shown in Fig. 1 does not constitute the restriction to the equipment, Equipment provided by the embodiments of the present application may include than illustrating more perhaps less component or different component layouts.
First embodiment
Fig. 2 is referred to, Fig. 2 shows the network address processing method processes provided by the embodiments of the present application applied to server to show It is intended to.A kind of network address processing method that the embodiment of the present application provides is applied to server, comprising:
Step S110: receiving the target access request that the first user terminal is sent, and target access is requested for default mesh Mark accesses, and goal-selling is replaceable target, and target access request is to be decoded to generate according to image in 2 D code.
Wherein, goal access request is the two dimensional code network address generated according to image in 2 D code decoding, further according to two It ties up code network address and generates target access request.It certainly, can also be with after the target access request for receiving the transmission of the first user terminal here Target access request is stored, so that target access request is monitored and is counted below, to target access request It is simultaneously also to the scanning of image in 2 D code and to be swept into row monitoring and statistics.
Step S120: corresponding data content is searched according to goal-selling, obtains the data content of goal-selling.
Wherein, goal-selling here can be content of text, network address, compressed file or multimedia file, or on Several combination in face, such as: if data type is network address, redirects and jump, jumps to corresponding in content-data Complete network address, complete network address is returned into the first user terminal;If data type is text, the content of text is returned To the first user terminal;If data type is file, the correspondence download link of this file is returned into the first user terminal; If corresponding data type is multimedia file, such as audio-video document then shows that player solves file on the page Code plays, and the page is returned to the first user terminal.
Step S130: the data content of goal-selling is returned into the first user terminal.
It should be noted that the data content that the first user terminal receives, can be multiple types, and such as: if data Type is network address, then redirects and jump, and jumps to complete network address corresponding in content-data;If data type is text This, then the display text content directly in webpage;If data type is file, the corresponding link for downloading this file is provided; If corresponding data type is multimedia file, such as audio-video document then shows that player solves file on the page Code plays.Therefore, the data content that the first user terminal here receives should not be construed as the limitation to the embodiment of the present application.
Fig. 3 is referred to, the step of Fig. 3 shows the network address processing method provided by the embodiments of the present application applied to server Flow diagram before S110.Optionally, in the embodiment of the present application, in the target access for receiving the transmission of the first user terminal Before request, method further include:
Step S101: it receives the network address that second user terminal is sent and generates request, it includes goal-selling that network address, which generates request, Mark.
Wherein, the mark of goal-selling includes carrying out cryptographic Hash calculating by the data content of goal-selling, is also possible to Identifying from increase in the database, is also possible to the globally unique identifier that the unique identifier generating function in applying generates Symbol.Therefore, the mark of goal-selling here should not be construed as the limitation to the embodiment of the present application.
Step S102: two dimensional code network address is generated according to the mark of goal-selling.
Wherein, two dimensional code network address here can be short network address, such as the domain name of server is a.com, then here Two dimensional code network address can be http://a.com/k=234sdf, be also possible to https: //a.com/a=23df44, certainly It can be long network address, can be generated according to the specific actual conditions of application, therefore, whether two dimensional code network address here is short The generating mode of the length and mark of network address and two dimensional code network address should not be construed as the limitation to the embodiment of the present application.
Step S103: two dimensional code network address is sent to second user terminal.
It should be noted that second user terminal can be encoded according to two dimensional code network address generates image in 2 D code, server Image in 2 D code can also be generated according to two dimensional code network address, image in 2 D code here, which can be used printer and print, to be swept It retouches, can also show on the screen of the user terminal can be swept, and can also show on the screen of server can be swept.Cause The scanning mode of the image in 2 D code of subsequent purposes of two dimensional code network address and generation here should not be construed as to the application reality Apply the limitation of example.
Fig. 4 is referred to, the step of Fig. 4 shows the network address processing method provided by the embodiments of the present application applied to server Flow diagram after S130.Optionally, in the embodiment of the present application, further includes:
Step S140: the mark of goal-selling is obtained, and two dimensional code network address is generated according to the mark of goal-selling.
Wherein, the mark of goal-selling includes carrying out cryptographic Hash calculating by the data content of goal-selling, is also possible to Identifying from increase in the database, is also possible to the globally unique identifier that the unique identifier generating function in applying generates Symbol.Therefore, the mark of goal-selling here should not be construed as the limitation to the embodiment of the present application.
Step S150: image in 2 D code is generated according to two dimensional code network address.
Wherein, the mode of image in 2 D code is generated according to two dimensional code network address, such as: use UTF8 coded format, two dimensional code net It when & symbol occurs in content in location, is replaced with %26, if there is newline to replace using %0A, then replaced content is carried out Coding obtains image in 2 D code.The concrete mode of coding is for example: server-side provides the interface of data write-in and file storage.Visitor File or input content of text are written into interface for family end.Server-side stores the content of client input, generates and is associated with this content Short network address.Short network address is written in two-dimension code pattern by server-side according to disclosed ordinary QR code generating algorithm, by " The two dimensional code that dynamic two-dimension code technology " generates.Scanning device is scanned two dimensional code, and parsing obtains short network address.Client weight It is directed to short network address, carries out the downloading browsing of content.Therefore, the mode of generation image in 2 D code here should not be construed as to this Apply for the limitation of embodiment.
Step S160: image in 2 D code is sent to printer, printer is for printing image in 2 D code.
Wherein, image in 2 D code here can be used printer and print scanning, can also be in the screen of user terminal Showing on curtain can be swept, and can also show on the screen of server can be swept.Therefore the image in 2 D code generated here Mode should not be construed as the limitation to the embodiment of the present application.
Second embodiment
Fig. 5 is referred to, Fig. 5 shows the network address processing method provided by the embodiments of the present application for being applied to the first user terminal Flow diagram.A kind of network address processing method that the embodiment of the present application provides is applied to the first user terminal, network address processing side Method includes:
Step S240: the target access request of acquisition is sent to server, target access is requested for goal-selling It accesses, goal-selling is replaceable target, and target access request is to be decoded to generate according to image in 2 D code.
It should be noted that the domain name for assuming server is a.com, then two dimensional code network address here can be Http:// a.com/k=2df accesses this network address of http://a.com/k=2df, including the target access request that will be obtained It is sent to the process of server, this request includes the mark of 2df, and 2df is the mark of goal-selling.
Step S250: the data content for the goal-selling that server is sent is received.
Wherein, after the data content for receiving the goal-selling that server is sent, if data type is network address, weight is carried out Orientation jumps, and jumps to complete network address corresponding in content-data;If data type is text, shown directly in webpage Show content of text;If data type is file, the corresponding link for downloading this file is provided;It is if data type is corresponding Multimedia file, such as audio-video document then show that player is decoded broadcasting to file on the page.Therefore, service is received Processing mode and particular content after the data content for the goal-selling that device is sent, should not be construed as the limit to the embodiment of the present application System.
It should be noted that data content here can be updated according to the actual situation, and such as: it will be deposited in server-side The data relevant to target two dimensional code of storage are updated.Scanning device is scanned two dimensional code, and parsing obtains short network address.Visitor Family end is redirected to short network address, the downloading browsing of the new content after being modified.Therefore, whether data content here needs Update the limitation that should not be construed as to the embodiment of the present application.
Fig. 5 is referred to, optionally, in the embodiment of the present application, the target access request of acquisition is being sent to server Before, further includes:
Step S210: in response to the scanning clicking operation of user, the figure comprising two dimensional code that utilizing camera interface returns is accessed Picture obtains image in 2 D code.
Wherein, in response to the scanning clicking operation of user, the image comprising two dimensional code that utilizing camera interface returns is accessed, is obtained Obtain image in 2 D code.Its specific mode for example, click user terminal on button, trigger camera to image in 2 D code into Row scanning, has got image in 2 D code in the screen of user terminal.Therefore, the specific implementation of the step should not be understood For the limitation to the embodiment of the present application.
Step S220: image in 2 D code is decoded, and obtains two dimensional code network address.
Wherein, image in 2 D code is decoded, obtains the concrete mode of two dimensional code network address, can be and utilize two on server Dimension code decoder to decode image in 2 D code, obtains two dimensional code network address, the two-dimensional code decoder being also possible on user terminal To decode image in 2 D code, obtains two dimensional code network address.Therefore, here to the decoded two-dimensional code decoder of image in 2 D code Storage location should not be construed as the limitation to the embodiment of the present application.
Step S230: target access request is generated according to two dimensional code network address.
Wherein, the data content of target access request can be to have uploaded and stored to the data content of server, The content of storage on the server, is also possible to client terminal and is uploaded to the interior of server otherwise before can be Hold.Therefore, the data content of goal access request should not be construed as the limitation to the embodiment of the present application.
3rd embodiment
Fig. 6 is referred to, Fig. 6 shows the network address processing method provided by the embodiments of the present application applied to second user terminal Flow diagram.A kind of network address processing method that the embodiment of the present application provides is applied to second user terminal, network address processing side Method includes:
Step S310: generating operation in response to the two dimensional code of user, obtains network address generation according to the mark of goal-selling and asks It asks, goal-selling is replaceable target.
Wherein, goal-selling here can be content of text, network address, compressed file or multimedia file, or on Several combination in face, such as: if data type is network address, redirects and jump, jumps to corresponding in content-data Complete network address, complete network address is returned into the first user terminal;If data type is text, the content of text is returned To the first user terminal;If data type is file, the correspondence download link of this file is returned into the first user terminal; If corresponding data type is multimedia file, such as audio-video document then shows that player solves file on the page Code plays, and the page is returned to the first user terminal.
Step S320: network address is generated into request and is sent to server.
Wherein, network address, which generates, requests for obtaining two dimensional code network address, can be according to two dimensional code net after obtaining two dimensional code network address Location coding generates image in 2 D code.Here network address generates request and sends server, can be and is sent to clothes by wired mode Business device, can also wirelessly be sent to server, such as wifi wireless network, and therefore, network address generates the tool of request The mode that body is sent to server should not be construed as the limitation to the embodiment of the present application.
Step S330: the two dimensional code network address that server is sent is received.
Wherein, two dimensional code network address here can be short network address, such as the domain name of server is a.com, then here Two dimensional code network address can be http://a.com/k=234sdf, be also possible to https: //a.com/a=23df44, certainly It can be long network address, can be generated according to the specific actual conditions of application, therefore, whether two dimensional code network address here is short The generating mode of the length and mark of network address and two dimensional code network address should not be construed as the limitation to the embodiment of the present application.
Step S340: two dimensional code network address is encoded and generates image in 2 D code.
Wherein, user terminal can encode according to two dimensional code network address and generate image in 2 D code, and image in 2 D code here can To use printer to print scanning, can also show on the screen of the user terminal can be swept.Therefore, generation here The mode of image in 2 D code should not be construed as the limitation to the embodiment of the present application.
Optionally, in the embodiment of the present application, server can also count the scanning of each two dimensional code, such as following table It is shown, the scanning of two dimensional code carry out statistics include: today access times, this week access times, this month access times and accumulation visit Ask number.Certainly, it can also include: serial number, mark, short network address and description that the scanning of two dimensional code, which carries out statistics, facilitate backstage right The content of two dimensional code or effect are managed and modify.Certainly, other than showing statistical result with table, pie can also be used Figure, column diagram, line chart, bar chart, area-graph, stock, radar map, histogram or scatter plot etc. show statistical result. Therefore, the specific ways of presentation of statistical result here should not be construed as the limitation to the embodiment of the present application.
Optionally, in the embodiment of the present application, server can also be to the scanning province ,city and area of the scanning of each two dimensional code It is counted, as shown in the table, the scanned province ,city and area's situation of one of two dimensional code is counted, the two dimensional code quilt The project of province ,city and area's situation of scanning include: today access times, this week access times, this month access times and accumulation access Number.Certainly, it can also include: province, cities and counties and description that the scanning of two dimensional code, which carries out statistics, facilitate backstage in two dimensional code Hold or effect is managed and modifies.
Certainly, other than showing statistical result with table, cake chart, column diagram, line chart, bar chart, face can also be used Figure, stock, radar map, histogram or scatter plot etc. are accumulated to show statistical result.Therefore, the specific exhibition of statistical result here Existing mode should not be construed as the limitation to the embodiment of the present application.
Optionally, in the embodiment of the present application, server is in addition to the scanning needle to each two dimensional code is to date, time and ground Outside area is counted, it can also be counted for network type, using source and FTP client FTP type, network type example Such as: connection, movement and telecommunications, for example using source: wechat, Alipay, web browser and other application etc., client system Unite type for example: Android, apple and Microsoft etc..Therefore, server is counted specific to the scanning of each two dimensional code here Mode and particular content should not be construed as the limitation to the embodiment of the present application.
In order to make it easy to understand, the another embodiment of the embodiment of the present application is described below:
Fig. 7 is referred to, Fig. 7 shows server provided by the embodiments of the present application and the first user terminal and second user is whole The interaction timing diagram at end.The another embodiment of the embodiment of the present application is described in detail below:
1. increasing the function of website data browsing statistics in server-side;
2. user is scanned two dimensional code by scanning device, parses, obtaining result is the short net being embedded in two dimensional code Location;
3. after scanning device obtains short network address, can automatically redirect so far short network address;
4. the serve end program of short network address searches corresponding content data in database;
5. the serve end program of short network address judges the type that short network address searches resulting content-data, and returned data Content carries out the display of content to scanning device, scanning device;
6. server-side will record in step 4, client is for statistical analysis to the access situation of short network address and is entered into number According in library, (including short web-site address, client ip, client scan device type, OS Type, operating system are used Language, screen resolution etc.);
7. the statistical analysis of two-dimensional code scanning situation can be carried out by the statistical data of server-side.
Wherein, data type in step 5 is divided into following several situations:
If data type is network address, redirects and jump, jumps to complete network address corresponding in content-data;
If data type is text, the display text content directly in webpage;
If data type is file, the corresponding link for downloading this file is provided;
If corresponding data type is multimedia file, such as audio-video document then shows player to text on the page Part is decoded broadcasting.
Fourth embodiment
Fig. 8 is referred to, Fig. 8 shows the network address processing device structure diagram of server provided by the embodiments of the present application. A kind of network address processing unit 400 that the embodiment of the present application provides is applied to server 100, the network address processing unit 400 packet It includes:
Access request receiving module 410, for receiving the target access request of the first user terminal transmission, target access is asked It asks for accessing to goal-selling, goal-selling is replaceable target, and target access request is according to image in 2 D code What decoding generated.
Data content obtains module 420, for searching corresponding data content according to goal-selling, obtains goal-selling Data content.
Data content return module 430, for the data content of goal-selling to be returned to the first user terminal.
The embodiment of the present application provides a kind of network address processing method, device, server and user terminal, passes through and receives first and use Family terminal is requested according to the target access that image in 2 D code decoding generates, and target access is requested for replaceable goal-selling It accesses;Corresponding data content is searched according to the goal-selling, obtains the data content of goal-selling;By the goal-selling Data content return to the first user terminal.Clothes are stored in by the data content for needing to access after decoding image in 2 D code It is engaged in device, the data content on the server can be changed, and use scanning device in the prior art to efficiently solve The problem of data content obtained after two-dimensional code scanning can not be changed.
The above is only the preferred embodiments of the embodiment of the present application, are not intended to limit this application embodiment, for this For the technical staff in field, the embodiment of the present application can have various modifications and variations.It is all the embodiment of the present application spirit and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the protection scope of the embodiment of the present application.

Claims (10)

1. a kind of network address processing method, which is characterized in that be applied to server, comprising:
The target access request of the first user terminal transmission is received, the target access request is for visiting goal-selling It asks, the goal-selling is replaceable target, and the target access request is to be decoded to generate according to image in 2 D code;
Corresponding data content is searched according to the goal-selling, obtains the data content of the goal-selling;
The data content of the goal-selling is returned into first user terminal.
2. the method as described in claim 1, which is characterized in that asked in the target access that the first user terminal of the reception is sent Before asking, the method also includes:
It receives the network address that second user terminal is sent and generates request, the network address generates the mark that request includes the goal-selling Know;
Two dimensional code network address is generated according to the mark of the goal-selling;
The two dimensional code network address is sent to the second user terminal.
3. the method as described in claim 1, which is characterized in that further include:
The mark of the goal-selling is obtained, and two dimensional code network address is generated according to the mark of the goal-selling;
The image in 2 D code is generated according to the two dimensional code network address;
The image in 2 D code is sent to printer, the printer is for printing the image in 2 D code.
4. a kind of network address processing method, which is characterized in that be applied to the first user terminal, the network address processing method includes:
The target access request of acquisition is sent to server, the target access is requested for accessing to goal-selling, The goal-selling is replaceable target, and the target access request is to be decoded to generate according to image in 2 D code;
Receive the data content for the goal-selling that the server is sent.
5. method as claimed in claim 4, which is characterized in that the target access request of acquisition is sent to server described Before, further includes:
In response to the scanning clicking operation of user, the image comprising two dimensional code that utilizing camera interface returns is accessed, obtains two dimensional code Image;
The image in 2 D code is decoded, two dimensional code network address is obtained;
Target access request is generated according to the two dimensional code network address.
6. a kind of network address processing method, which is characterized in that be applied to second user terminal, the network address processing method includes:
Operation is generated in response to the two dimensional code of user, network address is obtained according to the mark of goal-selling and generates request, the default mesh It is designated as replaceable target;
The network address is generated into request and is sent to server;
Receive the two dimensional code network address that the server is sent;
The two dimensional code network address is encoded and generates image in 2 D code.
7. a kind of network address processing unit, which is characterized in that be applied to server, comprising:
Access request receiving module, for receiving the target access request of the first user terminal transmission, the target access request For accessing to goal-selling, the goal-selling is replaceable target, and the target access request is according to two dimension Code image decoding generates;
Data content obtains module, for searching corresponding data content according to the goal-selling, obtains the goal-selling Data content;
Data content return module, for the data content of the goal-selling to be returned to first user terminal.
8. a kind of server characterized by comprising first processor and first memory, the first memory are stored with The executable machine readable instructions of the first processor, the machine readable instructions execute when being executed by the first processor Method a method according to any one of claims 1-3.
9. a kind of first user terminal characterized by comprising second processor and second memory, the second memory The executable machine readable instructions of the second processor are stored with, the machine readable instructions are executed by the second processor Any method of Shi Zhihang such as claim 4-5.
10. a kind of second user terminal characterized by comprising third processor and third memory, the third memory The executable machine readable instructions of the third processor are stored with, the machine readable instructions are executed by the third processor Shi Zhihang is method as claimed in claim 6.
CN201811575220.1A 2018-12-21 2018-12-21 A kind of network address processing method, device, server and user terminal Pending CN109615048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811575220.1A CN109615048A (en) 2018-12-21 2018-12-21 A kind of network address processing method, device, server and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811575220.1A CN109615048A (en) 2018-12-21 2018-12-21 A kind of network address processing method, device, server and user terminal

Publications (1)

Publication Number Publication Date
CN109615048A true CN109615048A (en) 2019-04-12

Family

ID=66010476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811575220.1A Pending CN109615048A (en) 2018-12-21 2018-12-21 A kind of network address processing method, device, server and user terminal

Country Status (1)

Country Link
CN (1) CN109615048A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750741A (en) * 2019-10-18 2020-02-04 深圳市比量科技传媒有限公司 Webpage link skipping processing method, computer device and storage medium
CN114444637A (en) * 2020-11-05 2022-05-06 薛宗良 Quick response code steering system
US11711449B2 (en) 2021-12-07 2023-07-25 Capital One Services, Llc Compressing websites for fast data transfers

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093266A (en) * 2013-01-26 2013-05-08 邱小林 Three-dimensional bar code anti-counterfeiting mark
CN104023021A (en) * 2014-06-13 2014-09-03 珠海市君天电子科技有限公司 File transfer method and file transfer device
CN104318194A (en) * 2014-09-28 2015-01-28 美的集团武汉制冷设备有限公司 Two-dimensional code-based household electric appliance page access method, server and mobile terminal
CN104376353A (en) * 2014-04-17 2015-02-25 腾讯科技(深圳)有限公司 Two-dimension code generating method, terminal and server and two-dimension code reading method, terminal and server
CN106408065A (en) * 2016-09-05 2017-02-15 成都天钥科技有限公司 Two-dimensional code encoding method and apparatus
CN108345597A (en) * 2017-01-22 2018-07-31 阿里巴巴集团控股有限公司 Generate graphic code, page info access processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093266A (en) * 2013-01-26 2013-05-08 邱小林 Three-dimensional bar code anti-counterfeiting mark
CN104376353A (en) * 2014-04-17 2015-02-25 腾讯科技(深圳)有限公司 Two-dimension code generating method, terminal and server and two-dimension code reading method, terminal and server
CN104023021A (en) * 2014-06-13 2014-09-03 珠海市君天电子科技有限公司 File transfer method and file transfer device
CN104318194A (en) * 2014-09-28 2015-01-28 美的集团武汉制冷设备有限公司 Two-dimensional code-based household electric appliance page access method, server and mobile terminal
CN106408065A (en) * 2016-09-05 2017-02-15 成都天钥科技有限公司 Two-dimensional code encoding method and apparatus
CN108345597A (en) * 2017-01-22 2018-07-31 阿里巴巴集团控股有限公司 Generate graphic code, page info access processing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750741A (en) * 2019-10-18 2020-02-04 深圳市比量科技传媒有限公司 Webpage link skipping processing method, computer device and storage medium
CN114444637A (en) * 2020-11-05 2022-05-06 薛宗良 Quick response code steering system
US11711449B2 (en) 2021-12-07 2023-07-25 Capital One Services, Llc Compressing websites for fast data transfers

Similar Documents

Publication Publication Date Title
CN112316424B (en) Game data processing method, device and storage medium
JP6294307B2 (en) Method and system for monitoring and tracking browsing activity on portable devices
CN109615048A (en) A kind of network address processing method, device, server and user terminal
CN102939601A (en) Initiating font subsets
WO2016026384A1 (en) Client page display method, device and system
CN110166465B (en) Access request processing method, device, server and storage medium
US9195773B2 (en) Structure-based adaptive document caching
CN102955854A (en) Webpage presenting method and device based on HTML5 (Hypertext Markup Language 5) protocol
CN114329298B (en) Page presentation method and device, electronic equipment and storage medium
CN104052809A (en) Distribution control method and device for web testing
CN105589956A (en) User portraying method and device
CN103475744A (en) Resource downloading method, device and system on basis of Web application
CN110297924A (en) The processing of point cloud data and rendering method, device, equipment and storage medium
CN107798078B (en) Billboard data display method and device, computer equipment and storage medium
CN104063112A (en) Interaction method, device and system among browsers, and browser
CN114297544A (en) Remote browsing method, device, equipment and storage medium
CN106998476B (en) Video viewing method and device based on geographic information system
CN107634928A (en) A kind of processing method and processing device of bit stream data
CN111767492B (en) Picture loading method and device, computer equipment and storage medium
CN109409985A (en) A kind of information displaying method, device, equipment and storage medium
CN110248395B (en) Wireless network access method, device, storage medium and computer equipment
CN110162301B (en) Form rendering method, form rendering device and storage medium
CN102323939A (en) Method and device for determining background information of rearranged elements in page rearranging process
CN108108458A (en) The method and device of resources of human talents data is shared based on domain name
CN100592300C (en) Data display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 311501, Unit 1, Building 5, Courtyard 1, Futong East Street, Chaoyang District, Beijing

Applicant after: BEIJING KNOWNSEC INFORMATION TECHNOLOGY Co.,Ltd.

Address before: Room 311501, Unit 1, Building 5, Courtyard 1, Futong East Street, Chaoyang District, Beijing

Applicant before: BEIJING KNOWNSEC INFORMATION TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190412