CN104022997B - resource access method, device and system - Google Patents
resource access method, device and system Download PDFInfo
- Publication number
- CN104022997B CN104022997B CN201310066501.5A CN201310066501A CN104022997B CN 104022997 B CN104022997 B CN 104022997B CN 201310066501 A CN201310066501 A CN 201310066501A CN 104022997 B CN104022997 B CN 104022997B
- Authority
- CN
- China
- Prior art keywords
- resource
- page
- providing device
- distribution apparatus
- interaction page
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a resource access method, device and system. The method is applied to a resource access device, the resource access device is connected with a resource providing device and a resource issuing device, the resource access device is sued for accessing resources provided by the resource providing device, and the method includes: obtaining an access request used for the resources; obtaining an interaction page of the resources from the resource issuing device according to the access request; obtaining configuration data of the resources from the resource providing device according to the access request; and constructing a user interface based on the interaction page and the configuration data, and the user interface being used for the user of the resource access device to perform control operation and for enabling the resource providing device respond to the control operation. Thus, according to the resource access method in the invention, data volume transmitted between the resource provider and the resource accessor is fully reduced, and the update efficiency of a resource access mode is remarkably improved.
Description
Technical field
The present invention relates to field of computer technology, more particularly it relates to a kind of resource access method, equipment and be
System.
Background technology
With continuing to develop for computer technology, personal user has increasing high performance electronics, such as
Smart mobile phone, panel computer(PAD), ultrabook, intelligent television(Smart TV)And personal computer(PC)Deng.
Further, since between electronic equipment interconnection capability enhancing, any electronic equipment can serve as a resource and carries
For server(Typically for example, HTTP server), for providing the local or external of such as RESTful styles to visitor
Resource(For example, local camera, external printer etc.)Access mode.REST(REpresentational State
Transfer)Refer to one group of framework constraints and principle, and meet these constraintss and principle application program or
Design is exactly RESTful's.
In existing resource access method, the corresponding distinct interaction page is provided from supplier to visitor, with
Just requirements for access of the visitor to the various different resources such as camera, printer is preferably met.Such scheme is very
While solving the problems, such as the resource-sharing between electronic equipment well, following two problems are also generated:
Firstth, the transmitted data amount between supplier and visitor is huge.
Specifically, must provide for complete network as the electronic equipment of resource provider(WEB)Service, such as including preceding
The interaction page at end and the configuration data of reality.However, front-end interactive page transmission often will take electronic equipment between
Very big bandwidth, and due to being required for complete transmission these front-end interactive pages for different resource visitors, so in net
Under network speed environment not high, or in the case where electronic equipment process performance is relatively low, all Consumer's Experience will be produced very big
Influence.
The renewal efficiency of the secondth, resource access mode is very low.
Specifically, being accessed for resource may be due to a variety of causes(For example, production firm provides new framework
(Framework)Or resource provider shields or develops some functions)And need more new resources in real time to access or hand over
Mutual form, but existing scheme can only provide the renewal on separate unit electronic equipment, and resource on all electronic equipments cannot be accomplished
The real-time update of access.
Accordingly, it would be desirable to a kind of new resource access method, equipment and system solve the above problems.
The content of the invention
In order to solve the above-mentioned technical problem, according to an aspect of the invention, there is provided a kind of resource access method, application
In resource access equipment, the resource access equipment is connected with resource providing device and resource distribution apparatus, and the resource
Access equipment is used to access the resource that the resource providing device is provided, and methods described includes:Obtain for the resource
Access request;The interaction page of the resource is obtained from the resource distribution apparatus according to the access request;According to the visit
Ask that request obtains the configuration data of the resource from the resource providing device;And based on the interaction page and configuration number
According to user interface is built, the user interface is controlled for the user of the resource access equipment and operates and cause the resource
Offer equipment responds the control operation.
Additionally, according to another aspect of the present invention, there is provided a kind of resource access equipment, the resource access equipment with money
Source provides equipment and the connection of resource distribution apparatus, and the resource access equipment is carried for accessing the resource providing device
The resource of confession, the resource access equipment includes:Request obtaining unit, for obtaining the access request for the resource;Page
Face acquiring unit, the interaction page for obtaining the resource from the resource distribution apparatus according to the access request;Data
Obtaining unit, the configuration data for obtaining the resource from the resource providing device according to the access request;And boundary
Face construction unit, for building user interface based on the interaction page and configuration data, the user interface supplies the money
The user of source access equipment is controlled and operates and cause that the resource providing device responds the control operation.
According to another aspect of the invention, there is provided a kind of resource accesses system, it is characterised in that the resource accesses system
System includes:Above-mentioned resource access equipment;Resource providing device, for providing resource;And resource distribution apparatus, used for storing
Interaction page needed for the resource is accessed.
Compared with prior art, using resource access method of the invention and resource access equipment, can according to
The access request of resource is provided in resource providing device is accessed, from the interaction page of the resource distribution apparatus acquisition resource simultaneously
The configuration data of the resource is obtained from the resource providing device, and based on the interaction page and configuration data, is come
The user built for the resource access equipment is controlled and is operable so that the resource providing device response control behaviour
The user interface of work.Therefore, in the present invention it is possible to so that the offer entity of the configuration data of the interaction page of front end and reality
Separate, the interaction page of front end is no longer transmitted between resource providing device and resource access equipment, and only transmit necessary reality
Border configuration data, alternatively, to be provided to resource access equipment the interaction page of front end from resource distribution apparatus.Additionally, only needing
All resources access or the renewal of interactive form can be just completed on resource distribution apparatus.So, sufficiently lower in money
The data volume transmitted between source supplier and resource visitor, and significantly improve the renewal efficiency of resource access mode.
Other features and advantages of the present invention will be illustrated in the following description, also, the partly change from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights
Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, with reality of the invention
Applying example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 illustrates resource access method of the invention.
Fig. 2 illustrates resource access equipment of the invention.
Fig. 3 illustrates resource access method according to embodiments of the present invention.
Fig. 4 illustrates resource access equipment according to embodiments of the present invention.
Fig. 5 illustrates resource according to embodiments of the present invention and accesses system.
Fig. 6 illustrates the concrete structure of page acquiring unit according to embodiments of the present invention.
Specific embodiment
Will be described in detail with reference to the accompanying drawings each embodiment of the invention.Here it is to be noted that it in the accompanying drawings,
The substantially part with same or like 26S Proteasome Structure and Function is assigned by identical reference, and will be omitted on it
Repeated description.
Hereinafter, resource access method of the invention, equipment and system will be described with reference to Fig. 1 and Fig. 2.
Fig. 1 illustrates resource access method of the invention, and Fig. 2 illustrates resource access of the invention and sets
It is standby.
Resource access method illustrated in Fig. 1 is applied to the resource access equipment 100 illustrated in Fig. 2, and the resource is accessed
Equipment 100 is connected with resource providing device and resource distribution apparatus, and the resource access equipment 100 is used to access the money
Source provides the resource that equipment is provided.Specifically, the resource access equipment 100 includes:The request obtaining unit 110, page is obtained
Take unit 120, data acquiring unit 130 and interface construction unit 140.
As illustrated in figure 1, the resource access method is applied to an electronic equipment, and including:
In step s 110, request obtaining unit 110 obtains the access request for the resource;
In the step s 120, page acquiring unit 120 obtains institute according to the access request from the resource distribution apparatus
State the interaction page of resource;
In step s 130, data acquiring unit 130 obtains institute according to the access request from the resource providing device
State the configuration data of resource;And
In step S140, interface construction unit 140 is based on the interaction page and configuration data builds user interface,
The user interface is controlled for the user of the resource access equipment and operates and cause the resource providing device response institute
State control operation.
As can be seen here, using resource access method of the invention and resource access equipment, can be according to for accessing
Resource providing device provides the access request of resource, and the interaction page of the resource is obtained and from described from resource distribution apparatus
Resource providing device obtains the configuration data of the resource, and builds confession based on the interaction page and configuration data
The user of the resource access equipment is controlled and is operable so that the use that the resource providing device responds the control operation
Family interface.Therefore, in the present invention it is possible to so that the offer entity separation of the configuration data of the interaction page of front end and reality,
The interaction page of front end is no longer transmitted between resource providing device and resource access equipment, and only transmits necessary actual disposition
Data, alternatively, to be provided to resource access equipment the interaction page of front end from resource distribution apparatus.In addition, it is only necessary in money
All resources access or the renewal of interactive form can be just completed on the distribution apparatus of source.So, sufficiently lower and provided in resource
The data volume transmitted between person and resource visitor, and significantly improve the renewal efficiency of resource access mode.
Hereinafter, accessed referring to figs. 3 to Fig. 6 describing resource access method according to embodiments of the present invention and resource
Equipment.
Fig. 3 illustrates resource access method according to embodiments of the present invention, and Fig. 4 illustrates money according to embodiments of the present invention
Source access equipment, and Fig. 5 illustrates resource according to embodiments of the present invention and accesses system.
Resource access method illustrated in Fig. 3 can be realized by the resource access equipment 100 illustrated in Fig. 4, the money
The resource that source access equipment 100 belongs to illustrated in Fig. 5 accesses system 1000.
As illustrated in fig. 5, the resource accesses system 1000 and includes:Resource access equipment 100, resource providing device 200,
With resource distribution apparatus 300.They are linked together by wireless network and/or cable network, and according to the number of agreement
Communication data is transmitted according to form so that the user interface that user can be presented by resource access equipment 100 is to access
State the resource that resource providing device 200 is provided.
The resource access equipment 100 can obtain access request for the resource from user, from resource distribution apparatus
300 obtain the interaction page of the resource from own cache, and matching somebody with somebody for the resource is obtained from the resource providing device 200
Data are put, user interface is built based on the interaction page and configuration data, and user interface, institute are shown to the user
State user interface and be controlled for the user of the resource access equipment 100 and operate and so that the sound of the resource providing device 200
Answer the control operation.
The same with Fig. 2, as illustrated in figure 4, the resource access equipment 100 includes:Request obtaining unit 110, page
Face acquiring unit 120, data acquiring unit 130 and interface construction unit 140.Moreover it is preferred that a kind of or many in order to realize
Additional function is planted, the resource access equipment 100 can also include:Interface display unit 150, instruction reception unit 160, and/or
Instruction sending unit 170.
In addition, the resource providing device 200 can provide user the various resources of needs, passed with resource access equipment 100
Pass actual configuration data(For example, being instructed to the configuration data and control operation that resource access equipment 100 provides the resource
(For example, receiving the control operation that user is input into by user interface from resource access equipment 100, made for the control operation
Response etc.), the issue request for various resources is transmitted to resource distribution apparatus 300, and the interaction page of front end is submitted to
To the resource distribution apparatus 300, so that resource access equipment 100 is downloaded.
For example, the resource that the resource providing device 200 is provided can be local resource or external resource.The local resource is
Positioned at the local resource of the resource providing device 200.For example, when resource providing device 200 is mobile phone, equipping thereon
Camera can be the mobile phone local resource.The external resource can also be by wireless network and/or wired network
Network and be connected to the external resource of the resource providing device 200.For example, when resource providing device 200 is personal computer, with
The printer of its connection can be the external resource of the personal computer.
Additionally, the resource distribution apparatus 300 can receive resource publication request from resource providing device 200, from the resource
The interaction page for various resources is extracted in distribution request, or the renewal of interaction page is received from the production firm of resource
Bag, and the front-end interactive page of resource is accessed to the offer user of resource access equipment 100.
Preferably, in the resource accesses system 1000, the resource access equipment 100 can be one or more, by one
Individual or multiple users are possessed, to provide it resource access service;The resource providing device 200 can also be one or many
It is individual, to provide one or more local resources and/or external resource;And the resource distribution apparatus can be it is single, so as to
Unified interaction page is provided to the user for possessing the resource access equipment 100 and obtain interface, and be easy to production firm and money
Source provider is safeguarded.
Furthermore it is preferred that in the resource accesses system 1000, the resource access equipment 100 may be located at user terminal;Should
Resource providing device 200 may be located at the resource access equipment 100 locally or remotely, so as to provide a user with local service or
Remote service;And the resource distribution apparatus 300 can be preferably located in high in the clouds, enabling not by geographic area limited to money
Source access equipment 100 provides the front-end interactive page needed for accessing various resources.
Below, embodiments of the invention will be specifically described in following scene, wherein the resource access equipment 100 is to use
The mobile phone at family, the resource providing device 200 is the personal computer for being connected with printer, and the resource distribution apparatus 300
It is the server for being located at high in the clouds, and the resource access method is applied to be provided by resource in resource accesses system 1000
During equipment 200 and resource distribution apparatus 300 provide resource access service to the user of resource access equipment 100.
However, it is necessary to explanation, the invention is not restricted to this.Resource access equipment 100, resource providing device 200 and money
Source distribution apparatus 300 can be any kind of electronic equipment, and it is included but is not limited to:Notebook, panel computer, shifting
Mobile phone, multimedia player, personal digital assistant, ultrabook, intelligent television etc., and they may be located at any position,
The local side of user, even distal end, high in the clouds etc..Further, it is also possible to by resource access method according to embodiments of the present invention
It is applied in other interaction process between the said equipment.
As illustrated in fig. 3, resource access method according to embodiments of the present invention includes:
In step S210, the access request for resource is obtained.
Multiple resource providing devices 200 can be included in resource accesses system 1000, each resource providing device 200 can
For providing one or more required resources to the resource access equipment 100 of user, these resources can be that resource offer sets
Standby 200 local resource(For example, the resource being integrated in resource providing device 200)Or external resource(For example, by such as leading to
Use universal serial bus(USB)Etc various cable networks or such as WLAN(WLAN)Etc various wireless networks and company
It is connected to the resource of resource providing device 200).
In order to provide the resource of itself, in the access mode of RESTful styles, resource providing device 200 can be such as
Serve as a resource publisher server, such as HTTP server, and each resource is modeled as a unified money for standard
Source finger URL(URL)So that user can obtain different resources as accessing website equally by accessing these URL
Service.
For example, the resource that the resource providing device 200 regularly itself can be possessed to outside issue, or can also
Whenever new resources are found, issue operation is performed.
During a certain resource is issued first, the resource providing device 200 can be transmitted to resource distribution apparatus 300
For the issue request of the resource, the interactive page needed for for accessing the resource is at least included in the resource publication request
Face.Additionally, the model of the resource, the description of the function of the resource, the physics of the resource can also be included in the resource publication request
Position, the reference address for accessing the resource(For example, URL)Etc. information.
After the resource publication request is received, the resource distribution apparatus 300 can first travel through the memory of oneself,
Issued first with checking whether the resource belongs to.If resource providing device 200 is to be issued to resource distribution apparatus 300 for the first time
The resource, then the resource distribution apparatus 300 are to one unique identifier of the resource allocation(ID), system is accessed with resource
This resource of this resource providing device 200 is uniquely identified in 1000.The identifier can be by numeral, letter and/or symbol
Number wait composition.Then, the resource distribution apparatus 300 can parse the resource publication request, therefrom extract interaction page and
Other relevant informations, by these contents storage to its memory.Next, the resource distribution apparatus 300 can be to resource
Offer equipment 200 returns to a resource issue response, and wherein at least includes the identifier for the resource for being distributed.
After the resource of the issue of warp-wise resource distribution apparatus 300 of resource providing device 200, it is preferable that the resource is provided
Equipment 200 or the resource distribution apparatus 300 can broadcast releasing news for the resource in resource accesses system 1000 so that latent
Can easily recognize the presence of the resource in user.
Further it is evident that, the resource providing device 200 can also be directed to issued resource and perform and update operation, so as to
Update the interaction page and/or other relevant informations needed for for accessing the resource.During a certain resource is updated, should
Resource providing device 200 can to resource distribution apparatus 300 transmit for the resource renewal ask, the resource updates request
In can include the identifier of the resource, the interaction page of latest edition, resource model, function description, physical location,
And/or the content such as reference address.
After resource updates request is received, the resource distribution apparatus 300 can be according to the ID for being extracted come certainly
The positioning data entries related to the resource in body memory, and pass through the information that the information of redaction replaces legacy version.
In addition to the renewal that resource providing device 200 is initiated is asked, the production firm or provider of the resource also may be used
Operated with realizing updating for the relevant information on resource distribution apparatus 300 by various modes.For example, can be by authority control
System(Account, password)Mode remotely access resource distribution apparatus 300, so that the interaction page etc. for updating the resource is interior
Hold.
So, when user is wished by resource access equipment(For example, mobile phone)100 access a certain resource(It is external
Printer)When, for example, when user wishes to be printed by printer a certain file in mobile phone, the user needs head
First determine to be used to provide the resource providing device of the resource in resource accesses system 1000(For example, personal computer)200, and
And the reference address for determining for the resource(For example, URL(URL)).In a simple examples, the user
Resource distribution apparatus 300 can be accessed(For example, cloud server), and by being input into keyword " printer ", even printer
Model inquire about above- mentioned information.
Then, the user can be by various input blocks(It is not shown)(For example, touch-screen, keypad)And visited to resource
Ask that equipment 100 is input into the access request for the resource, the access for the resource can be included in the access request
Location, to position the interaction data with routing subsequent voice exactly.
For example, the user can open a browser in resource access equipment 100, and in the address field of browser
The resource reference address that middle input inquiry is arrived.For example:“http://10.100.1.2/printer”.Wherein, " 10.100.1.2 "
It is the internet of resource providing device 200(IP)Address, and " printer " is the print service that resource providing device 200 is provided
URLs.
Correspondingly, in resource access equipment 100, request obtaining unit 110 obtains the access request for the resource,
Position the resource of the resource providing device 200 exactly by the resource reference address in the access request, and route to it
Follow-up interaction data.
In step S220, judge to be cached with interaction page in resource access equipment.
After request obtaining unit 110 obtains the access request, page acquiring unit 120 can be asked according to the access
Seek the interaction page that the resource is obtained from the resource distribution apparatus 300.
Specifically, the page acquiring unit 120 be based on the access request in reference address and with resource providing device 200
Communication connection is set up, and obtains the identifier of the print service resource therefrom.Here, suppose that resource distribution apparatus 300 are pre-
First to print service resource allocation identifier " abc " of resource providing device 200.Then, the page acquiring unit 120 is based on
The identifier generates page-downloading request, and sends the request to resource distribution apparatus 300.
After page-downloading request is received from resource access equipment 100, the resource distribution apparatus 300 perform parsing behaviour
Make, and extract the identifier " abc " of unique mark resource therefrom.Then, resource distribution apparatus 300 be based on the identifier come
The interaction page for the resource with identifier " abc " is read from database.The interaction page can be included for accessing
The display page and interaction flow of resource.
For example, in the case where resource providing device 200 provides print service resource, the display page can include the page
The buttons such as display content and printer attribute, option, determination, cancellation such as scope, copy number, printing content, and the interaction
Flow can include that the first step sets printer attribute, second step and sets printing content etc, finally clicks on beating for confirming button
Print operating process.
Finally, the interaction page that the resource distribution apparatus 300 will read out returns to the page in resource access equipment 100
Acquiring unit 120.
Moreover it is preferred that the opening speed in order to improve interaction page, to accelerate whole resource access process, the page
Face acquiring unit 120 can first determine whether whether above-mentioned interaction page is cached with resource access equipment 100.Browser rs cache
(Browser Caching)Technology be it is a kind of in order to accelerate surfing and to the documentation page of most recently requested mistake on user disk
The technology that face is stored, so when visitor asks this page again, browser just can perform reading from local disk
Take and show, such that it is able to significantly speed up the reading of the page in the case of network speed is slow, saved the resource of network,
Improve the efficiency of network.Below, will be described in detail this process.
Fig. 6 illustrates the concrete structure of page acquiring unit according to embodiments of the present invention.
As illustrated in FIG. 6, the page acquiring unit 120 can include:Page acquisition module 121, identifier obtains mould
Block 122, and/or caching judge module 123.
Specifically, accelerate operation to realize that above-mentioned resource is accessed, in page acquiring unit 120, obtain single in request
Unit 110 is obtained after the access request, and identifier acquisition module 122 is based on resource access equipment 100 and resource providing device 200
Between communication connection, the identifier " abc " of the print service resource is obtained from resource providing device 200.Also, in the page
Acquisition module 121 obtains the interaction page for the print service resource based on the identifier from resource distribution apparatus 300
Before, caching judge module 123 judges whether this interaction page is cached with the memory of resource access equipment 100.
If being cached with above-mentioned interaction page in resource access equipment 100, resource according to embodiments of the present invention is visited
The method of asking proceeds to step S230, to directly read the interaction page for being cached;Otherwise, the method proceeds to step
S240, the interaction page is obtained with from the resource distribution apparatus.
In step S230, the interaction page for being cached is directly read.
When caching judge module 123 judges the browser rs cache that there is interaction page, page acquisition module 121 is direct
Read the interaction page cached in resource access equipment 100.
Specifically, if resource access equipment 100 is not to access the external printing that resource providing device 200 is provided first
Machine, if i.e. opened interaction page in a browser of resource access equipment 100, and when according to specified conditions(Example
Such as, the security configuration of browser), when the resource access equipment 100 allows to cache in memory the interaction page, from resource
The interaction page of distribution apparatus 300 will be stored among the caching of resource access equipment 100.At this moment, the page acquisition module 121
The interaction page can be read from the caching.
However, due in resource distribution apparatus 300 preserve interaction page be potentially based on resource providing device 200 or
It is third-party to update request and constantly update, so the version of the interaction page cached in resource access equipment 100 can
The version of the interaction page preserved in resource distribution apparatus 300 can be older than.So, if page acquisition module 121 is merely
The interaction page cached in resource access equipment 100 is read, then the user that may cause resource access equipment 100 cannot obtain
The interaction page of latest edition, then causes Consumer's Experience to lose.
Therefore, the page acquisition module 121 can first determine the described interactive page cached in resource access equipment 100
The first version information in face, the second edition information of the interaction page is obtained from the resource distribution apparatus 300, and is judged
Whether first version information is older than second edition information, if it is judged that first version information is older than second edition information, then page
Face acquisition module 121 obtains the interaction page with the second edition information from the resource distribution apparatus 300;It is no
Then, it directly reads the interaction page for being cached.
Certainly, in the case of network speed is slow, user may want to be lost with certain experience exchange for faster
Resource access speed, therefore, the page acquisition module 121 can also be older than second edition information first version information is judged
When, prompt message is presented to user, ask the user whether to be ready to re-download the friendship of more redaction from resource distribution apparatus 300
The mutual page.Only when certainty user selection is received, the page acquisition module 121 is just performed and re-downloads operation;Otherwise,
The page acquisition module 121 is by directly and quickly from the interaction page of local loading more early version.
In step S240, the interaction page is obtained from the resource distribution apparatus.
When caching judge module 123 judges the browser rs cache in the absence of interaction page, or accessed when in resource
The first version information of the interaction page cached in equipment 100 is older than the friendship stored in the resource distribution apparatus 300
During the second edition information of the mutual page, page acquisition module 121 obtains the interaction of the resource from the resource distribution apparatus 300
The page.
Specifically, in page acquiring unit 120, page acquisition module 121 is based on what identifier acquisition module 122 was obtained
The identifier " abc " of the print service resource generates page-downloading request, and sends the request to resource distribution apparatus
300.Resource distribution apparatus 300 read the friendship for the resource with identifier " abc " based on the identifier from database
The mutually page, and the page that the interaction page that will be read out is returned in the page acquiring unit 120 in resource access equipment 100 is obtained
Modulus block 121.
In step s 250, the configuration data of resource is obtained from resource providing device.
Request obtaining unit 110 obtain the access request after, data acquiring unit 130 according to the access request from
The resource providing device 200 obtains the configuration data of the resource.
In an embodiment of the present invention, when resource providing device 200 provides the resource of external printer, the configuration data
Can be the related configuration data of printer, for example, the paper source of printer, bookbinding form, antiquarian, paper type,
Paper orientation, whether binocular printing, every number of print pages, print colors etc..
In step S260, user interface is built based on interaction page and configuration data.
The interaction page and data acquiring unit 130 for obtaining the resource in page acquiring unit 120 obtain the resource
Configuration data after, interface construction unit 140 is based on the interaction page and configuration data and builds user interface, the use
Family interface is controlled for the user of the resource access equipment and operates and cause that the resource providing device responds the control
Operation.
For example, the user interface constructed by the interface construction unit 140 can be for realizing the complete of mimeograph documents flow
Whole graphic user interface(GUI), including the display page for assisting user input printer each configuration parameter and it is used for
Guiding user completes the interaction flow of printing.One or more viewing areas can be included in the display page(Example
Such as, printer name, Page Range, copy, scaling etc.)And one or more functions button(For example, attribute, lookup printing
Machine, option, determination, cancellation etc.).And data acquiring unit 130 can be shown in above-mentioned viewing area in step
The printer obtained in S250 is current or various configuration datas of acquiescence.
In step S270, send control operation to resource providing device and instruct.
After interface construction unit 140 constructs user interface, interface display unit 150 shows described to the user
User interface, instruction reception unit 160 is received the user and is instructed by the control operation that the user interface is input into, and is referred to
Make transmitting element 170 send the control operation to the resource providing device to instruct, so that the resource providing device is utilized
The resource responds control operation instruction.
Specifically, the interface display unit 150 can be the display unit of resource access equipment 100, for Display Realization
The full graphics user interface of mimeograph documents flow.User can print correlation by this GUI, according to their needs input
Control operation is instructed.
In one example, if the user desired that rapidly using printer current or acquiescence various configuration datas
To realize the printing of file, then he/her can only select that the text to be printed in the GUI shown by interface display unit 150
Part, and for example, by clicking on " it is determined that " button sends determination print command.
At this moment, in resource access equipment 100, instruction reception unit 160 receives the above-mentioned control operation of the user, leads to
Know that the file that instruction sending unit 170 selects user is instructed with determination print command as control operation, be sent to resource and carry
For equipment 200.After control operation instruction is received in the communication connection of resource access equipment 100, the resource is carried
The printer response control operation instruction being connected with itself is activated for equipment 200, to start the file of printing user's selection.
In another example, if the user desired that realizing the printing of file by the printer configuration data changed, then
He/her can be input into oneself desired configuration data to replace the configuration data of acquiescence in resource access equipment 100 first.
At this moment, in resource access equipment 100, instruction reception unit 160 receives the above-mentioned control operation of the user, leads to
Know that instruction sending unit 170, using configuration data modification order as control operation instruction, is sent to resource providing device 200.When
Received in the communication connection of resource access equipment 100 after control operation instruction, the resource providing device 200 is activated
The printer response being connected with itself control operation instruction, to start to change the configuration data of itself.And when needed, should
Resource providing device 200 can make feedback by data acquiring unit 130 to resource access equipment 100, such as when configuration number
According to modification there is mistake when, or when needing again to show amended configuration data on a user interface.
Finally, the instruction sending unit 170 can select user file and determine print command as control operation
Instruction, is sent to resource providing device 200, and the print job of user's select file is completed so as to the external printer.
Obviously, user can also be by the multiple communication between resource access equipment 100 and resource providing device 200 come weight
Perform again configuration data modification operation, until meeting the requirement of oneself untill.Additionally, there is any alarm in working as print procedure
Or during prompting, the external printer can also be realized by the communication between resource access equipment 100 and resource providing device 200
For the feedback of user.
As can be seen here, using resource access method according to embodiments of the present invention and resource access equipment, will can be used for
The entity and the entity separation for transmission resource configuration data of resource accession page are provided.Resource providing device is only used for determining
The resource of issue is needed, and by interaction page(Flow)Unification is submitted to resource distribution apparatus(For example, cloud service platform), and
Resource distribution apparatus are used to make unique mark and issue to all interaction pages;When resource interaction page needs to update, money
Source provides equipment and only needs to submit the renewal page to resource distribution apparatus to again;Resource access equipment is according to resource to be accessed
Mark, from resource distribution apparatus download and the synchronous interaction page, it is possible to decided whether that this can be cached according to specified conditions
Interaction page;Thus, when resource access equipment for example accesses resource by HTTP, only transmission must between resource providing device
The data message wanted(Such as the configuration data of printing, mimeograph documents etc.), and no longer transmission page face data or procedure information.
Therefore, in an embodiment of the present invention, following beneficial effect is realized:
1st, the page data needed for no longer needing transmission to interact between resource access equipment and resource providing device, and only pass
Necessary configuration data and control operation instruction are passed, while resource providing device only needs to transmit once page to resource distribution apparatus
Face and flow.Therefore, the transmission quantity of the data between resource provider and resource visitor is greatly reduced;
2nd, any resource can easily conduct interviews the renewal of the page or flow, it is only necessary to update the phase of service platform
The page or flow are closed, other resource access equipments can obtain fresh information from resource distribution apparatus.So, when in money
Source access system includes multiple identical resources(For example, model identical printer)When, it is only necessary to resource providing device or
Production firm performs in resource distribution apparatus and once updates, you can for providing the same asset that equipment is provided by different resource
Front-end interactive page be fully completed renewal operation, and without individually be provided oneself by each resource providing device
Resource is updated.Therefore, the renewal efficiency of resource access mode is significantly improved.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Realized in the mode of software plus required hardware platform, naturally it is also possible to all implemented by software or hardware.Based on this
The understanding of sample, what technical scheme contributed to background technology in whole or in part can be in the form of software product
Embody, the computer software product can be stored in storage medium, such as ROM/RAM, disk, CD, including it is some
Instruction is used to so that a computer equipment(Can be personal computer, server, or network equipment etc.)Perform the present invention
Method described in some parts of each embodiment or embodiment.
Each embodiment of the invention has been described in detail above.However, it should be appreciated by those skilled in the art that not taking off
In the case of principle of the invention and spirit, these embodiments can be carried out with various modifications, combination or sub-portfolio, and so
Modification should fall within the scope of the present invention.
Claims (12)
1. a kind of resource access method, is applied to resource access equipment, it is characterised in that the resource access equipment is carried with resource
Connected for equipment and resource distribution apparatus, and the resource access equipment is used to access what the resource providing device was provided
Resource, methods described includes:
Obtain the access request for the resource;
The interaction page of the resource is obtained from the resource distribution apparatus according to the access request;
The configuration data of the resource is obtained from the resource providing device according to the access request;And
User interface is built based on the interaction page and configuration data, the user interface is for the resource access equipment
User is controlled and operates and cause that the resource providing device responds the control operation.
2. method according to claim 1, it is characterised in that described to be obtained from the resource distribution apparatus according to the access request
The step of interaction page for taking the resource, includes:
Judge whether be cached with the interaction page in the resource access equipment;
If it is judged that being cached with the interaction page in the resource access equipment, then the friendship for being cached is directly read
The mutual page;
Otherwise, the interaction page is obtained from the resource distribution apparatus.
3. method according to claim 2, it is characterised in that described to wrap the step of directly read the interaction page for being cached
Include:
The first version information of the interaction page that determination is cached;
The second edition information of the interaction page is obtained from the resource distribution apparatus;
Judge whether first version information is older than second edition information;
If it is judged that first version information is older than second edition information, then being obtained from the resource distribution apparatus has described the
The interaction page of two version informations;
Otherwise, the interaction page for being cached is directly read.
4. method according to claim 1, it is characterised in that described to be obtained from the resource distribution apparatus according to the access request
The step of interaction page for taking the resource, includes:
The identifier of the resource is obtained from the resource providing device according to the access request;And
The interaction page is obtained from the resource distribution apparatus according to the identifier.
5. method according to claim 1, it is characterised in that methods described also includes:
The user interface is shown to the user;
The user is received to be instructed by the control operation that the user interface is input into;And
To the resource providing device control operation is sent to instruct, so as to the resource providing device using the resource come
Respond the control operation instruction.
6. a kind of resource access equipment, it is characterised in that the resource access equipment sets with resource providing device and resource issue
Standby connection, and the resource access equipment is for accessing the resource that the resource providing device is provided, the resource access
Equipment includes:
Request obtaining unit, for obtaining the access request for the resource;
Page acquiring unit, the interactive page for obtaining the resource from the resource distribution apparatus according to the access request
Face;
Data acquiring unit, the configuration number for obtaining the resource from the resource providing device according to the access request
According to;And
Interface construction unit, for building user interface based on the interaction page and configuration data, the user interface is supplied
The user of the resource access equipment is controlled and operates and cause that the resource providing device responds the control operation.
7. resource access equipment according to claim 6, it is characterised in that the page acquiring unit includes:
Caching judge module, for judging whether be cached with the interaction page in the resource access equipment;And
Page acquisition module, if the caching judge module is judged to be cached with the interaction in the resource access equipment
The page, then directly read the interaction page for being cached;Otherwise, the interaction page is obtained from the resource distribution apparatus.
8. resource access equipment according to claim 7, it is characterised in that it is described that the page acquisition module determines to be cached
The first version information of interaction page, the second edition information of the interaction page is obtained from the resource distribution apparatus, is judged
Whether first version information is older than second edition information, if it is judged that first version information is older than second edition information, then from
The resource distribution apparatus obtain the interaction page with the second edition information;Otherwise, directly read what is cached
The interaction page.
9. resource access equipment according to claim 6, it is characterised in that the page acquiring unit includes:
Identifier acquisition module, the mark for obtaining the resource from the resource providing device according to the access request
Symbol;And
Page acquisition module, for obtaining the interaction page from the resource distribution apparatus according to the identifier.
10. resource access equipment according to claim 6, it is characterised in that the resource access equipment also includes:
Interface display unit, for showing the user interface to the user;
Instruction reception unit, is instructed for receiving the user by the control operation that the user interface is input into;And
Instruction sending unit, instructs for sending the control operation to the resource providing device, so that the resource is provided
Resource described in equipment utilization responds control operation instruction.
A kind of 11. resources access system, it is characterised in that the resource accesses system to be included:
Resource access equipment according to any one of claim 6 to 10;
Resource providing device, for providing resource;And
Resource distribution apparatus, the interaction page needed for for storing for accessing the resource.
12. resources according to claim 11 access system, it is characterised in that
The resource distribution apparatus receive the resource issue ask when, to the resource allocation identifier, and to
The resource providing device transmits the identifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310066501.5A CN104022997B (en) | 2013-03-01 | 2013-03-01 | resource access method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310066501.5A CN104022997B (en) | 2013-03-01 | 2013-03-01 | resource access method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104022997A CN104022997A (en) | 2014-09-03 |
CN104022997B true CN104022997B (en) | 2017-05-24 |
Family
ID=51439568
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310066501.5A Active CN104022997B (en) | 2013-03-01 | 2013-03-01 | resource access method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104022997B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7346843B2 (en) * | 2001-09-18 | 2008-03-18 | International Business Machines Corporation | Low-latency, incremental rendering in a content framework |
CN101764840A (en) * | 2009-12-29 | 2010-06-30 | 金蝶软件(中国)有限公司 | Method for providing WEB page data, WEB server and WEB application system |
CN201936583U (en) * | 2009-09-21 | 2011-08-17 | 杭州士兰控股有限公司 | Display system based on network technology |
CN102480397A (en) * | 2010-11-26 | 2012-05-30 | 金蝶软件(中国)有限公司 | Method and equipment for accessing internet pages |
CN102662993A (en) * | 2012-03-14 | 2012-09-12 | 北京神州数码思特奇信息技术股份有限公司 | A method for providing page data |
-
2013
- 2013-03-01 CN CN201310066501.5A patent/CN104022997B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7346843B2 (en) * | 2001-09-18 | 2008-03-18 | International Business Machines Corporation | Low-latency, incremental rendering in a content framework |
CN201936583U (en) * | 2009-09-21 | 2011-08-17 | 杭州士兰控股有限公司 | Display system based on network technology |
CN101764840A (en) * | 2009-12-29 | 2010-06-30 | 金蝶软件(中国)有限公司 | Method for providing WEB page data, WEB server and WEB application system |
CN102480397A (en) * | 2010-11-26 | 2012-05-30 | 金蝶软件(中国)有限公司 | Method and equipment for accessing internet pages |
CN102662993A (en) * | 2012-03-14 | 2012-09-12 | 北京神州数码思特奇信息技术股份有限公司 | A method for providing page data |
Also Published As
Publication number | Publication date |
---|---|
CN104022997A (en) | 2014-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140047322A1 (en) | Method and system for browsing things of internet of things on ip using web platform | |
US9673998B2 (en) | Differential cache for representational state transfer (REST) API | |
JP2011186913A (en) | Web site browsing system and server | |
JP6382477B1 (en) | Web page translation system, web page translation device, web page providing device, and web page translation method | |
CN101206556A (en) | Print system and print job processing method | |
US8860986B2 (en) | Image forming system for printing contents of a widget application executed in a mobile terminal | |
JP2015141473A (en) | Server system, method for controlling server system, and program | |
JP7076136B2 (en) | Web page provider, web page translator, information processing method, web page translation method, and program | |
JP6197286B2 (en) | Communication device, information processing system, and information processing system control method | |
KR101080862B1 (en) | System and method for REST style Third Party Call API | |
JP5530217B2 (en) | Document browsing system and document conversion server | |
CN103294461A (en) | Method and system for realizing microlog background interface | |
CN104022997B (en) | resource access method, device and system | |
JP4799581B2 (en) | Page customization server, page customization program, and page customization method | |
KR20120025209A (en) | System for displaying cached web page, server thereof, terminal thereof, method thereof and computer recordable medium storing the method | |
JP2011035724A (en) | Information processing apparatus, data processing method, and program | |
JP6226001B2 (en) | Usage control system and usage control method | |
US20150242176A1 (en) | Determining optimal rendering systems | |
JP2015069244A (en) | Distribution system, distribution method, and program | |
JP6397312B2 (en) | Network system and network system control method | |
JP2005157880A5 (en) | ||
CN201146520Y (en) | Apparatus for remotely controlling built-in apparatus | |
CN101267337A (en) | Network management system and method of managing the same | |
JP2021043822A (en) | Content provision system, server, and program | |
JP2019074954A (en) | Information processing device, management server, information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |