CN103260260B - A kind of method of mobile device accesses network and relevant apparatus and system - Google Patents

A kind of method of mobile device accesses network and relevant apparatus and system Download PDF

Info

Publication number
CN103260260B
CN103260260B CN201310202919.4A CN201310202919A CN103260260B CN 103260260 B CN103260260 B CN 103260260B CN 201310202919 A CN201310202919 A CN 201310202919A CN 103260260 B CN103260260 B CN 103260260B
Authority
CN
China
Prior art keywords
showing interface
mobile device
interface object
access server
handle
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.)
Expired - Fee Related
Application number
CN201310202919.4A
Other languages
Chinese (zh)
Other versions
CN103260260A (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.)
Huawei Digital Technologies Suzhou Co Ltd
Original Assignee
Huawei Digital Technologies Suzhou Co 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 Huawei Digital Technologies Suzhou Co Ltd filed Critical Huawei Digital Technologies Suzhou Co Ltd
Priority to CN201310202919.4A priority Critical patent/CN103260260B/en
Publication of CN103260260A publication Critical patent/CN103260260A/en
Application granted granted Critical
Publication of CN103260260B publication Critical patent/CN103260260B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of method of mobile device accesses network and relevant apparatus and system.Embodiment of the present invention method comprises: access server receives the access request message that mobile device sends; Access server is decoded to access request message, obtains event information, and event information is generated according to user's input operation on the mobile apparatus by mobile device; Event information is passed to application A PP by access server; Access server obtains showing interface object, the handle handle corresponding with showing interface object, showing interface object is carried out to the methods of exhibiting of showing interface, and wherein, showing interface object, handle and methods of exhibiting are created according to event information by APP; Access server is encoded to showing interface object, handle, methods of exhibiting, obtains access response message; Access response information is sent to mobile device by access server.

Description

