Nothing Special   »   [go: up one dir, main page]

CN104063233B - Load method, storage device and the terminal device of HTML performing environments - Google Patents

Load method, storage device and the terminal device of HTML performing environments Download PDF

Info

Publication number
CN104063233B
CN104063233B CN201310086533.1A CN201310086533A CN104063233B CN 104063233 B CN104063233 B CN 104063233B CN 201310086533 A CN201310086533 A CN 201310086533A CN 104063233 B CN104063233 B CN 104063233B
Authority
CN
China
Prior art keywords
terminal device
html
storage
storage device
performing environments
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310086533.1A
Other languages
Chinese (zh)
Other versions
CN104063233A (en
Inventor
冯荣峰
徐晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310086533.1A priority Critical patent/CN104063233B/en
Publication of CN104063233A publication Critical patent/CN104063233A/en
Application granted granted Critical
Publication of CN104063233B publication Critical patent/CN104063233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiments of the invention provide a kind of method of loading HTML performing environments applied to storage device and a kind of method of loading HTML performing environments applied to terminal device, and corresponding storage device and terminal device.The method of loading HTML performing environments according to an embodiment of the invention, applied to storage device, wherein prestoring multiple HTML performing environments for a HTML particular versions in storage device, multiple HTML performing environments correspond with multiple operating systems.Methods described includes:When terminal device is connected to storage device, the device descriptive information of terminal device is obtained;The operating system according to used in device descriptive information determines terminal device;The determination target HTML performing environments corresponding with operating system used in terminal device in multiple HTML performing environments;The partial data included to terminal device transmission target HTML performing environments so that partial data is loaded into the internal storage of terminal device by terminal device, with operational objective HTML performing environments.

Description

Load method, storage device and the terminal device of HTML performing environments
Technical field
The present invention relates to a kind of method of the loading HTML performing environments applied to storage device and one kind to be applied to terminal The method of the loading HTML performing environments of equipment, and corresponding storage device and terminal device.
Background technology
With the development of technology, for example, desktop computer, notebook, tablet computer, smart mobile phone and just The terminal electronic device for taking formula multimedia player etc is widely used.These equipment usually can be connected with network, Allow users to easily browse webpage.On the other hand, in order to meet the needs of user, HTML(HTML)Mark Standard is also constantly updated.In recent years, HTML5 correlation techniques are fast-developing, and have become the most important structure standard in website.
With increasing business(For example pay, financing)Carrying needs HTML5 performing environments, and ring is performed to HTML5 The safety of border in itself and customization require also more and more higher.User needs really carry-on one's own reliable HTML5 fortune Row environment.But the browser in many existing electronic equipments is not the browser of HTML5 running environment.
It is proposed to this end that cloud desktop pattern, i.e. run HTML5 on the Cloud Server being connected with electronic equipment and perform Environment, and the implementing result of Cloud Server is sent to electronic equipment.But in this case, HTML5 characteristic by The serious restriction of the native operating sys-tern at electronic equipment end and local browser.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of methods and applications of loading HTML performing environments in terminal device Loading HTML performing environments method, and corresponding storage device and terminal device, to solve the above problems.
An embodiment provides a kind of method of loading HTML performing environments, applied to storage device, its In prestore multiple HTML performing environments for a HTML particular versions in storage device, multiple HTML performing environments with Multiple operating systems correspond.Methods described includes:When terminal device is connected to storage device, setting for terminal device is obtained Standby description information;The operating system according to used in device descriptive information determines terminal device;In multiple HTML performing environments It is determined that with terminal device used in the corresponding target HTML performing environments of operating system;Target HTML is sent to terminal device to hold The partial data that row environment includes so that partial data is loaded into the internal storage of terminal device by terminal device, with fortune Row target HTML performing environments.
Another embodiment of the present invention provides a kind of method of loading HTML performing environments, applied to terminal device.Institute The method of stating includes:It is connected with storage device, wherein being prestored in storage device for the multiple of a HTML particular versions HTML performing environments, multiple HTML performing environments correspond with multiple operating systems;The 3rd equipment letter is sent to storage device Breath, to enable storage device operating system according to used in the 3rd facility information determines terminal device, and multiple Determination target HTML performing environments corresponding with operating system used in terminal device in HTML performing environments;Storage is received to set Preparation send the target partial data that HTML performing environments include;Partial data is loaded into the internal storage of terminal device; And the partial data operational objective HTML performing environments of the internal storage by being loaded into terminal device.
Another embodiment of the present invention provides a kind of storage device, including:Performing environment memory cell, configure and come in advance Store multiple HTML performing environments for a HTML particular versions, a pair of multiple HTML performing environments and multiple operating systems 1 Should;Information acquisition unit, the equipment for configuring, when the storage device is connected with terminal device, to obtain the terminal device Description information;System determination unit, configuration is come operating system used in determining terminal device according to device descriptive information;Environment Determining unit, configuration carry out the target corresponding with operating system used in terminal device of the determination in multiple HTML performing environments HTML performing environments;Transmitting element, configure the partial data to be included to terminal device transmission target HTML performing environments so that Partial data is loaded into the internal storage of terminal device by terminal device, with operational objective HTML performing environments.
Another embodiment of the present invention provides a kind of terminal device, including:Transmitting element, configuration come work as terminal device and When storage device is connected, the 3rd facility information is sent to storage device, to enable storage device to believe according to the 3rd equipment Breath determines operating system used in terminal device, and determines to set with terminal in the multiple HTML performing environments prestored Target HTML performing environments corresponding to standby used operating system, wherein being prestored in storage device special for a HTML Determine multiple HTML performing environments of version, multiple HTML performing environments correspond with multiple operating systems;Receiving unit, configuration To receive the partial data that storage device sends target HTML performing environments and included;Internal storage;Configuration carrys out loading unit fraction According to;And processing unit, configure come the partial data operational objective HTML performing environments by being loaded into internal storage.
The scheme provided by the embodiments of the present invention, it is specific for a HTML by being prestored in storage device Multiple HTML performing environments of version, it can need not increase while being locally configured of terminal device, transport on the terminal device The html5 performing environments that row matches with the operating system of terminal device, and the html5 for the terminal device can be played completely The characteristic of performing environment, html5 performing environments security and flexibility are ensured.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, make below by required in the description to embodiment Accompanying drawing is briefly described.Drawings in the following description are only the exemplary embodiment of the present invention.
Fig. 1 depicts the flow chart of the method for loading HTML performing environments according to an embodiment of the invention.
Fig. 2 depicts the flow chart of the method for loading HTML performing environments according to another embodiment of the present invention.
Fig. 3 is the exemplary block diagram for showing storage device according to embodiments of the present invention.
Fig. 4 is the exemplary block diagram for showing terminal device according to embodiments of the present invention.
Embodiment
Hereinafter, by preferred embodiments of the present invention will be described in detail with reference to the annexed drawings.Pay attention to, in the specification and drawings In, there is substantially the same step and element to be denoted by the same reference numerals, and to these steps and the repetition solution of element Releasing to be omitted.
In the following examples of the present invention, the concrete form of terminal device includes but unlimited desktop computer, notebook Computer, tablet computer, smart mobile phone, portable media player and game machine etc..
Fig. 1 depicts the flow chart of the method 100 of loading HTML performing environments according to an embodiment of the invention.Under Face, the method that reference picture 1 is described to loading HTML performing environments according to an embodiment of the invention.Load HTML and perform ring The method 100 in border can be used for storage device.In an embodiment according to the present invention, prestored in storage device for one Multiple HTML performing environments of HTML particular versions, multiple HTML performing environments correspond with multiple operating systems.HTML is special It can be the usually used HTML versions in website to determine version, such as HTML5.Commonly used in addition, can prestore for electronic equipment System HTML performing environments.For example, the HTML5 performing environments for Android2.3 operation systems can be prestored, it is right It is right for the HTML5 performing environments of Android4.1 operation systems in the HTML5 performing environments of Android4.0 operation systems In HTML5 performing environments of Windows Phone8 operation systems etc..
As shown in figure 1, in step S101, when terminal device is connected to storage device, the equipment that obtains terminal device Description information.Then in step s 102, the operating system according to used in device descriptive information determines terminal device.
According to the example of the present invention, the storage device of application process 100 is settable in the server.In server In, can prestore the first user mark and at least one equipment corresponding with the first user mark the first facility information. Specifically, the first facility information may include the first device identification and indicate the first system information of the operating system of the equipment. In step S101, when terminal device is connected to storage device, the log-on message from terminal device is received, and believe from logging in In breath extract second user mark and terminal device the second device identification, then the first user identify and with the first user Determined in first facility information of at least one equipment corresponding to mark corresponding with second user mark and the second device identification Targeted customer identifies and target device information, and according to target device information, the target device information for obtaining terminal device is made For device descriptive information.Then, in step s 102, device descriptive information is obtained,(That is, target device information)Indicated behaviour Make system(That is, operating system used in terminal device).
For example, in the server, user can be prestored and identify A and device A 1, A2 and A3 corresponding with user's mark A The first facility information, user identifies B and B corresponding equipment B1, B2 and B3 the first facility information identified with the first user, User identifies C and equipment C1, C2 and C3 corresponding with user's mark C the first facility information, wherein the user prestored A, B and C is identified to identify for the first user.When the second user mark extracted in step S101 from the log-on message received Identify B for user, and when the second device identification of terminal device be B1, the first user identify and with the first user mark Determined in first facility information of corresponding at least one equipment and second user mark and the second device identification corresponding first User identifies B targeted customers mark and using equipment B1 the first facility information as target device information.
Moreover it is preferred that the method shown in Fig. 1 may also include the system update information of receiving terminal apparatus transmission, with So that server is according to system update information updating target device information corresponding with the second device identification.
It is in addition, settable in the server according to another example of the present invention, the storage device of application process 100.In step In rapid S101, when terminal device is connected to server, the device descriptive information sent from terminal device is obtained.
In addition, according to the another example of the present invention, the storage device of application process 100 can be such as USB storage device Etc external storage equipment.In step S101, when terminal device is connected to storage device, obtains and sent from terminal device Device descriptive information.
Next, in step s 103, system is operated used in determination and terminal device in multiple HTML performing environments Target HTML performing environments corresponding to system.Then in step S104, target HTML performing environments is sent to terminal device and are included Partial data so that partial data is loaded into the internal storage of terminal device by terminal device, with operational objective HTML Performing environment.
According to the example of the present invention, the environmental data request from terminal device can be received in step S104, with Determined in the data that target HTML performing environments include and the corresponding partial data of environmental data request, and to terminal device Send determined by, with the corresponding partial data of environmental data request.On the other hand, terminal device may include such as user's space File system(FUSE)Etc, can using the file being stored on server or external storage equipment as local file to end The file management system that the processing unit of end equipment is presented.Can be by the storage device of application process 100 by file management system Virtual is the local storage unit of terminal device.File management system can be run and end according to the processing unit of present terminal equipment Data required for the HTML performing environments of the operating system matching of end equipment, build environment request of data and terminal device can Environmental data request is sent to storage device.
Storage device can determine and the corresponding part of environmental data request in the data that target HTML performing environments include Data, and to terminal device send determined by, with the corresponding partial data of environmental data request, without being set to terminal Preparation send the total data of target HTML performing environments.So as to save the data volume for needing to transmit, reduce the wait of user Time.
Then the file management system of terminal device can using the partial data that storage device is sent as local data to end The processing unit of end equipment is presented, and is stored into the internal storage of terminal device, so as to the processing unit of terminal device The HTML performing environments matched by the partial data operation stored in internal storage with the operating system of terminal device.From And, it is not necessary to the configuration for increasing terminal device comes, and can also play completely for the specific of its operating system on the terminal device HTML performing environments advantage, and when running the specific HTML performing environments on the terminal device, can effectively by The existing configuration of such as network connection unit, display unit etc of electronic equipment.
The present embodiment provide loading HTML performing environments method in, by prestored in storage device for Multiple HTML performing environments of one HTML particular versions, it can need not increase while being locally configured of terminal device, at end The html5 performing environments matched with the operating system of terminal device are run in end equipment, and can be played completely for the terminal The characteristic of the html5 performing environments of equipment, has ensured html5 performing environments security and flexibility.
Fig. 2 depicts the flow chart of the method 200 of loading HTML performing environments according to another embodiment of the present invention.Under Face, the method that reference picture 2 is described to the loading HTML performing environments according to an another embodiment of the invention.Loading HTML is held The method 200 of row environment can be used for terminal device.
As shown in Fig. 2 in step s 201, it is connected with storage device.In an embodiment according to the present invention, storing Multiple HTML performing environments for a HTML particular versions, multiple HTML performing environments and multiple operations are prestored in equipment System corresponds.HTML particular versions can be the usually used HTML versions in website, such as HTML5.In addition, it can deposit in advance The HTML performing environments for the system that storage is commonly used for electronic equipment.For example, it can prestore for Android2.3 operation systems HTML5 performing environments, for the HTML5 performing environments of Android4.0 operation systems, for Android4.1 operation systems HTML5 performing environments, for HTML5 performing environments of Windows Phone8 operation systems etc..
In step S202, the 3rd facility information is sent to storage device, to enable storage device to be set according to the 3rd Standby information determines operating system used in terminal device, and determines to be made with terminal device in multiple HTML performing environments Target HTML performing environments corresponding to operating system.
It is settable in the server according to the example of the present invention, storage device.In the server, can be prestored One user identifies and the first facility information of at least one equipment corresponding with the first user mark.Specifically, the first equipment Information may include the first device identification and indicate the first system information of the operating system of the equipment.To storage in step S202 The 3rd facility information that equipment is sent may include the log-on message of user on the terminal device, and log-on message may include second User identifies and the second device identification of terminal device.Storage device can the first user identify and with the first user mark pair Determine that target corresponding with second user mark and the second device identification is used in first facility information of at least one equipment answered Family identifies and target device information, and according to target device information, obtains the target device information of terminal device as equipment Description information.Then, storage device can obtain device descriptive information,(That is, target device information)Indicated operating system (That is, operating system used in terminal device).
For example, in the server, user can be prestored and identify A and device A 1, A2 and A3 corresponding with user's mark A The first facility information, user identifies B and B corresponding equipment B1, B2 and B3 the first facility information identified with the first user, User identifies C and equipment C1, C2 and C3 corresponding with user's mark C the first facility information, wherein the user prestored A, B and C is identified to identify for the first user.Include being used as second user mark when sending to storage device in step S202 terminal devices When the user of knowledge identifies B and the second device identification B1 three facility information, storage device can be identified in the first user and with Determined in first facility information of at least one equipment corresponding to first user mark and second user mark and the second equipment mark First user corresponding to knowledge identifies B targeted customers mark and using equipment B1 the first facility information as target device information.
Moreover it is preferred that the method shown in Fig. 2, which may also include to storage device, sends system update information, to cause Storage device is according to system update information updating target device information corresponding with the second device identification.
In addition, according to another example of the present invention, the 3rd facility information may include operating system used in terminal device System information.So as to storage device can directly according to used in the 3rd facility information determines terminal device operating system, and And then the determination target corresponding with operating system used in terminal device in the multiple HTML performing environments wherein stored HTML performing environments.
Then, in step S203, receive storage device and send the partial data that target HTML performing environments include.According to The example of the present invention, the method described in Fig. 2 may also include the requirement according to current operation HTML performing environments, to storage Equipment sends environmental data request so that storage device can ask what is included in target HTML performing environments according to environmental data Determined and the corresponding partial data of environmental data request in data.Then in step S203, receive storage from storage device and set Standby identified partial data.In step S204, partial data is loaded into the internal storage of terminal device, Ran Houtong Cross the partial data operational objective HTML performing environments for the internal storage for being loaded into terminal device.
For example, terminal device may include such as user's space file system(FUSE)Etc, can will be stored in service The file management system that file on device or external storage equipment is presented as local file to the processing unit of terminal device.It is logical Cross the local storage unit that the storage device being connected with terminal device can be virtually terminal device by file management system.In step In S203, file management system can run what is matched with the operating system of terminal device according to the processing unit of present terminal equipment Environmental data can be asked to be sent to deposit by the data required for HTML performing environments, build environment request of data and terminal device Store up equipment.Storage device can determine part number corresponding with environmental data request in the data that target HTML performing environments include According to, and to terminal device send determined by, with the corresponding partial data of environmental data request, without to terminal device Send the total data of target HTML performing environments.So as to save the data volume for needing to transmit, when reducing the wait of user Between.Then in step S204, the file management system of terminal device can be using the partial data that storage device is sent as local Data are presented to the processing unit of terminal device, and are stored into the internal storage of terminal device, so as to terminal device The HTML that processing unit is matched by the partial data operation stored in internal storage with the operating system of terminal device is performed Environment.It is therefore not required to which the configuration for increasing terminal device comes, can also play completely on the terminal device for its operating system Specific HTML performing environments advantage, can be effective and when running the specific HTML performing environments on the terminal device Ground by such as network connection unit, display unit etc of electronic equipment existing configuration.
The present embodiment provide loading HTML performing environments method in, by prestored in storage device for Multiple HTML performing environments of one HTML particular versions, it can need not increase while being locally configured of terminal device, at end The html5 performing environments matched with the operating system of terminal device are run in end equipment, and can be played completely for the terminal The characteristic of the html5 performing environments of equipment, has ensured html5 performing environments security and flexibility.
As described above, by the method 200 shown in Fig. 2, the terminal device can perform according to its operational objective HTML The needs of environment, its internal storage in real time loading the partial data of the target HTML performing environments from storage device In, in order to which processing unit is run.That is, when processing unit performs according to the partial data stored in internal storage After corresponding operation, terminal device can pass through the new partial data of target HTML performing environments according to the needs of processing unit Internal storage is rewritten, so that processing unit continues to run with target HTML performing environments.Specifically, the method in Fig. 2 can also wrap Include after the partial data operational objective HTML performing environments of the internal storage by being loaded into terminal device, update current fortune The requirement of row HTML performing environments, and environmental data is updated according to the requirement of the current operation HTML performing environments updated and asked Ask.Data required for can loading its operational objective HTML performing environments from storage device in real time so as to terminal device, rather than Whole target HTML performing environments are loaded into terminal device.
According to the example of the present invention, this needs operation needs of the terminal device according to processing unit, in real time from storage Equipment obtains a part of data of target HTML performing environments.But in storage device of the storage device for setting in the server In the case of, user may be needed to wait longer time when network environment is bad.Furthermore, it is possible to terminal device be present in difference Moment needs to obtain the situation of the same partial data of target HTML performing environments, is to set in the server in storage device In the case of storage device, this results in the need for the data traffic for spending user more.
Therefore, according to another example of the present invention, can be preserved in terminal device every time from the part that storage device receives Number.Specifically, according to another example of the present invention, the method described in Fig. 2 may additionally include by being loaded into terminal device Internal storage partial data operational objective HTML performing environments after, partial data storage is deposited to the buffering of terminal device In reservoir.In addition, after the requirement of the current operation HTML performing environments of renewal, it may be determined that the environmental data request after renewal is signified Whether the partial data shown is stored in buffer storage.The partial data quilt indicated by environmental data request after renewal When being stored in buffer storage, environmental data is asked into indicated partial data directly from the buffer storage of terminal device It is loaded into internal storage, without being received from storage device.And the portion indicated by environmental data request after renewal When divided data is not stored in buffer storage, the environmental data after renewal is just sent to storage device and is asked so that storage Equipment can ask after determining and updating in the data that target HTML performing environments include according to the environmental data after renewal Partial data corresponding to environmental data request, so as to reduce the data traffic that needs transmit, and improves target HTML and holds The speed of service of row environment.In addition, in order to protect the security of the personal data of user, user's closing target HTML can be worked as and held During row environment, deletion is stored in biography and rushes data in memory.
Below, reference picture 3 illustrates the storage device of embodiments of the invention.Fig. 3 shows according to embodiments of the present invention The exemplary block diagram of storage device 300.As shown in Figure 3, the storage device 300 of the present embodiment stores including performing environment Unit 310, information acquisition unit 320, system determination unit 330, environment determining unit 340 and transmitting element 350.Storage device 300 modules perform each step/function of the display methods in above-mentioned Fig. 1, therefore, succinct in order to describe, and no longer have Body describes.
For example, performing environment memory cell can prestore multiple HTML performing environments for a HTML particular versions, Multiple HTML performing environments correspond with multiple operating systems.HTML particular versions can be the usually used HTML versions in website This, such as HTML5.In addition, the HTML performing environments for the system commonly used for electronic equipment can be prestored.For example, can be advance The HTML5 performing environments for Android2.3 operation systems are stored, ring is performed for the HTML5 of Android4.0 operation systems Border, for the HTML5 performing environments of Android4.1 operation systems, held for the HTML5 of Windows Phone8 operation systems Row environment etc..
When terminal device is connected to storage device, information acquisition unit 320 obtains the device descriptive information of terminal device. Then system determination unit 330 can according to used in device descriptive information determines terminal device operating system.
It is settable in the server according to the example of the present invention, storage device 300.And storage device 300 is also wrapped Include user information storage unit and receiving unit.User information storage unit can prestore the first user mark and with first First facility information of at least one equipment corresponding to user's mark.Specifically, the first facility information may include the first equipment mark Know and indicate the equipment operating system the first system information.When terminal device is connected to storage device, receiving unit can Receive the log-on message from terminal device.
Information acquisition unit 320 may include marker extraction module, mark determining module and data obtaining module.Marker extraction Module can extract the second device identification of second user mark and terminal device from log-on message.Then, determining module is identified Can be identified in the first user and the first facility information of at least one equipment corresponding with the first user mark in determine and the Targeted customer's mark and target device information corresponding to two users mark and the second device identification, and data obtaining module can root According to target device information, the target device information of terminal device is obtained as device descriptive information.Then, system determination unit 330 can obtain device descriptive information,(That is, target device information)Indicated operating system(That is, grasped used in terminal device Make system).
For example, in user information storage unit, it can prestore that user identifies A and A is corresponding sets with user's mark Standby A1, A2 and A3 the first facility information, user identify B and identify the of B corresponding equipment B1, B2 and B3 with the first user One facility information, user identifies C and equipment C1, C2 and C3 corresponding with user's mark C the first facility information, wherein in advance The user of storage identifies A, B and C and identified for the first user.When in the log-on message that marker extraction module receives from receiving unit The second user of extraction is identified as user and identifies B, and when the second device identification of terminal device be B1, identifies determining module and exist Determine to use with second in first facility information of the first user mark and at least one equipment corresponding with the first user mark Family identify and the second device identification corresponding to the first user identify B targeted customers mark, and data obtaining module is by equipment B1 The first facility information as target device information.
In addition, receiving unit be further configured to receiving terminal apparatus transmission system update information, with cause server according to System update information updating is stored in the target device information corresponding with the second device identification in user information storage unit.It is excellent It selection of land, can be rewritable memory cell in order to facilitate user's fresh information user information storage unit, and can be every Individual user individually establishes memory module, and in order to prevent from distorting, so as to the public use of all users, performing environment memory cell can To be read-only memory unit.
It is in addition, settable in the server according to another example of the present invention, storage device 300.And storage device 300 It may include receiving unit.When terminal device is connected to server, receiving unit can be described directly from terminal device receiving device Information.
In addition, according to the another example of the present invention, storage device 300 can be external storage equipment.And storage device 300 may include receiving unit.When terminal device is connected to server, receiving unit can be retouched directly from terminal device receiving device State information.
Next, environment determining unit 340 can be determined in multiple HTML performing environments with terminal device used in behaviour Make target HTML performing environments corresponding to system.Then transmitting element 350 can send target HTML performing environments to terminal device Comprising partial data so that partial data is loaded into the internal storage of terminal device by terminal device, with operational objective HTML performing environments.
According to the example of the present invention, storage device 300 may also include receiving unit and data determination unit.Receive single Member can receive the environmental data request from terminal device.Data determination unit can be in the data that target HTML performing environments include Middle determination and the corresponding partial data of environmental data request, and transmitting element 350 can be sent to terminal device it is identified and Partial data corresponding to environmental data request.On the other hand, terminal device may include such as user's space file system(FUSE) Etc, can be using the file being stored on server or external storage equipment as processing list of the local file to terminal device The file management system that member is presented.Can be virtually being locally stored for terminal device by storage device 300 by file management system Unit.File management system can run what is matched with the operating system of terminal device according to the processing unit of present terminal equipment Environmental data can be asked to be sent to deposit by the data required for HTML performing environments, build environment request of data and terminal device Store up equipment.
Data determination unit can determine corresponding with environmental data request in the data that target HTML performing environments include Partial data, and transmitting element 350 can send identified, corresponding with environmental data request part number to terminal device According to the total data without sending target HTML performing environments to terminal device.So as to save the data for needing to transmit Amount, reduce the stand-by period of user.
Then the file management system of terminal device can using the partial data that storage device is sent as local data to end The processing unit of end equipment is presented, and is stored into the internal storage of terminal device, so as to the processing unit of terminal device The HTML performing environments matched by the partial data operation stored in internal storage with the operating system of terminal device.From And, it is not necessary to the configuration for increasing terminal device comes, and can also play completely for the specific of its operating system on the terminal device HTML performing environments advantage, and when running the specific HTML performing environments on the terminal device, can effectively by The existing configuration of such as network connection unit, display unit etc of electronic equipment.
In the storage device that the present embodiment provides, by being prestored in storage device for a HTML particular versions Multiple HTML performing environments, can need not increase while being locally configured of terminal device, on the terminal device operation with The html5 performing environments of the operating system matching of terminal device, and the html5 execution for the terminal device can be played completely The characteristic of environment, html5 performing environments security and flexibility are ensured.
Below, reference picture 4 illustrates the terminal device of embodiments of the invention.Fig. 4 shows according to embodiments of the present invention The exemplary block diagram of terminal device 400.As shown in Figure 4, the terminal device 400 of the present embodiment include transmitting element 410, Receiving unit 420, internal storage 430 and processing unit 440.The modules of terminal device 400 perform aobvious in above-mentioned Fig. 2 Show each step/function of method, it is therefore, succinct in order to describe, no longer specifically describe.
When the terminal device is connected with storage device, transmitting element 410 can send the 3rd equipment to storage device Information, to enable storage device operating system according to used in the 3rd facility information determines terminal device, and pre- Determination target HTML corresponding with operating system used in terminal device performs ring in the multiple HTML performing environments first stored Border.In an embodiment according to the present invention, the multiple HTML prestored in storage device for a HTML particular versions are held Row environment, multiple HTML performing environments correspond with multiple operating systems.HTML particular versions can be that website is usually used HTML versions, such as HTML5.In addition, the HTML performing environments for the system commonly used for electronic equipment can be prestored.Example Such as, the HTML5 performing environments for Android2.3 operation systems can be prestored, for Android4.0 operation systems HTML5 performing environments, for the HTML5 performing environments of Android4.1 operation systems, for Windows Phone8 operating bodies HTML5 performing environments of system etc..
It is settable in the server according to the example of the present invention, storage device.In the server, can be prestored One user identifies and the first facility information of at least one equipment corresponding with the first user mark.Specifically, the first equipment Information may include the first device identification and indicate the first system information of the operating system of the equipment.Transmitting element 410 can be to depositing The 3rd facility information that storage equipment is sent may include the log-on message of user on the terminal device, and log-on message may include the Two users identify and the second device identification of terminal device.Storage device can be identified in the first user and identified with the first user Target corresponding with second user mark and the second device identification is determined in first facility information of corresponding at least one equipment User identifies and target device information, and according to target device information, the target device information conduct for obtaining terminal device is set Standby description information.Then, storage device can obtain device descriptive information,(That is, target device information)Indicated operating system (That is, operating system used in terminal device).
For example, in the server, user can be prestored and identify A and device A 1, A2 and A3 corresponding with user's mark A The first facility information, user identifies B and B corresponding equipment B1, B2 and B3 the first facility information identified with the first user, User identifies C and equipment C1, C2 and C3 corresponding with user's mark C the first facility information, wherein the user prestored A, B and C is identified to identify for the first user.Transmitting element 410 sends the user included as second user mark to storage device Identify B and the second device identification B1 three facility informations when, storage device can the first user identify and with the first user Determined in first facility information of at least one equipment corresponding to mark corresponding with second user mark and the second device identification First user identifies B targeted customers mark and using equipment B1 the first facility information as target device information.
Moreover it is preferred that transmitting element 410 can also send system update information to storage device, to cause storage device According to system update information updating target device information corresponding with the second device identification.
In addition, according to another example of the present invention, the 3rd facility information may include operating system used in terminal device System information.So as to storage device can directly according to used in the 3rd facility information determines terminal device operating system, and And then the determination target corresponding with operating system used in terminal device in the multiple HTML performing environments wherein stored HTML performing environments.
Then, receiving unit 420 can receive storage device and send the partial data that target HTML performing environments include.According to The example of the present invention, terminal device may also include request generation unit.Ask generation unit can be according to current operation HTML The requirement of performing environment, build environment request of data.Transmitting element 410 can send environmental data request to storage device so that Storage device can ask to determine to ask with environmental data in the data that target HTML performing environments include according to environmental data Corresponding partial data.Then receiving unit 420 can receive storage device and send the part number that target HTML performing environments include According to.Internal storage 430 can loading section data.And processing unit 440 can be by being loaded into the part number of internal storage According to operational objective HTML performing environments.
For example, terminal device may include such as user's space file system(FUSE)Etc, can will be stored in service The file management system that file on device or external storage equipment is presented as local file to the processing unit of terminal device.It is logical Cross the local storage unit that the storage device being connected with terminal device can be virtually terminal device by file management system.File pipe Reason system may include above-mentioned request generation unit, with according to the operation of the processing unit of present terminal equipment and the operation of terminal device Data required for the HTML performing environments of system matches, build environment request of data and terminal device can ask environmental data Ask and be sent to storage device.Storage device can determine and environmental data request pair in the data that target HTML performing environments include The partial data answered, and to terminal device send determined by, with the corresponding partial data of environmental data request, without The total data of target HTML performing environments is sent to terminal device.So as to save the data volume for needing to transmit, reduce use The stand-by period at family.Then, the partial data that the file management system of terminal device can send storage device is as local number According to the processing unit presentation to terminal device, and store into the internal storage 430 of terminal device, so as to terminal device The HTML that processing unit 440 is matched by the partial data operation stored in internal storage with the operating system of terminal device is held Row environment.It is therefore not required to which the configuration for increasing terminal device comes, can also play completely on the terminal device for its operation system The advantage of the specific HTML performing environments of system, and when running the specific HTML performing environments on the terminal device, can have Imitate existing configuration of the ground by such as network connection unit, display unit etc of electronic equipment.
In the terminal device that the present embodiment provides, by being prestored in storage device for a HTML particular versions Multiple HTML performing environments, can need not increase while being locally configured of terminal device, on the terminal device operation with The html5 performing environments of the operating system matching of terminal device, and the html5 execution for the terminal device can be played completely The characteristic of environment, html5 performing environments security and flexibility are ensured.
As described above, terminal device 400 can will come from storage in real time according to the needs of its operational objective HTML performing environments In its internal storage of the partial data loading of the target HTML performing environments of equipment, in order to which processing unit is run.Also To say, after processing unit performs corresponding operation according to the partial data stored in internal storage, terminal device according to The needs of processing unit, internal storage can be rewritten by the new partial data of target HTML performing environments, to handle list Member continues to run with target HTML performing environments.Specifically, as described above, terminal device 400 may also include request generation unit.And And request generation unit can also perform in the partial data operational objective HTML of the internal storage by being loaded into terminal device After environment, the requirement of current operation HTML performing environments is updated, and according to the current operation HTML performing environments updated It is required that renewal environmental data request.So as to which terminal device can load its operational objective HTML performing environments institute from storage device in real time The data needed, rather than whole target HTML performing environments are loaded into terminal device.
According to the example of the present invention, this needs operation needs of the terminal device according to processing unit, in real time from storage Equipment obtains a part of data of target HTML performing environments.But in storage device of the storage device for setting in the server In the case of, user may be needed to wait longer time when network environment is bad.Furthermore, it is possible to terminal device be present in difference Moment needs to obtain the situation of the same partial data of target HTML performing environments, is to set in the server in storage device In the case of storage device, this results in the need for the data traffic for spending user more.
Therefore, according to another example of the present invention, can be preserved in terminal device every time from the part that storage device receives Number.Specifically, buffer storage and data determination unit may also include according to another example of the present invention, terminal device 400. Buffer storage can after the partial data operational objective HTML performing environments of the internal storage by being loaded into terminal device, By partial data storage into the buffer storage of terminal device.In addition, in the requirement of the current operation HTML performing environments of renewal Afterwards, data determination unit can determine that whether the indicated partial data of the environmental data request after renewal is stored in buffer-stored In device.When the indicated partial data of the environmental data request after renewal is stored in buffer storage, by environmental data The indicated partial data of request is directly loaded into internal storage from the buffer storage of terminal device, without from depositing Equipment is stored up to receive.And when the indicated partial data of the environmental data request after renewal is not stored in buffer storage, Ask generation unit just to send the environmental data after renewal to storage device to ask, and transmitting element is sent more to storage device New environmental data request so that storage device can be asked in target HTML performing environment bags according to the environmental data after renewal Determination and the corresponding partial data of environmental data request after renewal in the data contained, so as to reduce the data flow that needs transmit Amount, and improve the speed of service of target HTML performing environments.In addition, in order to protect the security of the personal data of user, Can be when user to close target HTML performing environments, deletion is stored in biography and rushes data in memory.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two.And software module can be put In any form of computer-readable storage medium.In order to clearly demonstrate the interchangeability of hardware and software, in the above description The composition and step of each example have been generally described according to function.These functions are come with hardware or software mode actually Perform, application-specific and design constraint depending on technical scheme.Those skilled in the art can specifically should to each For realizing described function using distinct methods, but this realization is it is not considered that beyond the scope of this invention.
It should be appreciated by those skilled in the art that can be dependent on design requirement and other factorses carries out various repair to the present invention Change, combine, partly combining and replacing, as long as they are in the range of appended claims and its equivalent.

Claims (20)

  1. A kind of 1. method of loading HTML performing environments, applied to storage device, wherein being prestored in the storage device For multiple HTML performing environments of a HTML particular versions, a pair of the multiple HTML performing environments and multiple operating systems 1 Should, methods described includes:
    When terminal device is connected to the storage device, the device descriptive information of the terminal device is obtained;
    The operating system according to used in the device descriptive information determines the terminal device;
    The determination target HTML corresponding with operating system used in the terminal device in the multiple HTML performing environments Performing environment;
    The partial data that the target HTML performing environments include is sent to the terminal device so that the terminal device is by institute State partial data to be loaded into the internal storage of the terminal device, to run the target HTML performing environments.
  2. 2. the method as described in claim 1, wherein described send the target HTML performing environment bags to the terminal device The partial data contained includes:
    Receive the environmental data request from the terminal device;
    Determined and the corresponding partial data of environmental data request in the data that the target HTML performing environments include;With And
    To the terminal device send determined by, with the corresponding partial data of environmental data request.
  3. 3. the method as described in claim 1, wherein
    The storage device is set in the server,
    In the server, prestore the first user mark and corresponding with the first user mark at least one set The first standby facility information, first facility information include the first of the first device identification and the operating system for indicating the equipment System information;
    It is described when terminal device is connected to the storage device, obtaining the device descriptive information of the terminal device includes:
    The log-on message from the terminal device is received when terminal device is connected to the storage device;
    The second device identification of second user mark and the terminal device is extracted from the log-on message;
    In the first facility information of first user mark and at least one equipment corresponding with the first user mark Middle determination targeted customer's mark corresponding with second user mark and second device identification and target device information;With And
    According to the target device information, the target device information of the terminal device is obtained as the device descriptive information.
  4. 4. method as claimed in claim 3, in addition to:
    The system update information that the terminal device is sent is received, to cause the server according to the system update information more The newly target device information corresponding with second device identification.
  5. 5. the method as described in claim 1, wherein
    The storage device is set in the server,
    It is described when terminal device is connected to the storage device, obtaining the device descriptive information of the terminal device includes:
    When terminal device is connected to the server, the device descriptive information sent from the terminal device is obtained.
  6. 6. the method as described in claim 1, wherein
    The storage device is external storage equipment,
    It is described when terminal device is connected to the storage device, obtaining the device descriptive information of the terminal device includes:
    When terminal device is connected to the storage device, the device descriptive information sent from the terminal device is obtained.
  7. 7. a kind of method of loading HTML performing environments, applied to terminal device, methods described includes:
    It is connected with storage device, wherein prestoring multiple HTML for a HTML particular versions in the storage device Performing environment, the multiple HTML performing environments correspond with multiple operating systems;
    The 3rd facility information is sent to the storage device, to enable the storage device according to the 3rd facility information Operating system used in the terminal device is determined, and determines to set with the terminal in the multiple HTML performing environments Target HTML performing environments corresponding to standby used operating system;
    Receive the storage device and send the partial data that the target HTML performing environments include;
    The partial data is loaded into the internal storage of the terminal device;And
    The target HTML performing environments are run by the partial data for the internal storage for being loaded into the terminal device.
  8. 8. method as claimed in claim 7, in addition to:
    According to the requirement of current operation HTML performing environments, environmental data request is sent to the storage device so that described to deposit Storing up equipment can ask to determine and the ring in the data that the target HTML performing environments include according to the environmental data The partial data corresponding to the request of data of border.
  9. 9. method as claimed in claim 8, in addition to:
    The target HTML, which is run, in the partial data of the internal storage by being loaded into the terminal device performs ring Behind border, the requirement of current operation HTML performing environments is updated;And
    The environmental data request is updated according to the requirement of the current operation HTML performing environments updated.
  10. 10. method as claimed in claim 9, in addition to:
    The target HTML, which is run, in the partial data of the internal storage by being loaded into the terminal device performs ring Behind border, by partial data storage into the buffer storage of the terminal device;
    It is determined that the environmental data after renewal asks whether indicated partial data is stored in the buffer storage;
    When the indicated partial data of the environmental data request after renewal is stored in the buffer storage, by institute The indicated partial data of environmental data request is stated to be loaded into the internal storage from the buffer storage;And
    When the indicated partial data of the environmental data request after renewal is not stored in the buffer storage, to The storage device sends the environmental data request after renewal so that the storage device can be according to the environment after the renewal Request of data determines corresponding with the environmental data request after the renewal in the data that the target HTML performing environments include Partial data.
  11. 11. a kind of storage device, including:
    Performing environment memory cell, configure to prestore multiple HTML performing environments for a HTML particular versions, it is described Multiple HTML performing environments correspond with multiple operating systems;
    Information acquisition unit, configure when the storage device is connected with terminal device, to obtain setting for the terminal device Standby description information;
    System determination unit, configuration is come operating system used in determining the terminal device according to the device descriptive information;
    Environment determining unit, configuration come determination and operation used in the terminal device in the multiple HTML performing environments Target HTML performing environments corresponding to system;
    Transmitting element, configure the partial data to be included to the terminal device transmission target HTML performing environments so that The partial data is loaded into the internal storage of the terminal device by the terminal device, to run the target HTML Performing environment.
  12. 12. storage device as claimed in claim 11, in addition to:
    Receiving unit, configure to receive the environmental data request from the terminal device;And
    Data determination unit, configure determined in the data that are included in the target HTML performing environments please with the environmental data Corresponding partial data is sought,
    The transmitting element to the terminal device send determined by, with the corresponding partial data of environmental data request.
  13. 13. storage device as claimed in claim 11, wherein the storage device is set in the server, the storage device Also include:
    User information storage unit, configuration come prestore the first user mark and it is corresponding extremely with the first user mark First facility information of few equipment, first facility information include the first device identification and indicate the operation system of the equipment The first system information of system;And
    Receiving unit, configure to receive the login letter from the terminal device when terminal device is connected to the storage device Breath,
    Wherein described information acquiring unit includes:
    Marker extraction module, configure and set to extract the second of second user mark and the terminal device from the log-on message Standby mark;
    Identify determining module, configuration come first user mark and it is corresponding at least one with the first user mark Determine that targeted customer corresponding with second user mark and second device identification marks in first facility information of equipment Knowledge and target device information;And
    Data obtaining module, the target device information that configuration, according to the target device information, to obtain the terminal device are made For the device descriptive information.
  14. 14. storage device as claimed in claim 13, wherein
    The receiving unit is further configured to receive the system update information that the terminal device is sent, to cause the server root According to the system update information updating target device information corresponding with second device identification.
  15. 15. storage device as claimed in claim 11, wherein the storage device is set in the server, the storage device Also include:
    Receiving unit, configure when terminal device is connected to the server, to receive the equipment sent from the terminal device Description information.
  16. 16. storage device as claimed in claim 11, wherein the storage device is external storage equipment, the storage device Also include:
    Receiving unit, configure and set when terminal device is connected to the storage device, to obtain from what the terminal device was sent Standby description information.
  17. 17. a kind of terminal device, including:
    Transmitting element, configure when the terminal device is connected with storage device, to send the 3rd to the storage device and set Standby information, to enable the storage device to be operated according to used in the 3rd facility information determines the terminal device System, and determination is corresponding with operating system used in the terminal device in the multiple HTML performing environments prestored Target HTML performing environments, wherein the multiple HTML prestored in the storage device for a HTML particular versions are held Row environment, the multiple HTML performing environments correspond with multiple operating systems;
    Receiving unit, configure to receive the partial data that the storage device sends the target HTML performing environments and included;
    Internal storage;Configure to load the partial data;And
    Processing unit, configure to run the target HTML execution by being loaded into the partial data of the internal storage Environment.
  18. 18. terminal device as claimed in claim 17, in addition to:
    Request generation unit, configure and come according to the current requirement for running HTML performing environments, build environment request of data,
    Wherein described transmitting element is further configured to send the environmental data request to the storage device so that the storage is set It is standby to be asked to determine and the environment number in the data that the target HTML performing environments include according to the environmental data According to the partial data corresponding to request.
  19. 19. terminal device as claimed in claim 18, wherein
    The request generation unit is also disposed at the partial data of the internal storage by being loaded into the terminal device After running the target HTML performing environments, the environment number is updated according to the requirement of the current operation HTML performing environments of renewal According to request.
  20. 20. terminal device as claimed in claim 19, in addition to:
    Buffer storage, configuration is come in the partial data of the internal storage by being loaded into terminal device operation institute After stating target HTML performing environments, the partial data is stored;And
    Data determination unit, configure to determine whether the indicated partial data of the environmental data request after renewal is stored In said buffer memory,
    Wherein when the indicated partial data of the environmental data request after renewal is stored in the buffer storage, The indicated partial data of environmental data request is loaded into the internal storage from the buffer storage,
    When the indicated partial data of the environmental data request after renewal is not stored in the buffer storage, institute The environmental data request of request generation unit generation renewal is stated, and the transmitting element sends renewal to the storage device Environmental data is asked so that the storage device can be asked in the target HTML performing environments according to the environmental data of renewal Comprising data in determine with renewal the corresponding partial data of environmental data request.
CN201310086533.1A 2013-03-18 2013-03-18 Load method, storage device and the terminal device of HTML performing environments Active CN104063233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310086533.1A CN104063233B (en) 2013-03-18 2013-03-18 Load method, storage device and the terminal device of HTML performing environments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310086533.1A CN104063233B (en) 2013-03-18 2013-03-18 Load method, storage device and the terminal device of HTML performing environments

Publications (2)

Publication Number Publication Date
CN104063233A CN104063233A (en) 2014-09-24
CN104063233B true CN104063233B (en) 2017-12-29

Family

ID=51550957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310086533.1A Active CN104063233B (en) 2013-03-18 2013-03-18 Load method, storage device and the terminal device of HTML performing environments

Country Status (1)

Country Link
CN (1) CN104063233B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905274A (en) * 2021-05-06 2021-06-04 鹏城实验室 Data analysis method and device, terminal equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1504880A (en) * 2002-11-29 2004-06-16 联想(北京)有限公司 Operating system automatically installing method applying Linux
CN101630251A (en) * 2009-08-05 2010-01-20 中国船舶重工集团公司第七○九研究所 Graphical interfaces development method and system of cross-desktop and embedded system
US7681134B1 (en) * 2006-04-25 2010-03-16 Parallels Software International, Inc. Seamless integration and installation of non-host application into native operating system
CN102184101A (en) * 2011-04-27 2011-09-14 赵悦 Software application frame and development system thereof for smartphones
CN102497420A (en) * 2011-12-12 2012-06-13 中国电信股份有限公司 Content adaptation method and server
CN102591671A (en) * 2011-01-14 2012-07-18 鸿富锦精密工业(深圳)有限公司 Method for starting application program in virtual environment
CN102662616A (en) * 2012-03-28 2012-09-12 北京邮电大学 Screen graphics self-adaption method and system used for mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1504880A (en) * 2002-11-29 2004-06-16 联想(北京)有限公司 Operating system automatically installing method applying Linux
US7681134B1 (en) * 2006-04-25 2010-03-16 Parallels Software International, Inc. Seamless integration and installation of non-host application into native operating system
CN101630251A (en) * 2009-08-05 2010-01-20 中国船舶重工集团公司第七○九研究所 Graphical interfaces development method and system of cross-desktop and embedded system
CN102591671A (en) * 2011-01-14 2012-07-18 鸿富锦精密工业(深圳)有限公司 Method for starting application program in virtual environment
CN102184101A (en) * 2011-04-27 2011-09-14 赵悦 Software application frame and development system thereof for smartphones
CN102497420A (en) * 2011-12-12 2012-06-13 中国电信股份有限公司 Content adaptation method and server
CN102662616A (en) * 2012-03-28 2012-09-12 北京邮电大学 Screen graphics self-adaption method and system used for mobile terminal

Also Published As

Publication number Publication date
CN104063233A (en) 2014-09-24

Similar Documents

Publication Publication Date Title
US9122380B2 (en) Updating assets rendered in a virtual world environment based on detected user interactions in another world
US10127294B2 (en) Idempotency of application state data
CN104380278B (en) Equipment, system and method for client-side management session continuity
CN104902019B (en) Application promotion method, server and terminal
KR101247859B1 (en) Dynamic content preference and behavior sharing between computing devices
CN106330788B (en) Message fragment transmission method and device
EP2939200B1 (en) Method and apparatus for secure advertising
CN107391626A (en) Land the creation method and device of page
CN105160027B (en) Advertising data processing method and device
CN106471543A (en) The user mutual association of the multiple applications on client device
CN105205072B (en) The methods of exhibiting and system of webpage information
CN107786601A (en) A kind of information processing method, terminal and server
CN105871695A (en) Emoji sending method and device
CN105095220B (en) A kind of browser implementation method, terminal and virtualization agent device
CN104079598B (en) A kind of method and apparatus for realizing webpage collaborative browse
CN107800776A (en) A kind of document handling method, terminal, server and computer-readable medium
CN106484738A (en) A kind of page processing method and device
CN108400929A (en) Data processing method, device, computing device and medium
CN106682014B (en) Game display data generation method and device
CN103078782A (en) Friend note recommendation note implementation method and system
CN108737487B (en) Data synchronization method and device, storage medium and electronic device
CN107257358A (en) A kind of information-pushing method, terminal and server
CN104038518B (en) information processing method, server and terminal device
CN104063233B (en) Load method, storage device and the terminal device of HTML performing environments
CN107133245A (en) Presence information management system, method and electronic equipment

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