CN105787030B - A kind of mobile terminal and its method for handling data - Google Patents
A kind of mobile terminal and its method for handling data Download PDFInfo
- Publication number
- CN105787030B CN105787030B CN201610103805.8A CN201610103805A CN105787030B CN 105787030 B CN105787030 B CN 105787030B CN 201610103805 A CN201610103805 A CN 201610103805A CN 105787030 B CN105787030 B CN 105787030B
- Authority
- CN
- China
- Prior art keywords
- page
- level
- module
- application program
- current page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/986—Document structures and storage, e.g. HTML extensions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/972—Access 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)
- Telephone Function (AREA)
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A kind of method announced mobile terminal herein and its handle data, which includes: first detection module, for notifying judgment module when detecting that user needs to save current page;When detecting that user needs to share file, sharing module is notified;Judgment module judges whether the current page of application program meets preset condition for receiving the notice from first detection module;When the current page for judging application program meets preset condition, first processing module is notified;First processing module obtains and parses the information of the current page of application program for receiving the notice from judgment module;First creation module, for storing hereof the information parsed;Sharing module shares this document for receiving the notice from first detection module.The embodiment of the present invention realizes the sharing of the page of APP corresponding to portal website, and the user experience is improved.
Description
Technical field
The present embodiments relate to but be not limited to intelligent terminal technology, espespecially a kind of mobile terminal and its handle data side
Method.
Background technique
With the development of mobile terminal, there has been corresponding application program (APP) in portal website, and user can pass through
APP checks the content of corresponding portal website.It, may when user views some page of a certain APP oneself liked
Wish to share with other people.But existing sharing mode relies only on chat tool, this there is following problems: if
There is chat tool sharing function can then be shared, and can not share if chat tool does not have sharing function, even if
Chat tool has sharing function, and the process shared is also very cumbersome, and user experience is extremely bad;Also, existing skill
It cannot achieve the sharing of the page of APP corresponding to portal website in art.
Therefore, the page for how sharing the corresponding APP of portal website becomes the problem of a urgent need to resolve.
Summary of the invention
This application provides a kind of mobile terminal and its methods for handling data, can be realized corresponding to portal website
The sharing of the page of APP promotes user experience.
In order to reach the application purpose, this application provides a kind of mobile terminals, are applied to the corresponding application of portal website
In program, comprising: first detection module, judgment module, first processing module, the first creation module and sharing module;Wherein,
First detection module, for notifying judgment module when detecting that user needs to save current page;When detecting
When user needs to share file, sharing module is notified;
Judgment module, for receiving the notice from first detection module, judge application program current page whether
Meet preset condition;When the current page for judging application program meets preset condition, first processing module is notified;
First processing module obtains and parses the current page of application program for receiving the notice from judgment module
The information in face;
First creation module, for storing hereof the information parsed;
Sharing module shares this document for receiving the notice from first detection module.
Optionally, the information of the current page of the first processing module parsing application program includes: answering for parsing acquisition
With the level of the information of the current page of program and the corresponding content of level parsed;
Wherein, level includes: navigation bar and/or title bar and/or text view;
When level is navigation bar or title bar, the corresponding content of the level includes: font, pattern and icon;
When level is text view, the corresponding content of the level include: the text that text view includes font and
Pattern.
Optionally, first creation module is specifically used for: corresponding be stored in of the information parsed is pre-created
.act format file in.
Present invention also provides a kind of mobile terminals, are applied in the corresponding application program of portal website, comprising: the second inspection
Survey module, the second creation module, Second processing module and display module;Wherein,
Second detection module, for notifying the second creation module when detecting that user clicks the file of .act format;
Second creation module creates a page for receiving the notice from the second detection module;
Second processing module, the .act format for parsing user click file corresponding level and the level that parses
Corresponding content;By the level parsed and the corresponding content of level is corresponding is arranged in the page created;When being resolved to
When text view, text and picture that the text view includes are correspondingly arranged in the page created;
Display module, for showing the page after being arranged.
Present invention also provides a kind of mobile terminals, are applied in the corresponding application program of portal website, comprising: right is wanted
Seek mobile terminal described in the described in any item mobile terminals of 1-4 and claim 5.
Present invention also provides a kind of methods of mobile terminal processing data, are applied to the corresponding application program of portal website
In, comprising:
When mobile terminal detects that user needs to save current page, judge whether the current page of application program meets
Preset condition;
When the current page for judging application program meets preset condition, the current page of application program is obtained and parsed
Information;
Hereof by the information parsed storage;
When detecting that user needs to share this document, this document is shared.
Optionally, the information of the current page of the parsing application program includes: the current of the application program that parsing obtains
The level of the information of the page and the corresponding content of the level parsed;
Wherein, level includes: navigation bar and/or title bar and/or text view view;
When level is navigation bar or title bar, the corresponding content of the level includes: font, pattern and icon;
When level is text view, the corresponding content of the level include: the text that text view includes font and
Pattern.
It is optionally, described that will to parse information storage include: that the information correspondence parsed described is stored in hereof
In the file for the .act format being pre-created.
Optionally, when the level is text view, this method further include: the text that includes by the text view and
Picture stores into the file of the preset format pre-established and records what this was pre-established in the file of the .act format
The store path of the file of preset format.
Present invention also provides a kind of methods of mobile terminal processing data, are applied to the corresponding application program of portal website
In, comprising:
When the mobile file for detecting user's click .act format, a page is created;
Parse the corresponding level of the file content corresponding with the level parsed for the .act format that user clicks;
By the level parsed and the corresponding content of level is corresponding is arranged in the page created;
When being resolved to text view view, text and picture that the text view includes are correspondingly arranged at and have been created
The page in;
The page after display setting.
The embodiment of the present invention includes: first detection module, judgment module, first processing module, the first creation module and point
Enjoy module;Wherein, first detection module, for notifying judgment module when detecting that user needs to save current page;Work as inspection
When measuring user and needing to share file, sharing module is notified;Judgment module is logical from first detection module for receiving
Know, judges whether the current page of application program meets preset condition;It is preset when the current page for judging application program meets
When condition, first processing module is notified;First processing module, for receiving the notice from judgment module, obtaining and parsing
The information of the current page of application program;First creation module, for storing hereof the information parsed;Share mould
Block shares this document for receiving the notice from first detection module.
The embodiment of the present invention realizes the sharing of the page to the corresponding application program of portal website, improves user's body
It tests.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the schematic diagram for supporting the communication system communicated between mobile terminal of the present invention;
Fig. 3 is the structural schematic diagram of mobile terminal of the present invention;
Fig. 4 is the structural schematic diagram of another mobile terminal of the present invention;
Fig. 5 is the flow chart for the method that mobile terminal of the present invention handles data;
Fig. 6 is the schematic diagram for the human-computer interaction interface that the present invention shares .act formatted file;
Fig. 7 is the flow chart for the method that another mobile terminal of the present invention handles data;
Fig. 8 is the flow chart of the embodiment for the method that mobile terminal of the present invention handles data.
Specific embodiment
Technical solution of the present invention is described in detail below in conjunction with accompanying drawings and embodiments.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself
There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving
Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP
The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving
Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Mobile terminal 100 may include wireless communication unit 110, user input unit 130, sensing unit 140, output list
Member 150, memory 160, interface unit 170, controller 180 and power supply unit 190 etc..Fig. 1 is shown with various assemblies
Mobile terminal, it should be understood that being not required for implementing all components shown.Can alternatively it implement more or less
Component.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system
Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module
112, at least one of wireless Internet module 113.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel
Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB)
Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast
Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Particularly, broadcasting reception module 111
It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video
It broadcasts-holds (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service
(ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via the received broadcast singal of broadcasting reception module 111 and/
Or broadcast related information can store in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical
Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal
Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch
Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc.
Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape
State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal
100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100
The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone
The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user
It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM)
Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know
Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from
The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100
One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it
Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it
It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is
The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated
Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display
Unit 151, audio output module 152 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode
Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure
Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit
151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving
Dynamic terminal may 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.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160
The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes.
Audio output module 152 may include loudspeaker, buzzer etc..
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen
Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection
The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data
Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers
The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control
Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture
It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member
Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof
Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations
Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai
Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any
Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (particularly, long term evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction
Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception
Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295
Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals
At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition
Location information.GPS module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 to obtain desired positioning and believe
Breath.It substitutes GPS tracking technique or except GPS tracking technique, the other of the position that can track mobile terminal can be used
Technology.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each anti-
It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call
The mobile management function of resource allocation and the coordination including the soft switching process between BS270.The number that BSC275 will also be received
According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with
MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with by forward link signals
It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the method for the present invention is proposed.
Fig. 3 is the structural schematic diagram of mobile terminal of the present invention, is applied in the corresponding application program of portal website (APP),
As shown in Figure 3, comprising: first detection module 30, judgment module 31, first processing module 32, the first creation module 33 and share
Module 34.Wherein,
First detection module 30, for notifying judgment module 31 when detecting that user's choosing needs to deposit current page;Work as inspection
When measuring user and needing to share file, sharing module 34 is notified.
Judgment module 31 judges whether the current page of APP is full for receiving the notice from first detection module 30
Sufficient preset condition;When the current page for judging APP meets preset condition, first processing module 32 is notified.
Wherein, it includes: to judge current page most that judgment module 31, which judges whether the current page of APP meets preset condition,
Whether the window on top is the page (activity);
When the window for judging the just top of current page is activity, it is pre- to judge that the current page of APP meets
If condition;
When the window for judging the just top of current page is not activity, judge that the current page of APP is discontented
Sufficient preset condition.
It should be noted that whether it is activity that is why judged herein is the window of top, it is in order to prevent
Maloperation.
First processing module 32 obtains and parses the current page of APP for receiving the notice from judgment module 31
Information.
Wherein, first processing module 32 parses the current page that the information of the current page of APP includes: the APP that parsing obtains
The level of the information in face and the corresponding content of the level parsed;
Wherein, level includes: navigation bar (actionbar) and/or title bar and/or text view (view);
When level is actionbar or title bar, the corresponding content of level includes: font, pattern and icon;
When level is text view, the corresponding content of level includes: the font and style for the text that text view includes.
Wherein it is possible to storing and resolving goes out in a manner of Hash table level and the corresponding content of level;Wherein, level is key
(key), the corresponding content of level is value (value).Alternatively, it is also possible in a manner of common data form storing and resolving go out
Level and the corresponding content of level, as shown in table 1.
First creation module 33, in the information storage file for will parse.
Wherein, the first creation module 33 is specifically used for: the information parsed correspondence is stored in the .act lattice being pre-created
In the file of formula.
Optionally, the first creation module 33, be also used to the text for including by text view when level is text view and
Picture stores record that this pre-establishes into the file of the preset format pre-established and in the file of .act format default
The store path of the file of format.
Wherein, preset format can be .txt format.Preset format is also possible to other formats, such as .doc.
Sharing module 34 shares this document for receiving the notice from first detection module 30.
Optionally, sharing module 34 are also used to share the file of preset format.
Optionally, sharing module 34 can be by the way of bluetooth or instant messaging application or mailbox to .act format
File shared with the file of preset format.
Optionally, mobile terminal further includes setup module 35, is arranged for the display interface in APP for saving APP's
The first choice item of current page;Correspondingly,
First detection module 30, is also used to detect whether user selects first choice item;When detect user selection first
When options, then detect that user needs to save current page.
Optionally, setup module 35 are also used to the of current page of the display interface setting in APP for sharing APP
Two options;Correspondingly,
First detection module 30, is also used to detect whether user selects the second options;When detect user selection second
When options, then detect that user needs to share this document.
Optionally, which further includes cue module 36;At this point,
Judgment module 31 is also used to when the current page for judging APP is unsatisfactory for preset condition, notifies cue module
36;Correspondingly,
Cue module 36 prompts user's current page that can not save for receiving the notice from judgment module 31.
Fig. 4 is the structural schematic diagram of another mobile terminal of the present invention, is applied to the corresponding application program of portal website
(APP) in, as shown in Figure 4, comprising: the second detection module 40, the second creation module 41, Second processing module 42 and display module
43.Wherein,
Second detection module 40, for notifying the second creation module when detecting that user clicks the file of .act format
41。
Second creation module 41 creates a page for receiving the notice from the second detection module 40
(activity)。
Second processing module 42, the .act format for parsing user click file corresponding level and the layer that parses
The corresponding content of grade;By the level parsed and the corresponding content of level is corresponding is arranged in the activity created;When
When being resolved to text view view, the text view text for including and picture are correspondingly arranged in the activity created.
Display module 43, for showing the activity after being arranged.
Present invention also provides a kind of mobile terminals, are applied in the corresponding application program of portal website (APP), comprising:
The mobile terminal of any one of Fig. 3 and Fig. 4.
Fig. 5 is the flow chart for the method that mobile terminal of the present invention handles data, and it is corresponding using journey to be applied to portal website
In sequence (APP), as shown in Figure 5, comprising:
Step 501: when mobile terminal detects that user needs to save current page, judge APP current page whether
Meet preset condition.
Wherein, judging whether the current page of APP meets preset condition includes: the window for judging the top of current page
It whether is the page (activity);
When judging the window of top of current page is activity, it is pre- to judge that the current page of APP meets
If condition;
When the window for judging the just top of current page is not activity, judge that the current page of APP is discontented
Sufficient preset condition.
It should be noted that whether it is activity that is why judged herein is the window of top, it is in order to prevent
Maloperation.
It should be noted that whether the window of the top on how to judge current page is activity, belong to this
Conventional techniques known to the technical staff of field, details are not described herein, is not intended to limit the application.
Optionally, before this method further include: in the display interface of APP, the current page for saving APP is set
First choice item;
Whether mobile terminal detection user selects first choice item;
When mobile terminal detects that user selects first choice item, then it is current to detect that user needs to save for mobile terminal
The page is transferred to step 501.
Step 502: when the current page for judging APP meets preset condition, obtaining and parse the current page of APP
Information.
Wherein, the information for parsing the current page of APP includes: to parse the level of the information of current page of the APP obtained
And the corresponding content of level parsed;
Wherein, level includes: navigation bar (actionbar) and/or title bar and/or text view (view);
When level is actionbar or title bar, the corresponding content of level includes: font, pattern and icon;
When level is text view, the corresponding content of level includes: the font and style for the text that text view includes.
Wherein it is possible to storing and resolving goes out in a manner of Hash table level and the corresponding content of level;Wherein, level is key
(key), the corresponding content of level is value (value).Alternatively, it is also possible in a manner of common data form storing and resolving go out
Level and the corresponding content of 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
Optionally, when level is text view, this method further include: store the text view text for including and picture
The text of the preset format pre-established is recorded into the file of the preset format pre-established and in the file of .act format
The store path of part.
Wherein, preset format can be .txt format.Preset format is also possible to other formats, such as .doc.
For example, can create a character stream at this time when level is text view and read class, read every a line
Character, and the character of reading is put into a list, every a line reading, which is finished, is stored in default lattice for the list read in memory
In the file of formula, if reading is picture file, its position and attribute are kept records of in the file of preset format, will be schemed
Piece be put into another file (such as preset format be .doc format when, also can store in the file of the preset format) until
End of text.
Optionally, when the current page for judging APP is unsatisfactory for preset condition, this method further include: prompt user works as
The preceding page can not save.
Step 503: hereof by the information parsed storage.
This step specifically includes: the information parsed correspondence is stored in the file for the .act format being pre-created.
It should be noted that on how to create the file of .act format belong to it is well-known to those skilled in the art usual
Technological means, details are not described herein again, is not intended to limit the application.
Step 504: when detecting that user needs to share this document, this document being shared.
Optionally, before this method further include: the of current page of the display interface setting for sharing APP of APP
Two options;
Whether mobile terminal detection user selects the second options;
When mobile terminal detects that user selects the second options, then detects that user needs to share this document, be transferred to
Step 504.
Optionally, step 504 further include: the text of the preset format of text and picture that text view includes will be stored with
Part is shared.Optionally, when preset format is .txt format, this method further include: will storage corresponding with .act format
There is the file of picture to be shared.
Wherein, Fig. 6 is the schematic diagram of the human-computer interaction interface for the file that the present invention shares .act format, prompts user's selection
The file for the .act format for needing to share, wherein+for user select addition .act format file query path.
Optionally, to the file of .act format and default lattice by the way of bluetooth or instant messaging application or mailbox
The file of formula is shared.
In embodiment of the present invention, by parsing working as APP when the current page for judging APP meets preset condition
The information of the preceding page simultaneously stores the information parsed hereof to share, to realize corresponding to portal website
The sharing of the page of APP, the user experience is improved.
Fig. 7 is the flow chart for the method that another mobile terminal of the present invention handles data, and it is corresponding to be applied to portal website
In application program (APP), as shown in fig. 7, comprises:
Step 701: when the mobile file for detecting user's click .act format, creating a page (activity).
It should be noted that belonging to conventional techniques hand well-known to those skilled in the art on how to create activity
Section, details are not described herein again, is not intended to limit the application.
Step 702: in the corresponding level of file for the .act format that parsing user clicks is corresponding with the level parsed
Hold.
Step 703: by the level parsed and the corresponding content of level is corresponding is arranged in the activity created.
This step specifically includes: when being resolved to title bar, according to the font of the title bar received, pattern and icon
Title bar in the activity created is set;It, should according to what is received when being resolved to navigation bar (actionbar)
The actionbar in activity that font, pattern and the icon setting of actionbar has created.
Step 704: when being resolved to text view view, the text view text for including and picture being correspondingly arranged at
In the activity of creation.
It should be noted that the text view text for including and picture to be correspondingly arranged in the activity created and belong to
File in conventional techniques well-known to those skilled in the art, as read the preset format received;By every a line
The content of text and the layout setting of text are into the view textview of the display text of the activity created;According to connecing
Picture is arranged into actvity in the view imageview for showing picture picture for the position of the picture received and attribute.This
Place repeats no more, and is not intended to limit the application.
Wherein, preset format can be .txt format.Preset format is also possible to other formats, such as .doc.
Step 705: the activity after display setting.
Fig. 8 is the flow chart of the embodiment for the method that mobile terminal of the present invention handles data, and it is corresponding to be applied to portal website
Application program (APP) in, as shown in Figure 8, comprising:
Step 801: the first choosing of the current page for saving APP is arranged in the display interface of APP for first movement terminal
Select item.
Step 802: whether first movement terminal detection user selects first choice item.When first movement terminal detects use
When family selects first choice item, it is transferred to step 803;When user, which is not detected, in first movement terminal selects first choice item, knot
This process of beam.
Step 803: first movement terminal judges whether the current page of APP meets preset condition.When judging working as APP
The preceding page meets preset condition, is transferred to step 804;Judge that the current page of APP is unsatisfactory for preset condition, is transferred to step
805:。
Wherein, it includes: to judge current page that first movement terminal, which judges whether the current page of APP meets preset condition,
Whether the window of top is the page (activity);
When judging the window of top of current page is activity, it is pre- to judge that the current page of APP meets
If condition;
When the window for judging the just top of current page is not activity, judge that the current page of APP is discontented
Sufficient preset condition.
Step 804: obtaining and parse the information of the current page of APP.
Wherein, the information for parsing the current page of APP includes: to parse the level of the information of current page of the APP obtained
And the corresponding content of level parsed;
Wherein, level includes: navigation bar (actionbar) and/or title bar and/or text view (view);
When level is actionbar or title bar, the corresponding content of level includes: font, pattern and icon;
When level is text view, the corresponding content of level includes: the font and style for the text that text view includes.
Wherein it is possible to storing and resolving goes out in a manner of Hash table level and the corresponding content of level;Wherein, level is key
(key), the corresponding content of level is value (value).Alternatively, it is also possible in a manner of common data form storing and resolving go out
Level and the corresponding content of level, as shown in table 1.
Optionally, when level is text view, this method further include: store the text view text for including and picture
The text of the preset format pre-established is recorded into the file of the preset format pre-established and in the file of .act format
The store path of part.
Wherein, preset format can be .txt format.Preset format is also possible to other formats, such as .doc.
For example, can create a character stream at this time when level is text view and read class, read every a line
Character, and the character of reading is put into a list, every a line reading, which is finished, is stored in default lattice for the list read in memory
In the file of formula, if reading is picture file, its position and attribute are kept records of in the file of preset format, will be schemed
Piece be put into another file (such as preset format be .doc format when, also can store in the file of the preset format) until
End of text.
Step 805: prompt user's current page can not save.
Step 806: when detecting that user needs to share this document, this document being shared.
Optionally, before this method further include: the of current page of the display interface setting for sharing APP of APP
Two options;
Whether mobile terminal detection user selects the second options;
When mobile terminal detects that user selects the second options, then detects that user needs to share this document, be transferred to
Step 806.
Optionally, step 806 further include: the text of the preset format of text and picture that text view includes will be stored with
Part is shared.Optionally, when preset format is .txt format, this method further include: will storage corresponding with .act format
There is the file of picture to be shared.
Wherein, Fig. 6 is the schematic diagram of the human-computer interaction interface for the file that the present invention shares .act format, prompts user's selection
The file for the .act format for needing to share, wherein+for user select addition .act format file query path.
Optionally, to the file of .act format and default lattice by the way of bluetooth or instant messaging application or mailbox
The file of formula is shared.
Step 807: when the second mobile terminal detects that user clicks the file of .act format, creating an activity.
It should be noted that belonging to conventional techniques hand well-known to those skilled in the art on how to create activity
Section, details are not described herein again, is not intended to limit the application.
Step 808: the file corresponding level for the .act format that the second mobile terminal parsing user clicks and parsing
The corresponding content of level.
Step 809: the second mobile terminal is creating the corresponding setting of the level parsed and the corresponding content of level
Activity in.
This step specifically includes: when being resolved to title bar, according to the font of the title bar received, pattern and icon
Title bar in the activity created is set;It, should according to what is received when being resolved to navigation bar (actionbar)
The actionbar in activity that font, pattern and the icon setting of actionbar has created.
Step 810: when being resolved to text view view, the second mobile terminal is by the text view text for including and picture
It is correspondingly arranged in the activity created.
It should be noted that the text view text for including and picture to be correspondingly arranged in the activity created and belong to
File in conventional techniques well-known to those skilled in the art, as read the preset format received;By every a line
The content of text and the layout setting of text are into the view textview of the display text of the activity created;According to connecing
Picture is arranged into actvity in the view imageview for showing picture picture for the position of the picture received and attribute.This
Place repeats no more, and is not intended to limit the application.
Wherein, preset format can be .txt format.Preset format is also possible to other formats, such as .doc.
Step 811: the activity after the display setting of the second mobile terminal.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all to utilize this Shen
Please equivalent structure or equivalent flow shift made by specification and accompanying drawing content, be applied directly or indirectly in other relevant skills
Art field similarly includes in the scope of patent protection of the application.
Claims (8)
1. a kind of mobile terminal is applied in the corresponding application program of portal website characterized by comprising the first detection mould
Block, judgment module, first processing module, the first creation module and sharing module;Wherein,
First detection module, for notifying judgment module when detecting that user needs to save current page;When detecting user
When needing to share file, sharing module is notified;
Judgment module judges whether the current page of application program meets for receiving the notice from first detection module
Preset condition;When the current page for judging application program meets preset condition, first processing module is notified;
First processing module obtains and parses the current page of application program for receiving the notice from judgment module
Information;
First creation module, for being stored in the information parsed in the page file for the .act format being pre-created;
Sharing module is divided the page file of the .act format for receiving the notice from first detection module
It enjoys;
Wherein, it includes: the current page for judging application program that whether the current page for judging application program, which meets preset condition,
Whether the top window in face is page activity;
When the top window for the current page for judging application program is activity, the current page of application program is judged
Face meets preset condition.
2. mobile terminal according to claim 1, which is characterized in that the first processing module parsing application program is worked as
The information of the preceding page includes: that the level of the information of the current page for the application program that parsing obtains and the level parsed are corresponding
Content;
Wherein, level includes: navigation bar and/or title bar and/or text view;
When level is navigation bar or title bar, the corresponding content of the level includes: font, pattern and icon;
When level is text view, the corresponding content of the level includes: the font and style for the text that text view includes.
3. a kind of mobile terminal is applied in the corresponding application program of portal website characterized by comprising the second detection mould
Block, the second creation module, Second processing module and display module;Wherein,
Second detection module, for notifying the second creation module when detecting that user clicks the page file of .act format;
Second creation module creates a page for receiving the notice from the second detection module;
Second processing module, the level reconciliation of the corresponding page info of page file of the .act format for parsing user's click
The corresponding content of the level of precipitation;The page created is set by the level parsed and the corresponding content of level are corresponding
In;When being resolved to text view, text and picture that the text view includes are correspondingly arranged in the page created;
Display module, for showing the page after being arranged.
4. a kind of mobile terminal is applied in the corresponding application program of portal website characterized by comprising claim 1-2
Described in any item mobile terminals and mobile terminal as claimed in claim 3.
5. a kind of method of mobile terminal processing data, is applied in the corresponding application program of portal website, which is characterized in that packet
It includes:
When mobile terminal detects that user needs to save current page, it is default to judge whether the current page of application program meets
Condition;
When the current page for judging application program meets preset condition, the letter of the current page of application program is obtained and parsed
Breath;
The information parsed is stored in the page file for the .act format being pre-created;
When detecting that user needs to share this document, the page file of the .act format is shared;
Wherein, it includes: the current page for judging application program that whether the current page for judging application program, which meets preset condition,
Whether the top window in face is page activity;
When the top window for the current page for judging application program is activity, the current page of application program is judged
Face meets preset condition.
6. according to the method described in claim 5, it is characterized in that, the packet of the current page of the parsing application program
The corresponding content of level for including: parsing the level of the information of the current page of the application program of acquisition and parse;
Wherein, level includes: navigation bar and/or title bar and/or text view;
When level is navigation bar or title bar, the corresponding content of the level includes: font, pattern and icon;
When level is text view, the corresponding content of the level includes: the font and style for the text that text view includes.
7. according to the method described in claim 6, it is characterized in that, when the level is text view, this method further include:
Text and picture that the text view includes are stored into the file of the preset format pre-established and in the .act lattice
The store path of the file of the preset format pre-established is recorded in the page file of formula.
8. a kind of method of mobile terminal processing data, is applied in the corresponding application program of portal website, which is characterized in that packet
It includes:
When the mobile page file for detecting user's click .act format, a page is created;
The level for parsing the corresponding page info of page file for the .act format that user clicks is corresponding with the level parsed
Content;
By the level parsed and the corresponding content of level is corresponding is arranged in the page created;
When being resolved to text view, text and picture that the text view includes are correspondingly arranged at the page created
In;
The page after display setting.
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 CN105787030A (en) | 2016-07-20 |
CN105787030B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN107450796B (en) * | 2017-06-30 | 2019-10-08 | 努比亚技术有限公司 | A kind of image processing method, mobile terminal and computer readable storage medium |
Citations (5)
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 |
-
2016
- 2016-02-25 CN CN201610103805.8A patent/CN105787030B/en active Active
Patent Citations (5)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105787030A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104967802B (en) | The method for recording and device of mobile terminal and its plurality of regions on screen | |
CN104992101A (en) | Mobile terminal desktop icon display method and device | |
CN105843478B (en) | The icon display control method and device of rapid switch | |
CN106990889A (en) | A kind of prompt operation implementation method and device | |
CN105303398A (en) | Information display method and system | |
CN106254617B (en) | A kind of mobile terminal and control method | |
CN104657181A (en) | Method and device for mounting application program | |
CN105049582B (en) | A kind of save set of calling record, method and display methods | |
CN106598538A (en) | Method and system for updating instruction set | |
CN104661095A (en) | Audio and video data recommendation method and system | |
CN106657643B (en) | A kind of mobile terminal and conversational communication display methods | |
CN105787030B (en) | A kind of mobile terminal and its method for handling data | |
CN105872997A (en) | Short message merging method and terminal equipment | |
CN108829267A (en) | A kind of vocabulary recommended method, equipment and computer can storage mediums | |
CN106254616B (en) | The reminding method and device of missed call or unread short messages | |
CN105335055A (en) | Self-response type realization method and system of menu as well as terminal equipment | |
CN104731508A (en) | Audio playing method and device | |
CN105183830B (en) | picture browsing method and device | |
CN105187621B (en) | The method, apparatus and terminal of message notifying | |
CN106658470A (en) | Master card setting device and method | |
CN105898034B (en) | A kind of mobile terminal and its method for handling picture | |
CN106603872A (en) | Method for starting application according to association strategy, device and mobile terminal | |
CN107194243A (en) | A kind of mobile terminal and the method for installing application program | |
CN106507317A (en) | A kind of method and device for setting up group | |
CN104915299B (en) | The date storage method and device of multi-memory card |
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 |