A kind of method of mobile device accesses network and relevant apparatus and system
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method of mobile device accesses network and relevant apparatus and system.
Background technology
Day by day universal due to mobile devices such as mobile phones, increasing enterprise allows the user in this enterprise to use the internal resource of the device access enterprise networks such as mobile phone, facilitates employee to handle official business.Mobile device access enterprise networks ruton is used often to use two kinds of network access modes: one passes through WiFi(WirelessFidelity, WLAN (wireless local area network)) access network, another kind is by 2G/3G(SecondGeneration/3rd-generation, Generation Mobile Telecommunication System technology/G mobile communication) network insertion enterprise network.User uses the APP(application that mobile device is installed usually, application program) by the WiFi network set up in enterprise or the internal resource of 2G/3G access to netwoks enterprise network.When user directly passes through the internal resource of these APP access enterprise networks networks of mobile device this locality, the internal resource of enterprise network leaks out easily via mobile device, and be not easy to track and reveal wherefrom, such as mobile device suffers viral Trojan attack etc., can there is more serious Information Security Risk to enterprise network.
There is a kind of method of mobile device accesses network in prior art, the risk of information leakage can be solved.The method can adopt VDI(Virtual Desktop Infrastructure, virtual desktop architecture) technology.To be connected to by the APP of its deploy when mobile device on the access server in enterprise network, access server can to produce a virtual machine and use for this mobile device, this virtual machine is simulated the operating system of a similar mobile device.When user carries out input operation at mobile device, this operation can be delivered on virtual machine, virtual machine produces corresponding display interface on a virtual machine according to these input operations of user, by virtual machine, mobile device is returned in the form transmission of display interface also graph data again, thus graphically show this display interface in mobile device side.
The present inventor is realizing finding in process of the present invention: because virtual machine is graph data to mobile device transmission, it must periodic refresh graphical information, and the display interface that display interface that mobile device is shown and virtual machine are shown is consistent.Due to needs transmitting graphics data frequently between mobile device and virtual machine, the data volume of adding graph data itself is also very large, therefore the network bandwidth that consumption rate is larger.If carry out compression to the graph data of each transmission will certainly directly affect the image quality that mobile device shows, and the cost of transmitting graphics data can be increased.
Summary of the invention
Embodiments provide a kind of method of mobile device accesses network and relevant apparatus and system, for reducing the communication network bandwidth between mobile device and access server under the prerequisite ensureing the network information security, and improve the image display quality of mobile device.
For solving the problems of the technologies described above, the embodiment of the present invention provides following technical scheme:
First aspect, the embodiment of the present invention provides a kind of method of mobile device accesses network, comprising:
Access server receives the access request message that mobile device sends;
Described access server is decoded to described access request message, obtains event information, and described event information is generated according to the input operation of user on described mobile device by described mobile device;
Described event information is passed to application A PP by described access server;
Described access server obtains showing interface object, the handle handle corresponding with described showing interface object, described showing interface object is carried out to the methods of exhibiting of showing interface, wherein, described showing interface object, described handle and described methods of exhibiting are created according to described event information by described APP;
Described access server is encoded to described showing interface object, described handle, described methods of exhibiting, obtains access response message;
Described access response information is sent to described mobile device by described access server.
In conjunction with first aspect, in the first possible implementation of first aspect, described access server obtains showing interface object, the handle handle corresponding with described showing interface object, described showing interface object is carried out to the methods of exhibiting of showing interface, comprising:
After described mobile device accesses described access server, described access server is that described mobile device creates virtual machine;
When described APP carries out showing interface according to described event information on described virtual machine, described access server obtains described APP by the application programming interface API that described APP calls and inputs showing interface object, the handle corresponding with described showing interface object in described API;
Described access server obtains the methods of exhibiting described showing interface object being carried out to showing interface that described API generates according to the described showing interface object that described APP inputs.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, described access server obtains showing interface object, the handle handle corresponding with described showing interface object, described showing interface object is carried out to the methods of exhibiting of showing interface, comprising:
After described mobile device accesses described access server, described access server is that described mobile device creates virtual machine;
When described APP carries out showing interface according to described event information on described virtual machine, described access server obtains described APP and is transferred to the showing interface object of window Windows manager and view system View System, the handle corresponding with described showing interface object, described showing interface object is carried out to the methods of exhibiting of showing interface.
In conjunction with in the implementation that the first or the second of first aspect or first aspect are possible, in the third possible implementation of first aspect, described event information is passed to application A PP by described access server, comprising:
Described access server extracts the input operation of described user on described mobile device from described event information;
The input operation of described user on described mobile device is distributed on described APP by task manager by described access server.
Second aspect, the embodiment of the present invention additionally provides a kind of method of mobile device accesses network, comprising:
Mobile device receives the access response message that access server sends;
Described mobile device is decoded to described access response message, obtains showing interface object, the handle handle corresponding with described showing interface object, described showing interface object is carried out to the methods of exhibiting of showing interface;
Described mobile device is according to described showing interface Object Creation native object;
The mapping relations of described native object and described showing interface object are write object map table according to described handle by described mobile device;
Described mobile device, according to described object map table, uses the methods of exhibiting to described showing interface object carries out showing interface to be presented on user interface UI by described native object.
In conjunction with second aspect, in the first possible implementation of second aspect, described mobile device, according to described object map table, uses the methods of exhibiting to described showing interface object carries out showing interface to be presented on user interface UI by described native object, comprising:
Described mobile device is according to described object map table and the methods of exhibiting invokes application DLL (dynamic link library) API described showing interface object being carried out to showing interface;
Described native object is presented on described UI by the methods of exhibiting performing showing interface corresponding to described API by described mobile device.
In conjunction with the first possible implementation of second aspect or second aspect, in the implementation that the second of second aspect is possible, described mobile device also comprises before receiving the access response message that access server sends:
Mobile device, according to the input operation of user on described mobile device, generates event information;
Described mobile device is encoded to described event information, obtains access request message;
Described access request message is sent on access server by described mobile device.
In conjunction with the implementation that the first or the second of second aspect or second aspect are possible, in the third possible implementation of second aspect, the mapping relations of described native object and described showing interface object are write object map table according to described handle by described mobile device, comprising:
If there is described handle in described object map table, former native object corresponding with described handle in described object map table has been updated to the native object according to described showing interface Object Creation by described mobile device;
If there is not described handle in described object map table, described mobile device generates the mapping relations of described native object and described interface display object in described object map table.
The third aspect, the embodiment of the present invention provides a kind of access server, comprising:
Receiver module, for receiving the access request message that mobile device sends;
Decoder module, for decoding to described access request message, obtains event information, and described event information is generated according to the input operation of user on described mobile device by described mobile device;
Transport module, for passing to application A PP by described event information;
Acquisition module, for obtaining showing interface object, the handle handle corresponding with described showing interface object, described showing interface object being carried out to the methods of exhibiting of showing interface, wherein, described showing interface object, described handle and described methods of exhibiting are created according to described event information by described APP;
Coding module, for encoding to described showing interface object, described handle, described methods of exhibiting, obtains access response message;
Sending module, for sending to described mobile device by described access response information.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described acquisition module, comprising:
Virtual machine creating submodule, after accessing described access server at described mobile device, for described mobile device creates virtual machine;
First obtains submodule, for when described APP carries out showing interface according to described event information on described virtual machine, the application programming interface API called by described APP is obtained described APP and inputs showing interface object, the handle corresponding with described showing interface object in described API;
Second obtains submodule, for obtaining the methods of exhibiting described showing interface object being carried out to showing interface that described API generates according to the described showing interface object that described APP inputs.
In conjunction with the third aspect, in the implementation that the second of the third aspect is possible, described acquisition module, comprising:
Virtual machine creating submodule, after described mobile device accesses described access server, for described mobile device creates virtual machine;
3rd obtains submodule, for when described APP carries out showing interface according to described event information on described virtual machine, obtain described APP and be transferred to the showing interface object of window Windows manager and view system ViewSystem, the handle corresponding with described showing interface object, described showing interface object carried out to the methods of exhibiting of showing interface.
In conjunction with in the implementation that the first or the second of the third aspect or the third aspect are possible, in the third possible implementation of the third aspect, described transport module, comprising:
Extract submodule, for extracting the input operation of described user on described mobile device from described event information;
Distribution submodule, for being distributed to described APP by task manager by the input operation of described user on described mobile device.
Fourth aspect, the embodiment of the present invention provides a kind of mobile device, comprising:
Receiver module, for receiving the access response message that access server sends;
Decoder module, for decoding to described access response message, obtaining showing interface object, the handle handle corresponding with described showing interface object, described showing interface object being carried out to the methods of exhibiting of showing interface;
Generation module, for according to described showing interface Object Creation native object;
Mapping block, for writing object map table according to described handle by the mapping relations of described native object and described showing interface object;
Display module, for according to described object map table, uses the methods of exhibiting to described showing interface object carries out showing interface to be presented on user interface UI by described native object.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described display module, comprising:
Call submodule, for according to described object map table and the methods of exhibiting invokes application DLL (dynamic link library) API described showing interface object being carried out to showing interface;
Implementation sub-module, is presented at described UI for the methods of exhibiting by performing showing interface corresponding to described API by described native object.
In conjunction with the first possible implementation of fourth aspect or fourth aspect, in the implementation that the second of fourth aspect is possible, described mobile device also comprises: sending module and coding module, wherein,
Described generation module, also for according to the input operation of user on described mobile device, generates event information;
Described coding module, for encoding to described event information, obtains access request message;
Described sending module, for being sent to access server by described access request message.
In conjunction with the implementation that the first or the second of fourth aspect or fourth aspect are possible, in the third possible implementation of fourth aspect, described mapping block, if specifically for having there is described handle in described object map table, former native object corresponding with described handle in described object map table has been updated to the native object according to described showing interface Object Creation; If there is not described handle in described object map table, in described object map table, generate the mapping relations of described native object and described interface display object.
5th aspect, the embodiment of the present invention provides a kind of network system, comprise: the access server according to any one of the aforementioned third aspect and as mobile device according to any one of aforementioned fourth aspect, wherein, described access server is connected in the mode that can communicate with described mobile device.
In conjunction with the 5th aspect, in the first the possible implementation in the 5th, described mobile device is linked in described access server by WLAN (wireless local area network) WiFi or Generation Mobile Telecommunication System 2G network or 3G (Third Generation) Moblie 3G network.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In embodiments of the present invention, after access server receives the accessing request information of mobile device transmission, access server is decoded to above-mentioned access request message, obtain event information, then event information is passed to corresponding APP, then from APP, get the handle of showing interface object, with it correspondence, this showing interface object carried out to the methods of exhibiting of showing interface, then by showing interface object, handle, methods of exhibiting coding, generate access response information, finally feed back to mobile device.After mobile device receives access response message, first decode, obtain showing interface object, handle, methods of exhibiting, following mobile device is according to showing interface Object Creation native object, and the mapping relations of native object and showing interface object are write in object map table, last according to object map table, use above-mentioned methods of exhibiting to show native object on a user interface.What transmit between access server and mobile device in the embodiment of the present invention only has access request message and access response message, and do not need transmitting graphics data, show object due to transport interface and much smaller than the data volume of transmitting graphics data, therefore can reduce the communication network bandwidth between mobile device and access server to the data volume that the methods of exhibiting of this showing interface object brings.Because mobile device is that the internal resource of enterprise network can not be leaked out by mobile device, and network information security degree is high by access server indirectly access enterprise networks network.
Term " first ", " second " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the term used like this can exchange in the appropriate case, this is only describe in embodiments of the invention the differentiation mode that the object of same alike result adopts when describing.
Below be described in detail respectively.
An embodiment of the method for mobile device accesses network of the present invention, can comprise: access server receives the access request message that mobile device sends; Above-mentioned access server is decoded to above-mentioned access request message, obtains event information, and above-mentioned event information is generated according to the input operation of user on above-mentioned mobile device by above-mentioned mobile device; Above-mentioned event information is passed to application A PP by above-mentioned access server; Above-mentioned access server obtains showing interface object, the handle handle corresponding with above-mentioned showing interface object, above-mentioned showing interface object is carried out to the methods of exhibiting of showing interface, wherein, above-mentioned showing interface object, above-mentioned handle and above-mentioned methods of exhibiting are created according to above-mentioned event information by above-mentioned APP; Above-mentioned access server is encoded to above-mentioned showing interface object, above-mentioned handle, above-mentioned methods of exhibiting, obtains access response message; Above-mentioned access response information is sent to above-mentioned mobile device by above-mentioned access server.
Refer to shown in Fig. 1, based on access server side, the method for the mobile device accesses network that one embodiment of the invention provides, can comprise:
101, access server receives the access request message that mobile device sends.
In embodiments of the present invention, be connected between access server with mobile device in the mode that can communicate, such as, mobile device can be linked in access server by WiFi network, and mobile device also can by 2G/3G network insertion in access server.Wherein, access server is arranged in a network, and such as, access server is arranged in enterprise network, therefore user is linked in access server by mobile device, thus can access enterprise networks network.
In some embodiments of the invention, when user performs input operation on above-mentioned mobile device, mobile device generates event information according to the input operation of user, this event information is encoded, obtain access request message, access request message is sent on access server by mobile device, and access server just can receive access request message in the following way.User can be comprised perform accessing content of the network of accessing required for input operation and the request of this input operation needs on the mobile apparatus in access request message.
102, above-mentioned access server is decoded to above-mentioned access request message, obtains event information.
Wherein, above-mentioned event information is generated according to the input operation of user on above-mentioned mobile device by above-mentioned mobile device.
In embodiments of the present invention, access server is decoded to the accessing request information that mobile device is initiated, therefrom can get event information, wherein to the decode operation of accessing request information and mobile device, the encoding operation to event information is antipodal two kinds of implementations to access server, and access server and mobile device all need to follow identical encoding and decoding rule, so just can realize communicating between access server with mobile device.
103, above-mentioned event information is passed to application program (APP, application) by above-mentioned access server.
Wherein, after access server gets event information, select corresponding APP according to above-mentioned event information, such as above-mentioned event information is the e-mail messages collecting Intranet, then need to select corresponding Mail Clients, then this event information is passed to Mail Clients.
In some embodiments of the invention, access server can extract the input operation of user on above-mentioned mobile device from above-mentioned event information; The input operation of above-mentioned user on above-mentioned mobile device is distributed on above-mentioned APP by task manager by above-mentioned access server.That is, in the embodiment of the present invention, access server can realize the input operation of user to be distributed on the APP of its correspondence by task manager, and wherein, this task manager can be arranged in Android (Andriod) system.
104, above-mentioned access server obtains showing interface object, the handle (handle) corresponding with above-mentioned showing interface object, above-mentioned showing interface object is carried out to the methods of exhibiting of showing interface.
Wherein, above-mentioned showing interface object, above-mentioned handle and above-mentioned methods of exhibiting are created according to above-mentioned event information by above-mentioned APP.
In some embodiments of invention, after event information is distributed to APP, APP can generate showing interface object according to this event information, and for the corresponding handle of this showing interface Object Creation, generate the methods of exhibiting this showing interface object being carried out to showing interface, wherein, the handle of showing interface object is used for unique this showing interface object of mark, and the methods of exhibiting that APP generates is used for indicating and comes to perform showing interface to this showing interface object with graph data.
In some embodiments of the invention, after above-mentioned mobile device accesses above-mentioned access server, above-mentioned access server can be that above-mentioned mobile device creates virtual machine; When above-mentioned APP carries out showing interface according to above-mentioned event information on above-mentioned virtual machine, the application programming interface (API, Application Programming Interface) that above-mentioned access server is called by above-mentioned APP obtains above-mentioned APP and inputs showing interface object, the handle corresponding with above-mentioned showing interface object in above-mentioned API; Above-mentioned access server obtains the methods of exhibiting above-mentioned showing interface object being carried out to showing interface that above-mentioned API generates according to the described showing interface object that above-mentioned APP inputs.For example, access server is after mobile device accesses successfully, access server creates a virtual machine for this mobile device, this virtual machine is simulated the operating system of this mobile device, the input operation that user performs on the mobile apparatus can be passed on this virtual machine, APP calls the API of interface display, APP inputting interface in API shows object, and the handle corresponding with this showing interface object, access server just can get showing interface object by API, the handle corresponding with this showing interface object, API also needs according to the showing interface object that APP inputs to generate the methods of exhibiting this showing interface object being carried out to showing interface, and access server just can be got by this API and carry out the methods of exhibiting of showing interface to this showing interface object.
In other embodiments of the present invention, after above-mentioned mobile device accesses above-mentioned access server, above-mentioned access server can be that above-mentioned mobile device creates virtual machine; When above-mentioned APP carries out showing interface according to above-mentioned event information on above-mentioned virtual machine, above-mentioned access server obtains to be stated APP and is transferred to the showing interface object of window (Windows) manager and view system (View System), the handle corresponding with above-mentioned showing interface object, above-mentioned showing interface object is carried out to the methods of exhibiting of showing interface.Wherein, window manager and view system can be arranged in Android (Andriod) system.For example, access server is after mobile device accesses successfully, access server creates a virtual machine for this mobile device, this virtual machine is simulated the operating system of this mobile device, the input operation that user performs on the mobile apparatus can be passed on this virtual machine, APP needs showing interface object, and the handle corresponding with this showing interface object, the methods of exhibiting carrying out showing interface with this showing interface object is transferred to window manager and view system, under the management of window manager, showing interface is carried out to make view system, then access server just can get showing interface object by window manager and view system, the handle corresponding with this showing interface object, the methods of exhibiting of showing interface is carried out to this showing interface object.
105, above-mentioned access server is encoded to above-mentioned showing interface object, above-mentioned handle, above-mentioned methods of exhibiting, obtains access response message.
In embodiments of the present invention, access server is encoded to above-mentioned showing interface object, above-mentioned handle, above-mentioned methods of exhibiting, obtain access response message, the decode operation of mobile device to access response message wherein described in the access server encoding operation of encoding to above-mentioned showing interface object, above-mentioned handle, above-mentioned methods of exhibiting and subsequent embodiment is antipodal two kinds of implementations, and access server and mobile device all need to follow identical encoding and decoding rule, so just can realize communicating between access server with mobile device.
106, above-mentioned access response information is sent to above-mentioned mobile device by above-mentioned access server.
As from the foregoing, after access server receives the accessing request information of mobile device transmission, access server is decoded to above-mentioned access request message, obtain event information, then event information is passed to corresponding APP, from APP, then get the handle of showing interface object, with it correspondence, this showing interface object carried out to the methods of exhibiting of showing interface, then by showing interface object, handle, methods of exhibiting coding, generate access response information, finally feed back to mobile device.What transmit between access server and mobile device in the embodiment of the present invention only has access request message and access response message, and do not need transmitting graphics data, show object due to transport interface and much smaller than the data volume of transmitting graphics data, therefore can reduce the communication network bandwidth between mobile device and access server to the data volume that the methods of exhibiting of this showing interface object brings.Because mobile device is that the internal resource of enterprise network can not be leaked out by mobile device, and network information security degree is high by access server indirectly access enterprise networks network.
Another embodiment of the method for mobile device accesses network of the present invention, can comprise: mobile device receives the access response message that access server sends; Above-mentioned mobile device is decoded to above-mentioned access response message, obtains showing interface object, the handle (handle) corresponding with above-mentioned showing interface object, above-mentioned showing interface object is carried out to the methods of exhibiting of showing interface; Above-mentioned mobile device is according to above-mentioned showing interface Object Creation native object; The mapping relations of above-mentioned native object and above-mentioned showing interface object are write object map table according to above-mentioned handle by above-mentioned mobile device; Above-mentioned mobile device, according to above-mentioned object map table, uses the methods of exhibiting to above-mentioned showing interface object carries out showing interface to be presented in user interface (UI, User Interface) by above-mentioned native object.
Refer to shown in Fig. 2, based on mobile device side, the method for the mobile device accesses network that one embodiment of the invention provides, can comprise:
201, mobile device receives the access response message that access server sends.
In embodiments of the present invention, be connected between access server with mobile device in the mode that can communicate, such as, mobile device can be linked in access server by WiFi network, and mobile device also can by 2G/3G network insertion in access server.Wherein, access server is arranged in a network, and such as, access server is arranged in enterprise network, therefore user is linked in access server by mobile device, thus can access enterprise networks network.
In some embodiments of the invention, mobile device is before the access response message receiving access server transmission, when user performs input operation on above-mentioned mobile device, mobile device generates event information according to the input operation of user, this event information is encoded, obtain access request message, access request message is sent on access server by mobile device, can comprise user and perform accessing content of the network of accessing required for input operation and the request of this input operation needs on the mobile apparatus in access request message.Access server is after receiving access request message, access server is decoded to access request message, obtain event information, and event information is passed to APP, following access server obtains showing interface object, the handle corresponding with this showing interface object, this showing interface object is carried out to the methods of exhibiting of showing interface, access server is encoded to showing interface object, handle, methods of exhibiting, obtains access response message, and feeds back to mobile device.
202, above-mentioned mobile device is decoded to above-mentioned access response message, obtains showing interface object, the handle (handle) corresponding with above-mentioned showing interface object, above-mentioned showing interface object is carried out to the methods of exhibiting of showing interface.
In some embodiments of the invention, mobile device is decoded to the access response information that access server sends, can therefrom get showing interface object, handle, methods of exhibiting, wherein to the decode operation of access response information and access server, the encoding operation to showing interface object, handle, methods of exhibiting is antipodal two kinds of implementations to mobile device, and access server and mobile device all need to follow identical encoding and decoding rule, so just can realize communicating between access server with mobile device.
203, above-mentioned mobile device is according to above-mentioned showing interface Object Creation native object.
In some embodiments of the invention, after mobile device gets showing interface object, generate native object according to this showing interface object, wherein, native object refers to the contents of object that mobile device self can identify.In actual applications, mobile device can by showing interface object write memory, and the mode that then can identify with mobile device reconfigures showing interface object, obtains native object.Such as, mobile device is binary character string by the step 202 showing interface object obtained of decoding, and by the internal memory of these showing interface objects write mobile device, is again identified as the native object that mobile device is readable.
204, the mapping relations of above-mentioned native object and above-mentioned showing interface object are write object map table according to above-mentioned handle by above-mentioned mobile device.
Wherein, after mobile device generates native object, mobile device can set up mapping relations according to handle by between the native object of generation and showing interface object, and is stored in object map table.Wherein, showing interface object sends to mobile device by access server, and mobile device needs after setting up native object to safeguard the mapping relations between the showing interface object in this native object and access server, and its mapping result is kept in object map table.
In some embodiments of the invention, first can judge whether had this handle in object map table, if so, former native object corresponding with above-mentioned handle in above-mentioned object map table can be updated to the native object according to above-mentioned showing interface Object Creation by mobile device; If there is not above-mentioned handle in object map table, above-mentioned mobile device generates the mapping relations of above-mentioned native object and above-mentioned interface display object in above-mentioned object map table.Wherein, the native object that former native object has existed before being renewal in object map table, even in object map table, have handle corresponding to showing interface object, the former native object in object map table is then needed to be updated to native object corresponding to above-mentioned showing interface object, if Presence of an interface does not show the handle that object is corresponding in object map table, former native object also not corresponding with this handle in object map table is then described, the mapping relations of the native object generated according to showing interface object and this showing interface object are only needed to be stored in object map table, so that with the renewal continued in subsequent process native object.
205, above-mentioned mobile device is according to above-mentioned object map table, uses the methods of exhibiting to above-mentioned showing interface object carries out showing interface to be presented in user interface (UI, User Interface) by above-mentioned native object.
In some embodiments of the invention, the mapping relations of native object and showing interface object write after in object map table by mobile device, mobile device can use according to above-mentioned object map table, uses the methods of exhibiting to above-mentioned showing interface object carries out showing interface to be presented on the UI of mobile device by above-mentioned native object.Such as, former native object is updated to native object corresponding to showing interface object by mobile device in object map table, by the refreshing at the UI interface to this locality, just can show aforementioned native object according to the methods of exhibiting of showing interface object.
In some embodiments of the invention, above-mentioned mobile device can according to above-mentioned object map table and the methods of exhibiting invokes application DLL (dynamic link library) (API, Application Programming Interface) of showing interface object being carried out to showing interface; Above-mentioned native object is presented on above-mentioned UI by the methods of exhibiting performing showing interface corresponding to above-mentioned API by above-mentioned mobile device.Wherein, mobile device can call corresponding API according to object map table and methods of exhibiting, just can be refreshed the UI of mobile device, thus realize the display of native object by the execution of above-mentioned API.
As from the foregoing, after access server receives the accessing request information of mobile device transmission, access server is decoded to above-mentioned access request message, obtain event information, then event information is passed to corresponding APP, from APP, then get the handle of showing interface object, with it correspondence, this showing interface object carried out to the methods of exhibiting of showing interface, then by showing interface object, handle, methods of exhibiting coding, generate access response information, finally feed back to mobile device.What transmit between access server and mobile device in the embodiment of the present invention only has access request message and access response message, and do not need transmitting graphics data, show object due to transport interface and much smaller than the data volume of transmitting graphics data, therefore can reduce the communication network bandwidth between mobile device and access server to the data volume that the methods of exhibiting of this showing interface object brings.Because mobile device is that the internal resource of enterprise network can not be leaked out by mobile device, and network information security degree is high by access server indirectly access enterprise networks network.
For ease of better understanding and implement the such scheme of the embodiment of the present invention, several application scenarios of illustrating below is specifically described.
Referring to as shown in Fig. 3-a, is the structure composed of a kind of network system that the embodiment of the present invention provides, and wherein, describes for Andriod operating system the technical scheme that the embodiment of the present invention provides in detail.The network system that the embodiment of the present invention provides comprises following three parts, and Part I is Andriod APP, and dispose in a mobile device, Part II is the access server being deployed in virtual machine, and the 3rd part is the internal business systems of enterprise network.
Wherein, on the mobile apparatus, when user perform thereon gesture operate time, input operation can be produced on the mobile apparatus, mobile device can generate event information, and these event informations can be delivered on special Andriod APP, and this Andriod APP encodes these event informations, obtain accessing request information, be then delivered on the virtual machine of access server.
The virtual machine of access server is decoded, is obtained event information, and perform these event informations in the APP of virtual machine after receiving accessing request information.In the process performing event information, showing interface object, handle can be produced and these showing interface objects are carried out to the methods of exhibiting of showing interface.The virtual machine of access server carries out serializing these showing interface objects, handle, methods of exhibiting, namely encodes, obtains access response information, and by network delivery on the Andriod APP of mobile device.
After Anrdiod APP on mobile device receives access response information, decode, obtain showing interface object, handle and methods of exhibiting, and create native object according to showing interface object in this locality, and generate the mapping relations of native object and showing interface object, just can show native object on the UI of mobile device by performing with identical API on a virtual machine.
Mobile device, by APP mounted thereto, is connected on the virtual machine of access server, by this virtual machine, and the internal business systems of access enterprise networks network.In this way, business datum/file that these are important can be taken precautions against, leaked by mobile device from the internal business systems of enterprise network, the safety of available protecting inside data of enterprise.
Referring to shown in Fig. 3-b, is the composition structural representation of the access server that network system in previous embodiment of the present invention comprises.
Next still describe for Andriod operating system the technical scheme that the embodiment of the present invention provides in detail.Certain the present invention also can be applied to other operating systems of mobile device, its implementation may need corresponding flexible design can realize the method for mobile device accesses network provided by the invention because of the system of other operating systems, just illustrate herein, do not limit.
Wherein, access server can comprise: Andriod operating system application framework, event decoder module, object/event code module, network transmission module, concrete, Andriod operating system application framework includes task manager, Windows manager, view system (View System).
Network transmission module, for receiving the access request message sent from mobile device;
Event decoder module, after receiving for network transmission module the access request message sent from mobile device, this access request message is decoded as event information, the event informations such as the input gesture performed in user's Andriod operating system are on the mobile apparatus become by decoded back, and this event information is passed to the task manager of Andriod operating system application framework, pass to corresponding upper strata APP by task manager;
Object/event code module, for getting the showing interface object produced in Andriod operating system application framework, corresponding handle and its methods of exhibiting, encoding operation is carried out to showing interface object, handle, methods of exhibiting, obtain access response message, and send to mobile device by network;
Task manager, for selecting corresponding upper strata APP in Andriod operating system according to event information, and is distributed on the APP of upper strata by the event information received from event decoder module;
Windows manager/View System, API is called in the Andriod operating system in virtual machine, this showing interface object is shown, when the upper strata APP of virtual machine calls API time, showing interface object, handle and methods of exhibiting that upper strata APP inputs are sent to object/event coding/decoding module, after showing interface object, handle and methods of exhibiting being encoded by object/event code module, be sent on the mobile device of far-end.
Referring to shown in Fig. 3-c, is the composition structural representation of the mobile device that network system in previous embodiment of the present invention comprises.
Next still describe for Andriod operating system the technical scheme that the embodiment of the present invention provides in detail.Certain the present invention also can be applied to other operating systems of mobile device, its implementation may need corresponding flexible design can realize the method for mobile device accesses network provided by the invention because of the system of other operating systems, just illustrate herein, do not limit.
Wherein, mobile device can comprise: network communication module, Andriod operating system, event receiver module, event code module, object/method decoder module, object generation module, object map table, object Executive Module.
Concrete, event receiver module, when user performs gesture in Andriod operating system, receives the input operation of user, generate event information, event receiver module can receive all input operations that operating system is sent to the APP in Andriod operating system;
Event code module, after the input operation for receiving user at event receiver module generates event information, encodes to event information, obtains accessing request information;
Network communication module, for being sent to the virtual machine of access server by network by the accessing request information of event code CMOS macro cell; And by access response message that network reception sends to access server;
Object/method decoder module, after receiving access response message at network communication module, decode for this access response message, obtain showing interface object, the handle corresponding with this showing interface object, this showing interface object carried out to the methods of exhibiting of showing interface;
Object generation module, for the showing interface object obtained according to decoding, correspondence creates a native object in this locality, and in object map table, safeguard the mapping relations of the showing interface object on native object and virtual machine;
Object map table, for storing native object and corresponding handle, and with the mapping relations of the showing interface object on virtual machine;
Object Executive Module, for according to methods of exhibiting showing interface object being carried out to showing interface, calls native object, this native object is presented on the UI of mobile device.
Next another embodiment of the method for mobile device accesses network of the present invention is described, is described in conjunction with mobile device side and access server side, indicates the reciprocal process between mobile device and access server simultaneously.
The implementation of the method for mobile device accesses network of the present invention comprises following three flow processs:
One, flow process is inputted
When user performs input operation on the mobile apparatus time (the gesture input of such as user), these input parameters, can be encoded into message, be sent on the virtual machine of access server by network.Virtual machine receives these message, after decoding, by task manager, is distributed to the upper layer application APP in virtual machine.Idiographic flow is described below:
1) APP, on mobile device, task manager (can be different from the task manager of Andriod operating system self) on it receives the event information that Andriod operating system sends over, and task manager sends to event code module this event information;
2), after event code module encodes to event information, obtain access request message, in a certain order, by network, access request message is sent to the virtual machine of the correspondence of access server;
3), after the virtual machine of access server receives this access request message, after decode operation is carried out to this access request message, obtain event information, this event information is sent to the task manager of Andriod operating system;
4), the task manager of Andriod operating system, according to normal operation flow, event information is distributed to corresponding upper strata APP.
Two, showing interface object transfer flow process
When the APP on virtual machine need on a virtual machine seat showing interface time, APP can create showing interface, and calling system shows relevant API, carries out showing interface operation.Virtual machine can be encoded these showing interface objects and methods of exhibiting, is sent on mobile device.Mobile device, according to these showing interface object and methods of exhibiting, correspondingly makes displaying on the UI of this locality of mobile device.Detailed process is described below:
1), when the APP on virtual machine creates showing interface object, corresponding API can be called, the API after these rewritings, its method of operation, the Handle of showing interface object can be created, be sent to object/event code module;
2), object/event code module is encoded according to the Handle of the showing interface object received, showing interface object and to the methods of exhibiting that showing interface object carries out showing interface, obtain access response message, be then sent on the mobile device of far-end;
3), after mobile device receives this access response message, first decode, create a native object in this locality, be consistent with the content of the showing interface object in the virtual machine of far-end; Then in object map relation table, safeguard native object, show the Handle mapping relations of object with distal interface.
Three, object exports flow process
Detailed process is described below:
1), when the APP on virtual machine needs to do showing interface time, corresponding API can be called, and in API, be conveyed into specific showing interface object, carry out showing interface on a virtual machine;
2), after mobile device receives access response message, obtain showing interface object by decoding, and generate native object, by searching object map table, find real native object, the handle of native object, methods of exhibiting and correspondence, send to object Executive Module;
3), after object Executive Module receives these native object, according to identical methods of exhibiting, perform identical API in this locality, refresh local UI, just can realize the display of native object.
As from the foregoing, after access server receives the accessing request information of mobile device transmission, access server is decoded to above-mentioned access request message, obtain event information, then event information is passed to corresponding APP, from APP, then get the handle of showing interface object, with it correspondence, this showing interface object carried out to the methods of exhibiting of showing interface, then by showing interface object, handle, methods of exhibiting coding, generate access response information, finally feed back to mobile device.What transmit between access server and mobile device in the embodiment of the present invention only has access request message and access response message, and do not need transmitting graphics data, show object due to transport interface and much smaller than the data volume of transmitting graphics data, therefore can reduce the communication network bandwidth between mobile device and access server to the data volume that the methods of exhibiting of this showing interface object brings.Because mobile device is that the internal resource of enterprise network can not be leaked out by mobile device, and network information security degree is high by access server indirectly access enterprise networks network.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
For ease of better implementing the such scheme of the embodiment of the present invention, be also provided for the relevant apparatus implementing such scheme below.
Refer to shown in Fig. 4-a, a kind of access server 400 that the embodiment of the present invention provides, can comprise: receiver module 401, decoder module 402, transport module 403, acquisition module 404, coding module 405 and sending module 406, wherein,
Receiver module 401, for receiving the access request message that mobile device sends;
Decoder module 402, decodes for the described access request message received receiver module 401, obtains event information, and described event information is generated according to the input operation of user on described mobile device by described mobile device;
Transport module 403, passes to application A PP for the described event information obtained of being decoded by decoder module 402;
Acquisition module 404, for obtaining showing interface object, the handle handle corresponding with described showing interface object, described showing interface object being carried out to the methods of exhibiting of showing interface, wherein, described showing interface object, described handle and described methods of exhibiting are created according to described event information by described APP;
Coding module 405, encodes for the described showing interface object got acquisition module 404, described handle, described methods of exhibiting, obtains access response message;
Sending module 406, sends to described mobile device for the described access response information obtained of being encoded by coding module 405.
Refer to as shown in Fig. 4-b, in some embodiments of the invention, acquisition module 404, can comprise:
Virtual machine creating submodule 4041, after accessing described access server at described mobile device, for described mobile device creates virtual machine;
First obtains submodule 4042, for when described APP carries out showing interface according to described event information on described virtual machine, the application programming interface API called by described APP is obtained described APP and inputs showing interface object, the handle corresponding with described showing interface object in described API;
Second obtains submodule 4043, for obtaining the methods of exhibiting described showing interface object being carried out to showing interface that described API generates according to the described showing interface object that described APP inputs.
In some embodiments of the invention, transport module 403, can comprise:
Extract submodule 4031, for extracting the input operation of described user on described mobile device from described event information;
Distribution submodule 4032, for being distributed to described APP by task manager by the input operation of described user on described mobile device.
Refer to as shown in Fig. 4-c, in other embodiments of the present invention, acquisition module 404, can comprise:
Virtual machine creating submodule 4041, after described mobile device accesses described access server, for described mobile device creates virtual machine;
3rd obtains submodule 4044, for when described APP carries out showing interface according to described event information on described virtual machine, obtain described APP and be transferred to the showing interface object of window Windows manager and view system View System, the handle corresponding with described showing interface object, described showing interface object carried out to the methods of exhibiting of showing interface.
In some embodiments of the invention, transport module 403, can comprise:
Extract submodule 4031, for extracting the input operation of described user on described mobile device from described event information;
Distribution submodule 4032, for being distributed to described APP by task manager by the input operation of described user on described mobile device.
Refer to shown in Fig. 5-a, a kind of mobile device 500 that the embodiment of the present invention provides, can comprise: receiver module 501, decoder module 502, generation module 503, mapping block 504, display module 505, wherein,
Receiver module 501, for receiving the access response message that access server sends;
Decoder module 502, described access response message for receiving receiver module 501 is decoded, and obtains showing interface object, the handle handle corresponding with described showing interface object, described showing interface object is carried out to the methods of exhibiting of showing interface;
Generation module 503, for the described showing interface Object Creation native object obtained of decoding according to decoder module 502;
Mapping block 504, for writing object map table according to described handle by the mapping relations of described native object and described showing interface object;
Display module 505, for the described object map table generated according to mapping block 504, uses the methods of exhibiting to described showing interface object carries out showing interface to be presented on user interface UI by described native object.
In some embodiments of the invention, mapping block 504, if specifically for having there is described handle in described object map table, former native object corresponding with described handle in described object map table has been updated to the native object according to described showing interface Object Creation; If there is not described handle in described object map table, in described object map table, generate the mapping relations of described native object and described interface display object.
Refer to as shown in Fig. 5-b, in some embodiments of the invention, display module 505, can comprise:
Call submodule 5051, for according to described object map table and the methods of exhibiting invokes application DLL (dynamic link library) API described showing interface object being carried out to showing interface;
Implementation sub-module 5052, is presented at described UI for the methods of exhibiting by performing showing interface corresponding to described API by described native object.
In some embodiments of the invention, mobile device 500 also comprises: coding module 506 and sending module 507, wherein,
Described generation module 503, also for according to the input operation of user on described mobile device, generates event information;
Described coding module 506, for encoding to described event information, obtains access request message;
Described sending module 507, for being sent to access server by described access request message.
Refer to as shown in Figure 6, a kind of network system 600 that the embodiment of the present invention provides, can comprise: the access server 400 as shown in Fig. 4-a, 4-b, 4-c and the mobile device 500 as shown in Fig. 5-a, 5-b, wherein, described access server 400 is connected in the mode that can communicate with described mobile device 500.
In some embodiments of the invention, mobile device 500 specifically can pass through WLAN (wireless local area network) (WiFi) or Generation Mobile Telecommunication System (2G) network or 3G (Third Generation) Moblie (3G) network insertion in described access server 400.
It should be noted that, the content such as information interaction, implementation between each module/unit of said apparatus, due to the inventive method embodiment based on same design, its technique effect brought is identical with the inventive method embodiment, particular content see describing in the aforesaid embodiment of the method for the present invention, can repeat no more herein.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium has program stored therein, and this program performs and comprises in said method embodiment the part or all of layout recorded.
Next introduce the another kind of access server that the embodiment of the present invention provides, refer to shown in Fig. 7, access server 700 comprises:
Input unit 701, output device 702, processor 703 and memory 704 (quantity of the processor 703 wherein in access server 700 can be one or more, for a processor in Fig. 7).In some embodiments of the invention, input unit 701, output device 702, processor 703 are connected by bus or alternate manner with memory 704, wherein, to be connected by bus in Fig. 7.
Wherein, the access request message that input unit 701 sends for receiving mobile device, and be input in processor 703;
Processor 703, for performing following steps: decode to described access request message, obtain event information, described event information is generated according to the input operation of user on described mobile device by described mobile device; Described event information is passed to application A PP; Obtain showing interface object, the handle handle corresponding with described showing interface object, described showing interface object carried out to the methods of exhibiting of showing interface, wherein, described showing interface object, described handle and described methods of exhibiting are created according to described event information by described APP; Described showing interface object, described handle, described methods of exhibiting are encoded, obtains access response message;
Output device 702, for sending to described mobile device by described access response information.
In some embodiments of the invention, processor 703 is specifically for performing following steps: after described mobile device accesses described access server, for described mobile device creates virtual machine; When described APP carries out showing interface according to described event information on described virtual machine, the application programming interface API called by described APP is obtained described APP and inputs showing interface object, the handle corresponding with described showing interface object in described API; Obtain the methods of exhibiting described showing interface object being carried out to showing interface that described API generates according to the described showing interface object that described APP inputs.
In some embodiments of the invention, processor 703 is specifically for performing following steps: after described mobile device accesses described access server, for described mobile device creates virtual machine; When described APP carries out showing interface according to described event information on described virtual machine, obtain described APP and be transferred to the showing interface object of window Windows manager and view system View System, the handle corresponding with described showing interface object, described showing interface object carried out to the methods of exhibiting of showing interface.
In some embodiments of the invention, processor 703 is specifically for performing following steps: from described event information, extract the input operation of described user on described mobile device; By task manager, the input operation of described user on described mobile device is distributed on described APP.
Next introduce the another kind of mobile device that the embodiment of the present invention provides, refer to shown in Fig. 8, mobile device 800 comprises:
Input unit 801, output device 802, processor 803 and memory 804 (quantity of the processor 803 wherein in mobile device 800 can be one or more, for a processor in Fig. 8).In some embodiments of the invention, input unit 801, output device 802, processor 803 are connected by bus or alternate manner with memory 804, wherein, to be connected by bus in Fig. 8.
Wherein, the access response message that input unit 801 sends for receiving access server, and be input in processor 803;
Processor 803, for performing following steps: decode to described access response message, obtaining showing interface object, the handle handle corresponding with described showing interface object, described showing interface object being carried out to the methods of exhibiting of showing interface; According to described showing interface Object Creation native object; According to described handle, the mapping relations of described native object and described showing interface object are write object map table; According to described object map table, the methods of exhibiting to described showing interface object carries out showing interface is used to be presented on user interface UI by described native object.
In some embodiments of the invention, processor 803 is specifically for performing following steps: according to described object map table and the methods of exhibiting invokes application DLL (dynamic link library) API described showing interface object being carried out to showing interface; By the methods of exhibiting performing showing interface corresponding to described API, described native object is presented on described UI.
In some embodiments of the invention, processor 803 is also for performing following steps: according to the input operation of user on described mobile device, generates event information; Described event information is encoded, obtains access request message; Described access request message is sent on access server.
In some embodiments of the invention, processor 803 is specifically for performing following steps: if there is described handle in described object map table, former native object corresponding with described handle in described object map table is updated to the native object according to described showing interface Object Creation; If there is not described handle in described object map table, in described object map table, generate the mapping relations of described native object and described interface display object.
To sum up, after access server receives the accessing request information of mobile device transmission, access server is decoded to above-mentioned access request message, obtain event information, then event information is passed to corresponding APP, from APP, then get the handle of showing interface object, with it correspondence, this showing interface object carried out to the methods of exhibiting of showing interface, then by showing interface object, handle, methods of exhibiting coding, generate access response information, finally feed back to mobile device.What transmit between access server and mobile device in the embodiment of the present invention only has access request message and access response message, and do not need transmitting graphics data, show object due to transport interface and much smaller than the data volume of transmitting graphics data, therefore can reduce the communication network bandwidth between mobile device and access server to the data volume that the methods of exhibiting of this showing interface object brings.Because mobile device is that the internal resource of enterprise network can not be leaked out by mobile device, and network information security degree is high by access server indirectly access enterprise networks network.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
Above the method for a kind of mobile device accesses network provided by the present invention and relevant apparatus and system are described in detail, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, to those skilled in the art, other accompanying drawing can also be obtained according to these accompanying drawings.
The process blocks schematic diagram of the method for a kind of mobile device accesses network that Fig. 1 provides for the embodiment of the present invention;
The process blocks schematic diagram of the method for the another kind of mobile device accesses network that Fig. 2 provides for the embodiment of the present invention;
The structure composed schematic diagram of a kind of network system that Fig. 3-a provides for the embodiment of the present invention;
The composition structural representation of a kind of access server that Fig. 3-b provides for the embodiment of the present invention;
The composition structural representation of a kind of mobile device that Fig. 3-c provides for the embodiment of the present invention;
The composition structural representation of the another kind of access server that Fig. 4-a provides for the embodiment of the present invention;
The composition structural representation of the another kind of access server that Fig. 4-b provides for the embodiment of the present invention;
The composition structural representation of the another kind of access server that Fig. 4-c provides for the embodiment of the present invention;
The composition structural representation of the another kind of mobile device that Fig. 5-a provides for the embodiment of the present invention;
The composition structural representation of the another kind of mobile device that Fig. 5-b provides for the embodiment of the present invention;
The composition structural representation of the another kind of network system that Fig. 6 provides for the embodiment of the present invention;
The composition structural representation of the another kind of access server that Fig. 7 provides for the embodiment of the present invention;
The composition structural representation of the another kind of mobile device that Fig. 8 provides for the embodiment of the present invention.
Embodiment
Embodiments provide a kind of method of mobile device accesses network and relevant apparatus and system, for reducing the communication network bandwidth between mobile device and access server under the prerequisite ensureing the network information security, and improve the image display quality of mobile device.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only the present invention's part embodiments, and not all embodiments.Based on the embodiment in the present invention, the every other embodiment that those skilled in the art obtains, all belongs to the scope of protection of the invention.

