CN104463062B - Access method and system based on two-dimensional code scanning - Google Patents

Access method and system based on two-dimensional code scanning Download PDF

Info

Publication number
CN104463062B
CN104463062B CN201410610538.4A CN201410610538A CN104463062B CN 104463062 B CN104463062 B CN 104463062B CN 201410610538 A CN201410610538 A CN 201410610538A CN 104463062 B CN104463062 B CN 104463062B
Authority
CN
China
Prior art keywords
access
link
state
information
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.)
Active
Application number
CN201410610538.4A
Other languages
Chinese (zh)
Other versions
CN104463062A (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 CN201410610538.4A priority Critical patent/CN104463062B/en
Publication of CN104463062A publication Critical patent/CN104463062A/en
Application granted granted Critical
Publication of CN104463062B publication Critical patent/CN104463062B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an access method and system based on two-dimensional code scanning. The method comprises the steps of receiving an access request initiated by a client side through two-dimensional code scanning, wherein a link corresponding to two-dimensional codes is a link which limits the access number; obtaining the current access state of the link corresponding to the two-dimensional codes, wherein the access state comprises an access freezing state corresponding to the phenomenon that the access number of the link reaches the limited access number, and an accessible state corresponding to the phenomenon that the access number of the link is smaller than the limited access number; refusing the access request when the link is in the access freezing state; when the link is in the accessible state, accepting the access request, and obtaining the current access number of the link; if the link reaches the limited access number, freezing the link. According to the scheme of the access method and system, the limitation of the access number of the link corresponding to the two-dimensional codes can be achieved.

Description

Access method and system based on two-dimensional code scanning
Technical field
The present invention relates to planar bar code technology field, more particularly to a kind of access method based on two-dimensional code scanning and it is System.
Background technology
With the fast development of information age, the utilization of Quick Response Code is ubiquitous.User can be sent out by scanning Quick Response Code Access request is played, the corresponding link of Quick Response Code is accessed, server performs access request.Such as, Quick Response Code is applied and is being propped up Fu Shang, its basic procedure are that businessman puts up Quick Response Code, and customer's scanning Quick Response Code really parses Quick Response Code, visits when scanning Its corresponding payment link is asked, server is performed and pays request.
As Quick Response Code is spectacular, any terminal with two-dimensional code scanning function can be carried out scanning.It is real In the application of border, cross multiple terminals and scan Quick Response Code simultaneously and access corresponding link, punching is easily produced during access server Prominent problem, is unfavorable for the control to access server on backstage, meanwhile, also the holder terminal of uncontrollable front end continues to sweep Retouch Quick Response Code to conduct interviews the behavior of request.
As can be seen here, cross multiple terminals to scan Quick Response Code simultaneously and access corresponding link, easily produce the problem of conflict, Backstage is difficult to control effectively access server.
The content of the invention
Based on this, it is necessary to be directed to multiple terminals while scanning Quick Response Code and accessing corresponding link, and easily produced conflict Problem, there is provided a kind of access method and system based on two-dimensional code scanning.
A kind of access method based on two-dimensional code scanning, including:
Client is received by scanning the access request that Quick Response Code is initiated;Wherein, the corresponding link of the Quick Response Code is limited The link of access number processed;
The current access state of the corresponding link of the Quick Response Code is obtained, wherein, the access state includes the visit for linking When asking quantity that the corresponding access number freezed access state and link is less than restriction access number when reaching restriction access number Corresponding accessiable state;
The link in freeze access state when, refuse the access request;In the link in addressable shape During state, receive the access request, and obtain the current access number of link, freeze the chain if restriction access number is reached Connect.
A kind of access system based on two-dimensional code scanning, including:
Access request receiver module, for receiving client by scanning the access request that Quick Response Code is initiated;Wherein, it is described The corresponding link for being linked as limiting access number of Quick Response Code;
Access state acquisition module, the access state current for obtaining the corresponding link of the Quick Response Code, wherein, it is described Access state includes that the access number for linking reaches the corresponding access number for freezing access state and link when limiting access number Amount is less than corresponding accessiable state when limiting access number;
Access request processing module, for the link in freeze access state when, refuse the access request; When the link is in accessiable state, receives the access request, and obtain the current access number of link, if reaching restriction Access number then freezes the link.
Above-mentioned access method and system based on two-dimensional code scanning, by when access request is received, obtaining Quick Response Code The current access state of corresponding link, link in freeze access state when, denied access request;It is in link and can visits When asking state, request of accepting the interview, and the current access number of link is obtained, the frozen links if restriction access number is reached. It is achieved thereby that the restriction of the access number of Quick Response Code correspondence link, and then avoid due to crossing multiple terminals while scanning Quick Response Code And collision problem caused by corresponding link is accessed, improve the controllability to access server on backstage.
Description of the drawings
Fig. 1 be one embodiment of the invention in based on two-dimensional code scanning access method working environment schematic diagram;
Fig. 2 is schematic flow sheet of the present invention based on the access method embodiment of two-dimensional code scanning;
Fig. 3 is the information schematic diagram in one of embodiment of the invention;
Fig. 4 is the information schematic diagram in another embodiment of the present invention;
Fig. 5 is structural representation of the present invention based on the access system embodiment of two-dimensional code scanning;
Fig. 6 is the module map of the computer system that can realize the embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is below in conjunction with drawings and Examples, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and It is not used in the restriction present invention.
With reference to Fig. 1, Fig. 1 shows the working environment of the access method in one embodiment of the invention based on two-dimensional code scanning Schematic diagram.Including terminal unit 110 and server 120.Terminal unit 110 can be such as smart mobile phone, iPad, individual digital The equipment such as assistant, but be not limited thereto.Terminal unit 110 can access public network by the mode such as wired or wireless, such as Internet etc., is communicated with server 120.The Quick Response Codes such as scanning software can be run on terminal unit 110 and accesses client End, user can be entered to access request by internet access server 120, server 120 using scanning software etc. Row is corresponding to be processed.The terminal unit may refer to an equipment, it is also possible to refer to multiple equipment.Server 120 refers to reality The server apparatus of existing various background functions, may refer to an equipment and may also mean that multiple equipment.
As shown in Fig. 2 the schematic flow sheet for the present invention based on the access method embodiment of two-dimensional code scanning, including:
Step S201:Client is received by scanning the access request that Quick Response Code is initiated;Wherein, the Quick Response Code is corresponding It is linked as limiting the link of access number;
User can be by client scan Quick Response Code, so as to initiate access request.In received server-side access request.
Further, corresponding to access request can also link and judge, check whether to limit access number Link.Also include:Judge whether the corresponding link of the access request is the link for limiting access number.In internal memory, can Belong to the link for limiting access number to divide which link in advance.Such as, for the payment link for limiting scanning number is divided To belong to the link for limiting access number, and for example, the registration link for limiting number is divided into the link for belonging to restriction access number. By the judgement to linking, it is possible to achieve the access request to limiting the link of access number is processed using this method, right The access request for not limiting the link of access number is processed using conventional method.Furthermore it is possible to arrange to each Quick Response Code One ID or labelling, for distinguishing different Quick Response Codes.Such as, a token can be generated when Quick Response Code is generated, The token of the direct access Quick Response Code distinguishing Quick Response Code, so as to distinguish whether belong to limit access number link it is corresponding Quick Response Code.
Step S202:The current access state of the corresponding link of the Quick Response Code is obtained, wherein, the access state includes The access number of link reaches the corresponding access number freezed access state and link when limiting access number and visits less than limiting Ask corresponding accessiable state during quantity;
Access state can include freezing access state and accessiable state.Whether can be reached according to the access number of link Carry out the access state of label link to restriction access number.I.e. when the access number of link reaches restriction access number, labelling The access state of the link to freeze access state, when the access number of link is less than access number is limited, the labelling link Access state be accessiable state.For example, accessiable state is represented with 0, represented with 1 and freeze access state.So as to subsequently may be used To determine whether the link is freezed according to the access state of link.
Step S203:The link in freeze access state when, refuse the access request;It is in the link During accessiable state, receive the access request, and obtain the current access number of link, freeze if restriction access number is reached Tie the link.
Link represents that the link is freezed in freezing access state, and the so-called refusal access request does not receive this Access request, does not carry out corresponding process of the request and operates, the access state of the link is not made an amendment yet.Link is in and can visit Ask that state represents that the link is thawed, do not freeze in other words.Now, access request is received, performs the corresponding place of the request Reason operation.Meanwhile, the current access number of link is obtained, judges whether to reach restriction access number, if due to this access Increase when making access number reach restriction access number, then freeze the link, in other words the access state of the link arranged To freeze access state.Wherein, receive access request to represent and have received access request, be not offered as performing the access request. Request of accepting the interview just represents that performing corresponding process of the request operates.
This embodiment scheme can be with the server.By when access request is received, obtaining Quick Response Code corresponding The current access state of link, link in freeze access state when, denied access request;In link in accessiable state When, request of accepting the interview, and the current access number of link is obtained, the frozen links if restriction access number is reached.So as to reality The restriction of the access number of Quick Response Code correspondence link has been showed, it is to avoid Quick Response Code is scanned simultaneously and access correspondence due to crossing multiple terminals Link caused by collision problem, improve the controllability to access server on backstage.In an application example, server The access state of link can also be sent to POS, show whether the client can be scanned payment by POS.
Wherein in one embodiment, after the access request step is refused, also include:
The information of two-dimensional code scanning is freezed in acquisition, and sends it to and initiate the client of the access request and carry out Prompting.
The embodiment be in order to link in freeze access state when, point out initiate access request client, so as to The client is allowed to know that the link is frozen.The method of the information that two-dimensional code scanning is freezed in acquisition has many kinds, such as, from The information for prestoring is obtained in data storage storehouse, this class information is and accesses that the client that links is unrelated to be carried Show information.Such as " link is taken, and just a moment,please!", " the links and accesses number is full, please exit!" etc., concrete suggestion content Set as needed.
Another kind of information can be the information relevant with the client that links is accessed, i.e. described acquisition is frozen The step of information of knot two-dimensional code scanning, includes:Acquisition is currently accessing the attribute information of the client of the link, The information for freezing two-dimensional code scanning is generated according to attribute information.The content of information can be " in attribute information+prompting Hold ", such as " XX clients are accessed, and just a moment,please!" etc..
Further, information can also be picture and text information, i.e., described generation according to attribute information freezes two dimension The step of information of code scanning, includes:
The attribute information is combined with the information for prestoring and text prompt information is generated;
From the image for being currently accessing acquisition user in the client of the link;
Text prompt information and image are combined and are generated the information of freezing two-dimensional code scanning;
Wherein, the attribute information includes but is not limited to address name, user's pet name, account, client name.Attribute is believed Breath can be the information of the client, can also be the user profile obtained according to client.Such as, client is " I sees " During client, Quick Response Code is scanned by " I sees ", server can obtain the information of the user for logging in the client, such as, User's head portrait, user's pet name, user account etc..The client information of itself can also be obtained.Then according to user images, category Property information, the information that prestores generate and freeze the information of two-dimensional code scanning.Such as, as shown in figure 3, being the present invention wherein Information schematic diagram in individual embodiment, when access number is limited as 2, information is:Head portrait+" sunny and lily are Access, just a moment,please!”.As shown in figure 4, for the information schematic diagram in another embodiment of the present invention, when limiting access number For 1, and it is scanned with wechat, information is:Head portrait+" be currently in use the access of wechat client, just a moment,please!”.
For some application scenarios, after reaching restriction the number of visiting people, then other users are no longer allowed to access, although after Continuous someone exits access, still no longer allows other users to access.Such as, some free concerts, have number to limit, adopt two The mode of dimension code scanning carries out registering membership number, when scanning reaches setting number, then freezes the Quick Response Code, points out " number It is full, please presence next time!" etc. freeze the information of two-dimensional code scanning.
And for some application scenarios, each quantity for accessing can be limited, when access number is accessed less than limiting Next bit scanning input can be allowed during quantity.I.e. after the step of freezing the link, also include:Monitor the visit of the link Quantity is asked, when access number is less than access number is limited, the link accessiable state is converted to into by freezing access state.
Can be monitor in real time, or by setting time interval be monitored.Access number accesses number less than limiting The reason for amount is probably that access request is finished, it is also possible to be that user automatically exits from request etc..At this point it is possible to will link by Freeze access state and be converted to accessiable state, so as to the defrosting for realizing linking, it is allowed to next bit scan, so as to improve backstage Holder terminal is continued to scan on Quick Response Code conduct interviews request behavior controllability.
For some users are after successful access link, last very long is not exited, and forcibly occupies the access planned number, after causing Continuous user cannot access, in order to avoid such case, wherein in one embodiment, receive the access request step it Afterwards, also include:After linking described in successful access, initiated access time timing, when access time exceedes the time threshold of setting When, disconnect client and access the link.Wherein, disconnect client accessing the link can automatically exit from accessing.And can To point out " to access time-out, access please be rescan!”
The present invention program is may be also used in the scene for seizing payment, such as, for certain promotional product, is provided with promotion Quantity, then can will limit access number and be set to promotion amount, when access number reaches promotion amount, then forbid other to use Family is scanned, and can point out " promotional product without please exit access ".
And for example, for certain promotional product, scanning of queuing up is needed, in order to avoid the people behind troop tries to be the first payment, can be with It is 1 to limit access number, then only allow every time a user to access, and after the completion of the user accesses and pays, then allows next bit Access and pay.Wherein, in order to avoid the CU time is oversize, after linking described in successful access, the timing of initiated access time, When access time exceedes the time threshold of setting, disconnect client and access the link, and will link by freezing access state Be converted to accessiable state.
And for example, for certain promotional product, it is provided with.It is 1 then to limit access number, is only permitted every time Perhaps a personal visit, and pay.So as to realize that the user first scanned pays less than the user of rear scanning.
The present invention program is may be also used in the scene of meeting signature.Such as, access number will be limited and is limited to 1, according to Membership order is scanned, and by the client registers user's name or the pet name etc., records this sweep time, such that it is able to Realize meeting signature.
Various technical characteristics in embodiment of above arbitrarily can be combined, as long as the combination between feature is not present Conflict or contradiction, but as space is limited, described one by one, therefore the various technical characteristics in above-mentioned embodiment is any It is combined the scope for falling within this disclosure.
In specifically using example at one, the program is used in be needed to queue up in the payment scene for paying.Account A sweep Quick Response Code, links in account A parsing Quick Response Code, and access server.Server record account A sweep Quick Response Code, should with 1 labelling Quick Response Code link is occupied.When the same Quick Response Code of account B-scan, the connection in account B parsing Quick Response Code, and access clothes Business device.Server detects the access state of the Quick Response Code correspondence link, when discovery access state is 1, has returned link to account B Occupied prompting.When account A automatically exits from access, or access time more than the time threshold for setting, access is exited, is taken Business device with 0 labelling, thaw by the Quick Response Code link.
The present invention program is always according to said method, there is provided a kind of access system based on two-dimensional code scanning, as shown in figure 5, For structural representation of the present invention based on the access system embodiment of two-dimensional code scanning, including access request receiver module 510, visit Ask state acquisition module 520 and access request processing module 530.
Access request receiver module 510, for receiving client by scanning the access request that Quick Response Code is initiated;Wherein, The corresponding link for being linked as limiting access number of the Quick Response Code;
User can be by client scan Quick Response Code, so as to initiate access request.Connect in the access request of server end Receive module and receive access request.
Further, access request receiver module 510 corresponding to access request can also be linked and be judged, checking is The no link to limit access number.I.e. access request receiver module 510 is additionally operable to:Judge the corresponding link of the access request Whether it is the link for limiting access number.In internal memory, can divide which link belongs to the link for limiting access number in advance. Such as, belong to the link for limiting access number for the payment link for limiting scanning number is divided into, and for example, limit stepping on for number Note link is divided into and belongs to the link for limiting access number.By the judgement to linking, it is possible to achieve to limiting access number The access request of link is processed using the system, adopts conventional meanses to not limiting the access request of link of access number Processed.In addition, access request receiver module 510 arranges an ID or labelling can to each Quick Response Code, for distinguishing not Same Quick Response Code.Such as, a token, the token of the direct access Quick Response Code can be generated when Quick Response Code is generated To distinguish Quick Response Code, whether belong to the corresponding Quick Response Code of link for limiting access number so as to distinguish.
Access state acquisition module 520, the access state current for obtaining the corresponding link of the Quick Response Code, wherein, The access state includes that the access number for linking reaches the corresponding visit for freezing access state and link when limiting access number Ask quantity less than corresponding accessiable state when limiting access number;
Access state can include freezing access state and accessiable state.Whether can be reached according to the access number of link Carry out the access state of label link to restriction access number.I.e. when the access number of link reaches restriction access number, labelling The access state of the link to freeze access state, when the access number of link is less than access number is limited, the labelling link Access state be accessiable state.For example, accessiable state is represented with 0, represented with 1 and freeze access state.So as to subsequently may be used To determine whether the link is freezed according to the access state of link.
Access request processing module 530, for the link in freeze access state when, refusing the access please Ask;When the link is in accessiable state, receives the access request, and obtain the current access number of link, if reaching Then freeze the link to access number is limited.
Link represents that the link is freezed in freezing access state, and the so-called refusal access request does not receive this Access request, does not carry out corresponding process of the request and operates, the access state of the link is not made an amendment yet.Link is in and can visit Ask that state represents that the link is thawed, do not freeze in other words.Now, access request is received, performs the corresponding place of the request Reason operation.Meanwhile, the current access number of link is obtained, judges whether to reach restriction access number, if due to this access Increase when making access number reach restriction access number, then freeze the link, in other words the access state of the link arranged To freeze access state.Wherein, receive access request to represent and have received access request, be not offered as performing the access request. Request of accepting the interview just represents that performing corresponding process of the request operates.
Wherein in one embodiment, the access request processing module 530 is additionally operable to:
After the access request is refused, the information of two-dimensional code scanning is freezed in acquisition, and sends it to initiation The client of the access request is pointed out.
The embodiment be in order to link in freeze access state when, point out initiate access request client, so as to The client is allowed to know that the link is frozen.The information of two-dimensional code scanning is freezed in the acquisition of access request processing module 530 During means have a lot, such as, access request processing module 530 can obtain the information for prestoring from data storage storehouse, this One class information is the information unrelated with the client that links is accessed.Such as " link is taken, please slightly Deng!", " the links and accesses number is full, please exit!" etc., concrete suggestion content is set as needed.
Another kind of information can be the information relevant with the client that links is accessed, i.e., at access request Reason module 530 is additionally operable to:Acquisition is currently accessing the attribute information of the client of the link, is generated according to attribute information and is frozen The information of knot two-dimensional code scanning.The content of information can be " attribute information+suggestion content ", such as " XX clients Access, just a moment,please!" etc..
Further, information can also be picture and text information, i.e., described access request processing module, be additionally operable to:
The attribute information is combined with the information for prestoring and text prompt information is generated;
From the image for being currently accessing acquisition user in the client of the link;
Text prompt information and image are combined and are generated the information of freezing two-dimensional code scanning;
Wherein, the attribute information includes but is not limited to address name, user's pet name, account, client name.Attribute is believed Breath can be the information of the client, can also be the user profile obtained according to client.Such as, client is wechat client During end, Quick Response Code is scanned by wechat, server can obtain the information of the user for logging in the wechat, such as, user's head portrait, use The family pet name, user account etc..The wechat information of itself can also be obtained.Then according to user images, attribute information, prestoring carries Show that information generates the information for freezing two-dimensional code scanning.Such as, as shown in figure 3, in one of embodiment of the invention Information schematic diagram, when access number is limited as 2, information is:Head portrait+" sunny and lily are accessed, please slightly Deng!”.As shown in figure 4, for the information schematic diagram in another embodiment of the present invention, when limiting access number as 1, and use Wechat is scanned, and information is:Head portrait+" be currently in use the access of wechat client, just a moment,please!”.
For some application scenarios, after reaching restriction the number of visiting people, then other users are no longer allowed to access, although after Continuous someone exits access, still no longer allows other users to access.Such as, some free concerts, have number to limit, adopt two The mode of dimension code scanning carries out registering membership number, when scanning reaches setting number, then freezes the Quick Response Code, points out " number It is full, please presence next time!" etc. freeze the information of two-dimensional code scanning.
And for some application scenarios, each quantity for accessing can be limited, when access number is accessed less than limiting Next bit scanning input can be allowed during quantity.I.e. described access request processing module, is additionally operable to:After the link is freezed, The access number of the link is monitored, when access number is less than access number is limited, by the link by freezing access state Be converted to accessiable state.
Can be monitor in real time, or by setting time interval be monitored.Access number accesses number less than limiting The reason for amount is probably that access request is finished, it is also possible to be that user automatically exits from request etc..At this point it is possible to will link by Freeze access state and be converted to accessiable state, so as to the defrosting for realizing linking, it is allowed to next bit scan, so as to improve backstage Holder terminal is continued to scan on Quick Response Code conduct interviews request behavior controllability.
For some users are after successful access link, last very long is not exited, and forcibly occupies the access planned number, after causing Continuous user cannot access, in order to avoid such case, wherein in one embodiment, the access request processing module, also For:After linking described in successful access, the timing of initiated access time, when access time exceedes the time threshold of setting, is broken Open client and access the link.Wherein, disconnect client accessing the link can automatically exit from accessing.And can point out " time-out is accessed, access please be rescan!”
Wherein in one embodiment, the restriction access number is 1.
Present system is may be also used in the scene for seizing payment, such as, for certain promotional product, is provided with promotion Quantity, then can will limit access number and be set to promotion amount, when access number reaches promotion amount, then forbid other to use Family is scanned, and can point out " promotional product without please exit access ".
And for example, for certain promotional product, scanning of queuing up is needed, in order to avoid the people behind troop tries to be the first payment, can be with It is 1 to limit access number, then only allow every time a user to access, and after the completion of the user accesses and pays, then allows next bit Access and pay.Wherein, in order to avoid the CU time is oversize, after linking described in successful access, the timing of initiated access time, When access time exceedes the time threshold of setting, disconnect client and access the link, and will link by freezing access state Be converted to accessiable state.
And for example, for certain promotional product, it is provided with.It is 1 then to limit access number, is only permitted every time Perhaps a personal visit, and pay.So as to realize that the user first scanned pays less than the user of rear scanning.
The present invention program is may be also used in the scene of meeting signature.Such as, access number will be limited and is limited to 1, according to Membership order is scanned, and by the client registers user's name or the pet name etc., records this sweep time, such that it is able to Realize meeting signature.
One of ordinary skill in the art will appreciate that all or part of flow process in realizing above-described embodiment method, can be Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The present invention program can be with the server, and server can be a computer system.Fig. 6 is to realize this The module map of one computer system of inventive embodiments.The computer system 600 simply calculating for being applied to the present invention The example of machine environment, it is impossible to be considered to propose any restriction of the use range to the present invention.Computer system 600 can not It is construed to need to rely on or the combination with one or more parts in the exemplary computer system 600 for illustrating.
The computer system 600 illustrated in Fig. 6 is the example of a computer system for being suitable for the present invention.With not Other frameworks configured with subsystem can also be used.
As shown in fig. 6, computer system 600 includes processor 610, memorizer 620 and system bus 622.Including storage Device 620 and processor 610 are connected on system bus 622 in interior various system components.Processor 610 is one for passing through Arithmetic sum logical operationss basic in computer system are performing the hardware of computer program instructions.Memorizer 620 is a use In the physical equipment for temporarily or permanently storing calculation procedure or data (for example, program state information).System bus 620 can be with For any one in the bus structures of following several types, including memory bus or storage control, peripheral bus drawn game Portion's bus.Processor 610 and memorizer 620 can enter row data communication by system bus 622.Wherein memorizer 620 includes Read only memory (ROM) or flash memory (all not shown in figure), and random access memory (RAM), RAM typically refer to be loaded with The main storage of operating system and application program.
Computer system 600 also includes display interface 630 (for example, Graphics Processing Unit), 640 (for example, liquid of display device Crystal display), audio interface 650 (for example, sound card) and audio frequency apparatus 660 (for example, speaker).Display device 640 and sound Frequency equipment 660 is the media device for experiencing content of multimedia.
Computer system 600 generally comprises a storage device 670.Storage device 670 can be from various computer-readables Select in medium, computer-readable medium is referred to and can pass through any available medium that computer system 600 is accessed, including Mobile and fixed two media.For example, computer-readable medium is included but is not limited to, flash memory (miniature SD card), CD-ROM, digital versatile disc (DVD) or other optical disc storages, cartridge, tape, disk storage or other magnetic storage apparatus, Or can be used for any other medium that store information needed and can be accessed by computer system 600.
Computer system 600 also includes input equipment 680 and input interface 690 (for example, I/O controller).User can be led to Input equipment 680 is crossed, such as the touch panel equipment in keyboard, mouse, display device 640, input instruction and information are to computer In system 600.Input equipment 680 is connected on system bus 622 typically by input interface 690, but it is also possible to passed through Other interfaces or bus structures are connected, such as USB (universal serial bus) (USB).
Computer system 600 can carry out logic with one or more client in a network environment and be connected.Client can Being smart mobile phone, ipad etc..Computer system 600 pass through LAN (LAN) interface 700 or mobile comm unit 710 with Client is connected.LAN (LAN) referred in finite region, such as family, school, computer laboratory or use The office building of the network media, interconnects the computer network of composition.WiFi and twisted-pair feeder wiring Ethernet are the most frequently used structure offices Two kinds of technologies of domain net.WiFi is that one kind can make 600 swapping data of computer system or is connected to wirelessly by radio wave The technology of network.Mobile comm unit 710 is supported in the 2G for providing mobile data service, is carried out in 3G or 4G cellular communication systems Internet access.
It should be pointed out that other include the computer system than 600 more or less of subsystem of computer system Can be suitably used for invention.
As detailed above, it is adaptable to the computer system 600 of the present invention can perform the visit based on two-dimensional code scanning Ask the assigned operation of method.Computer system 600 operates in the software instruction in computer-readable medium by processor 610 Form come perform these operation.These software instructions can be set from another from storage device 670 or by lan interfaces 700 It is standby to be read in memorizer 620.The software instruction that is stored in memorizer 620 so that processor 610 perform it is above-mentioned based on two The access method of dimension code scanning.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more concrete and detailed, but and Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, some deformations and improvement can also be made, these belong to the guarantor of the present invention Shield scope.Therefore, the protection domain of patent of the present invention should be defined by claims.

Claims (8)

1. a kind of access method based on two-dimensional code scanning, it is characterised in that include:
Client is received by scanning the access request that Quick Response Code is initiated;Wherein, the Quick Response Code is corresponding is linked as limiting visit Ask the link of quantity;
The current access state of the corresponding link of the Quick Response Code is obtained, wherein, the access state includes the access number for linking Amount reach limit access number when it is corresponding freeze access state and link access number less than restriction access number when it is corresponding Accessiable state;
The link in freeze access state when, refuse the access request;When the link is in accessiable state, Receive the access request, and obtain the current access number of link, freeze the link if restriction access number is reached;
After the access request step is refused, also include:
Acquisition is currently accessing the attribute information of the client of the link, is generated according to attribute information and freezes two-dimensional code scanning Information, and will be prompted to information and send to the client for initiating the access request pointed out;
It is described according to attribute information generate freeze the information of two-dimensional code scanning the step of include:
The attribute information is combined with the information for prestoring and text prompt information is generated;
From the image for being currently accessing acquisition user in the client of the link;
Text prompt information and image are combined and are generated the information of freezing two-dimensional code scanning;
Wherein, the attribute information includes address name, user's pet name, account, client name.
2. the access method based on two-dimensional code scanning according to claim 1, it is characterised in that freezing the link After step, also include:
Monitor the access number of the link, when access number less than limit access number when, by it is described link by freeze access State Transferring is accessiable state.
3. the access method based on two-dimensional code scanning according to claim 1, it is characterised in that please the access is received After seeking step, also include:
After linking described in successful access, the timing of initiated access time, when access time exceedes the time threshold of setting, disconnects The client of access time time-out accesses the link.
4. the access method based on two-dimensional code scanning according to claim 1, it is characterised in that the restriction access number For 1.
5. a kind of access system based on two-dimensional code scanning, it is characterised in that include:
Access request receiver module, for receiving client by scanning the access request that Quick Response Code is initiated;Wherein, the two dimension The corresponding link for being linked as limiting access number of code;
Access state acquisition module, the access state current for obtaining the corresponding link of the Quick Response Code, wherein, the access It is few that state includes that the access number for linking reaches the corresponding access number freezed access state and link when limiting access number Corresponding accessiable state when access number is limited;
Access request processing module, for the link in freeze access state when, refuse the access request;Described When link is in accessiable state, receives the access request, and obtain the current access number of link, if reach restriction accessing Quantity then freezes the link;
The access request processing module, is additionally operable to:After the access request is refused, acquisition is currently accessing the chain The attribute information of the client for connecing, generates the information for freezing two-dimensional code scanning, and will be prompted to information and send out according to attribute information Deliver to and initiate the client of the access request and pointed out;
The access request processing module, is additionally operable to:
The attribute information is combined with the information for prestoring and text prompt information is generated;
From the image for being currently accessing acquisition user in the client of the link;
Text prompt information and image are combined and are generated the information of freezing two-dimensional code scanning;
Wherein, the attribute information includes address name, user's pet name, account, client name.
6. the access system based on two-dimensional code scanning according to claim 5, it is characterised in that the access request is processed Module, is additionally operable to:
After the link is freezed, the access number of the link is monitored, when access number is less than access number is limited, by institute State link accessiable state is converted to by freezing access state.
7. the access system based on two-dimensional code scanning according to claim 5, it is characterised in that the access request is processed Module, is additionally operable to:
After linking described in successful access, the timing of initiated access time, when access time exceedes the time threshold of setting, disconnects The client of access time time-out accesses the link.
8. the access system based on two-dimensional code scanning according to claim 5, it is characterised in that the restriction access number For 1.
CN201410610538.4A 2014-11-03 2014-11-03 Access method and system based on two-dimensional code scanning Active CN104463062B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410610538.4A CN104463062B (en) 2014-11-03 2014-11-03 Access method and system based on two-dimensional code scanning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410610538.4A CN104463062B (en) 2014-11-03 2014-11-03 Access method and system based on two-dimensional code scanning

Publications (2)

Publication Number Publication Date
CN104463062A CN104463062A (en) 2015-03-25
CN104463062B true CN104463062B (en) 2017-03-22

Family

ID=52909079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410610538.4A Active CN104463062B (en) 2014-11-03 2014-11-03 Access method and system based on two-dimensional code scanning

Country Status (1)

Country Link
CN (1) CN104463062B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715337A (en) * 2015-03-26 2015-06-17 小米科技有限责任公司 Attendance method, and attendance management method and device
CN106294366A (en) * 2015-05-15 2017-01-04 阿里巴巴集团控股有限公司 The methods of exhibiting of bar code temperature and device
CN108596294B (en) * 2018-03-23 2020-11-27 创新先进技术有限公司 Method, system and server for applying bar code
CN108681766A (en) * 2018-04-12 2018-10-19 深圳市易迈数据技术有限公司 Idle bit assignment method and its identification code based on user data statistics

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848880A (en) * 2006-03-07 2006-10-18 李振宇 Mobile telephone scanning two-dimensional bar code network accessing
CN102024008A (en) * 2009-09-09 2011-04-20 浙江省电力公司 Limitation method of Web server concurrent number
CN102917023A (en) * 2012-09-19 2013-02-06 腾讯科技(深圳)有限公司 Method and mobile terminal for accessing webpage based on two-dimension code
CN103678324A (en) * 2012-09-03 2014-03-26 百度在线网络技术(北京)有限公司 Method, device and equipment for opening webpage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848880A (en) * 2006-03-07 2006-10-18 李振宇 Mobile telephone scanning two-dimensional bar code network accessing
CN102024008A (en) * 2009-09-09 2011-04-20 浙江省电力公司 Limitation method of Web server concurrent number
CN103678324A (en) * 2012-09-03 2014-03-26 百度在线网络技术(北京)有限公司 Method, device and equipment for opening webpage
CN102917023A (en) * 2012-09-19 2013-02-06 腾讯科技(深圳)有限公司 Method and mobile terminal for accessing webpage based on two-dimension code

Also Published As

Publication number Publication date
CN104463062A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
US11025963B2 (en) Data processing method, apparatus, and system for live streaming page
US10065119B2 (en) Game accessing method and processing method, server, terminal, and system
US10448082B2 (en) Information exchanging method and device, audio terminal and computer-readable storage medium
CN104463062B (en) Access method and system based on two-dimensional code scanning
US20160316041A1 (en) Channel access method and system
US10198238B2 (en) Data transmission method, and relevant device and system
CN105141496A (en) Instant communication message playback method and device
CN105205157A (en) Page loading method, device and system
CN104980416A (en) Data access method, device and system in content distribution network
CN107105477A (en) Share the method and apparatus of feedback or excitation information for providing WAP
KR101783431B1 (en) Method for providing funding and consulting information related with entertainment by crowd funding system
CA2881145C (en) Fulfillment of applications to devices
US20210136432A1 (en) Method for recharging live streaming account, terminal, and storage medium
US20170237816A1 (en) Method and electronic device for identifying device
US20170161928A1 (en) Method and Electronic Device for Displaying Virtual Device Image
CN108076439B (en) Method and device for pushing messages based on wireless access point
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
CN112966256B (en) Equipment management method based on building information model and related device
CN109218808B (en) Video recording method and device and computer equipment
CN108718421A (en) A kind of requesting song control system and method
WO2017201968A1 (en) Verification method and verification system for merchandise inventory
CN108268183A (en) Communication message processing method and device in the data object information page
CN110771113B (en) Brushing amount terminal detection method and device
WO2022183940A1 (en) Method and apparatus for acquiring recommended content resource, and device, medium and program product
US11871482B2 (en) Interaction control method and apparatus, terminal, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant