A kind of method, mobile terminal and system for realizing mobile terminal office
Technical field
The invention belongs to field of computer technology more particularly to a kind of methods for realizing mobile terminal office, mobile terminal
And system.
Background technique
The development of computer technology all brings tremendous influence to our daily life, work etc., current
Enterprise (such as financial enterprise) all realizes office automation substantially, and user is handled official business by computer under normal conditions, when
When user's computer inconvenient to use, the mobile terminal for needing property easy to use high is handled official business.
However when being handled official business using mobile terminal, enterprise is needed to remove exploitation mobile terminal and non-in the development phase
The office system of mobile terminal version will expend a large amount of manpower, financial resources and material resources for enterprise.And due to various mobile whole
The factors such as the CPU processing capacity at end (such as mobile phone, iPad etc.) is not strong, and capacity of memory device is small, and power consumption is limited, develop mobile terminal
The office system of version is not high to the adaptability of mobile terminal.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method, mobile terminal and system for realizing mobile terminal office,
It can be achieved with handling official business by mobile terminal, improve without the office system of exploitation mobile terminal on mobile terminals
The applicability handled official business using mobile terminal.
First aspect of the embodiment of the present invention provides a kind of method for realizing mobile terminal office, is applied to mobile terminal,
The described method includes:
When detecting the trigger event for the preset icon region of current display interface, according to the triggering thing
Part generates solicited message and is sent to server;It wherein, include office system corresponding with the preset icon in the solicited message
The destination address of system;
Receive the page info being adapted to the mobile terminal that the server is sent based on the destination address;
The page info being adapted to the mobile terminal is shown.
Based in a first aspect, in the first possible implementation, believing in the page that will be adapted to the mobile terminal
After breath is shown, further includes:
If detecting the account information that user logins, the pre-stored and associated token of the account information is obtained
Token;
The account information and the token Token are sent to the server;
After the token Token described in the server authentication is the token Token to make an appointment, the server base is received
In the account information send with the associated data information of the account information;
It is updated according to the data information and shows the page info being adapted to mobile terminal.
Second aspect of the embodiment of the present invention provides a kind of method for realizing mobile terminal office, is applied to server, institute
The method of stating includes:
When receiving the solicited message from mobile terminal, the destination address in the solicited message is accessed;
The page info in the destination address is obtained, it is suitable with the mobile terminal to being generated after page info parsing
The page info matched;
The page info being adapted to the mobile terminal is sent to the mobile terminal.
Based on second aspect, in the first possible implementation, in the page letter that will be adapted to the mobile terminal
Breath is sent to after the mobile terminal, further includes:
If receiving account information and token Token that the mobile terminal is sent, verified according to the account information
Whether the token Token is the token Token to make an appointment;
If the token Token is the token Token to make an appointment, obtains and believe with the associated data of the account information
It ceases and is sent to the mobile terminal.
In the first implementation based on second aspect or above-mentioned second aspect, second of possible realization side
In formula, the page info obtained in the destination address, to generation and the mobile terminal after page info parsing
The page info of adaptation, comprising:
The page info in the destination address is obtained, the page info is parsed by HtmlCleaner and generates DOM
Tree construction, and the DOM tree construction being adapted to the mobile terminal is generated according to the DOM tree structure;
The page info being adapted to mobile terminal is generated according to the DOM tree structure being adapted to the mobile terminal.
Third aspect present invention provides a kind of mobile terminal, and the mobile terminal includes:
First sending module, for when the trigger event for detecting the preset icon region for current display interface
When, solicited message is generated according to the trigger event and is sent to server;Wherein, include in the solicited message with it is described pre-
If icon corresponds to the destination address of office system;
First receiving module, it is suitable with the mobile terminal for receive that the server sent based on the destination address
The page info matched;
Display module, for showing the page info being adapted to the mobile terminal.
Fourth aspect present invention provides a kind of server, and the server includes:
First receiving module, for accessing in the solicited message when receiving the solicited message from mobile terminal
Destination address;
Parsing module, for obtaining the page info in the destination address, to the page info parsing after generate with
The page info of the mobile terminal adaptation;
First sending module, for the page info being adapted to the mobile terminal to be sent to the mobile terminal.
Fifth aspect present invention provides a kind of terminal device, including includes memory, processor and be stored in described deposit
In reservoir and the computer program that can run on the processor, the processor are realized when executing the computer program
The step of stating method.
Sixth aspect present invention provides a kind of computer readable storage medium, and computer-readable recording medium storage has meter
Calculation machine program, when above-mentioned computer program is executed by processor the step of the realization above method.
Seventh aspect present invention provides a kind of realization mobile terminal office system, the office system include mobile terminal and
Server-side:
The mobile terminal, for when the trigger event for detecting the preset icon region for current display interface
When, solicited message is generated according to the trigger event and is sent to server;Wherein, include in the solicited message with it is described pre-
If icon corresponds to the destination address of office system;Receive that the server sent based on the destination address with it is described it is mobile eventually
Hold the page info of adaptation;The page info being adapted to the mobile terminal is shown;
The server, for accessing in the solicited message when receiving the solicited message from mobile terminal
Destination address;The page info in the destination address is obtained, to generation and the mobile terminal after page info parsing
The page info of adaptation;The page info being adapted to the mobile terminal is sent to the mobile terminal.
In embodiments of the present invention, when the trigger event for detecting the preset icon region for current display interface
When, solicited message is generated according to the trigger event and is sent to server;Wherein, include in the solicited message with it is described pre-
If icon corresponds to the destination address of office system;Receive that the server sent based on the destination address with it is described it is mobile eventually
Hold the page info of adaptation;The page info being adapted to the mobile terminal is shown.Work as due to can detecte to be directed to
The trigger event of the preset icon region of front interface generates solicited message according to trigger event and is sent to server, then connects
The page info being adapted to the mobile terminal that server is sent is received, and shows the page being adapted to mobile terminal in mobile terminal
Face information can be achieved with without developing the office system of mobile terminal on mobile terminals by showing on mobile terminal
The page info shown is handled official business, and the applicability handled official business using mobile terminal is improved.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the flow diagram for the method for realizing mobile terminal office that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of the method for realization mobile terminal office provided by Embodiment 2 of the present invention;
Fig. 3 is the flow diagram for the method for realizing mobile terminal office that the embodiment of the present invention three provides;
Fig. 4 is the flow diagram for the method for realizing mobile terminal office that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the mobile terminal that the embodiment of the present invention five provides;
Fig. 6 is the structural schematic diagram for the server that the embodiment of the present invention six provides;
Fig. 7 is the structural schematic diagram for the realization mobile terminal office system that the embodiment of the present invention seven provides;
Fig. 8 is the structural schematic diagram for the terminal device that the embodiment of the present invention eight provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in following methods embodiment, respectively
The execution sequence of process should be determined by its function and internal logic, and the implementation process without coping with each embodiment constitutes any limit
It is fixed.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
The embodiment of the present invention provides a kind of method for realizing mobile terminal office, is applied to mobile terminal, such as mobile phone, iPad
Equal mobile terminals, as shown in Figure 1, the method in the embodiment of the present invention includes:
Step S101, when detecting the trigger event for the preset icon region of current display interface, according to
The trigger event generates solicited message and is sent to server;Wherein, include in the solicited message and the preset icon
The destination address of corresponding office system.
In embodiments of the present invention, above-mentioned current display interface can be when user opens the application program on mobile terminal
The interface shown afterwards.Above-mentioned preset icon can be previously according to office system setting comprising service where the office system
The preset icon of the address URL of device.Above-mentioned display interface may include one or more preset icons, above-mentioned trigger event include but
It is not limited to the events such as pressing, the sliding of above-mentioned preset icon region.When the triggering thing for detecting preset icon region
When part, corresponding with preset icon solicited message is generated according to the preset icon of trigger event triggering, and by the request
Information is sent to server, after server receives the solicited message, destination address in acquisition request information, and Ke Yitong
It crosses the destination address access office system and obtains the page info in office system.Above-mentioned purpose address is construed as doing
The address URL of server where public system.Therefore, can by server access office system, but due to server obtain
Page info is the page info obtained in the form of the end PC, when the page info is directly back to movement eventually by server
End, it is incompatible due to mobile terminal and the end PC, it is incompatible etc. as caused by the difference of user-interface design.So that mobile whole
The page info cannot be correctly shown on end, therefore after in the page info that server obtains in above-mentioned purpose address,
After parsing to page info and the page info being adapted to mobile terminal is generated, and the page being adapted to mobile terminal is believed
Breath is sent to mobile terminal.
In one embodiment, after in the page info in above-mentioned acquisition above-mentioned purpose address, page info is solved
The page info being adapted to mobile terminal is generated after analysis may is that the page info obtained in the destination address, pass through
HtmlCleaner parses the page info and generates DOM tree structure, and is generated and the movement according to the DOM tree structure
The DOM tree structure of terminal adaptation;The page being adapted to mobile terminal is generated according to the DOM tree structure being adapted to the mobile terminal
Information.Above-mentioned HtmlCleaner be one open source the resolver write using programming language, can by above-mentioned page info into
Row parses and generates the DOM tree structure with structuring, and be adapted to according to DOM tree structure generation with the mobile terminal
DOM tree structure.Above-mentioned DOM tree structure is that can all regard each element for including as one by one object in above-mentioned page info, from
And make the element of above-mentioned page info that can also be acquired or edit, it can be achieved that dynamically modifying page info.
Step S102 receives the page being adapted to the mobile terminal that the server is sent based on the destination address
Information.
In embodiments of the present invention, when the page info being adapted to mobile terminal is sent to mobile terminal by above-mentioned server
Afterwards, it can receive the page info being adapted to the mobile terminal that above-mentioned server is sent based on the destination address.
Step S103 shows the page info being adapted to the mobile terminal.
In embodiments of the present invention, when the page letter being adapted to above-mentioned mobile terminal for receiving above-mentioned server transmission
Breath, can on mobile terminals show the page info being adapted to mobile terminal, so that mobile terminal can correctly be shown
The page info of above-mentioned office system allows user to carry out subsequent operation by mobile terminal.
In a kind of application scenarios, such as above-mentioned server accesses office system by the destination address and obtains office
Page info in system can be the initial page information of office system, such as the account that the user that can be to provide logins
Initial page information.Above-mentioned server will obtain the initial page information in office system by method described in step S101
The initial page information that the office system being adapted to mobile terminal is generated after taking the page info in office system to be parsed, makes
The initial page that user can enter office system by mobile terminal logins associated account information and handles official business.
It can be seen that in embodiments of the present invention, the preset icon location of current interface is directed to due to can detecte
The trigger event in domain, according to trigger event generate solicited message be sent to server, then receive server transmission with the shifting
The page info of dynamic terminal adaptation, and the page info being adapted to mobile terminal is shown in mobile terminal, without moving
The office system that mobile terminal is developed in dynamic terminal, can be achieved with handling official business by the page info shown on mobile terminal,
Improve the applicability handled official business using mobile terminal.
Embodiment two
Below to it is provided by Embodiment 2 of the present invention it is a kind of realize mobile terminal office method be described, this implementation institute
Method is stated applied to mobile terminal, as shown in Fig. 2, the present embodiment is realized based on embodiment one, this implementation and above-described embodiment one
The same or similar place, for details, reference can be made to the associated descriptions of embodiment one, and details are not described herein again.As shown in Fig. 2, the present embodiment
In after step s 103 further include:
Step S201 obtains the pre-stored and account information and closes if detecting the account information that user logins
The token Token of connection.
In embodiments of the present invention, if detecting, user logins account information by mobile terminal, can obtain and be stored in advance
Be with the account information associated token Token, token Token logined verifying user identity, provide special login for user
Virtual encoder ensures the technology of user security login system.Token Token be according to the distinctive value of account information and time point,
A unforeseen coding is generated when in use, and the coding and user password constitute the pass code of user.
The account information and the token Token are sent to the server by step S202.
In embodiments of the present invention, above-mentioned account information and above-mentioned token Token are sent to server, make server pair
Account information and token Token are verified.
After step S203, the token Token described in the server authentication are the token Token to make an appointment, institute is received
State that server sent based on the account information with the associated data information of the account information.
In embodiments of the present invention, can in advance and the good token Token corresponding with each account information of server commitment,
When server receives account information and token Token, verify whether the token Token is preparatory according to the account information
Agreement with the associated token Token of the account information, if the token Token is the token Token to make an appointment,
Acquisition and the associated data information of the account information are simultaneously sent to the mobile terminal.
In one embodiment, it may is that in advance with server commitment token Token and pass through shifting in first time detection user
Dynamic terminal arranges token Token when logining account information, concretely when first time detection when user is logined by mobile terminal
The account information is sent to server by account information, generates unique enable according to the identification information of account information by server
Board token value is stored and is sent to the mobile terminal, and mobile terminal receives the token value that the server is sent and goes forward side by side
Row storage.Alternatively, being also possible to detect that for the first time user logins account information by mobile terminal, according to account information
Identification information generate unique token token value stored and send it is supreme state server, receive for the first time account information with should
The associated token Token of account information is stored.The above-mentioned verifying token Token whether be with make an appointment with it is described
The associated token Token of account information may is that when n-th logins account information, server authentication token Token whether and
Pre-stored matches with the associated token token of the account information, wherein N >=2 and be integer.
Step S204 updates according to the data information and shows the page info being adapted to mobile terminal.
In embodiments of the present invention, if receive with the associated data information of the account information, according to the data believe
Breath updates and shows the page info being adapted to mobile terminal, i.e., ought detect that the account information logined can believe account
The historical data information of breath is synchronized to mobile terminal, carries out as user logined account information before the end PC or mobile terminal
Office, can save relevant office data, when user can synchronize history when mobile terminal logins account information again
Office data.
It can be seen that in embodiments of the present invention, on the one hand, be directed to the preset icon of current interface due to can detecte
The trigger event of region, according to trigger event generate solicited message be sent to server, then receive server transmission with
The page info of mobile terminal adaptation, and the page info being adapted to mobile terminal is shown in mobile terminal, from without
The office system that develop mobile terminal on mobile terminals can be achieved with carrying out by the page info shown on mobile terminal
Office improves the applicability handled official business using mobile terminal;On the other hand, due to by the account information and the token Token,
It is sent to the server.After the token Token described in the server authentication is the token Token to make an appointment, institute is received
State that server sent based on the account information with the associated data information of the account information, more according to the data information
The new and display page info being adapted to mobile terminal, after safety verification being carried out to account information by server,
The relevant historical data of account information is synchronized to the page info being adapted to mobile terminal, so as to guarantee account information
In the case where safety, the applicability handled official business by mobile terminal is further improved.
Embodiment three
A kind of method for realizing mobile terminal office that the embodiment of the present invention three provides is described below, this implementation institute
Method is stated applied to server, as shown in figure 3, the method in the present embodiment includes:
Step S301 accesses the destination in the solicited message when receiving the solicited message from mobile terminal
Location.
In embodiments of the present invention, above-mentioned steps S301 and the same or similar place above-mentioned steps S101, can specifically join
See the associated description of step S101, details are not described herein again.
Step S302 obtains the page info in the destination address, to the page info parsing after generate with it is described
The page info of mobile terminal adaptation.
In one embodiment, the page info obtained in the destination address, after page info parsing
Generating the page info being adapted to the mobile terminal includes: the page info obtained in the destination address, is passed through
HtmlCleaner parses the page info and generates DOM tree structure, and is generated and the movement according to the DOM tree structure
The DOM tree structure of terminal adaptation;The page being adapted to mobile terminal is generated according to the DOM tree structure being adapted to the mobile terminal
Information.
In embodiments of the present invention, above-mentioned steps S302 and the same or similar place above-mentioned steps S101, can specifically join
See the associated description of step S101, details are not described herein again.
The page info being adapted to the mobile terminal is sent to the mobile terminal by step S303.
In embodiments of the present invention, when the page info being adapted to above-mentioned mobile terminal is sent to movement by above-mentioned server
Terminal, mobile terminal can show the page info being adapted to mobile terminal, so that mobile terminal can correctly be shown
The page info for stating office system allows user to carry out subsequent operation by mobile terminal.
It can be seen that in embodiments of the present invention, when receiving the solicited message from mobile terminal, being asked described in access
Seek the destination address in information;The page info in the destination address is obtained, to generation and institute after page info parsing
State the page info of mobile terminal adaptation;It is described mobile whole by the page info being adapted to the mobile terminal to be sent to again
End, after user receives the page info being adapted to the mobile terminal and display, without developing shifting on mobile terminals
The office system of dynamic terminal, can be achieved with handling official business by the page info shown on mobile terminal, improve using movement
The applicability of terminal office.
Example IV
A kind of method for realizing mobile terminal office that the embodiment of the present invention four provides is described below, this implementation institute
Method is stated applied to server, as shown in figure 4, the present embodiment is realized based on embodiment three, this implementation and above-described embodiment three-phase
Same or similar place, for details, reference can be made to the associated descriptions of embodiment one, and details are not described herein again.As shown in figure 4, in the present embodiment
After step S303 further include:
Step S401, if account information and token Token that the mobile terminal is sent are received, according to the account
Whether token Token described in Information Authentication is the token Token to make an appointment.
In embodiments of the present invention, above-mentioned steps S401 and the same or similar place above-mentioned steps S203, can specifically join
See the associated description of step S203, details are not described herein again.
Step S402 is obtained and is closed with the account information if the token Token is the token Token to make an appointment
The data information of connection is simultaneously sent to the mobile terminal.
In embodiments of the present invention, above-mentioned steps S402 and the same or similar place above-mentioned steps S203, can specifically join
See the associated description of step S203, details are not described herein again.
It can be seen that in embodiments of the present invention, on the one hand, when receiving the solicited message from mobile terminal, visit
Ask the destination address in the solicited message;The page info in the destination address is obtained, after page info parsing
Generate the page info being adapted to the mobile terminal;It is described by the page info being adapted to the mobile terminal to be sent to again
Mobile terminal, after user receives the page info being adapted to the mobile terminal and display, without on mobile terminals
The office system for developing mobile terminal, can be achieved with handling official business by the page info shown on mobile terminal, improving makes
The applicability handled official business with mobile terminal;On the other hand, if receiving account information and token that the mobile terminal is sent
Token then verifies whether the token Token is the token Token to make an appointment according to the account information, if the token
Token is the token Token to make an appointment, then obtains and the associated data information of the account information and be sent to the movement
Terminal, can by server to account information carry out safety verification after, by the relevant historical data of account information be synchronized to
The page info of mobile terminal adaptation, so as to further improve and pass through shifting in the case where guaranteeing account information safety
The applicability of dynamic terminal office.
Embodiment five
The embodiment of the present invention five provides a kind of mobile terminal, as shown in figure 5, the mobile terminal 500 includes:
First sending module 501, for when the triggering for detecting the preset icon region for current display interface
When event, solicited message is generated according to the trigger event and is sent to server;Wherein, include in the solicited message and institute
State the destination address that preset icon corresponds to office system;
First receiving module 502, for receive that the server sent based on the destination address with it is described it is mobile eventually
Hold the page info of adaptation;
Display module 503, for showing the page info being adapted to the mobile terminal;
Detection module 504 obtains the pre-stored and account if the account information logined for detecting user
The token Token of information association;
Second sending module 505, for the account information and the token Token to be sent to the server;
Second receiving module 506 is the token made an appointment for the token Token described in the server authentication
After Token, receive that the server sent based on the account information with the associated data information of the account information;
Update module 507, for the page letter being adapted to mobile terminal to be updated and shown according to the data information
Breath.
It can be seen that in embodiments of the present invention, on the one hand, be directed to the preset icon of current interface due to can detecte
The trigger event of region, according to trigger event generate solicited message be sent to server, then receive server transmission with
The page info of mobile terminal adaptation, and the page info being adapted to mobile terminal is shown in mobile terminal, from without
The office system that develop mobile terminal on mobile terminals can be achieved with carrying out by the page info shown on mobile terminal
Office improves the applicability handled official business using mobile terminal;On the other hand, due to by the account information and the token Token,
It is sent to the server.After the token Token described in the server authentication is the token Token to make an appointment, institute is received
State that server sent based on the account information with the associated data information of the account information, more according to the data information
The new and display page info being adapted to mobile terminal, after safety verification being carried out to account information by server,
The relevant historical data of account information is synchronized to the page info being adapted to mobile terminal, so as to guarantee account information
In the case where safety, the applicability handled official business by mobile terminal is further improved.
Embodiment six
The embodiment of the present invention six provides a kind of server, as shown in fig. 6, the server 600 includes:
First receiving module 601, for accessing the solicited message when receiving the solicited message from mobile terminal
In destination address;
Parsing module 602 generates after parsing to the page info for obtaining the page info in the destination address
The page info being adapted to the mobile terminal;
In one embodiment, parsing module 602 is specifically used for obtaining the page info in the destination address, passes through
HtmlCleaner parses the page info and generates DOM tree structure, and is generated and the movement according to the DOM tree structure
The DOM tree structure of terminal adaptation;The page being adapted to mobile terminal is generated according to the DOM tree structure being adapted to the mobile terminal
Face information.
First sending module 603, for the page info being adapted to the mobile terminal to be sent to the mobile terminal.
Authentication module 604, if the account information and token Token that are sent for receiving the mobile terminal, basis
The account information verifies whether the token Token is the token Token to make an appointment;
Second sending module 605, if being the token Token to make an appointment for the token Token, obtain with it is described
The associated data information of account information is simultaneously sent to the mobile terminal.
It can be seen that in embodiments of the present invention, it can be seen that, in embodiments of the present invention, on the one hand, come when receiving
When from the solicited message of mobile terminal, the destination address in the solicited message is accessed;Obtain the page in the destination address
Information, the page info that generation after page info parsing is adapted to the mobile terminal;Again by will with it is described it is mobile eventually
The page info of end adaptation is sent to the mobile terminal, and user receives the page info being adapted to the mobile terminal and display
Afterwards, it without developing the office system of mobile terminal on mobile terminals, can be achieved with by being shown on mobile terminal
Page info is handled official business, and the applicability handled official business using mobile terminal is improved;On the other hand, if receiving the mobile terminal
The account information and token Token of transmission then verify whether the token Token makes an appointment according to the account information
Token Token is obtained and the associated data of the account information if the token Token is the token Token to make an appointment
Information is simultaneously sent to the mobile terminal, after can carrying out safety verification to account information by server, by account information phase
The historical data of pass is synchronized to the page info being adapted to mobile terminal, so as in the situation for guaranteeing account information safety
Under, further improve the applicability handled official business by mobile terminal.
Embodiment seven
A kind of structural schematic diagram for realizing mobile terminal office system that the embodiment of the present application seven provides, as shown in Fig. 7,
The office system 700 includes mobile terminal 701 and server 702:
The mobile terminal 701, for when the triggering for detecting the preset icon region for current display interface
When event, solicited message is generated according to the trigger event and is sent to server;Wherein, include in the solicited message and institute
State the destination address that preset icon corresponds to office system;It is sending based on the destination address with the shifting to receive the server
The page info of dynamic terminal adaptation;The page info being adapted to the mobile terminal is shown;
In one embodiment, the mobile terminal 701 obtains if being also used to detect the account information that user logins
Take the pre-stored and associated token Token of the account information;The account information and the token Token are sent to
The server;After the token Token described in the server authentication is the token Token to make an appointment, the service is received
Device sent based on the account information with the associated data information of the account information;It updates and shows according to the data information
Show the page info being adapted to mobile terminal.
The server 702, for accessing in the solicited message when receiving the solicited message from mobile terminal
Destination address;The page info in the destination address is obtained, it is whole with the movement to being generated after page info parsing
Hold the page info of adaptation;The page info being adapted to the mobile terminal is sent to the mobile terminal.
In one embodiment, the page info obtained in the destination address, after page info parsing
Generate the page info being adapted to the mobile terminal, comprising: obtain the page info in the destination address, pass through
HtmlCleaner parses the page info and generates DOM tree structure, and is generated and the movement according to the DOM tree structure
The DOM tree structure of terminal adaptation;The page being adapted to mobile terminal is generated according to the DOM tree structure being adapted to the mobile terminal
Information.
In one embodiment, if the server 702 is also used to receive the account information that the mobile terminal is sent
With token Token, then verify whether the token Token is the token Token to make an appointment according to the account information;If institute
Stating token Token is the token Token to make an appointment, then obtains and the associated data information of the account information and be sent to institute
State mobile terminal.
It can be seen that in embodiments of the present invention, on the one hand, be directed to the preset icon of current interface due to can detecte
The trigger event of region, according to trigger event generate solicited message be sent to server, then receive server transmission with
The page info of mobile terminal adaptation, and the page info being adapted to mobile terminal is shown in mobile terminal, from without
The office system that develop mobile terminal on mobile terminals can be achieved with carrying out by the page info shown on mobile terminal
Office improves the applicability handled official business using mobile terminal;On the other hand, due to by the account information and the token Token,
It is sent to the server.After the token Token described in the server authentication is the token Token to make an appointment, institute is received
State that server sent based on the account information with the associated data information of the account information, more according to the data information
The new and display page info being adapted to mobile terminal, after safety verification being carried out to account information by server,
The relevant historical data of account information is synchronized to the page info being adapted to mobile terminal, so as to guarantee account information
In the case where safety, the applicability handled official business by mobile terminal is further improved.
Embodiment eight
Fig. 8 is a kind of terminal device provided by the embodiment of the present invention.As shown in figure 8, the terminal in the embodiment of the present invention
Equipment 800 includes: processor 801, memory 802 and is stored in above-mentioned memory 802 and can be in above-mentioned processor 801
The computer program 803 of upper operation.Above-mentioned processor 801 realizes that above-mentioned realization is mobile eventually when executing above-mentioned computer program 803
Hold the step in the embodiment of the method for office, such as step 101 shown in FIG. 1 to 103 and step 201 shown in Fig. 2 to 204,
Or step 301 shown in Fig. 3 is to 303 and step 401 shown in Fig. 4 to 402.
Illustratively, above-mentioned computer program 803 can be divided into one or more units/modules, said one or
The multiple units/modules of person are stored in above-mentioned memory 802, and are executed by above-mentioned processor 801, to complete the present invention.On
Stating one or more units/modules can be the series of computation machine program instruction section that can complete specific function, the instruction segment
For describing implementation procedure of the above-mentioned computer program 803 in above-mentioned terminal device 800.For example, above-mentioned computer program
803 can be divided into the first sending module, the first receiving module, display module, detection module, the second sending module, and second
Receiving module, update module, each module concrete function have been described in above-described embodiment five, are not repeating herein;Or meter
Calculation machine program 803 can be divided into the first receiving module, and parsing module, the first sending module, authentication module, second sends
Module, each module concrete function have been described in above-described embodiment six, are not repeating herein.
Smart machine, mobile terminal, the table that above-mentioned terminal device 800 can be terminal device, be integrated in terminal device
Laptop computer, notebook, palm PC and cloud server etc. calculate equipment.Above-mentioned terminal device 800 may include, but not only
It is limited to, processor 801, memory 802.It will be understood by those skilled in the art that Fig. 8 is only the example of terminal device 800, and
The restriction to terminal device 800 is not constituted, may include components more more or fewer than diagram, or combine certain components, or
The different component of person, such as above-mentioned terminal device 800 can also include input-output equipment, network access equipment, bus etc..
Alleged processor 801 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
Above-mentioned memory 802 can be the internal storage unit of terminal device 800, for example, terminal device 800 hard disk or
Memory.Above-mentioned memory 802 is also possible to the External memory equipment of above-mentioned terminal device 800, such as on above-mentioned terminal device 800
The plug-in type hard disk of outfit, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital,
SD) block, flash card (Flash Card) etc..Further, above-mentioned memory 802 can also both include above-mentioned terminal device 800
Internal storage unit also include External memory equipment.Above-mentioned memory 802 is for storing above-mentioned computer program and above-mentioned
Other programs and data needed for terminal device 800.Above-mentioned memory 802 can be also used for temporarily storing exported or
The data that person will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of above-mentioned apparatus is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above-mentioned intelligence
The specific work process of unit in terminal, module, can refer to corresponding processes in the foregoing method embodiment, no longer superfluous herein
It states.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of above-mentioned module or unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with
In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or
Communication connection can be electrical property, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment side
All or part of the process in method can also instruct relevant hardware to complete, above-mentioned computer by computer program
Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each
The step of a embodiment of the method.Wherein, above-mentioned computer program includes computer program code, and above-mentioned computer program code can
Think source code form, object identification code form, executable file or certain intermediate forms etc..Above-mentioned computer-readable medium can be with
It include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light that can carry above-mentioned computer program code
Disk, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random
Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that above-mentioned computer
The content that readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as
In certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and telecommunications letter
Number.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.