Claims (18)

1. a method for mobile device accesses network, is characterized in that, comprising:
Access server receives the access request message that mobile device sends;
Described access server is decoded to described access request message, obtains event information, and described event information is generated according to the input operation of user on described mobile device by described mobile device;
Described event information is passed to application A PP by described access server;
Described access server obtains showing interface object, the handle handle corresponding with described showing interface object, described showing interface object is carried out to the methods of exhibiting of showing interface, wherein, described showing interface object, described handle and described methods of exhibiting are created according to described event information by described APP;
Described access server is encoded to described showing interface object, described handle, described methods of exhibiting, obtains access response message;
Described access response information is sent to described mobile device by described access server.
2. method according to claim 1, is characterized in that, described access server obtains showing interface object, the handle handle corresponding with described showing interface object, described showing interface object carried out to the methods of exhibiting of showing interface, comprising:
After described mobile device accesses described access server, described access server is that described mobile device creates virtual machine;
When described APP carries out showing interface according to described event information on described virtual machine, described access server obtains described APP by the application programming interface API that described APP calls and inputs showing interface object, the handle corresponding with described showing interface object in described API;
Described access server obtains the methods of exhibiting described showing interface object being carried out to showing interface that described API generates according to the described showing interface object that described APP inputs.
3. method according to claim 1, is characterized in that, described access server obtains showing interface object, the handle handle corresponding with described showing interface object, described showing interface object carried out to the methods of exhibiting of showing interface, comprising:
After described mobile device accesses described access server, described access server is that described mobile device creates virtual machine;
When described APP carries out showing interface according to described event information on described virtual machine, described access server obtains described APP and is transferred to the showing interface object of window Windows manager and view system View System, the handle corresponding with described showing interface object, described showing interface object is carried out to the methods of exhibiting of showing interface.
4. according to the method in any one of claims 1 to 3, it is characterized in that, described event information is passed to application A PP by described access server, comprising:
Described access server extracts the input operation of described user on described mobile device from described event information;
The input operation of described user on described mobile device is distributed on described APP by task manager by described access server.
5. a method for mobile device accesses network, is characterized in that, comprising:
Mobile device receives the access response message that access server sends;
Described mobile device is decoded to described access response message, obtains showing interface object, the handle handle corresponding with described showing interface object, described showing interface object is carried out to the methods of exhibiting of showing interface;
Described mobile device is according to described showing interface Object Creation native object;
The mapping relations of described native object and described showing interface object are write object map table according to described handle by described mobile device;
Described mobile device, according to described object map table, uses the methods of exhibiting to described showing interface object carries out showing interface to be presented on user interface UI by described native object.
6. method according to claim 5, is characterized in that, described mobile device, according to described object map table, uses the methods of exhibiting to described showing interface object carries out showing interface to be presented on user interface UI by described native object, comprising:
Described mobile device is according to described object map table and the methods of exhibiting invokes application DLL (dynamic link library) API described showing interface object being carried out to showing interface;
Described native object is presented on described UI by the methods of exhibiting performing showing interface corresponding to described API by described mobile device.
7. the method according to claim 5 or 6, is characterized in that, described mobile device also comprises before receiving the access response message of access server transmission:
Mobile device, according to the input operation of user on described mobile device, generates event information;
Described mobile device is encoded to described event information, obtains access request message;
Described access request message is sent on access server by described mobile device.
8. the method according to claim 5 or 6, is characterized in that, the mapping relations of described native object and described showing interface object are write object map table according to described handle by described mobile device, comprising:
If there is described handle in described object map table, former native object corresponding with described handle in described object map table has been updated to the native object according to described showing interface Object Creation by described mobile device;
If there is not described handle in described object map table, described mobile device generates the mapping relations of described native object and described interface display object in described object map table.
9. an access server, is characterized in that, comprising:
Receiver module, for receiving the access request message that mobile device sends;
Decoder module, for decoding to described access request message, obtains event information, and described event information is generated according to the input operation of user on described mobile device by described mobile device;
Transport module, for passing to application A PP by described event information;
Acquisition module, for obtaining showing interface object, the handle handle corresponding with described showing interface object, described showing interface object being carried out to the methods of exhibiting of showing interface, wherein, described showing interface object, described handle and described methods of exhibiting are created according to described event information by described APP;
Coding module, for encoding to described showing interface object, described handle, described methods of exhibiting, obtains access response message;
Sending module, for sending to described mobile device by described access response information.
10. access server according to claim 9, is characterized in that, described acquisition module, comprising:
Virtual machine creating submodule, after accessing described access server at described mobile device, for described mobile device creates virtual machine;
First obtains submodule, for when described APP carries out showing interface according to described event information on described virtual machine, the application programming interface API called by described APP is obtained described APP and inputs showing interface object, the handle corresponding with described showing interface object in described API;
Second obtains submodule, for obtaining the methods of exhibiting described showing interface object being carried out to showing interface that described API generates according to the described showing interface object that described APP inputs.
11. access servers according to claim 9, is characterized in that, described acquisition module, comprising:
Virtual machine creating submodule, after described mobile device accesses described access server, for described mobile device creates virtual machine;
3rd obtains submodule, for when described APP carries out showing interface according to described event information on described virtual machine, obtain described APP and be transferred to the showing interface object of window Windows manager and view system ViewSystem, the handle corresponding with described showing interface object, described showing interface object carried out to the methods of exhibiting of showing interface.
12. access servers according to any one of claim 9 to 11, it is characterized in that, described transport module, comprising:
Extract submodule, for extracting the input operation of described user on described mobile device from described event information;
Distribution submodule, for being distributed to described APP by task manager by the input operation of described user on described mobile device.
13. 1 kinds of mobile devices, is characterized in that, comprising:
Receiver module, for receiving the access response message that access server sends;
Decoder module, for decoding to described access response message, obtaining showing interface object, the handle handle corresponding with described showing interface object, described showing interface object being carried out to the methods of exhibiting of showing interface;
Generation module, for according to described showing interface Object Creation native object;
Mapping block, for writing object map table according to described handle by the mapping relations of described native object and described showing interface object;
Display module, for according to described object map table, uses the methods of exhibiting to described showing interface object carries out showing interface to be presented on user interface UI by described native object.
14. mobile devices according to claim 13, is characterized in that, described display module, comprising:
Call submodule, for according to described object map table and the methods of exhibiting invokes application DLL (dynamic link library) API described showing interface object being carried out to showing interface;
Implementation sub-module, is presented at described UI for the methods of exhibiting by performing showing interface corresponding to described API by described native object.
15. mobile devices according to claim 13 or 14, it is characterized in that, described mobile device also comprises: sending module and coding module, wherein,
Described generation module, also for according to the input operation of user on described mobile device, generates event information;
Described coding module, for encoding to described event information, obtains access request message;
Described sending module, for being sent to access server by described access request message.
16. mobile devices according to claim 13 or 14, it is characterized in that, described mapping block, if specifically for having there is described handle in described object map table, former native object corresponding with described handle in described object map table has been updated to the native object according to described showing interface Object Creation; If there is not described handle in described object map table, in described object map table, generate the mapping relations of described native object and described interface display object.
17. 1 kinds of network systems, it is characterized in that, comprise: the access server according to any one of claim 9 to 12 and the mobile device according to any one of claim 13 to 16, wherein, described access server is connected in the mode that can communicate with described mobile device.
18. systems according to claim 17, is characterized in that, described mobile device is linked in described access server by WLAN (wireless local area network) WiFi or Generation Mobile Telecommunication System 2G network or 3G (Third Generation) Moblie 3G network.
CN201310202919.4A 2013-05-28 2013-05-28 A kind of method of mobile device accesses network and relevant apparatus and system Expired - Fee Related CN103260260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310202919.4A CN103260260B (en) 2013-05-28 2013-05-28 A kind of method of mobile device accesses network and relevant apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310202919.4A CN103260260B (en) 2013-05-28 2013-05-28 A kind of method of mobile device accesses network and relevant apparatus and system

