CN104063233A - Method for loading HTML (hypertext markup language) execution environments, storage device and terminal device - Google Patents

Method for loading HTML (hypertext markup language) execution environments, storage device and terminal device Download PDF

Info

Publication number
CN104063233A
CN104063233A CN201310086533.1A CN201310086533A CN104063233A CN 104063233 A CN104063233 A CN 104063233A CN 201310086533 A CN201310086533 A CN 201310086533A CN 104063233 A CN104063233 A CN 104063233A
Authority
CN
China
Prior art keywords
terminal
memory
execution environment
html
information
Prior art date
Application number
CN201310086533.1A
Other languages
Chinese (zh)
Other versions
CN104063233B (en
Inventor
冯荣峰
徐晶
Original Assignee
联想(北京)有限公司
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 联想(北京)有限公司 filed Critical 联想(北京)有限公司
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

Links

Abstract

An embodiment of the invention provides a method applied in a storage device for loading HTML (hypertext markup language) execution environments, a method applied in a terminal device for loading HTML execution environments, the corresponding storage device and the corresponding terminal device. According to one embodiment of the invention, the method for loading the HTML execution environments is applied to the storage device, wherein a plurality of HTML execution environments for an HTML specific edition are prestored in the storage device and are in one-to-one correspondence to a plurality of operating systems. The method comprises steps as follows: when the terminal device is connected to the storage device, device description information of the terminal device is acquired; an operating system used by the terminal device is determined according to the description information; a target HTML execution environment corresponding to the operating system used by the terminal device is determined in the plurality of HTML execution environments; and part of data contained in the target HTML execution environment are sent to the terminal device, so that the terminal device loads part of data into an internal storage of the terminal device, and the target HTML execution environment is operated.

Description

Load method, memory device and the terminal device of HTML execution environment

Technical field

The present invention relates to a kind of method of the loading HTML execution environment that is applied to memory device and a kind of method of the loading HTML execution environment that is applied to terminal device, and corresponding memory device and terminal device.

Background technology

Along with the development of technology, for example, the terminal electronic equipment of desk-top computer, notebook, tablet computer, smart mobile phone and portable media player and so on is widely used.These equipment can be connected with network conventionally, make user's browsing page easily.On the other hand, in order to meet user's needs, HTML(Hypertext Markup Language) standard is also constantly updated.In recent years, the fast development of HTML5 correlation technique, and become the topmost structure standard in website.

Along with increasing business (such as paying, managing money matters) carrying needs HTML5 execution environment, require also more and more higher to the safety of HTML5 execution environment itself and customization.User needs real carry-on one's own reliable HTML5 running environment.But browser in a lot of existing electronic equipments is not the browser of HTML5 running environment.

For this reason, propose cloud desktop pattern, that is, on the Cloud Server being connected with electronic equipment, moved HTML5 execution environment, and the execution result of Cloud Server is sent to electronic equipment.But in this case, the characteristic of HTML5 is subject to the local operation system of electronic equipment end and the serious restriction of local browser.

Summary of the invention

The object of the embodiment of the present invention is to provide a kind of methods and applications of the HTML of loading execution environment in the method for the loading HTML of terminal device execution environment, and corresponding memory device and terminal device, to address the above problem.

One embodiment of the present of invention provide a kind of method of the HTML of loading execution environment, be applied to memory device, wherein pre-stored multiple HTML execution environments for a HTML particular version in memory device, multiple HTML execution environments are corresponding one by one with multiple operating system.Described method comprises: in the time that terminal device is connected to memory device, obtain the device descriptive information of terminal device; Determine according to device descriptive information the operating system that terminal device uses; In multiple HTML execution environments, determine target HTML execution environment corresponding to operating system using with terminal device; Send to terminal device the partial data that target HTML execution environment comprises, terminal device is loaded into partial data in the internal storage of terminal device, with operational objective HTML execution environment.

Another embodiment of the present invention provides a kind of method of the HTML of loading execution environment, is applied to terminal device.Described method comprises: is connected with memory device, and wherein pre-stored multiple HTML execution environments for a HTML particular version in memory device, multiple HTML execution environments are corresponding one by one with multiple operating system; Send the 3rd facility information to memory device, to make memory device to determine the operating system that terminal device is used according to the 3rd facility information, and in multiple HTML execution environments, determine target HTML execution environment corresponding to operating system using with terminal device; Receive memory device and send the partial data that target HTML execution environment comprises; Partial data is loaded in the internal storage of terminal device; And by being loaded into the partial data operational objective HTML execution environment of internal storage of terminal device.

Another embodiment of the present invention provides a kind of memory device, comprising: execution environment storage unit, and configuration carrys out pre-stored multiple HTML execution environments for a HTML particular version, and multiple HTML execution environments are corresponding one by one with multiple operating system; Information acquisition unit, configuration is worked as described memory device while being connected with terminal device, obtains the device descriptive information of described terminal device; System determining unit, configuration determines according to device descriptive information the operating system that terminal device uses; Environment determining unit, target HTML execution environment corresponding to operating system using with terminal device determined in configuration in multiple HTML execution environments; Transmitting element, configuration sends to terminal device the partial data that target HTML execution environment comprises, and terminal device is loaded into partial data in the internal storage of terminal device, with operational objective HTML execution environment.

Another embodiment of the present invention provides a kind of terminal device, comprise: transmitting element, configuration is worked as terminal device while being connected with memory device, send the 3rd facility information to memory device, can determine the operating system that terminal device is used according to the 3rd facility information to make memory device, and in pre-stored multiple HTML execution environments, determine target HTML execution environment corresponding to operating system using with terminal device, wherein pre-stored multiple HTML execution environments for a HTML particular version in memory device, multiple HTML execution environments are corresponding one by one with multiple operating system, receiving element, configuration receives memory device and sends the partial data that target HTML execution environment comprises, internal storage, configuration carrys out loading section data, and processing unit, configuration is by being loaded into the partial data operational objective HTML execution environment of internal storage.

The scheme providing by the invention described above embodiment, by pre-stored multiple HTML execution environments for a HTML particular version in memory device, can be in not needing to increase this locality configuration of terminal device, the html5 execution environment that operation is mated with the operating system of terminal device on terminal device, and can bring into play the characteristic for the html5 execution environment of this terminal device completely, ensure the security of html5 execution environment and dirigibility.

Brief description of the drawings

In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, will the accompanying drawing of required use in the description of embodiment be briefly described below.Accompanying drawing in the following describes is only exemplary embodiment of the present invention.

Fig. 1 has described the process flow diagram that loads according to an embodiment of the invention the method for HTML execution environment.

Fig. 2 has described the process flow diagram that loads according to another embodiment of the present invention the method for HTML execution environment.

Fig. 3 is the demonstrative structure block diagram illustrating according to the memory device of the embodiment of the present invention.

Fig. 4 is the demonstrative structure block diagram illustrating according to the terminal device of the embodiment of the present invention.

Embodiment

Hereinafter, describe the preferred embodiments of the present invention in detail with reference to accompanying drawing.Note, in this instructions and accompanying drawing, there is substantially the same step and represent with the identical Reference numeral of element, and will be omitted the repetition of explanation of these steps and element.

In following examples of the present invention, the concrete form of terminal device comprises but does not limit desk-top computer, notebook, tablet computer, smart mobile phone, portable media player and game machine etc.

Fig. 1 is the process flow diagram of having described the method 100 that loads according to an embodiment of the invention HTML execution environment.With reference to Fig. 1, the method that loads according to an embodiment of the invention HTML execution environment is described below.The method 100 that loads HTML execution environment can be used for memory device.In an embodiment according to the present invention, pre-stored multiple HTML execution environments for a HTML particular version in memory device, multiple HTML execution environments are corresponding one by one with multiple operating system.HTML particular version can be the normally used HTML version in website, for example HTML5.In addition, can the pre-stored HTML execution environment for the conventional system of electronic equipment.For example, can the pre-stored HTML5 execution environment for Android2.3 operation system, for the HTML5 execution environment of Android4.0 operation system, for the HTML5 execution environment of Android4.1 operation system, for HTML5 execution environment of Windows Phone8 operation system etc.

As shown in Figure 1, in step S101, in the time that terminal device is connected to memory device, obtain the device descriptive information of terminal device.Then in step S102, determine according to device descriptive information the operating system that terminal device uses.

According to an example of the present invention, the memory device of application process 100 can be arranged in server.In server, can be pre-stored the first facility information of first user mark and at least one equipment corresponding with first user mark.Particularly, the first facility information can comprise the first system information of the operating system of the first device identification and this equipment of instruction.In step S101, in the time that terminal device is connected to memory device, receive the log-on message from terminal device, and from log-on message, extract the second device identification of the second user ID and terminal device, then in the first facility information of first user mark and at least one equipment corresponding with first user mark, determine with the second user ID and targeted customer corresponding to the second device identification and identify and target device information, and according to target device information, obtain the target device information of terminal device as device descriptive information.Then, in step S102, equipment descriptor, the operating system (operating system that, terminal device uses) that (, target device information) is indicated.

For example, in server, can pre-stored user ID A and the first facility information of device A 1, A2 and the A3 corresponding with user ID A, the first facility information of user ID B and equipment B 1, B2 and the B3 corresponding with first user mark B, user ID C and equipment C1, the C2 corresponding with user ID C and the first facility information of C3, wherein pre-stored user ID A, B and C are first user mark.When the second user ID of extracting from the log-on message receiving in step S101 is user ID B, and when the second device identification of terminal device is B1, in the first facility information of first user mark and at least one equipment corresponding with first user mark, determine to identify with the second user ID and first user corresponding to the second device identification that B targeted customer identifies and using the first facility information of equipment B 1 as target device information.

In addition, preferably, the method shown in Fig. 1 also can comprise the system update information that receiving terminal apparatus sends, to make the target device information that server is corresponding with the second device identification according to system update information updating.

In addition,, according to another example of the present invention, the memory device of application process 100 can be arranged in server.In step S101, in the time that terminal device is connected to server, obtain the device descriptive information sending from terminal device.

In addition,, according to another example of the present invention, the memory device of application process 100 can be for example external storage equipment of USB memory device and so on.In step S101, in the time that terminal device is connected to memory device, obtain the device descriptive information sending from terminal device.

Next,, in step S103, in multiple HTML execution environments, determine target HTML execution environment corresponding to operating system using with terminal device.Then in step S104, send to terminal device the partial data that target HTML execution environment comprises, terminal device is loaded into partial data in the internal storage of terminal device, with operational objective HTML execution environment.

According to an example of the present invention, in step S104, can receive the environmental data request from terminal device, to determine the partial data corresponding with environmental data request in the data that comprise at target HTML execution environment, and send determined, corresponding with environmental data request partial data to terminal device.On the other hand, terminal device can comprise for example user's space file system (FUSE) and so on, can be using the file management system that is stored in file on server or the external storage equipment processing unit as local file to terminal device and presents.By file management system can by virtual the memory device of application process 100 be the local storage unit of terminal device.File management system can be moved the needed data of HTML execution environment of mating with the operating system of terminal device according to the processing unit of current terminal device, and build environment request of data and terminal device can send to memory device by environmental data request.

Memory device can be determined the partial data corresponding with environmental data request in the data that target HTML execution environment comprises, and send determined, corresponding with environmental data request partial data to terminal device, and do not need to send to terminal device the total data of target HTML execution environment.Thereby save the data volume that needs transmission, reduced user's stand-by period.

Then the processing unit of the partial data that the file management system of terminal device can send memory device as local data to terminal device presents, and store in the internal storage of terminal device, so that the processing unit of terminal device moves by the partial data of storing in internal storage the HTML execution environment mating with the operating system of terminal device.Thereby, do not need the configuration that increases terminal device, also can on terminal device, bring into play the advantage for the specific HTML execution environment of its operating system completely, and move this specific HTML execution environment on terminal device time, can be effectively by the existing configuration of for example network connection unit of electronic equipment, display unit and so on.

In the method for the loading HTML execution environment providing at the present embodiment, by pre-stored multiple HTML execution environments for a HTML particular version in memory device, can be in not needing to increase this locality configuration of terminal device, the html5 execution environment that operation is mated with the operating system of terminal device on terminal device, and can bring into play the characteristic for the html5 execution environment of this terminal device completely, ensure the security of html5 execution environment and dirigibility.

Fig. 2 is the process flow diagram of having described the method 200 that loads according to another embodiment of the present invention HTML execution environment.The method of the loading HTML execution environment of another embodiment according to the present invention is described with reference to Fig. 2 below.The method 200 that loads HTML execution environment can be used for terminal device.

As shown in Figure 2, in step S201, be connected with memory device.In an embodiment according to the present invention, pre-stored multiple HTML execution environments for a HTML particular version in memory device, multiple HTML execution environments are corresponding one by one with multiple operating system.HTML particular version can be the normally used HTML version in website, for example HTML5.In addition, can the pre-stored HTML execution environment for the conventional system of electronic equipment.For example, can the pre-stored HTML5 execution environment for Android2.3 operation system, for the HTML5 execution environment of Android4.0 operation system, for the HTML5 execution environment of Android4.1 operation system, for HTML5 execution environment of Windows Phone8 operation system etc.

In step S202, send the 3rd facility information to memory device, to make memory device to determine the operating system that terminal device is used according to the 3rd facility information, and in multiple HTML execution environments, determine target HTML execution environment corresponding to operating system using with terminal device.

According to an example of the present invention, memory device can be arranged in server.In server, can be pre-stored the first facility information of first user mark and at least one equipment corresponding with first user mark.Particularly, the first facility information can comprise the first system information of the operating system of the first device identification and this equipment of instruction.The 3rd facility information sending to memory device in step S202 can comprise the log-on message of user on terminal device, and log-on message can comprise the second device identification of the second user ID and terminal device.Memory device can be determined with the second user ID and targeted customer corresponding to the second device identification and identifies and target device information in the first facility information of first user mark and at least one equipment corresponding with first user mark, and according to target device information, obtain the target device information of terminal device as device descriptive information.Then, memory device can equipment descriptor, the operating system (operating system that, terminal device uses) that (, target device information) is indicated.

For example, in server, can pre-stored user ID A and the first facility information of device A 1, A2 and the A3 corresponding with user ID A, the first facility information of user ID B and equipment B 1, B2 and the B3 corresponding with first user mark B, user ID C and equipment C1, the C2 corresponding with user ID C and the first facility information of C3, wherein pre-stored user ID A, B and C are first user mark.When sending while comprising as the user ID B of the second user ID and the 3rd facility information of the second device identification B1 to memory device at step S202 terminal device, memory device can be determined and identifies with the second user ID and first user corresponding to the second device identification that B targeted customer identifies and using the first facility information of equipment B 1 as target device information in the first facility information of first user mark and at least one equipment corresponding with first user mark.

In addition, preferably, the method shown in Fig. 2 also can comprise to memory device transmitting system lastest imformation, to make the target device information that memory device is corresponding with the second device identification according to system update information updating.

In addition,, according to another example of the present invention, the 3rd facility information can comprise the system information of the operating system that terminal device uses.Thereby memory device can directly determine according to the 3rd facility information the operating system that terminal device uses, and and then multiple HTML execution environments of storage therein in determine target HTML execution environment corresponding to operating system that use with terminal device.

Then,, in step S203, receive memory device and send the partial data that target HTML execution environment comprises.According to an example of the present invention, method described in Fig. 2 also can comprise according to the requirement of current operation HTML execution environment, send environmental data request to memory device, in the data that memory device can be comprised at target HTML execution environment according to environmental data request, determine the partial data corresponding with environmental data request.Then in step S203, receive the determined partial data of memory device from memory device.In step S204, partial data is loaded in the internal storage of terminal device, then by being loaded into the partial data operational objective HTML execution environment of internal storage of terminal device.

For example, terminal device can comprise for example user's space file system (FUSE) and so on, can be using the file management system that is stored in file on server or the external storage equipment processing unit as local file to terminal device and presents.Can be by virtual the memory device being connected with the terminal device local storage unit for terminal device by file management system.In step S203, file management system can be moved the needed data of HTML execution environment of mating with the operating system of terminal device according to the processing unit of current terminal device, and build environment request of data and terminal device can send to memory device by environmental data request.Memory device can be determined the partial data corresponding with environmental data request in the data that target HTML execution environment comprises, and send determined, corresponding with environmental data request partial data to terminal device, and do not need to send to terminal device the total data of target HTML execution environment.Thereby save the data volume that needs transmission, reduced user's stand-by period.Then in step S204, the processing unit of the partial data that the file management system of terminal device can send memory device as local data to terminal device presents, and store in the internal storage of terminal device, so that the processing unit of terminal device moves by the partial data of storing in internal storage the HTML execution environment mating with the operating system of terminal device.Thereby, do not need the configuration that increases terminal device, also can on terminal device, bring into play the advantage for the specific HTML execution environment of its operating system completely, and move this specific HTML execution environment on terminal device time, can be effectively by the existing configuration of for example network connection unit of electronic equipment, display unit and so on.

In the method for the loading HTML execution environment providing at the present embodiment, by pre-stored multiple HTML execution environments for a HTML particular version in memory device, can be in not needing to increase this locality configuration of terminal device, the html5 execution environment that operation is mated with the operating system of terminal device on terminal device, and can bring into play the characteristic for the html5 execution environment of this terminal device completely, ensure the security of html5 execution environment and dirigibility.

As mentioned above, by the method 200 shown in Fig. 2, described terminal device can be according to the needs of its operational objective HTML execution environment, in its internal storage in real time partial data of the target HTML execution environment from memory device being loaded, so that processing unit operation.That is to say, when processing unit has been carried out after corresponding operation according to the partial data of storing in internal storage, terminal device is according to the needs of processing unit, can rewrite internal storage by the new partial data of target HTML execution environment, so that processing unit continues operational objective HTML execution environment.Particularly, method in Fig. 2 also can be included in after the partial data operational objective HTML execution environment of the internal storage by being loaded into terminal device, upgrade the requirement of current operation HTML execution environment, and upgrade environmental data request according to the requirement of upgraded current operation HTML execution environment.Thereby terminal device can load the needed data of its operational objective HTML execution environment from memory device in real time, instead of whole target HTML execution environment is loaded in terminal device.

According to an example of the present invention, this needs terminal device according to the operation needs of processing unit, obtains in real time a part of data of target HTML execution environment from memory device.But be the memory device being arranged in server at memory device, when network environment is bad, may need user to wait for the longer time.In addition, may exist terminal device in the situation that does not need in the same time the same partial data that obtains target HTML execution environment, be the memory device being arranged in server at memory device, and this causes spending the more data traffic of user.

For this reason, according to another example of the present invention, can in terminal device, preserve the part number at every turn receiving from memory device.Particularly, according to another example of the present invention, the method described in Fig. 2 also can be included in after the partial data operational objective HTML execution environment of the internal storage by being loaded into terminal device, partial data is stored in the memory buffer of terminal device.In addition,, upgrading after the requirement of current operation HTML execution environment, can determine whether the indicated partial data of environmental data request after renewal is stored in memory buffer.When the indicated partial data of environmental data request after upgrading is stored in memory buffer, partial data indicated environmental data request is directly loaded into internal storage from the memory buffer of terminal device, and need to receive from memory device.And in the time that the indicated partial data of environmental data request after renewal is not stored in memory buffer, just send the environmental data request after upgrading to memory device, make the memory device can be according to determining the partial data corresponding with environmental data request after renewal in the environmental data request data that comprise at target HTML execution environment after upgrading, need the data traffic of transmission thereby reduced, and improved the travelling speed of target HTML execution environment.In addition,, while closing target HTML execution environment in order to protect user's the security of personal data, can to work as user, delete to be kept to pass and rushes data in storer.

The memory device of embodiments of the invention is described with reference to Fig. 3 below.Fig. 3 is the demonstrative structure block diagram illustrating according to the memory device 300 of the embodiment of the present invention.As shown in Figure 3, the memory device 300 of the present embodiment comprises execution environment storage unit 310, information acquisition unit 320, system determining unit 330, environment determining unit 340 and transmitting element 350.The modules of memory device 300 is carried out each step/function of the display packing in above-mentioned Fig. 1, therefore, succinct in order to describe, and no longer specifically describes.

For example, execution environment storage unit can pre-stored multiple HTML execution environments for a HTML particular version, and multiple HTML execution environments are corresponding one by one with multiple operating system.HTML particular version can be the normally used HTML version in website, for example HTML5.In addition, can the pre-stored HTML execution environment for the conventional system of electronic equipment.For example, can the pre-stored HTML5 execution environment for Android2.3 operation system, for the HTML5 execution environment of Android4.0 operation system, for the HTML5 execution environment of Android4.1 operation system, for HTML5 execution environment of Windows Phone8 operation system etc.

In the time that terminal device is connected to memory device, information acquisition unit 320 obtains the device descriptive information of terminal device.Then system determining unit 330 can be determined the operating system that terminal device uses according to device descriptive information.

According to an example of the present invention, memory device 300 can be arranged in server.And memory device 300 also comprises user information storage unit and receiving element.User information storage unit can be pre-stored the first facility information of first user mark and at least one equipment corresponding with first user mark.Particularly, the first facility information can comprise the first system information of the operating system of the first device identification and this equipment of instruction.In the time that terminal device is connected to memory device, receiving element can receive the log-on message from terminal device.

Information acquisition unit 320 can comprise marker extraction module, mark determination module and acquisition of information module.Marker extraction module can be extracted the second device identification of the second user ID and terminal device from log-on message.Then, mark determination module can be determined with the second user ID and targeted customer corresponding to the second device identification and identifies and target device information in the first facility information of first user mark and at least one equipment corresponding with first user mark, and acquisition of information module can be according to target device information, obtain the target device information of terminal device as device descriptive information.Then, system determining unit 330 can equipment descriptor, the operating system (operating system that, terminal device uses) that (, target device information) is indicated.

For example, in user information storage unit, can pre-stored user ID A and the first facility information of device A 1, A2 and the A3 corresponding with user ID A, the first facility information of user ID B and equipment B 1, B2 and the B3 corresponding with first user mark B, user ID C and equipment C1, the C2 corresponding with user ID C and the first facility information of C3, wherein pre-stored user ID A, B and C are first user mark.When the second user ID of extracting the log-on message that marker extraction module receives from receiving element is user ID B, and when the second device identification of terminal device is B1, mark determination module determines that in the first facility information of first user mark and at least one equipment corresponding with first user mark identifying B targeted customer with the second user ID and first user corresponding to the second device identification identifies, and acquisition of information module is using the first facility information of equipment B 1 as target device information.

In addition, receiving element also configures the system update information that receiving terminal apparatus sends, and to make 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.Preferably, can to be rewritable storage unit in order to facilitate user's lastest imformation user information storage unit, and can to set up separately memory module for each user, and to distort in order preventing, so that the public use of all users, execution environment storage unit can be read-only memory unit.

In addition,, according to another example of the present invention, memory device 300 can be arranged in server.And memory device 300 can comprise receiving element.In the time that terminal device is connected to server, receiving element can be directly from terminal device receiving equipment descriptor.

In addition,, according to another example of the present invention, memory device 300 can be external storage equipment.And memory device 300 can comprise receiving element.In the time that terminal device is connected to server, receiving element can be directly from terminal device receiving equipment descriptor.

Next, environment determining unit 340 can be determined target HTML execution environment corresponding to operating system using with terminal device in multiple HTML execution environments.Then transmitting element 350 can send the partial data that target HTML execution environment comprises to terminal device, terminal device is loaded into partial data in the internal storage of terminal device, with operational objective HTML execution environment.

According to an example of the present invention, memory device 300 also can comprise receiving element and data determining unit.Receiving element can receive the environmental data request from terminal device.Data determining unit can be determined the partial data corresponding with environmental data request in the data that target HTML execution environment comprises, and transmitting element 350 can send determined, corresponding with environmental data request partial data to terminal device.On the other hand, terminal device can comprise for example user's space file system (FUSE) and so on, can be using the file management system that is stored in file on server or the external storage equipment processing unit as local file to terminal device and presents.By file management system can by virtual memory device 300 be the local storage unit of terminal device.File management system can be moved the needed data of HTML execution environment of mating with the operating system of terminal device according to the processing unit of current terminal device, and build environment request of data and terminal device can send to memory device by environmental data request.

Data determining unit can be determined the partial data corresponding with environmental data request in the data that target HTML execution environment comprises, and transmitting element 350 can send determined, corresponding with environmental data request partial data to terminal device, and do not need to the total data of terminal device transmission target HTML execution environment.Thereby save the data volume that needs transmission, reduced user's stand-by period.

Then the processing unit of the partial data that the file management system of terminal device can send memory device as local data to terminal device presents, and store in the internal storage of terminal device, so that the processing unit of terminal device moves by the partial data of storing in internal storage the HTML execution environment mating with the operating system of terminal device.Thereby, do not need the configuration that increases terminal device, also can on terminal device, bring into play the advantage for the specific HTML execution environment of its operating system completely, and move this specific HTML execution environment on terminal device time, can be effectively by the existing configuration of for example network connection unit of electronic equipment, display unit and so on.

In the memory device providing at the present embodiment, by pre-stored multiple HTML execution environments for a HTML particular version in memory device, can be in not needing to increase this locality configuration of terminal device, the html5 execution environment that operation is mated with the operating system of terminal device on terminal device, and can bring into play the characteristic for the html5 execution environment of this terminal device completely, ensure the security of html5 execution environment and dirigibility.

The terminal device of embodiments of the invention is described with reference to Fig. 4 below.Fig. 4 is the demonstrative structure block diagram illustrating according to the terminal device 400 of the embodiment of the present invention.As shown in Figure 4, the terminal device 400 of the present embodiment comprises transmitting element 410, receiving element 420, internal storage 430 and processing unit 440.The modules of terminal device 400 is carried out each step/function of the display packing in above-mentioned Fig. 2, therefore, succinct in order to describe, and no longer specifically describes.

In the time that described terminal device is connected with memory device, transmitting element 410 can send the 3rd facility information to memory device, to make memory device to determine the operating system that terminal device is used according to the 3rd facility information, and in pre-stored multiple HTML execution environments, determine target HTML execution environment corresponding to operating system using with terminal device.In an embodiment according to the present invention, pre-stored multiple HTML execution environments for a HTML particular version in memory device, multiple HTML execution environments are corresponding one by one with multiple operating system.HTML particular version can be the normally used HTML version in website, for example HTML5.In addition, can the pre-stored HTML execution environment for the conventional system of electronic equipment.For example, can the pre-stored HTML5 execution environment for Android2.3 operation system, for the HTML5 execution environment of Android4.0 operation system, for the HTML5 execution environment of Android4.1 operation system, for HTML5 execution environment of Windows Phone8 operation system etc.

According to an example of the present invention, memory device can be arranged in server.In server, can be pre-stored the first facility information of first user mark and at least one equipment corresponding with first user mark.Particularly, the first facility information can comprise the first system information of the operating system of the first device identification and this equipment of instruction.The 3rd facility information that transmitting element 410 can send to memory device can comprise the log-on message of user on terminal device, and log-on message can comprise the second device identification of the second user ID and terminal device.Memory device can be determined with the second user ID and targeted customer corresponding to the second device identification and identifies and target device information in the first facility information of first user mark and at least one equipment corresponding with first user mark, and according to target device information, obtain the target device information of terminal device as device descriptive information.Then, memory device can equipment descriptor, the operating system (operating system that, terminal device uses) that (, target device information) is indicated.

For example, in server, can pre-stored user ID A and the first facility information of device A 1, A2 and the A3 corresponding with user ID A, the first facility information of user ID B and equipment B 1, B2 and the B3 corresponding with first user mark B, user ID C and equipment C1, the C2 corresponding with user ID C and the first facility information of C3, wherein pre-stored user ID A, B and C are first user mark.Transmitting element 410 sends while comprising as the user ID B of the second user ID and the 3rd facility information of the second device identification B1 to memory device, and memory device can be determined and identifies with the second user ID and first user corresponding to the second device identification that B targeted customer identifies and using the first facility information of equipment B 1 as target device information in the first facility information of first user mark and at least one equipment corresponding with first user mark.

In addition, preferably, transmitting element 410 also can be to memory device transmitting system lastest imformation, to make the target device information that memory device is corresponding with the second device identification according to system update information updating.

In addition,, according to another example of the present invention, the 3rd facility information can comprise the system information of the operating system that terminal device uses.Thereby memory device can directly determine according to the 3rd facility information the operating system that terminal device uses, and and then multiple HTML execution environments of storage therein in determine target HTML execution environment corresponding to operating system that use with terminal device.

Then, receiving element 420 can receive memory device and send the partial data that target HTML execution environment comprises.According to an example of the present invention, terminal device also can comprise request generation unit.Request generation unit can be according to the requirement of current operation HTML execution environment, build environment request of data.Transmitting element 410 can send environmental data request to memory device, in the data that memory device can be comprised at target HTML execution environment according to environmental data request, determines the partial data corresponding with environmental data request.Then receiving element 420 can receive memory device and send the partial data that target HTML execution environment comprises.Internal storage 430 can loading section data.And processing unit 440 can be by being loaded into the partial data operational objective HTML execution environment of internal storage.

For example, terminal device can comprise for example user's space file system (FUSE) and so on, can be using the file management system that is stored in file on server or the external storage equipment processing unit as local file to terminal device and presents.Can be by virtual the memory device being connected with the terminal device local storage unit for terminal device by file management system.File management system can comprise above-mentioned request generation unit, to move the needed data of HTML execution environment of mating with the operating system of terminal device according to the processing unit of current terminal device, build environment request of data and terminal device can send to memory device by environmental data request.Memory device can be determined the partial data corresponding with environmental data request in the data that target HTML execution environment comprises, and send determined, corresponding with environmental data request partial data to terminal device, and do not need to send to terminal device the total data of target HTML execution environment.Thereby save the data volume that needs transmission, reduced user's stand-by period.Then, the processing unit of the partial data that the file management system of terminal device can send memory device as local data to terminal device presents, and store in the internal storage 430 of terminal device, so that the processing unit of terminal device 440 moves by the partial data of storing in internal storage the HTML execution environment mating with the operating system of terminal device.Thereby, do not need the configuration that increases terminal device, also can on terminal device, bring into play the advantage for the specific HTML execution environment of its operating system completely, and move this specific HTML execution environment on terminal device time, can be effectively by the existing configuration of for example network connection unit of electronic equipment, display unit and so on.

In the terminal device providing at the present embodiment, by pre-stored multiple HTML execution environments for a HTML particular version in memory device, can be in not needing to increase this locality configuration of terminal device, the html5 execution environment that operation is mated with the operating system of terminal device on terminal device, and can bring into play the characteristic for the html5 execution environment of this terminal device completely, ensure the security of html5 execution environment and dirigibility.

As mentioned above, terminal device 400 can be according to the needs of its operational objective HTML execution environment, in its internal storage in real time partial data of the target HTML execution environment from memory device being loaded, so that processing unit operation.That is to say, when processing unit has been carried out after corresponding operation according to the partial data of storing in internal storage, terminal device is according to the needs of processing unit, can rewrite internal storage by the new partial data of target HTML execution environment, so that processing unit continues operational objective HTML execution environment.Particularly, as mentioned above, terminal device 400 also can comprise request generation unit.And request generation unit also can be after the partial data operational objective HTML of the internal storage by being loaded into terminal device execution environment, upgrade the requirement of current operation HTML execution environment, and upgrade environmental data request according to the requirement of upgraded current operation HTML execution environment.Thereby terminal device can load the needed data of its operational objective HTML execution environment from memory device in real time, instead of whole target HTML execution environment is loaded in terminal device.

According to an example of the present invention, this needs terminal device according to the operation needs of processing unit, obtains in real time a part of data of target HTML execution environment from memory device.But be the memory device being arranged in server at memory device, when network environment is bad, may need user to wait for the longer time.In addition, may exist terminal device in the situation that does not need in the same time the same partial data that obtains target HTML execution environment, be the memory device being arranged in server at memory device, and this causes spending the more data traffic of user.

For this reason, according to another example of the present invention, can in terminal device, preserve the part number at every turn receiving from memory device.Particularly, according to another example of the present invention, terminal device 400 also can comprise memory buffer and data determining unit.Memory buffer can, after the partial data operational objective HTML of the internal storage by being loaded into terminal device execution environment, store partial data in the memory buffer of terminal device.In addition, upgrading after the requirement of current operation HTML execution environment, data determining unit can determine whether the indicated partial data of the environmental data request after renewal is stored in memory buffer.When the indicated partial data of environmental data request after upgrading is stored in memory buffer, partial data indicated environmental data request is directly loaded into internal storage from the memory buffer of terminal device, and need to receive from memory device.And in the time that the indicated partial data of environmental data request after renewal is not stored in memory buffer, request generation unit just sends the environmental data request after upgrading to memory device, and transmitting element sends the environmental data request of upgrading to memory device, make the memory device can be according to determining the partial data corresponding with environmental data request after renewal in the environmental data request data that comprise at target HTML execution environment after upgrading, need the data traffic of transmission thereby reduced, and improved the travelling speed of target HTML execution environment.In addition,, while closing target HTML execution environment in order to protect user's the security of personal data, can to work as user, delete to be kept to pass and rushes data in storer.

Those of ordinary skill in the art can recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two.And software module can be placed in the computer-readable storage medium of arbitrary form.For the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Those skilled in the art can realize described function with distinct methods to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.

It should be appreciated by those skilled in the art that can be dependent on design requirement and other factors carries out various amendments, combination, part combination and replace the present invention, as long as they are in the scope of appended claims and equivalent thereof.

Claims (20)

1. one kind loads the method for HTML execution environment, be applied to memory device, wherein pre-stored multiple HTML execution environments for a HTML particular version in described memory device, described multiple HTML execution environments are corresponding one by one with multiple operating system, and described method comprises:
In the time that terminal device is connected to described memory device, obtain the device descriptive information of described terminal device;
Determine according to described device descriptive information the operating system that described terminal device uses;
In described multiple HTML execution environments, determine target HTML execution environment corresponding to operating system using with described terminal device;
Send to described terminal device the partial data that described target HTML execution environment comprises, described terminal device is loaded into described partial data in the internal storage of described terminal device, to move described target HTML execution environment.
2. the method for claim 1, wherein saidly sends to described terminal device the partial data that described target HTML execution environment comprises and comprises:
Receive the environmental data request from described terminal device;
In the data that comprise at described target HTML execution environment, determine the partial data corresponding with described environmental data request; And
Send determined, corresponding with described environmental data request partial data to described terminal device.
3. the method for claim 1, wherein
Described memory device is arranged in server,
In described server, the first facility information of pre-stored first user mark and at least one equipment corresponding with described first user mark, described the first facility information comprises the first device identification and indicates the first system information of the operating system of this equipment;
Described in the time that terminal device is connected to described memory device, the device descriptive information that obtains described terminal device comprises:
In the time that being connected to described memory device, terminal device receives the log-on message from described terminal device;
From described log-on message, extract the second device identification of the second user ID and described terminal device;
In the first facility information of described first user mark and at least one equipment corresponding with described first user mark, determine with described the second user ID and targeted customer corresponding to described the second device identification and identify and target device information; And
According to described target device information, obtain the target device information of described terminal device as described device descriptive information.
4. method as claimed in claim 3, also comprises:
Receive the system update information that described terminal device sends, to make the described target device information that described server is corresponding with described the second device identification according to described system update information updating.
5. the method for claim 1, wherein
Described memory device is arranged in server,
Described in the time that terminal device is connected to described memory device, the device descriptive information that obtains described terminal device comprises:
In the time that terminal device is connected to described server, obtain the device descriptive information sending from described terminal device.
6. the method for claim 1, wherein
Described memory device is external storage equipment,
Described in the time that terminal device is connected to described memory device, the device descriptive information that obtains described terminal device comprises:
In the time that terminal device is connected to described memory device, obtain the device descriptive information sending from described terminal device.
7. a method that loads HTML execution environment, is applied to terminal device, and described method comprises:
Be connected with memory device, wherein pre-stored multiple HTML execution environments for a HTML particular version in described memory device, described multiple HTML execution environments are corresponding one by one with multiple operating system;
Send the 3rd facility information to described memory device, to make described memory device to determine the operating system that described terminal device is used according to described the 3rd facility information, and in described multiple HTML execution environments, determine target HTML execution environment corresponding to operating system using with described terminal device;
Receive described memory device and send the partial data that described target HTML execution environment comprises;
Described partial data is loaded in the internal storage of described terminal device; And
The described partial data of the internal storage by being loaded into described terminal device moves described target HTML execution environment.
8. method as claimed in claim 7, also comprises:
According to the requirement of current operation HTML execution environment, send environmental data request to described memory device, in the data that described memory device can be comprised at described target HTML execution environment according to described environmental data request, determine the described partial data corresponding with described environmental data request.
9. method as claimed in claim 8, also comprises:
Move after described target HTML execution environment at the described partial data of the internal storage by being loaded into described terminal device, upgrade the requirement of current operation HTML execution environment; And
Upgrade described environmental data request according to the requirement of upgraded current operation HTML execution environment.
10. method as claimed in claim 9, also comprises:
Move after described target HTML execution environment at the described partial data of the internal storage by being loaded into described terminal device, described partial data is stored in the memory buffer of described terminal device;
Determine whether the indicated partial data of described environmental data request after upgrading is stored in described memory buffer;
When the indicated partial data of described environmental data request after upgrading is stored in described memory buffer, partial data indicated described environmental data request is loaded into described internal storage from described memory buffer; And
When the indicated partial data of described environmental data request after upgrading is not stored in described memory buffer, send the environmental data request after upgrading to described memory device, in the data that described memory device can be comprised at described target HTML execution environment according to the environmental data request after described renewal, determine and partial data that environmental data request after described renewal is corresponding.
11. 1 kinds of memory devices, comprising:
Execution environment storage unit, configuration carrys out pre-stored multiple HTML execution environments for a HTML particular version, and described multiple HTML execution environments are corresponding one by one with multiple operating system;
Information acquisition unit, configuration is worked as described memory device while being connected with terminal device, obtains the device descriptive information of described terminal device;
System determining unit, configuration determines according to described device descriptive information the operating system that described terminal device uses;
Environment determining unit, target HTML execution environment corresponding to operating system using with described terminal device determined in configuration in described multiple HTML execution environments;
Transmitting element, configuration sends to described terminal device the partial data that described target HTML execution environment comprises, and described terminal device is loaded into described partial data in the internal storage of described terminal device, to move described target HTML execution environment.
12. memory devices as claimed in claim 11, also comprise:
Receiving element, configuration receives the environmental data request from described terminal device; And
Data determining unit, determines the partial data corresponding with described environmental data request in the data that configuration comprises at described target HTML execution environment,
Described transmitting element sends determined, corresponding with described environmental data request partial data to described terminal device.
13. memory devices as claimed in claim 11, wherein said memory device is arranged in server, and described memory device also comprises:
User information storage unit, configuration carrys out the first facility information of pre-stored first user mark and at least one equipment corresponding with described first user mark, and described the first facility information comprises the first device identification and indicates the first system information of the operating system of this equipment; And
Receiving element, the log-on message of terminal device be connected to described memory device time reception from described terminal device work as in configuration,
Wherein said information acquisition unit comprises:
Marker extraction module, the second device identification that the second user ID and described terminal device are extracted in configuration from described log-on message;
Mark determination module, configuration determines in the first facility information of described first user mark and at least one equipment corresponding with described first user mark with described the second user ID and targeted customer corresponding to described the second device identification and identifies and target device information; And
Acquisition of information module, configuration comes according to described target device information, obtains the target device information of described terminal device as described device descriptive information.
14. memory devices as claimed in claim 13, wherein
Described receiving element also configures to receive the system update information that described terminal device sends, to make the described target device information that described server is corresponding with described the second device identification according to described system update information updating.
15. memory devices as claimed in claim 11, wherein said memory device is arranged in server, and described memory device also comprises:
Receiving element, configuration work as terminal device while being connected to described server, receives from the device descriptive information of described terminal device transmission.
16. memory devices as claimed in claim 11, wherein said memory device is external storage equipment, described memory device also comprises:
Receiving element, configuration work as terminal device while being connected to described memory device, obtains from the device descriptive information of described terminal device transmission.
17. 1 kinds of terminal devices, comprising:
Transmitting element, configuration is worked as described terminal device while being connected with memory device, send the 3rd facility information to described memory device, can determine the operating system that described terminal device is used according to described the 3rd facility information to make described memory device, and in pre-stored multiple HTML execution environments, determine target HTML execution environment corresponding to operating system using with described terminal device, wherein pre-stored multiple HTML execution environments for a HTML particular version in described memory device, described multiple HTML execution environment is corresponding one by one with multiple operating system,
Receiving element, configuration receives described memory device and sends the partial data that described target HTML execution environment comprises;
Internal storage; Configuration loads described partial data; And
Processing unit, configuration moves described target HTML execution environment by being loaded into the described partial data of described internal storage.
18. terminal devices as claimed in claim 17, also comprise:
Request generation unit, configuration comes according to the requirement of current operation HTML execution environment, build environment request of data,
Wherein said transmitting element also configures to described memory device and sends described environmental data request, in the data that described memory device can be comprised at described target HTML execution environment according to described environmental data request, determines the described partial data corresponding with described environmental data request.
19. terminal devices as claimed in claim 18, wherein
The described partial data that described request generation unit is also configured in the internal storage by being loaded into described terminal device moves after described target HTML execution environment, upgrades described environmental data request according to the requirement of the current operation HTML execution environment upgrading.
20. terminal devices as claimed in claim 19, also comprise:
Memory buffer, configuration moves after described target HTML execution environment at the described partial data of the internal storage by being loaded into described terminal device, stores described partial data; And
Data determining unit, configuration determines whether the indicated partial data of described environmental data request after upgrading is stored in described memory buffer,
When wherein the indicated partial data of described environmental data request after upgrading is stored in described memory buffer, partial data indicated described environmental data request is loaded into described internal storage from described memory buffer,
When the indicated partial data of described environmental data request after upgrading is not stored in described memory buffer, described request generation unit generates the environmental data request of upgrading, and described transmitting element sends the environmental data request of upgrading to described memory device, in the data that described memory device can be comprised at described target HTML execution environment according to the environmental data request after described renewal, determine and partial data that environmental data request after described renewal is corresponding.
CN201310086533.1A 2013-03-18 2013-03-18 Load method, storage device and the terminal device of HTML performing environments 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 true CN104063233A (en) 2014-09-24
CN104063233B CN104063233B (en) 2017-12-29

Family

ID=51550957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310086533.1A 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)

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
CN104063233B (en) 2017-12-29

