[go: up one dir, main page]

CN101005485A - Method and system for compression coding information resource address - Google Patents

Method and system for compression coding information resource address Download PDF

Info

Publication number
CN101005485A
CN101005485A CN 200610162367 CN200610162367A CN101005485A CN 101005485 A CN101005485 A CN 101005485A CN 200610162367 CN200610162367 CN 200610162367 CN 200610162367 A CN200610162367 A CN 200610162367A CN 101005485 A CN101005485 A CN 101005485A
Authority
CN
China
Prior art keywords
uri
compression
user
sequence number
decompression
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
CN 200610162367
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 200610162367 priority Critical patent/CN101005485A/en
Publication of CN101005485A publication Critical patent/CN101005485A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The method comprises: combining the de-compressed server ID, user ID and resources serial number to generate the compressed URI, and making encode; saving the corresponding relation between the resources serial number and original URI. When the user visits the original URI according to the decoded compression URI, the server gets the user ID and resources serial number in the compression URI; based on the user ID and the relation between the original URI and resources serial number, looking up the relevant original URI.

Description

A kind of method and system of compression coding information resource address
Technical field
The present invention relates to the network data processing field, particularly relate to a kind of method and system of compression coding information resource address, and corresponding decompression method.
Background technology
Available every kind of resource on the network: html document, image, video segment, program or the like can be positioned by a unified resource identifier (Uniform Resource Identifier is called for short " URI ").URI generally is made up of three parts: the naming mechanism of access resources; Deposit the host name of resource; The title of resource self, path or parameter.
For example, http://www.webmonkey.com.cn/htm/htm140/; This URI has represented that can be passed through a http protocol accessed resources, is positioned on the main frame www.webmonkey.com.cn, gets final product by path "/html/html40 " visit.
What relatively use always in the wire transmission field of network resource data is URL (Uniform ResourceLocation, URL(uniform resource locator)), and URL is a subclass of URI naming mechanism.Generally speaking, URL can think to be used on the Internet character string of descriptor resource, mainly is used on various WWW CLIENT PROGRAM and the server program.
But along with getting more and more of information resources in the network, the above-mentioned data length of URI that is used for addressing or sign internet information resource is also increasing, the length of more existing URI has reached hundreds of even has gone up kilobytes, so how the URI of big data quantity issues and propagates, the existence that makes more user can learn the resource that it identifies is a very thing of difficulty.
Prior art has proposed a solution: the URI coding is formed two-dimensional bar, and then issue and propagate, the coding form of two-dimension code can be used the area of plane efficiently, under equal area, can hold more information than literal, and two-dimension code also is convenient to the user and is imported URI very much.Along with popularizing gradually of mobile terminal device camera function, make the advantage of this scheme more and more protrude.This scheme makes URI to propagate by planographic, for example two-dimensional bar is printed on the printed matters such as newpapers and periodicals, magazine, placard, thereby mobile terminal device obtains this URI by taking, decoding, and then obtains corresponding information resources by the address sensing of this URI.
The proposition of this scheme can help really URI multi-faceted, convenient, issue accurately and transmit.But, because the URI length variations of various information resources is very big, the length of some URI reaches hundreds of even goes up kilobytes, and the data length of some URI only has only several or tens bytes, this just requires: the data processing compatibility of encoding device, decoding device and transmission equipment is very strong, can either satisfy the needs of short URI encoding and decoding of data length, also want to satisfy the needs of long URI encoding and decoding of data length, thereby the performance of the said equipment is proposed comparatively harsh requirement; Secondly, because the data length of URI still has the trend of increase, for the URI of these big data quantities, even adopting two-dimensional bar code propagates, the two-dimensional bar code data volume that its coding obtains is still very big (from the plane, be exactly that two-dimensional bar code sign indicating number shape increases, printing area increases), low side two-dimensional bar code recognizing apparatus for similar mobile phone, cause the reduction of discrimination and the difficulty on the recognition speed, for example, can't take the processing procedures such as decoding that calculated performances such as the two-dimensional bar code of big sign indicating number shape or internal memory can't satisfy this two-dimensional bar code; And, printing or display unit are also proposed higher requirement, on the layout of printing and display medium, also caused certain difficulty.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method and system of compression coding information resource address, to solve the excessive and problem that is difficult to propagate of coding sign indicating number shape that prior art directly generates information resource address coding back.
For solving the problems of the technologies described above, the invention provides a kind of method of compression coding information resource address, comprising:
Preset user's space, and manage by user ID;
Receive the original URI of directional information resource;
The respective user sign is determined and the corresponding resource sequence number of described original URI;
Decompression server identification, user ID and resource sequence number combination are generated compression URI, and preserve the corresponding relation of resource sequence number and original URI.
Wherein, described decompression server and compression service device are same server.
Preferably, also comprise: described compression URI is encoded, obtain two-dimensional bar code.
Preferably, also comprise: the respective user sign, the checking user right is determined and the corresponding resource sequence number of described original URI after checking is passed through again.
Preferably, also comprise: original URI is provided with access rights to information resources.
Wherein, described resource sequence number has uniqueness under same user ID, is determined by user or server.
The corresponding above-mentioned compression method of the present invention provides the method for understanding the compressed information resource address, comprising:
URI triggers the service of decompression according to compression;
Obtain user ID and resource sequence number among the compression URI;
The respective user sign according to the corresponding relation of resource sequence number and original URI, obtains corresponding original URI; Described corresponding relation is provided by the compression service device.
Preferably, also comprise: the access rights of the original URI of authorization information resource.
Preferably, also comprise: gather the coding form of compression URI, obtain described compression URI after the decoding.
Wherein, described triggering is: directly visit the decompression server by compression URI and trigger the service of decompression.
Wherein, described triggering is: will compress mode that user ID among the URI and resource sequence number adopt short message and be sent to the decompression server and trigger the service of decompression.
Preferably, also comprise: visit original URI, and described information resources are returned to calling party.
The present invention also provides a kind of system of compression coding information resource address, it is characterized in that, comprising:
Interface unit is used to receive the original URI of directional information resource, and the respective user sign, determines and the corresponding resource sequence number of described original URI; Receive compression URI information;
Memory cell is used to preset user's space, and manages by user ID; Preserve the corresponding relation of resource sequence number and original URI;
Compression unit provides the compression service device, is used for decompression server identification, user ID and resource sequence number combination are generated compression URI;
Decompression unit provides the decompression server, is used for triggering the service of decompression according to compression URI; Obtain user ID and resource sequence number among the compression URI; The respective user sign according to the corresponding relation of resource sequence number and original URI, obtains corresponding original URI.
Wherein, described compression service device and decompression server are same server.
Preferably, also comprise: coding unit, be used for described compression URI is encoded, obtain two-dimensional bar code.
Preferably, also comprise: decoding unit, the coding form that is used to gather compression URI is obtained described compression URI, and is sent to interface unit after the decoding; Perhaps be used to gather the coding form of compression URI, obtain described compression URI after the decoding, and resolve user ID and the resource sequence number that obtains among the compression URI, adopt the mode of short message to send to interface unit.Wherein, described decoding unit is arranged at mobile terminal device.
Preferably, also comprise: the control of authority unit is used for the respective user sign, the checking user right; And the original URI of information resources is provided with access rights.
Compared with prior art, the present invention has the following advantages:
At first, the present invention original URI that data length is long carries out encoding after the compressing and converting according to rule of the present invention again, thereby reach the purpose of compression URI length, and then less two-dimensional bar code or other codings of generated code shape, reduced printing area, reduced requirement to various coding recognizing apparatus, recognizing apparatus can be under the prerequisite that guarantees discrimination and recognition speed, with the input data channel of low rate more, littler memory spending, lower computing unit ability is finished recognition work.And, also reduced the requirement of printing or display unit, be fit to the low resolution display unit and show described electronic code.Especially for the low side recognizing apparatus of similar mobile device, be more convenient for distinguishing and showing.
Secondly, the compression service device is set certain user's space at each user among the present invention, manage by user ID, thereby the URI that compression obtains substantially is made up of server identification, user ID and resource sequence number, promptly the URI of random length can be compressed into the compression URI of approximate regular length, described resource sequence number has uniqueness under same user ID.One aspect of the present invention can be avoided naming the problem that repeats by the resource that User Defined compression URI causes; Also avoided on the other hand distributing compression URI to bring inconvenience, be convenient to the resource content of user management oneself, met most of people's data management custom in the problem of memory by server centered; Simultaneously, the encoding-decoding process of the comparatively fixing URI of data length has also been avoided equipment performance is proposed comparatively harsh requirement.
Once more, the two-stage rights management mechanism is provided, can take the control that conducts interviews in the user ID space of multiple access control policy, the user is by behind the Authority Verification, and server just provides the original URI boil down to compression URI and the service of searching original URI according to compression URI; And, can also carry out cryptoguard at each resource under the user ID, after passing through, checking can visit original URI.
At last, the method for the invention and system realize simple, be convenient to URI and propagate, and mobile terminal device also can be by taking the coding that the present invention obtains, and then visit original URI by various mobile terminal devices, obtain corresponding information resources, need not loaded down with trivial details operating process.Compare with the conventional mobile device network access, operating procedure reduces, and operation easier reduces.
Description of drawings
Fig. 1 is the flow chart of steps of the described a kind of compression coding information resource address of the embodiment of the invention;
Fig. 2 is the corresponding flow process shown in Figure 1 of the present invention, according to compressing the flow chart of steps that URI visits original URI;
Fig. 3 is the structured flowchart of a kind of compression coding information resource address of the present invention system.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Core concept of the present invention is, by of the management of compression service device, URI is unified the approximate short URI of boil down to length, and generate coding according to the short URI after the compression to each user's space, the demonstration and the recognition difficulty of described coding are reduced, promote issue and the propagation of URI.
With reference to Fig. 1, be the flow chart of steps of the described a kind of compression coding information resource address of the embodiment of the invention.
User of the present invention needs the service of elder generation to server application information resource address compressed encoding, by modes such as registrations, becomes the use user of described service, below with the use user who refers to obtain described service per family.Server is opened up certain user's space at the registered user, and can manage this space by user ID.
Original URI described in the present invention can be used to provide browsing of various information resources, for example, and music, picture, enterprise product, picture or recreation or the like.
Step 101, the user imports user ID (ID), logon server.Described user ID is the uniqueness name word mark that the user determines when registration, for example user-defined title, e-mail address, QQ number, phone number etc., and by user oneself application, server can come into force in case affirmation does not repeat.
Preferred steps 102, if be provided with the service access authority, server also will be verified.The user has the administrative power to self ID, all the service access authority can be set usually, guarantees the secure access of user ID.The access control list of whois lookup user ID, if the password of user's input is correct, could logon server.The present invention can also adopt other access control policies, and for example white list (having only visitor on the white list just to allow visit), blacklist (visitor on the blacklist does not allow visit) etc., server are by the identification user ID, determines user's visit of whether having the right.
Step 103, the user sends original URI to server.
After step 104, server receive original URI, determine resource sequence number ID.The index number of information resources under user ID that described resource sequence number ID is original URI correspondence, it promptly can be the flowing water sequence number that server generates automatically, also can be the title of user oneself definition, only need to keep uniqueness to get final product down in user name space (user ID).Hence one can see that, can have a plurality of different information resource address under the same user ID, and same information resource address also may exist and has identical or different resource sequence number ID under the different user ID.Server is preserved the corresponding relation of resource sequence number ID and original URI.
Step 105, the compression service device makes up decompression server ID, user ID and resource sequence number ID, generates the compression URI of corresponding original URI.Wherein, described decompression server ID is to be responsible for resolving the server identification of compression URI, may be different from the compression service device of the original URI of above-mentioned reception; Certainly, receiving the compression service device of original URI and the decompression server of parsing compression URI also may be same server.
The method that shortens URI has multiple, and be divided into substantially: a kind of is the title that server centered is distributed compression URI, is responsible for the uniqueness of title by server, and shortcoming is that the title that server centered is distributed does not have concrete meaning usually, is difficult to memory; Another kind is the title of User Defined compression URI, by the server authentication uniqueness, user oneself selects the title of uniqueness, though described mode user can choose the title of being convenient to remember, but the title resource of being convenient to remember is limited, will soon use up, when the compression URI quantity of user registration is big, the probability of the name conflict of being convenient to remember will increase greatly, causes the user often can't obtain the resource name of oneself wishing.
At above-mentioned traditional approach, the preference rule that the present invention adopts can be compressed into the URI of random length the compression URI that is similar to regular length, on the one hand, has eliminated the problem that the resource name repeats significantly; On the other hand, be convenient to the resource content of user management oneself, meet most of people's data management custom.
Above-mentioned steps has been finished the process that original URI is converted to compression URI, has obtained the relatively more fixing compression URI of data length, has reduced the obstacle of URI in issue and transmission course.Preferably, if adopt the mode of coding to carry out the propagation of URI, then can reduce performance requirement to coding/decoding apparatus.For example, URI combines with the application of two-dimensional bar code with compression, then can also may further comprise the steps:
Preferred steps 106 will be compressed URI and send into encoder, generate new electronic code, and the form of described coding can be optical signalling, audio signal, rf wireless signal or magnetic signal.For existing mobile terminal device, can directly obtain optical signalling (passing through camera head), audio signal (passing through apparatus for receiving audio), so the coding result of these two kinds of forms can preferably be promoted.If adopting rf wireless signal or magnetic signal also is feasible as coding result, only need get final product at local computing device and mobile terminal device interpolation relevant hardware facility.Because the transmission for rf wireless signal or magnetic signal receives, the personnel of correlative technology field should know to this, do not repeat them here.Certainly, the form of described coding result can also be other feasible signal format, and the present invention is not limited this.
If described coding form adopts optical signalling, then preferably adopt the image information of one dimension sign indicating number, two-dimension code or process data-modulated, because existing mobile terminal device much has camera head.For example, the compression URI two-dimension code that enterprise will generate is printed on the printed matters such as newpapers and periodicals, magazine, but the reader utilizes the camera cell phone of carrying to open decoding software and scans described two-dimension code, the decoding back just can obtain to compress URI, thereby by the link resources that the inverse process of above-mentioned steps is visited original URI, specifically content describes in detail again below the step of decoding visit.
Because two-dimensional bar code or other electronic code sign indicating number shapes of above-mentioned generation are less, therefore can dwindle printing area greatly, reduction is to the demonstration and the recognition requirement of recognizing apparatus, be convenient to that low side recognizing apparatus such as portable terminal is high-speed, the recognition work of finishing of high success rate, the display unit that is fit to low resolution shows.
The present invention is preferred, and compression service device or decompression can also provide the access control to each URI under the user name space, and the user can optionally carry out the authority setting to URI, can also different rights be set to different URI.And during the URI that needs to preserve under certain user ID of visit, just need pass through Authority Verification.
The compression URI that obtains embodiment illustrated in fig. 1 can have the dual mode performance:
One, adopt the mode of similar URL, (for example, http://kkm.cc/tom/love, wherein http://kkm.cc/ is that decompression server ID, tom are user ID, love is resource sequence number ID), the user can visit this URL link by wired or wireless mode can obtain the service of decompressing, in fact might not be address information among the URI as the tom of user ID with as the love of resource sequence number ID, also can be used as parameter, extract by the decompression server and get final product.
They are two years old, the mode that adopts similar short message (for example, the packet of prescribed form), for example, decoding device can be directly with user ID and resource sequence number ID among the compression URI after obtaining compression URI, adopt the mode of short message, send to decompression server (learning), thereby obtain the service of decompressing by the decompression server ID among the compression URI.Certainly, those skilled in the art can be according to triggering decompression service manner difference, and adopt different information packaged types, the present invention to only require that compression URI comprises that decompression server ID, user ID and resource sequence number ID get final product to compression URI.
Need to prove that above-mentioned steps is to describe as a kind of embodiment, therefore under suitable situation, the front and back order of some step can be adjusted according to practical situations, but does not influence the explanation of the method for the invention.
After the original URI of directional information resource is compressed to compression URI, can solve the propagation problem of URI, if visit described information resources then also need to compress the conversion of URI to original URI.
With reference to Fig. 2, be the decompression step flow chart of the corresponding flow process shown in Figure 1 of the present invention.User described in Fig. 2 refers to visit the user of compression URI, and this user can have user's space in the compression service device, also can not have user's space, gets final product because this user only needs to visit the decompression server.Certainly, if the compression URI that need visit at this user has the authority setting, then this user must be by the purview certification of decompression server.
Preferred steps 201, decoding are obtained compression URI.The application if electronic codes such as the compression of information resource address and two-dimension code combine then at first needs to obtain compression URI according to electronic code.Usually, the user utilizes mobile device capable of taking pictures to gather two-dimension code, by decoding software two-dimension code is decoded as compression URI information.Certainly, for other electronic codes, also can utilize special-purpose recognizing apparatus to decode.
Step 202 triggers the service of decompression according to described compression URI.
For example, if adopt the http agreement to trigger, then compress the form that URI can adopt URL, the user can trigger the service of decompression by import this compression URI in browser's address bar; If adopt the mode of short message to trigger, then decoding device can be directly with user ID and resource sequence number ID after obtaining compression URI, adopt the mode of short message, send to decompression server (learning), thereby obtain the service of decompressing by the decompression server ID among the compression URI.
Step 203, server are obtained second and third part among the compression URI, i.e. user ID and resource sequence number ID.For the triggering mode of above-mentioned employing http agreement, after server receives compression URI,, therefrom obtain described user ID and resource sequence number ID according to URI reduced rule analysis compression URI content.And for above-mentioned short message triggering mode, server can directly receive user ID and the resource sequence number ID among the compression URI.
Preferred steps 204 if be provided with access rights at this compression URI, then needs the user of visit compression URI is verified.As previously mentioned, control of authority can be adopted multiple mode, as cryptoguard or white list, blacklist etc.Calling party at first needs to obtain access code or user ID to having the user who compresses URI, and server is searched access control list according to user ID again, determines whether calling party has the right to conduct interviews.Calling party could continue following step by checking.
Above-mentioned access rights can adopt following several set-up mode: only at certain specific URI access rights are set; Perhaps, former registration user is provided with access rights at all own set compression URI, visitor's identity is authenticated white list for example, blacklist etc.; Also above-mentioned two kinds of authority setting modes can be used in combination, both authenticate visitor's identity, require to provide the access code of compression URI again.
Step 205, because server has been preserved the corresponding relation of resource sequence number ID and original URI under the user's space in compression URI generative process, and resource sequence number ID has uniqueness under same user ID, therefore according to the user ID and the resource sequence number ID that obtain, under the user's space of user ID correspondence, just can find the original URI of described resource sequence number ID correspondence.
Step 206, the visit if the user has the right, then server returns to the user with original URI.Preferably; server can directly link the information resources that original URI points to usually; the information resources page is returned to the user; therefore after the user utilizes mobile device scanning two-dimension code; the related service that provides by server; the address linked contents that can obtain to comprise in the two-dimension code can be downloaded the information that oneself needs then.Compare with the conventional mobile device network access, no longer need loaded down with trivial details operating process, implement very simple.
In sum, the process of information resources URI compressed encoding and user need apply in a flexible way according to different practical applications according to the process of the original URI link resources of compression URI coding visit.
According to the description of above-mentioned Fig. 1 and Fig. 2, describe for example below:
For example, need the original address of compressed encoding to be:
http://www.bfgq.com/play_01/play01_0004.rm
The decompression server address that provides is http://kkm.cc
The registered user is: tom
This user is this Internet resources called after: love
This user is provided with password for this short address: 1234
If adopt the mode of http agreement to trigger the decompression server, then the short address after the conversion can be http://kkm.cc/tom/love.Calling party just can be visited this short address (for example, getting final product in the address field input) by the browser of local computing device, is equivalent to send customer parameter tom and resource parameters love to decompression server kkm.cc; The decompression server needs calling party to enter password with tom and these two parameter query concordance lists of love, discovery, the requirement that the server that then decompresses is entered password to the calling party proposition, and calling party enters password 1234; This password of decompression server authentication is correct, then extracts original URL from concordance list, returns to calling party; The original URL of user capture obtains corresponding mp3 music file.
If adopt the mode of short message to trigger the service of decompression, then need to preset in advance the packet of specific format, comprise the short message server 10010 that can note connects in the packet of compression URI, customer parameter tom and resource parameters love.The user can manually send customer parameter tom and resource parameters love to short message server 10010, and for example form is: tom.love; Certainly, user's mobile terminal device also can be resolved the packet of described compression URI automatically, obtains following information according to initialize format: short message server 10010, customer parameter tom and resource parameters love; Automatically two parametric t om and love are sent to short message server 10010 then.Short message server 10010 is resolved after receiving this message, obtains two parametric t om and love; These two parameter query concordance lists of short message server 10010 usefulness tom and love extract original URL from concordance list, send to calling party by note; The user receives note, visits original URL, obtains corresponding mp3 music file.Certainly, if feasible, short message server 10010 also can directly link original URL and obtain and directly return required information resources to the user.
Certainly, also can adopt other triggering mode, only need set regular the getting final product of packet of specific format to the communication protocol that this triggering mode is used, the present invention does not describe in detail one by one at this.
Based on foregoing invention thought, the present invention also provides a kind of system of compression coding information resource address, is used to realize that the URI after the compressed encoding of the original URI of information resources and user are according to compressed encoding visits the resource that original URI links.With reference to Fig. 3, be the structured flowchart of a kind of compression coding information resource address of the present invention system.Described system comprises: interface unit 301, memory cell 302, compression unit 303, decompression unit 304, and coding unit 305, decoding unit 306, control of authority unit 307.
Interface unit 301 is interface arrangements of native system and system's external equipment, is used for the outer equipment receiving data information from system, perhaps sends data to system's external equipment.In the compression encoding process of above-mentioned original URI, be used to receive the information resources URI that the user sends.After described interface unit 301 receives original URI, under user ID, determine the resource sequence number ID of described URI earlier, call compression unit 303 then, the URI boil down to of random length is similar to the short address of regular length.Wherein, described resource sequence number ID has uniqueness under same user ID, can be provided by User Defined, and interface unit 301 receives and gets final product; Also can generate the flowing water sequence number automatically by interface unit 301.And in the process of above-mentioned decompression URI, described interface unit 301 is used for receiving compression URI, calls decompression unit 304 again, provides corresponding original URI according to described compression URI for the user.
Memory cell 302 is used to the registered user to open up user's space, sets up user ID, resource sequence number ID, original URI tertiary level type storage organization, and each user ID can corresponding a plurality of resource sequence number ID, and the corresponding original URI of each resource sequence number ID.Among the present invention, provide the user of original URI all to need the service of elder generation to system's application information resource address compressed encoding, by modes such as registrations, become the use user of described service, memory cell 302 could be created the user's space of preserving original URI for this user, and manages by user ID.
After interface unit 301 received the original URI of information resources and determines the resource sequence number ID of described URI, described memory cell 302 was preserved the corresponding relation of resource sequence number ID and original URI under the user ID of correspondence.
Compression unit 303 provides at least one compression service device, is used for decompression server ID, the user ID that sends original URI and corresponding resource sequence number ID, and combination generates the compression URI with uniqueness.Wherein, described decompression server ID is the server identification of be responsible for resolving compression URI, i.e. the server that provides of decompression unit 304.Described compression service device and decompression server can be same servers, also can be different, and according to concrete applying flexible setting.The compression URI that obtains by described compression unit 303 can have two kinds of manifestation modes, and is ditto described:
A kind of is the mode that adopts similar URL, (for example, http://kkm.cc/tom/love, wherein http://kkm.cc/ is that decompression server ID, tom are user ID, love is resource sequence number ID), the user can visit this URL link by wired or wireless mode can obtain the service of decompressing, and might not be address information among the URI as the tom of user ID with as the love of resource sequence number ID in fact, also can be used as parameter, get final product by the extraction of decompression server;
Another kind be adopt similar short message mode (for example, the packet of prescribed form), for example, decoding device can be directly with user ID and resource sequence number ID among the compression URI after obtaining compression URI, adopt the mode of short message, send to decompression server (learning), thereby obtain the service of decompressing by the decompression server ID among the compression URI.Certainly, those skilled in the art can be according to triggering decompression service manner difference, and adopt different information packaged types, the present invention to only require that compression URI comprises that decompression server ID, user ID and resource sequence number ID get final product to compression URI.
Above-mentioned by compression unit 303, original URI can be converted to compression URI, obtain the relatively more fixing compression URI of data length, reduced the obstacle of URI in issue and transmission course.And described reduced rule is a preferred version of the present invention, compares with the conventional compression method, can eliminate the problem that the resource name repeats significantly, and is convenient to the resource content of user management oneself, meets most of people's data management custom.
Decompression unit 304, at least one decompression server is provided, be used for compression URI according to interface unit 301 receptions, trigger the service of decompression, obtain second portion user ID and third part resource sequence number ID, the corresponding relation of resource sequence number ID and original URI under the user ID in the reading cells 302 then, thus find the original URI link of compression URI correspondence.At last, the information resources page with described original URI or original URI sensing returns to calling party by interface unit 301.
The invention provides two kinds and trigger the decompression service manner, ditto described: as to adopt the http agreement to trigger and the triggering of employing short message.For the triggering mode of http agreement, decompression unit 304 therefrom obtains described user ID and resource sequence number ID according to URI reduced rule analysis compression URI content; And for the short message triggering mode, decompression unit 304 can directly receive user ID and the resource sequence number ID among the compression URI.
Preferably, electronic codes such as the conversion between the above-mentioned length address and two-dimension code are used combine, also need to be provided with coding unit 305 and decoding unit 306.Described coding unit 305 is used for the compression URI of compression unit 303 is encoded, and decoding unit 306 is used to gather the coding of compression URI, decodes and obtains compression URI, and send to interface unit 301 with the form of http agreement.Usually, described decoding unit 306 is arranged at the mobile terminal device that decoding software is installed, the user utilizes described mobile terminal device collection to comprise the two-dimension code of various information, sends to interface unit 301 after the decoding, by the decompression unit 304 final resources that obtain original URI link.If described mobile terminal device adopts short message way to send, then described decoding unit 306 can also be resolved the compression URI packet of specific format, and the user ID and the resource sequence number ID that directly will compress among the URI send to interface unit 301.But the present invention does not limit decoding unit 306 must be arranged on user side, also can be arranged on server end and realize.
Because two-dimensional bar code or other electronic code sign indicating number shapes of above-mentioned generation are less, therefore can dwindle printing area greatly, reduced the requirement of various recognizing apparatus, but also reduced the requirement of printing or display unit, especially for the low side recognizing apparatus of similar mobile device, be more convenient for distinguishing and showing.
The present invention is preferred, also is provided with control of authority unit 307, and the two-stage rights management mechanism is provided, and is used for user ID and every kind of information resources are provided with authority and conduct interviews checking.Before compression unit 303 is carried out, can take multiple access control policy, as cryptoguard or white list, blacklist etc., the user ID that sends the original URI of information resources is verified; And analyze the second portion user ID and third part resource sequence number ID of compression URI at decompression unit 304 after, also need the Authority Verification that conducts interviews.For the checking of user ID, server is searched access control list according to user ID, determines whether the user has the right to conduct interviews; For the access control of every kind of information resources, need user's input reference password, after passing through, checking just can visit.
The present invention is preferred, also is provided with control of authority unit 307, and the two-stage rights management mechanism is provided, and is used for user ID under the user's space and information resource address are carried out control of authority.Registered user for the application compression service, control of authority unit 307 is by searching the user ID access control list, perhaps adopt other access control policies, for example white list (having only visitor on the white list just to allow visit), blacklist (visitor on the blacklist does not allow visit) etc. are determined user's login system of whether having the right.And, also allow the original URI under the own space of user selection that different access rights are set.
And for the user who visits original URI according to compression URI, because specific or all original URI are provided with access rights under the user's space, so at first need to obtain access code or user ID to having the user who compresses URI, access control list is searched according to user ID again in control of authority unit 307, and the visitor is carried out authentication.As previously mentioned, control of authority can be adopted multiple mode, as cryptoguard or white list, blacklist etc.Then, when the original URI that visit is encrypted, also need calling party that password is provided, just can obtain original URI.
System provided by the invention is fit to the recognition of low resolution device and shows two-dimensional bar code under the prerequisite that guarantees discrimination and recognition speed; And the present invention realizes simply, as long as with the regular electronic code that generates of mobile device scanning the present invention, just can be directly connected on the website and download, no longer needs loaded down with trivial details operating process.
More than to the method and system of a kind of compression coding information resource address provided by the present invention, and corresponding decompression method, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, part in specific embodiments and applications all can change.In sum, this description should not be construed as limitation of the present invention.

Claims (19)

1, a kind of method of compression coding information resource address is characterized in that, comprising:
Preset user's space, and manage by user ID;
Receive the original URI of directional information resource;
The respective user sign is determined and the corresponding resource sequence number of described original URI;
Decompression server identification, user ID and resource sequence number combination are generated compression URI, and preserve the corresponding relation of resource sequence number and original URI.
2, method according to claim 1 is characterized in that: described decompression server and compression service device are same server.
3, method according to claim 1 is characterized in that, also comprises: described compression URI is encoded, obtain two-dimensional bar code.
4, method according to claim 1 is characterized in that, also comprises: the respective user sign, the checking user right is determined and the corresponding resource sequence number of described original URI after checking is passed through again.
5, method according to claim 1 is characterized in that, also comprises: original URI is provided with access rights to information resources.
6, method according to claim 1 is characterized in that: described resource sequence number has uniqueness under same user ID, is determined by user or server.
7, a kind of respective rights requires 1 described method, and the method for decompression information resource address is characterized in that, comprising:
URI triggers the service of decompression according to compression;
Obtain user ID and resource sequence number among the compression URI;
The respective user sign according to the corresponding relation of resource sequence number and original URI, obtains corresponding original URI; Described corresponding relation is provided by the compression service device.
8, method according to claim 7 is characterized in that, also comprises: the access rights of the original URI of authorization information resource.
9, method according to claim 7 is characterized in that, also comprises: gather the coding form of compression URI, obtain described compression URI after the decoding.
10, method according to claim 7 is characterized in that, described triggering is: directly visit the decompression server by compression URI and trigger the service of decompression.
11, method according to claim 7 is characterized in that, described triggering is: will compress mode that user ID among the URI and resource sequence number adopt short message and be sent to the decompression server and trigger the service of decompression.
12, method according to claim 7 is characterized in that, also comprises: visit original URI, and described information resources are returned to calling party.
13, a kind of system of compression coding information resource address is characterized in that, comprising:
Interface unit is used to receive the original URI of directional information resource, and the respective user sign, determines and the corresponding resource sequence number of described original URI; Receive compression URI information;
Memory cell is used to preset user's space, and manages by user ID; Preserve the corresponding relation of resource sequence number and original URI;
Compression unit provides the compression service device, is used for decompression server identification, user ID and resource sequence number combination are generated compression URI;
Decompression unit provides the decompression server, is used for triggering the service of decompression according to compression URI; Obtain user ID and resource sequence number among the compression URI; The respective user sign according to the corresponding relation of resource sequence number and original URI, obtains corresponding original URI.
14, system according to claim 13 is characterized in that: described compression service device and decompression server are same server.
15, system according to claim 13 is characterized in that, also comprises: coding unit, be used for described compression URI is encoded, and obtain two-dimensional bar code.
16, system according to claim 13 is characterized in that, also comprises: decoding unit, the coding form that is used to gather compression URI is obtained described compression URI, and is sent to interface unit after the decoding.
17, system according to claim 13 is characterized in that, also comprises: decoding unit, be used to gather the coding form of compression URI, obtain described compression URI after the decoding, and resolve user ID and the resource sequence number that obtains among the compression URI, adopt the mode of short message to send to interface unit.
18, according to claim 16 or 17 described systems, it is characterized in that: described decoding unit is arranged at mobile terminal device.
19, system according to claim 13 is characterized in that, also comprises: the control of authority unit is used for the respective user sign, the checking user right; And the original URI of information resources is provided with access rights.
CN 200610162367 2006-12-14 2006-12-14 Method and system for compression coding information resource address Pending CN101005485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610162367 CN101005485A (en) 2006-12-14 2006-12-14 Method and system for compression coding information resource address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610162367 CN101005485A (en) 2006-12-14 2006-12-14 Method and system for compression coding information resource address

Publications (1)

Publication Number Publication Date
CN101005485A true CN101005485A (en) 2007-07-25

Family

ID=38704349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610162367 Pending CN101005485A (en) 2006-12-14 2006-12-14 Method and system for compression coding information resource address

Country Status (1)

Country Link
CN (1) CN101005485A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493901B (en) * 2009-02-27 2012-03-21 华为终端有限公司 Two-dimensional code data compressing and decompressing method and terminal
CN102866994A (en) * 2011-07-04 2013-01-09 阿里巴巴集团控股有限公司 Method and system for processing internet resource popularization data
CN102882993A (en) * 2012-10-19 2013-01-16 北京奇虎科技有限公司 Computing device and downloading method thereof
CN103379136A (en) * 2012-04-17 2013-10-30 中国移动通信集团公司 Compression method and decompression method of log acquisition data, compression apparatus and decompression apparatus of log acquisition data
CN103390003A (en) * 2012-05-09 2013-11-13 人人游戏网络科技发展(上海)有限公司 Method and device for combining user data information among servers
CN103632184A (en) * 2013-12-13 2014-03-12 金蝶软件(中国)有限公司 Two-dimension code generation method, two-dimension code use method, two-dimension code generator and user equipment
CN104349187A (en) * 2014-10-27 2015-02-11 乐视网信息技术(北京)股份有限公司 Method, device and system for self-defining live television stations
CN105516225A (en) * 2014-09-25 2016-04-20 腾讯科技(深圳)有限公司 Operation object method, device and system
CN106506895A (en) * 2010-10-28 2017-03-15 上海科斗电子科技有限公司 The method and its system that webpage is opened by IMAQ
CN106874315A (en) * 2015-12-14 2017-06-20 伊姆西公司 For providing the method and apparatus to the access of content resource
CN107181771A (en) * 2016-03-09 2017-09-19 北京优朋普乐科技有限公司 The generation method of Quick Response Code and the response method of two-dimensional code scanning event
CN109639770A (en) * 2018-11-22 2019-04-16 山东中创软件工程股份有限公司 A kind of data access method, device, equipment and medium
CN110321498A (en) * 2018-03-30 2019-10-11 上海连尚网络科技有限公司 A kind of two dimensional code generates and analyzing method and device
CN111163343A (en) * 2020-01-20 2020-05-15 海信视像科技股份有限公司 Method for recognizing pattern recognition code and display device
CN112149445A (en) * 2020-10-22 2020-12-29 北京京东振世信息技术有限公司 Bar code processing method, device, equipment and storage medium
CN112199922A (en) * 2020-08-25 2021-01-08 中国物品编码中心 Encoding method, apparatus, device and computer readable storage medium

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493901B (en) * 2009-02-27 2012-03-21 华为终端有限公司 Two-dimensional code data compressing and decompressing method and terminal
CN106506895A (en) * 2010-10-28 2017-03-15 上海科斗电子科技有限公司 The method and its system that webpage is opened by IMAQ
CN102866994A (en) * 2011-07-04 2013-01-09 阿里巴巴集团控股有限公司 Method and system for processing internet resource popularization data
CN103379136A (en) * 2012-04-17 2013-10-30 中国移动通信集团公司 Compression method and decompression method of log acquisition data, compression apparatus and decompression apparatus of log acquisition data
CN103390003A (en) * 2012-05-09 2013-11-13 人人游戏网络科技发展(上海)有限公司 Method and device for combining user data information among servers
CN102882993A (en) * 2012-10-19 2013-01-16 北京奇虎科技有限公司 Computing device and downloading method thereof
CN102882993B (en) * 2012-10-19 2015-06-10 北京奇虎科技有限公司 Computing device and downloading method thereof
CN103632184A (en) * 2013-12-13 2014-03-12 金蝶软件(中国)有限公司 Two-dimension code generation method, two-dimension code use method, two-dimension code generator and user equipment
CN105516225B (en) * 2014-09-25 2020-06-16 腾讯科技(深圳)有限公司 Method, device and system for operating object
CN105516225A (en) * 2014-09-25 2016-04-20 腾讯科技(深圳)有限公司 Operation object method, device and system
CN104349187A (en) * 2014-10-27 2015-02-11 乐视网信息技术(北京)股份有限公司 Method, device and system for self-defining live television stations
CN106874315A (en) * 2015-12-14 2017-06-20 伊姆西公司 For providing the method and apparatus to the access of content resource
US10666571B2 (en) 2015-12-14 2020-05-26 EMC IP Holding Company LLC Method and apparatus for providing access of content resources
CN107181771A (en) * 2016-03-09 2017-09-19 北京优朋普乐科技有限公司 The generation method of Quick Response Code and the response method of two-dimensional code scanning event
CN110321498A (en) * 2018-03-30 2019-10-11 上海连尚网络科技有限公司 A kind of two dimensional code generates and analyzing method and device
CN109639770A (en) * 2018-11-22 2019-04-16 山东中创软件工程股份有限公司 A kind of data access method, device, equipment and medium
CN111163343A (en) * 2020-01-20 2020-05-15 海信视像科技股份有限公司 Method for recognizing pattern recognition code and display device
CN112199922A (en) * 2020-08-25 2021-01-08 中国物品编码中心 Encoding method, apparatus, device and computer readable storage medium
CN112199922B (en) * 2020-08-25 2023-08-22 中国物品编码中心 Encoding method, apparatus, device, and computer-readable storage medium
CN112149445A (en) * 2020-10-22 2020-12-29 北京京东振世信息技术有限公司 Bar code processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101005485A (en) Method and system for compression coding information resource address
CN113316926B (en) Domain name processing method, device, electronic equipment and storage medium
US8626132B2 (en) Digital device and method for providing additional service by using the same
US7908272B2 (en) Universal information code format for two dimensional bar code and interactive information exchange system using the same
CN1867142B (en) Method and system for mobile terminal device obtaining computer information
US20170230444A1 (en) Cloud service server and method for managing cloud service server
CN101610268B (en) Implementation method and equipment of keyword filtration
CN103078868A (en) Application method and system of two-dimension code
WO1998038761A2 (en) Automatic server access in an internetworked computer system
CN110321498A (en) A kind of two dimensional code generates and analyzing method and device
US20060133336A1 (en) System for mediating convergence services of communication and broadcasting using non-communicative appliance
CN113873450A (en) Short message configuration method and device, computer equipment and storage medium
CN112714068A (en) Method, device and system for processing coded image, storage medium and electronic device
CN116776911A (en) Service page access method, device, equipment and storage medium based on two-dimension code
CN104283925A (en) Interactive type QR code managing system
CN114338130B (en) Information processing method, device, server and storage medium
CN1987888A (en) Control system and method for two dimension code reading service
CN106791947A (en) Method and device for transmitting network video and electronic equipment
CN107222559B (en) Information calling method
CN110555175A (en) Two-dimensional code analyzing and generating method and equipment
CN107534859B (en) A network authentication method, client, terminal device and platform
KR100617455B1 (en) Information processing gateway device using wireless multimedia terminal
Shen et al. A context-aware mobile web middleware for service of surveillance video with privacy
CN117010330A (en) Two-dimensional code word generation method, two-dimensional code recognition method and two-dimensional code recognition device
CN102982327A (en) Enhanced information system of terminal scanning

Legal Events

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

Open date: 20070725