Publications (2)

Publication Number Publication Date
CN103260260A CN103260260A (en) 2013-08-21
CN103260260B true CN103260260B (en) 2015-10-21

Family

ID=48963886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310202919.4A Expired - Fee Related CN103260260B (en) 2013-05-28 2013-05-28 A kind of method of mobile device accesses network and relevant apparatus and system

Country Status (1)

Country Link
CN (1) CN103260260B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109358794A (en) * 2018-10-10 2019-02-19 平安普惠企业管理有限公司 WEB application program page furbishing method, device, computer equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834224A (en) * 2015-05-13 2015-08-12 上海锳科迩电子股份有限公司 Method for controlling intelligent household by use of buttons of intelligent mobile phone

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242336A (en) * 2008-03-13 2008-08-13 杭州华三通信技术有限公司 Method for remote access to intranet Web server and Web proxy server
CN101741764A (en) * 2009-12-25 2010-06-16 金蝶软件(中国)有限公司 Method and system for document transmission in enterprise wide area network (WAN)
CN102185846A (en) * 2011-04-26 2011-09-14 深信服网络科技(深圳)有限公司 Method and system based on VPN (Virtual Private Network) for safely visiting data of mobile communication terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242336A (en) * 2008-03-13 2008-08-13 杭州华三通信技术有限公司 Method for remote access to intranet Web server and Web proxy server
CN101741764A (en) * 2009-12-25 2010-06-16 金蝶软件(中国)有限公司 Method and system for document transmission in enterprise wide area network (WAN)
CN102185846A (en) * 2011-04-26 2011-09-14 深信服网络科技(深圳)有限公司 Method and system based on VPN (Virtual Private Network) for safely visiting data of mobile communication terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109358794A (en) * 2018-10-10 2019-02-19 平安普惠企业管理有限公司 WEB application program page furbishing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN103260260A (en) 2013-08-21

