CN105787030A - Mobile terminal and data processing method thereof - Google Patents

Mobile terminal and data processing method thereof Download PDF

Info

Publication number
CN105787030A
CN105787030A CN201610103805.8A CN201610103805A CN105787030A CN 105787030 A CN105787030 A CN 105787030A CN 201610103805 A CN201610103805 A CN 201610103805A CN 105787030 A CN105787030 A CN 105787030A
Authority
CN
China
Prior art keywords
module
level
mobile terminal
file
application program
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.)
Granted
Application number
CN201610103805.8A
Other languages
Chinese (zh)
Other versions
CN105787030B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610103805.8A priority Critical patent/CN105787030B/en
Publication of CN105787030A publication Critical patent/CN105787030A/en
Application granted granted Critical
Publication of CN105787030B publication Critical patent/CN105787030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a mobile terminal and a data processing method thereof.The mobile terminal comprises a first detection module, a judgment module, a first processing module, a first creating module and a sharing module.The first detection module is used for informing the judgment module when detecting that a user needs to save a current page and informing the sharing module when detecting that the user needs to share a file; the judgment module is used for receiving the information from the first detection module, judging whether the current page of an application program meets preset conditions or not, and informing the first processing module when judging that the current page of the application program meets the preset conditions; the first processing module is used for receiving the information from the judgment module, and obtaining and analyzing the information of the current page of the application program; the first creating module is used for storing the analyzed information into the file; the sharing module is used for receiving the information from the first detection module, and sharing the file.The page of the APP corresponding to a web portal is shared, and user experience is improved.

Description

