Background technology
Along with the development of electronic information technology, handheld terminal has obtained the most universal and has promoted, greatly
Change greatly the life style of people.Under special environment at the prison, in order to enrich the sparetime of inmate
Life, alleviates the pressure of inmate's transformation, guides them actively to adjust mentality, and excite him further
Transformation enthusiasm, set up a safely controllable Digital Learning, reading, entertainment environment particularly important,
Therefore it provides a kind of digital resource based on constrained environment synchronization system is imperative.
Under special environment at the prison, there is the safety requirements of highest ranking, strictly limit all kinds of nothings with this
The existence of gauze network, this is just determined digital resource synchronization system and cannot be come by modes such as WLANs
Realize.In the existing digital resources system being deployed, the synchronization of digital resource takes to be ordered online
Read, download online, off-line use mode.By the resource endpoint equipment of digital synchronous systems, serve a sentence
Personnel can select oneself all kinds of resource interested to subscribe to;Afterwards, source synchronous instrument (this is opened
Software support is single-threaded, it is impossible to realize multi-channel running), after login account, use v8 interface connecting line
Connect an idle handheld terminal, select the resource subscribed to carry out source synchronous, after source synchronous completes
Browsing and using of resource can be carried out on handheld terminal.Afterwards, another inmate needs again to open
Open source synchronous instrument, again log in, repeat above-mentioned action and realize source synchronous.
Above-mentioned digital resource synchronizes system and has the drawback that
(1) special environment and the cost consideration in prison it are limited to, it is impossible to dispose too many a prison
Resource endpoint equipment.Meanwhile, resource endpoint equipment had both been responsible for subscription, is responsible for again download, has a strong impact on
The efficiency of source synchronous.
(2) inmate's timing is movable and the activity time is shorter, and source synchronous system uses the time relatively to collect
In, prior art the shortcoming of multi-channel running cannot make handheld terminal utilization rate low, source synchronous cannot and
Shi Gengxin.
Therefore, need badly a kind of do not rely on resource endpoint equipment, can the resource synchronization method of multi-channel running
And system solves the problems referred to above.
Summary of the invention
The present invention provides resource synchronization method and system under a kind of constrained environment, utilizes RJ45 to turn V8 interface
Technology, is directly connected to resource storage server by V8 interface on handheld terminal and downloads related resource, get rid of
Abandon the transfer of original resource endpoint equipment, be on the one hand greatly improved speed of download, the most again
Take full advantage of the relatively large number of handheld terminal of quantity, single-threaded operation become multithreading and runs simultaneously,
Achieve more quickly source synchronous work.
One aspect of the present invention provides resource synchronization method under a kind of constrained environment, including step:
S1. handheld terminal sends resource subscription request, described resource by downloader to resource storage server
The request of subscription specifies the resource that user need to subscribe to;
S2. resource storage server receives resource subscription request, and resource mark user need to subscribed to is for order
Read resource, and resource has been subscribed in renewal;
S3. handheld terminal sends download instruction, described download instruction by downloader to resource storage server
Specify and subscribe to the resource that in resource, user need to download;
S4. resource storage server receives download instruction, and will subscribe to the resource that in resource, user need to download
Directly it is provided in handheld terminal to be downloaded by downloader.
Preferably, described directly it is provided in subscribing to resource that in resource, user need to download by downloader
Handheld terminal is downloaded particularly as follows: resource storage server will subscribe to the money that in resource, user need to download
Source is provided in handheld terminal by downloader and is downloaded;Wherein, downloader do not store described in subscribed to money
The resource that in source, user need to download.
Preferably, before step S1, described method includes:
Resource storage server detects after being connected with handheld terminal foundation, and Resource TOC is passed through downloader
Being sent to handheld terminal, described Resource TOC contains the description information of resource in resource storage server;Hands
Hold Resource TOC described in terminal storage, and after disconnecting with resource storage server, according to described money
Source directory selects the resource that need to download to generate local resource order, and is setting up even with resource storage server
After connecing, automatically generate resource subscription request based on local resource order;Or handheld terminal checks that resource stores
Resource in server, generates resource subscription request.
Preferably, after resource storage server detects and is connected with handheld terminal foundation, it is judged that handheld terminal
The Resource TOC of storage is the most expired;If so, Resource TOC is updated.
Preferably, before step S3, described method includes: the log-on message of handheld terminal checking user.
Preferably, upon step s 2, described method includes: resource storage server detects with hand-held
Terminal is set up after connecting, and the more fresh information subscribing to resource is notified handheld terminal;And resource storage clothes
Business device has subscribed to the Resources list, and the operational order sent according to handheld terminal according to subscribing to resource generation
Corresponding operating is carried out to subscribing to the Resources list;Described operational order includes: checks instruction or deletes instruction.
Preferably, described handheld terminal is at least one handheld terminal;And step S1 is particularly as follows: described
At least one handheld terminal sends resource subscription by downloader to resource storage server respectively and asks;
Step S3 is particularly as follows: at least one handheld terminal described is serviced to resource storage by downloader respectively
Device sends the download instruction corresponding to each handheld terminal;The described download corresponding to each handheld terminal refers to
Order specifies subscribes to the resource using the user of this handheld terminal to download in resource;
Step S4 is particularly as follows: resource storage server receives the download that at least one handheld terminal described sends
Instruction, and directly it is provided in this use by subscribing to the resource that in resource, user need to download by downloader respectively
The handheld terminal that family uses is downloaded.
Preferably, described downloader connects described resource storage server by RJ-45 interface, passes through V8
Interface connects at least one handheld terminal described.
Another aspect of the present invention provides source synchronous system under a kind of constrained environment, including: resource storage clothes
Business device, at least one handheld terminal and connect described resource storage server and described at least one is hand-held
The downloader of terminal;Wherein,
At least one handheld terminal described is sent corresponding to often to resource storage server by downloader respectively
The resource subscription request of one handheld terminal, the request of described resource subscription specifies the use using this handheld terminal
The resource that family need to be subscribed to;Sent corresponding to each hand-held end to resource storage server by downloader respectively
The download instruction of end, described download instruction specifies the resource using the user of this handheld terminal to download;
Described resource storage server receives resource subscription request, and resource mark user need to subscribed to is for
Subscribe to resource, and resource has been subscribed in renewal;Receive the download instruction that at least one handheld terminal described sends,
And the handheld terminal that resource user need to downloaded respectively is directly provided in this user use by downloader enters
Row is downloaded;Wherein, the resource that described user need to download is limited to subscribe to resource;Described downloader passes through RJ-45
Interface connects described resource storage server, connects at least one handheld terminal described by V8 interface.
Preferably, described resource storage server includes: Resource TOC signal generating unit, is used for adding up resource
In storage server, the description information of resource, generates Resource TOC;Resource TOC transmitting element, is used for examining
Measure after resource storage server and handheld terminal foundation is connected, Resource TOC is sent to by downloader
Handheld terminal;And handheld terminal includes: Resource TOC memory element, it is used for receiving and store described money
Source directory;Local resource order signal generating unit, is used for detecting that handheld terminal breaks with resource storage server
After opening connection, the resource that need to download is selected to generate local resource order according to described Resource TOC;Resource is ordered
Read request signal generating unit, after being used for detecting that handheld terminal is connected with resource storage server foundation, based on
Local resource order automatically generates resource subscription request.
As shown from the above technical solution, the present invention utilizes multithreading download technology to greatly improve handheld terminal
Utilization rate, multiple stage handheld terminal independently operates simultaneously, complete independently source synchronous, it is to avoid different accounts
Switching repeatedly, take full advantage of free time, it is achieved that under confined condition efficient digital resource synchronize,
Accelerate prison informatization paces.
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearer, develop simultaneously referring to the drawings
Going out preferred embodiment, the present invention is described in more detail.However, it is necessary to explanation, in description
The many details listed be only used to make reader one or more aspects of the present invention are had one thorough
Understand, the aspects of the invention can also be realized even without these specific details.
The present invention is it is considered that in existing digital resource synchronization system, resource endpoint equipment is both responsible for ordering
Read, be responsible for again download, had a strong impact on the efficiency of source synchronous.Meanwhile, inmate's timing movable and
Time is shorter, and system uses time Relatively centralized, and prior art cannot the shortcoming of multi-channel running make hand-held
Terminal utilization rate is low, and source synchronous cannot upgrade in time.
Based on above-mentioned consideration, the present invention provides resource synchronization method and system under a kind of constrained environment, utilizes
RJ45 turns V8 interfacing, is directly connected under resource storage server by V8 interface on handheld terminal
Carry related resource, abandoned the transfer of original resource endpoint equipment, be on the one hand greatly improved download speed
Degree, on the other hand takes full advantage of again the relatively large number of handheld terminal of quantity, single-threaded operation is become many
Thread runs simultaneously, it is achieved that more quickly source synchronous work.
Fig. 1 shows resource synchronization method schematic diagram under the constrained environment of the present invention, as it is shown in figure 1, on
The method of stating specifically includes following execution process:
First, in step sl, handheld terminal is ordered to resource storage server transmission resource by downloader
Readding request, the request of above-mentioned resource subscription specifies the resource that user need to subscribe to.
It follows that in step s 2, resource storage server receives resource subscription request, user need to be ordered
The resource mark read is for subscribing to resource, and resource has been subscribed in renewal.
It is preferred that in embodiments of the present invention, upon step s 2, resource storage server detect with
Handheld terminal is set up after connecting, and the more fresh information subscribing to resource is notified handheld terminal.The mode of notice
Include but not limited to message, mail etc..
As a preferred version, upon step s 2, resource storage server is raw according to subscribing to resource
Become and subscribed to the Resources list, and the operational order sent according to handheld terminal is carried out subscribing to the Resources list
Corresponding operating.Operational order includes: checks instruction or deletes instruction.By above-mentioned steps, user can
At any time subscription resource is carried out edit-modify, be greatly improved Experience Degree.
Then, in step s3, handheld terminal is referred to resource storage server transmission download by downloader
Order, download instruction specifies subscribes to the resource that in resource, user need to download.During basis, user is only
The resource subscribed to can be downloaded.
In a preferred embodiment of the invention, before step S3, handheld terminal display login interface checking is used
The log-on message at family.
Afterwards, in step s 4, resource storage server receives download instruction, and will subscribe in resource
The resource that user need to download directly is provided in handheld terminal by downloader and is downloaded.Above-mentioned " directly "
Refer to: carried subscribing to the resource that in resource, user need to download by downloader at resource storage server
During being downloaded for handheld terminal, downloader does not store and has subscribed to what user in resource need to download
Resource.By above step, present invention achieves on handheld terminal, be directly connected to resource storage server
Download related resource, abandoned the transfer of original resource endpoint equipment, be greatly improved resource downloading speed
Degree.
As a preferred version, resource subscription request can generate in such a way:
One is on-line subscription mode: handheld terminal checks the resource in resource storage server, generates money
Request is subscribed in source.
It is two for off-line subscribing manner: resource storage server detects after setting up with handheld terminal and being connected,
By downloader, Resource TOC is sent to handheld terminal, and Resource TOC contains money in resource storage server
The description information in source.Foregoing description information refers to the general information such as resource name, author, issuing time.
Resource TOC is stored in local data base by handheld terminal, and after disconnecting with resource storage server,
Browse Resource TOC, select the resource that need to download to generate local resource order, and servicing with resource storage
Device is set up after connecting, and automatically generates resource subscription request based on local resource order, completes resource subscription.
The off-line that the present invention provides is subscribed to and is made user generate local resource order in off-line state, at Connection Service device
After, instantaneous complete resource subscription, user can not only be made to have the time of abundance to browse the Resources list, consideration
Select the resource oneself liked, and the time that user's on-line subscription takies can be saved, promote resource same
Step efficiency, it is to avoid blocking up of source synchronous system.
It is preferred that resource storage server detect with handheld terminal set up be connected after, it is judged that hand-held end
The Resource TOC of end storage is the most expired;If expired, update Resource TOC, allow users to the most clear
Look at up-to-date resource.
In a preferred embodiment of the invention, handheld terminal is at least one handheld terminal;Downloader passes through
RJ-45 interface connection resource storage server, connects at least one handheld terminal by V8 interface.This
The bright RJ-45 of achieving turns multichannel V8 technology, and multiple handheld terminals are connected to download by multiple V8 interfaces
Device, each handheld terminal independently can be operated by source synchronous instrument, the subscription of complete independently resource and
Synchronizing, resource endpoint equipment in original source synchronous system of having broken away from i.e. completes subscribe to and be downloaded bottle
Neck, it is to avoid the switching repeatedly of different accounts, takes full advantage of free time, it is achieved that under confined condition
Efficient digital resource synchronizes.
In a preferred embodiment of the invention, at least one handheld terminal is stored to resource by downloader respectively
Server sends resource subscription request.Resource storage server receives resource subscription request, user need to be ordered
The resource mark read is for subscribing to resource, and resource has been subscribed in renewal.At least one handheld terminal leads to respectively
Cross downloader and send the download instruction corresponding to each handheld terminal to resource storage server.Corresponding to every
The download instruction of one handheld terminal specifies to subscribe to and uses the user of this handheld terminal to download in resource
Resource.Resource storage server receives the download instruction that at least one handheld terminal sends, and respectively by
Subscribe to the resource that in resource, user need to download and be directly provided in, by downloader, the handheld terminal that this user uses
It is downloaded.Above-mentioned " directly " is meant that: during handheld terminal downloads resource, downloader
Do not store this resource, achieve digital resource directly downloading at handheld terminal with this.It is preferred that it is many
Individual user can complete subscription and the download of resource by handheld terminal simultaneously.
By above step, present invention achieves the digital resource synchronization of multi-user, multithreading, Duo Geyong
Family independently can be operated by respective handheld terminal, the subscription of complete independently resource and download, by
This overcomes the defect that in original system, user can only operate one by one, is greatly improved digital resource and synchronizes effect
Rate, effectively increases handheld terminal utilization rate, successfully solves the resource under the special environment of prison quickly same
Step problem.
Fig. 2 be the present invention constrained environment under source synchronous system schematic, as in figure 2 it is shown, above-mentioned system
System includes: resource storage server 1, at least one handheld terminal 2 and connection resource storage server 1
Downloader 3 with at least one handheld terminal 2.
At least one handheld terminal 2 respectively by downloader 3 to resource storage server 1 send corresponding to
The resource subscription request of each handheld terminal, resource subscription request specifies the user using this handheld terminal
The resource that need to subscribe to.Sent corresponding to each hand-held to resource storage server 1 by downloader 3 respectively
The download instruction of terminal, download instruction specifies the resource using the user of this handheld terminal to download.
Resource storage server 1 receives resource subscription request, and resource mark user need to subscribed to is for order
Read resource, and resource has been subscribed in renewal.Receive the download instruction that at least one handheld terminal 2 sends, and
The handheld terminal that resource user need to downloaded respectively is directly provided in this user use by downloader 3 enters
Row is downloaded.Above-mentioned " directly " refers to: the resource that user need to download led at resource storage server 1
Crossing downloader 3 and be provided in during handheld terminal is downloaded, downloader 3 does not store has subscribed to resource
The resource that middle user need to download.
The resource that above-mentioned user need to download is limited to subscribe to resource;Downloader 3 connects money by RJ-45 interface
Source storage server 1, connects at least one handheld terminal 2 by V8 interface.
It is preferred that in embodiments of the present invention, resource storage server 1 includes Resource TOC signal generating unit
And Resource TOC transmitting element.
Resource TOC signal generating unit, for adding up the description information of resource in resource storage server 1, generates
Resource TOC.
Resource TOC transmitting element is used for detecting that resource storage server 1 is set up with handheld terminal 2 and is connected
After, Resource TOC is sent to handheld terminal 2 by downloader 3.
Handheld terminal 2 includes: Resource TOC memory element, local resource order signal generating unit and resource are ordered
Read request signal generating unit.
Resource TOC memory element is used for receiving and storing Resource TOC.
Local resource order signal generating unit is used for detecting that handheld terminal 2 disconnects with resource storage server 1
After connection, the resource that need to download is selected to generate local resource order according to Resource TOC.
Resource subscription request signal generating unit is used for detecting that handheld terminal 2 is set up with resource storage server 1
After connection, automatically generate resource subscription request based on local resource order.
It is preferred that the handheld terminal 2 of the present invention needs to verify the log-on message of user's input,
The synchronization of data can be carried out.
Under the constrained environment that the present invention provides, resource synchronization method and system can effectively promote handheld terminal profit
By rate, it is to avoid the bottleneck of prior art, on the premise of cost increase is less, accelerates digital resource and update
Speed, makes digital resource synchronize the more special population of system service.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method
The program that can be by completes to instruct relevant hardware, and this program can be stored in a computer-readable
Take in storage medium, such as: ROM/RAM, magnetic disc, CD etc..
The above is only the preferred embodiment of the present invention, it is noted that general for the art
For logical technical staff, under the premise without departing from the principles of the invention, it is also possible to make some improvement and profit
Decorations, these improvements and modifications also should be regarded as protection scope of the present invention.