Similar Documents

Publication Publication Date Title
CN102571840B (en) Remote terminal test method and proxy server
US8087053B2 (en) System and method for transmitting an animated figure
CN102149083B (en) Personalized card writing method, system and device
CN112287372B (en) Method and apparatus for protecting clipboard privacy
CN103530160A (en) Page loading method and device
US20150319432A1 (en) Video detection in remote desktop protocols
CN104216761A (en) Method for using shared device in device capable of operating two operation systems
US11921880B2 (en) Encoding and concealing information using deep learning
CN105141567B (en) Interaction data processing method and system, the exchange method of terminal applies and server-side
US20150081815A1 (en) Method of transmitting anonymous message and message transmission system using the same
CN102202297B (en) Method and device for encrypting mobile terminals
US11546617B2 (en) Separation of graphics from natural video in streaming video content
CN103532564B (en) Two-dimensional code data encoding method, decoding method, system and intelligent device
CN104407829A (en) Method and device thereof for displaying image mirror
CN104602007A (en) Dynamic video encoding based on channel quality
CN105207886A (en) Instant messaging (IM) message sending and display methods, IM message sending and display devices, and IM message system
CN103489025A (en) Method and device for sending contact information
CN104424497A (en) Method and device for generating dynamic two-dimensional codes
CN103260260B (en) A kind of method of mobile device accesses network and relevant apparatus and system
CN103384254A (en) Application account login method, server, client and system
CN112417485A (en) Model training method, system and device based on trusted execution environment
CN106455128B (en) WIFI point-to-point data transmission method and device
CN107959824A (en) A kind of monitor video processing method, physical server and storage medium
CN107426114A (en) Resource allocation methods and system
US11281422B2 (en) Video data display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151021

Termination date: 20190528