Similar Documents

Publication Publication Date Title
US10474693B2 (en) Resolving conflicts within saved state data
US8850517B2 (en) Runtime risk detection based on user, application, and system action sequence correlation
US9223564B2 (en) Update systems responsive to ongoing processing at a storage system
US20150363063A1 (en) Apparatus and method of delivering content between applications
CN102254111B (en) Malicious site detection method and device
CN104137057B (en) Generation and cache software code
CN104301117A (en) Identity verification method and device
CN102708050B (en) Method and system for testing mobile application
CN1815440B (en) Method and system for a digital device menu editor
CN102411684B (en) Data protection method and device
US20140324873A1 (en) Method, device and recording medium for managing application icon
CN105335099A (en) Memory cleaning method and terminal
CN103620606B (en) Store detection means, system and storage detection method
CN106105160B (en) Prefetch the application data for disconnecting the period
US8983935B2 (en) Methods for utilizing a javascript emulator in a web content proxy server and devices thereof
CN103065090B (en) A kind of application program malice Ad blocking method and device
CN102693280B (en) Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal
CN103092604A (en) Application program classification method and device
CN102938039A (en) Selective file access for applications
US20140365853A1 (en) Information management and display in web browsers
KR20130142961A (en) Automatic application updates
CN102567485B (en) The special parsing of provider for content retrieval
CN103617380B (en) Application program authority dynamic control method and system
CN103488481A (en) Application program control method, terminal equipment and remote control system
CN102541638A (en) Resource deployment based on conditions

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
GR01 Patent grant