A kind of mobile terminal and the method processing data thereof
Technical field
The present embodiments relate to but be not limited to intelligent terminal's technology, the method for espespecially a kind of mobile terminal and process data thereof.
Background technology
Along with the development of mobile terminal, there has been the application program (APP) of correspondence in portal website, and user can check the content of corresponding portal website by APP.When user views certain page of a certain APP oneself liked, it is possible to can wish to share with other people.But, existing mode of sharing relies only on chat tool, this exists for problems with: if chat tool has sharing function, can share, if chat tool does not have sharing function, cannot share, even if chat tool has sharing function, carrying out the flow process shared also very loaded down with trivial details, Consumer's Experience is extremely bad;Further, prior art cannot realize the sharing of the page of the APP that portal website is corresponding.
Therefore, the page how sharing APP corresponding to portal website becomes the difficult problem needing solution badly.
Summary of the invention
This application provides a kind of mobile terminal and the method processing data thereof, it is possible to realize sharing of the page to APP corresponding to portal website, promote Consumer's Experience.
In order to reach the application purpose, this application provides a kind of mobile terminal, be applied in the application program that portal website is corresponding, including: first detection module, judge module, the first processing module, the first creation module and sharing module;Wherein,
First detection module, for when detecting that user needs to preserve current page, notifying judge module;When detecting that user needs to share file, notify sharing module;
Judge module, for receiving the notice from first detection module, it is judged that it is pre-conditioned whether the current page of application program meets;When the current page judging application program meets pre-conditioned, notify the first processing module;
First processing module, for receiving the notice from judge module, obtains and resolves the information of the current page of application program;
First creation module, stores hereof for the information that will parse;
Sharing module, for receiving the notice from first detection module, shares this document.
Alternatively, the information of current page that described first processing module resolves application program includes: the level resolving the information of the current page of the application program obtained and content corresponding to the level parsed;
Wherein, level includes: navigation bar, and/or title bar, and/or text view;
When level is navigation bar, or during title bar, content corresponding to described level includes: font, pattern and icon;
When level is text view, content corresponding to described level includes: the font and style of the word that text view comprises.
Alternatively, described first creation module specifically for: the described information correspondence parsed is stored in the file of the .act form being pre-created.
Present invention also provides a kind of mobile terminal, be applied in the application program that portal website is corresponding, including: the second detection module, the second creation module, the second processing module and display module;Wherein,
Second detection module, for when the file that user clicks .act form being detected, notifying the second creation module;
Second creation module, for receiving the notice from the second detection module, creates a page;
Second processing module, the content corresponding with the level parsed for resolving level corresponding to the file of .act form that user clicks;By corresponding being arranged in the page created of content corresponding with level for the level parsed;When being resolved to text view, the word and the pictures that comprise described text view are correspondingly arranged in the page created;
Display module, for showing the page after arranging.
Present invention also provides a kind of mobile terminal, be applied in the application program that portal website is corresponding, including: the mobile terminal described in any one of claim 1-4, and the mobile terminal described in claim 5.
Present invention also provides a kind of method that mobile terminal processes data, be applied in the application program that portal website is corresponding, including:
When mobile terminal detects that user needs to preserve current page, it is judged that it is pre-conditioned whether the current page of application program meets;
When the current page judging application program meets pre-conditioned, obtain and resolve the information of the current page of application program;
The information parsed is stored hereof;
When detecting that user needs to share this document, this document is shared.
Alternatively, the information of the current page of described parsing application program includes: the level of information resolving the current page of the application program obtained and content corresponding to the level parsed;
Wherein, level includes: navigation bar, and/or title bar, and/or text view view;
When level is navigation bar, or during title bar, content corresponding to described level includes: font, pattern and icon;
When level is text view, content corresponding to described level includes: the font and style of the word that text view comprises.
Alternatively, described will parse information storage include hereof: the described information correspondence parsed is stored in the file of the .act form being pre-created.
Alternatively, when described level is text view, the method also includes: the word comprise described text view and picture store to the file of the preset format pre-build and record in the file of described .act form the store path of the file of this preset format pre-build.
Present invention also provides a kind of method that mobile terminal processes data, be applied in the application program that portal website is corresponding, including:
When movement detects the file that user clicks .act form, create a page;
Resolve the content that level corresponding to the file of .act form that user clicks is corresponding with the level parsed;
By corresponding being arranged in the page created of content corresponding with level for the level parsed;
When being resolved to text view view, the word and the pictures that comprise described text view are correspondingly arranged in the page created;
Show the page after arranging.
The embodiment of the present invention includes: first detection module, judge module, the first processing module, the first creation module and sharing module;Wherein, first detection module, for when detecting that user needs to preserve current page, notifying judge module;When detecting that user needs to share file, notify sharing module;Judge module, for receiving the notice from first detection module, it is judged that it is pre-conditioned whether the current page of application program meets;When the current page judging application program meets pre-conditioned, notify the first processing module;First processing module, for receiving the notice from judge module, obtains and resolves the information of the current page of application program;First creation module, stores hereof for the information that will parse;Sharing module, for receiving the notice from first detection module, shares this document.
The embodiment of the present invention achieves sharing of the page of the application program that portal website is corresponding, improves Consumer's Experience.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, and the schematic description and description of the present invention is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is the schematic diagram of the communication system communicated between support mobile terminal of the present invention;
Fig. 3 is the structural representation of mobile terminal of the present invention;
Fig. 4 is the structural representation of another kind mobile terminal of the present invention;
Fig. 5 is the flow chart that mobile terminal of the present invention processes the method for data;
Fig. 6 is the schematic diagram that the present invention shares the human-computer interaction interface of .act formatted file;
Fig. 7 is the flow chart that another kind mobile terminal of the present invention processes the method for data;
Fig. 8 is the flow chart that mobile terminal of the present invention processes the embodiment of the method for data.
Detailed description of the invention
Below in conjunction with drawings and Examples, technical scheme is described in detail.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for being conducive to the explanation of the present invention, itself do not have specific meaning.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include the mobile terminal of such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for the element of mobile purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, user input unit 130, sensing unit 140, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 illustrates the mobile terminal with various assembly, it should be understood that be not required for implementing all assemblies illustrated.Can alternatively implement more or less of assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and wireless communication system or network.Such as, wireless communication unit can include at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113.
Broadcast reception module 111 manages server via broadcast channel from external broadcasting and receives broadcast singal and/or broadcast related information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or broadcast singal that reception is previously created and/or broadcast related information and send it to the server of terminal.Broadcast singal can include TV broadcast singal, radio signals, data broadcasting signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information can also provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the electronic program guides (EPG) of DMB (DMB), the form of the electronic service guidebooks (ESG) etc. of digital video broadcast-handheld (DVB-H).Broadcast reception module 111 can be passed through to use various types of broadcast systems to receive signal broadcast.Especially, broadcast reception module 111 can be passed through to use such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB-H), forward link media (MediaFLO) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digit broadcasting system receive digital broadcasting.Broadcast reception module 111 may be constructed such that the various broadcast systems and above-mentioned digit broadcasting system that are adapted to provide for broadcast singal.The broadcast singal and/or the broadcast related information that receive via broadcast reception module 111 can be stored in memorizer 160 (or other type of storage medium).
Mobile communication module 112 sends radio signals at least one in base station (such as, access point, node B etc.), exterior terminal and server and/or receives from it radio signal.Such radio signal can include voice call signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can internally or externally be couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, electric capacity etc. the sensitive component of change), roller, rocking bar etc..Especially, when touch pad is superimposed upon on display unit 151 as a layer, it is possible to form touch screen.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, mobile terminal 100 acceleration or deceleration move and direction etc., and generate the order of operation for controlling mobile terminal 100 or signal.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense this sliding-type phone and open or close.It addition, sensing unit 140 can detect power subsystem 190 and whether provide whether electric power or interface unit 170 couple with external device (ED).
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port of the device with identification module, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses the various information of mobile terminal 100 and can include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..It addition, the device (hereinafter referred to " identifying device ") with identification module can take the form of smart card, therefore, identify that device can be connected with mobile terminal 100 via port or other connecting device.Interface unit 170 may be used for receiving from the input (such as, data message, electric power etc.) of external device (ED) and the one or more elements being transferred in mobile terminal 100 by the input received or may be used for transmission data between mobile terminal and external device (ED).
Additionally, when mobile terminal 100 is connected with external base, interface unit 170 can serve as and allows to provide the path of mobile terminal 100 or can serve as to allow to be transferred to the path of mobile terminal from the various command signals of base input by it from base electric power by it.May serve as whether identification mobile terminal is accurately fitted within the signal base from the various command signals of base input or electric power.Output unit 150 is configured to provide output signal (such as, audio signal, video signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can include display unit 151, dio Output Modules 152 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show the user interface (UI) relevant with call or other communicate (such as, text messaging, multimedia file download etc.) or graphic user interface (GUI).When being in video calling pattern or image capture mode when mobile terminal 100, display unit 151 can show the image of image and/or the reception caught, UI or GUI illustrating video or image and correlation function etc..
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch screen time, display unit 151 can serve as input equipment and output device.Display unit 151 can include at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc..Some in these display may be constructed such that transparence is to allow user to watch from outside, and this is properly termed as transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc..According to the specific embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, mobile terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive under the isotype such as pattern, call mode, logging mode, speech recognition mode, broadcast reception mode time, that wireless communication unit 110 is received or storage in memorizer 160 voice data transducing audio signal and be output as sound.And, dio Output Modules 152 can provide the audio frequency output (such as, call signal receive sound, message sink sound etc.) relevant to the specific function of mobile terminal 100 execution.Dio Output Modules 152 can include speaker, buzzer etc..
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can temporarily store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And, memorizer 160 can store the vibration about the various modes exported when touching and being applied to touch screen and the data of audio signal.
Memorizer 160 can include the storage medium of at least one type, described storage medium includes flash memory, hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected the network storage device cooperation of the storage function performing memorizer 160 with by network.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.It addition, controller 180 can include the multi-media module 181 for reproducing (or playback) multi-medium data, multi-media module 181 can construct in controller 180, or it is so structured that separates with controller 180.Controller 180 can perform pattern recognition process, so that the handwriting input performed on the touchscreen or picture drafting input are identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides the suitable electric power operated needed for each element and assembly.
Various embodiment described herein can to use such as computer software, hardware or its any combination of computer-readable medium to implement.Hardware is implemented, embodiment described herein can pass through to use application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, at least one that is designed to perform in the electronic unit of function described herein to implement, in some cases, such embodiment can be implemented in controller 180.Implementing for software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, by the slide type mobile terminal in the various types of mobile terminals describing such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that utilization operates via such as wired and wireless communication system and the satellite-based communication system of frame or packet transmission data.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, the air interface used by communication system includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and UMTS (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, as explained below relates to cdma communication system, but such instruction is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by each subregion of multidirectional antenna or the antenna covering pointing to specific direction radially away from BS270.Or, each subregion can be covered by two or more antennas for diversity reception.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver subsystem (BTS) or other equivalent terms.In this case, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent in system the mobile terminal 100 of operation by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal that reception is sent by BT295.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 helps to position at least one in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtains useful location information.GPS module 115 as shown in Figure 1 is generally configured to coordinate the location information wanted with acquisition with satellite 300.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other technology of the position of mobile terminal can be followed the tracks of.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link signal from various mobile terminals 100.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Each reverse link signal that certain base station 270 receives is processed in specific BS270.The data obtained are forwarded to relevant BSC275.BSC provides call resource distribution and the mobile management function of the coordination of soft switching process included between BS270.The data received also are routed to MSC280 by BSC275, and it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly controls BS270 so that forward link signals to be sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, it is proposed to each embodiment of the inventive method.
Fig. 3 is the structural representation of mobile terminal of the present invention, it is applied in application program corresponding to portal website (APP), as it is shown on figure 3, include: first detection module 30, judge module the 31, first processing module the 32, first creation module 33 and sharing module 34.Wherein,
First detection module 30, for when detect user select need to deposit current page time, notify judge module 31;When detecting that user needs to share file, notify sharing module 34.
Judge module 31, for receiving the notice from first detection module 30, it is judged that it is pre-conditioned whether the current page of APP meets;When the current page judging APP meets pre-conditioned, notify the first processing module 32.
Wherein, it is judged that module 31 judges whether the current page of APP meets pre-conditioned including: whether the window judging the top of current page is the page (activity);
When the window judging the just top of current page is activity, it is judged that the current page of APP meets pre-conditioned;
When the window judging the just top of current page is not activity, it is judged that the current page of APP is unsatisfactory for pre-conditioned.
It should be noted that whether what why judge is the window of top is activity herein, it is to prevent maloperation.
First processing module 32, for receiving the notice from judge module 31, obtains and resolves the information of the current page of APP.
Wherein, the information of the current page that the first processing module 32 resolves APP includes: the level of information resolving the current page of the APP obtained and content corresponding to the level parsed;
Wherein, level includes: navigation bar (actionbar), and/or title bar, and/or text view (view);
When level is actionbar, or during title bar, content corresponding to level includes: font, pattern and icon;
When level is text view, content corresponding to level includes: the font and style of the word that text view comprises.
Wherein it is possible to the content that storing and resolving goes out in the way of Hash table level is corresponding with level;Wherein, level is key (key), and content corresponding to level is value (value).Alternatively, it is also possible to the content that storing and resolving goes out in the way of common data form level is corresponding with level, as shown in table 1.
First creation module 33, stores in file for the information that will parse.
Wherein, the first creation module 33 specifically for: the information correspondence parsed is stored in the file of the .act form being pre-created.
Alternatively, first creation module 33, it is additionally operable to when level is text view, the text view word comprised and picture store to the file of the preset format pre-build and record in the file of .act form the store path of the file of this preset format pre-build.
Wherein, preset format can be .txt form.Preset format can also be other form, such as .doc.
Sharing module 34, for receiving the notice from first detection module 30, shares this document.
Alternatively, sharing module 34, it is additionally operable to share the file of preset format.
Alternatively, sharing module 34 can adopt the mode of bluetooth or instant messaging application or mailbox that the file of .act form is shared with the file of preset format.
Alternatively, mobile terminal also includes arranging module 35, for being arranged to preserve the first options of the current page of APP at the display interface of APP;Correspondingly,
First detection module 30, is additionally operable to whether detection user selects the first options;When detecting that user selects the first options, then detect that user needs to preserve current page.
Alternatively, module 35 is set, is additionally operable to be arranged to share at the display interface of APP second options of current page of APP;Correspondingly,
First detection module 30, is additionally operable to whether detection user selects the second options;When detecting that user selects the second options, then detect that user needs to share this document.
Alternatively, this mobile terminal also includes reminding module 36;Now,
Judge module 31, is additionally operable to when the current page judging APP is unsatisfactory for pre-conditioned, notifies reminding module 36;Correspondingly,
Reminding module 36, for receiving the notice from judge module 31, prompting user's current page cannot preserve.
Fig. 4 is the structural representation of another kind mobile terminal of the present invention, is applied in application program corresponding to portal website (APP), as shown in Figure 4, including: the second detection module the 40, second creation module the 41, second processing module 42 and display module 43.Wherein,
Second detection module 40, for when the file that user clicks .act form being detected, notifying the second creation module 41.
Second creation module 41, for receiving the notice from the second detection module 40, creates a page (activity).
Second processing module 42, the content corresponding with the level parsed for resolving level corresponding to the file of .act form that user clicks;By corresponding being arranged in the activity created of content corresponding with level for the level parsed;When being resolved to text view view, the text view word comprised and picture are correspondingly arranged in the activity created.
Display module 43, for showing the activity after arranging.
Present invention also provides a kind of mobile terminal, be applied in application program corresponding to portal website (APP), including: the mobile terminal any one of Fig. 3 and Fig. 4.
Fig. 5 is the flow chart that mobile terminal of the present invention processes the method for data, is applied in application program corresponding to portal website (APP), as it is shown in figure 5, include:
Step 501: when mobile terminal detects that user needs to preserve current page, it is judged that it is pre-conditioned whether the current page of APP meets.
Wherein, it is judged that whether the current page of APP meets pre-conditioned including: whether the window judging the top of current page is the page (activity);
When judging that the window of top of current page is activity, it is judged that the current page of APP meets pre-conditioned;
When the window judging the just top of current page is not activity, it is judged that the current page of APP is unsatisfactory for pre-conditioned.
It should be noted that whether what why judge is the window of top is activity herein, it is to prevent maloperation.
It should be noted that whether the window about the top how judging current page is activity, belongs to conventional techniques means well-known to those skilled in the art, do not repeat them here, be not intended to limit the application.
Alternatively, also include before the method: the display interface at APP is arranged to preserve the first options of the current page of APP;
Whether mobile terminal detection user selects the first options;
When mobile terminal detects that user selects the first options, then mobile terminal detects that user needs to preserve current page, proceeds to step 501.
Step 502: when the current page judging APP meets pre-conditioned, obtain and resolve the information of the current page of APP.
Wherein, the information of current page resolving APP includes: the level resolving the information of the current page of the APP obtained and content corresponding to the level parsed;
Wherein, level includes: navigation bar (actionbar), and/or title bar, and/or text view (view);
When level is actionbar, or during title bar, content corresponding to level includes: font, pattern and icon;
When level is text view, content corresponding to level includes: the font and style of the word that text view comprises.
Wherein it is possible to the content that storing and resolving goes out in the way of Hash table level is corresponding with level;Wherein, level is key (key), and content corresponding to level is value (value).Alternatively, it is also possible to the content that storing and resolving goes out in the way of common data form level is corresponding with level, as shown in table 1.
Level Content
Navigation bar Font 1, pattern 2 and icon 1
Title bar Font 1, pattern 1 and icon 2
Text view Font 2, pattern 1
Table 1
Alternatively, when level is text view, the method also includes: the text view word comprised and picture store to the file of the preset format pre-build and record in the file of .act form the store path of the file of this preset format pre-build.
Wherein, preset format can be .txt form.Preset format can also be other form, such as .doc.
Illustrate, when level is text view, now can read class by a newly-built character stream, read the character of every a line, and the character of reading is put in a list, the reading of every a line is complete to be stored in the file of preset format by the list read in internal memory, if what read is picture file, then its position of keeping records and attribute in the file of preset format, picture is put in another file (when being .doc form such as preset format, it is also possible to be stored in the file of this preset format) until end of text.
Alternatively, when the current page judging APP is unsatisfactory for pre-conditioned, the method also includes: prompting user's current page cannot preserve.
Step 503: the information parsed is stored hereof.
This step specifically includes: the information correspondence parsed be stored in the file of the .act form being pre-created.
It should be noted that belong to conventional techniques means well-known to those skilled in the art about the file how creating .act form, repeat no more herein, be not intended to limit the application.
Step 504: when detecting that user needs to share this document, this document is shared.
Alternatively, also include before the method: the display interface at APP is arranged to share the second options of the current page of APP;
Whether mobile terminal detection user selects the second options;
When mobile terminal detects that user selects the second options, then detect that user needs to share this document, proceed to step 504.
Alternatively, step 504 also includes: share storing the text view word comprised with the file of the preset format of picture.Alternatively, when preset format is .txt form, the method also includes: shared by the file that the storage corresponding with .act form has picture.
Wherein, Fig. 6 is the schematic diagram that the present invention shares the human-computer interaction interface of the file of .act form, and prompting user selects to need the file of the .act form shared, wherein ,+query path of file of the .act form added is selected for user.
Alternatively, adopt the mode of bluetooth or instant messaging application or mailbox that the file of .act form is shared with the file of preset format.
In embodiment of the present invention, during by meeting pre-conditioned when the current page judging APP, resolve the information of the current page of APP and the information parsed is stored hereof to share, it is achieved thereby that sharing the page of APP corresponding to portal website, improving Consumer's Experience.
Fig. 7 is the flow chart that another kind mobile terminal of the present invention processes the method for data, is applied in application program corresponding to portal website (APP), as it is shown in fig. 7, comprises:
Step 701: when movement detects the file that user clicks .act form, create a page (activity).
It should be noted that belonging to conventional techniques means well-known to those skilled in the art about how creating activity, repeating no more herein, being not intended to limit the application.
Step 702: resolve the content that level corresponding to the file of .act form that user clicks is corresponding with the level parsed.
Step 703: by corresponding being arranged in the activity created of content corresponding with level for the level parsed.
This step specifically includes: when being resolved to title bar, arranges the title bar in the activity created according to the font of this title bar received, pattern and icon;When being resolved to navigation bar (actionbar), the actionbar in the activity created is set according to the font of this actionbar received, pattern and icon.
Step 704: when being resolved to text view view, is correspondingly arranged at the text view word comprised and picture in the activity created.
It should be noted that the text view word comprised and picture are correspondingly arranged in the activity created belong to conventional techniques means well-known to those skilled in the art, as read the file of the preset format received;The layout of the content of the word of every a line and word is arranged in the view textview of display word of the activity created;Picture is arranged in the view imageview showing picture in actvity by position and attribute according to the picture received by picture.Repeat no more herein, be not intended to limit the application.
Wherein, preset format can be .txt form.Preset format can also be other form, such as .doc.
Step 705: show the activity after arranging.
Fig. 8 is the flow chart that mobile terminal of the present invention processes the embodiment of the method for data, is applied in application program corresponding to portal website (APP), as shown in Figure 8, and including:
Step 801: the first mobile terminal is arranged to preserve the first options of the current page of APP at the display interface of APP.
Step 802: whether the first mobile terminal detection user selects the first options.When the first mobile terminal detects that user selects the first options, proceed to step 803;When the first mobile terminal be not detected by user select the first options time, process ends.
Step 803: the first mobile terminal judges whether the current page of APP meets pre-conditioned.When the current page judging APP meets pre-conditioned, proceed to step 804;Judge that the current page of APP is unsatisfactory for pre-conditioned, proceed to step 805:.
Wherein, the first mobile terminal judges whether the current page of APP meets pre-conditioned including: whether the window judging the top of current page is the page (activity);
When judging that the window of top of current page is activity, it is judged that the current page of APP meets pre-conditioned;
When the window judging the just top of current page is not activity, it is judged that the current page of APP is unsatisfactory for pre-conditioned.
Step 804: obtain and resolve the information of the current page of APP.
Wherein, the information of current page resolving APP includes: the level resolving the information of the current page of the APP obtained and content corresponding to the level parsed;
Wherein, level includes: navigation bar (actionbar), and/or title bar, and/or text view (view);
When level is actionbar, or during title bar, content corresponding to level includes: font, pattern and icon;
When level is text view, content corresponding to level includes: the font and style of the word that text view comprises.
Wherein it is possible to the content that storing and resolving goes out in the way of Hash table level is corresponding with level;Wherein, level is key (key), and content corresponding to level is value (value).Alternatively, it is also possible to the content that storing and resolving goes out in the way of common data form level is corresponding with level, as shown in table 1.
Alternatively, when level is text view, the method also includes: the text view word comprised and picture store to the file of the preset format pre-build and record in the file of .act form the store path of the file of this preset format pre-build.
Wherein, preset format can be .txt form.Preset format can also be other form, such as .doc.
Illustrate, when level is text view, now can read class by a newly-built character stream, read the character of every a line, and the character of reading is put in a list, the reading of every a line is complete to be stored in the file of preset format by the list read in internal memory, if what read is picture file, then its position of keeping records and attribute in the file of preset format, picture is put in another file (when being .doc form such as preset format, it is also possible to be stored in the file of this preset format) until end of text.
Step 805: prompting user's current page cannot preserve.
Step 806: when detecting that user needs to share this document, this document is shared.
Alternatively, also include before the method: the display interface at APP is arranged to share the second options of the current page of APP;
Whether mobile terminal detection user selects the second options;
When mobile terminal detects that user selects the second options, then detect that user needs to share this document, proceed to step 806.
Alternatively, step 806 also includes: share storing the text view word comprised with the file of the preset format of picture.Alternatively, when preset format is .txt form, the method also includes: shared by the file that the storage corresponding with .act form has picture.
Wherein, Fig. 6 is the schematic diagram that the present invention shares the human-computer interaction interface of the file of .act form, and prompting user selects to need the file of the .act form shared, wherein ,+query path of file of the .act form added is selected for user.
Alternatively, adopt the mode of bluetooth or instant messaging application or mailbox that the file of .act form is shared with the file of preset format.
Step 807: when the second mobile terminal detects the file that user clicks .act form, create an activity.
It should be noted that belonging to conventional techniques means well-known to those skilled in the art about how creating activity, repeating no more herein, being not intended to limit the application.
Step 808: the second mobile terminal resolves the content that level corresponding to the file of .act form that user clicks is corresponding with the level parsed.
Step 809: the second mobile terminal is by corresponding being arranged in the activity created of content corresponding with level for the level parsed.
This step specifically includes: when being resolved to title bar, arranges the title bar in the activity created according to the font of this title bar received, pattern and icon;When being resolved to navigation bar (actionbar), the actionbar in the activity created is set according to the font of this actionbar received, pattern and icon.
Step 810: when being resolved to text view view, the text view word comprised and picture are correspondingly arranged in the activity created by the second mobile terminal.
It should be noted that the text view word comprised and picture are correspondingly arranged in the activity created belong to conventional techniques means well-known to those skilled in the art, as read the file of the preset format received;The layout of the content of the word of every a line and word is arranged in the view textview of display word of the activity created;Picture is arranged in the view imageview showing picture in actvity by position and attribute according to the picture received by picture.Repeat no more herein, be not intended to limit the application.
Wherein, preset format can be .txt form.Preset format can also be other form, such as .doc.
Step 811: the second mobile terminal shows the activity after arranging.
It should be noted that, in this article, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or device not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or device.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of this key element, method, article or device.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to above-described embodiment method and realize, hardware can certainly be passed through, but in a lot of situation, the former is embodiment more preferably.Based on such understanding, the part that prior art is contributed by the technical scheme of the application substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, server, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiment of the application; not thereby the scope of the claims of the application is limited; every equivalent structure utilizing present specification and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the application.

Claims (10)

1. a mobile terminal, is applied in the application program that portal website is corresponding, it is characterised in that including: first detection module, judge module, the first processing module, the first creation module and sharing module;Wherein,
First detection module, for when detecting that user needs to preserve current page, notifying judge module;When detecting that user needs to share file, notify sharing module;
Judge module, for receiving the notice from first detection module, it is judged that it is pre-conditioned whether the current page of application program meets;When the current page judging application program meets pre-conditioned, notify the first processing module;
First processing module, for receiving the notice from judge module, obtains and resolves the information of the current page of application program;
First creation module, stores hereof for the information that will parse;
Sharing module, for receiving the notice from first detection module, shares this document.
2. mobile terminal according to claim 1, it is characterised in that the information of current page that described first processing module resolves application program includes: the level resolving the information of the current page of the application program obtained and content corresponding to the level parsed;
Wherein, level includes: navigation bar, and/or title bar, and/or text view;
When level is navigation bar, or during title bar, content corresponding to described level includes: font, pattern and icon;
When level is text view, content corresponding to described level includes: the font and style of the word that text view comprises.
3. mobile terminal according to claim 2, it is characterised in that described first creation module specifically for: the described information correspondence parsed is stored in the file of the .act form being pre-created.
4. a mobile terminal, is applied in the application program that portal website is corresponding, it is characterised in that including: the second detection module, the second creation module, the second processing module and display module;Wherein,
Second detection module, for when the file that user clicks .act form being detected, notifying the second creation module;
Second creation module, for receiving the notice from the second detection module, creates a page;
Second processing module, the content corresponding with the level parsed for resolving level corresponding to the file of .act form that user clicks;By corresponding being arranged in the page created of content corresponding with level for the level parsed;When being resolved to text view view, the word and the pictures that comprise described text view are correspondingly arranged in the page created;
Display module, for showing the page after arranging.
5. a mobile terminal, is applied in the application program that portal website is corresponding, it is characterised in that including: the mobile terminal described in any one of claim 1-3, and the mobile terminal described in claim 4.
6. the method that mobile terminal processes data, is applied in the application program that portal website is corresponding, it is characterised in that including:
When mobile terminal detects that user needs to preserve current page, it is judged that it is pre-conditioned whether the current page of application program meets;
When the current page judging application program meets pre-conditioned, obtain and resolve the information of the current page of application program;
The information parsed is stored hereof;
When detecting that user needs to share this document, this document is shared.
7. method according to claim 6, it is characterised in that the information of the current page of described parsing application program includes: the level of information resolving the current page of the application program obtained and content corresponding to the level parsed;
Wherein, level includes: navigation bar, and/or title bar, and/or text view;
When level is navigation bar, or during title bar, content corresponding to described level includes: font, pattern and icon;
When level is text view, content corresponding to described level includes: the font and style of the word that text view comprises.
8. method according to claim 7, it is characterised in that described will parse information storage include hereof: the described information correspondence parsed is stored in the file of the .act form being pre-created.
9. method according to claim 8, it is characterized in that, when described level is text view, the method also includes: the word comprise described text view and picture store to the file of the preset format pre-build and record in the file of described .act form the store path of the file of this preset format pre-build.
10. the method that mobile terminal processes data, is applied in the application program that portal website is corresponding, it is characterised in that including:
When movement detects the file that user clicks .act form, create a page;
Resolve the content that level corresponding to the file of .act form that user clicks is corresponding with the level parsed;
By corresponding being arranged in the page created of content corresponding with level for the level parsed;
When being resolved to text view view, the word and the pictures that comprise described text view are correspondingly arranged in the page created;
Show the page after arranging.
CN201610103805.8A 2016-02-25 2016-02-25 A kind of mobile terminal and its method for handling data Active CN105787030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610103805.8A CN105787030B (en) 2016-02-25 2016-02-25 A kind of mobile terminal and its method for handling data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610103805.8A CN105787030B (en) 2016-02-25 2016-02-25 A kind of mobile terminal and its method for handling data

Publications (2)

Publication Number Publication Date
CN105787030A true CN105787030A (en) 2016-07-20
CN105787030B CN105787030B (en) 2019-10-29

Family

ID=56403565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610103805.8A Active CN105787030B (en) 2016-02-25 2016-02-25 A kind of mobile terminal and its method for handling data

Country Status (1)

Country Link
CN (1) CN105787030B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450904A (en) * 2017-06-07 2017-12-08 北京五八信息技术有限公司 The method for drafting and device of title bar
CN107450796A (en) * 2017-06-30 2017-12-08 努比亚技术有限公司 A kind of image processing method, mobile terminal and computer-readable recording medium
CN107885746A (en) * 2016-09-29 2018-04-06 北京小米移动软件有限公司 The method and apparatus that the page is shared

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637184A (en) * 2011-02-15 2012-08-15 北京千橡网景科技发展有限公司 Method and system for customizing webpages
CN103020053A (en) * 2011-09-21 2013-04-03 深圳市比维视创科技有限公司 Page sharing system and method
CN103559288A (en) * 2013-11-08 2014-02-05 惠州Tcl移动通信有限公司 Method and mobile terminal for intelligent collecting and sharing
CN103970534A (en) * 2014-04-15 2014-08-06 百度在线网络技术(北京)有限公司 Method and equipment for supplying rendered page in mobile application
CN104461634A (en) * 2014-12-10 2015-03-25 北京国双科技有限公司 Device and method for loading share module on webpage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637184A (en) * 2011-02-15 2012-08-15 北京千橡网景科技发展有限公司 Method and system for customizing webpages
CN103020053A (en) * 2011-09-21 2013-04-03 深圳市比维视创科技有限公司 Page sharing system and method
CN103559288A (en) * 2013-11-08 2014-02-05 惠州Tcl移动通信有限公司 Method and mobile terminal for intelligent collecting and sharing
CN103970534A (en) * 2014-04-15 2014-08-06 百度在线网络技术(北京)有限公司 Method and equipment for supplying rendered page in mobile application
CN104461634A (en) * 2014-12-10 2015-03-25 北京国双科技有限公司 Device and method for loading share module on webpage

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885746A (en) * 2016-09-29 2018-04-06 北京小米移动软件有限公司 The method and apparatus that the page is shared
CN107885746B (en) * 2016-09-29 2023-08-11 北京小米移动软件有限公司 Page sharing method and device
CN107450904A (en) * 2017-06-07 2017-12-08 北京五八信息技术有限公司 The method for drafting and device of title bar
CN107450796A (en) * 2017-06-30 2017-12-08 努比亚技术有限公司 A kind of image processing method, mobile terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN105787030B (en) 2019-10-29

Similar Documents

Publication Publication Date Title
CN105159533A (en) Mobile terminal and automatic verification code input method thereof
CN105100892A (en) Video playing device and method
CN104750420A (en) Screen capturing method and device
CN105100269A (en) Mobile terminal and content recommending method based on different users
CN105718071A (en) Terminal and method for recommending associational words in input method
CN104992101A (en) Mobile terminal desktop icon display method and device
CN104731512A (en) Method, device and terminal for sharing pictures
CN105099870A (en) Message pushing method and device
CN105303398A (en) Information display method and system
CN105718200A (en) Page switching device and method based on pressure sensor, and terminal
CN104657181A (en) Method and device for mounting application program
CN105791561A (en) Mobile terminal control method and device
CN104917891A (en) Mobile terminal and page-turning control method thereof
CN104679890A (en) Image pushing method and device
CN105760055A (en) Mobile terminal and control method thereof
CN105263195A (en) Data transmission device and method
CN104932894A (en) Method and terminal for managing similar applications
CN104661095A (en) Audio and video data recommendation method and system
CN106250017A (en) A kind of mobile terminal and multitask management process
CN105335055A (en) Self-response type realization method and system of menu as well as terminal equipment
CN105611071A (en) Schedule information display method and terminal
CN105808049A (en) Control method and device for realizing mobile terminal
CN105224647A (en) Image display method and device
CN104866095A (en) Mobile terminal, and method and apparatus for managing desktop thereof
CN105787030A (en) Mobile terminal and data processing method thereof

Legal Events

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