The implementation method of mobile device number reporting system, apparatus and system
Technical field
The present invention relates to the communication technology more particularly to a kind of implementation method of mobile device number reporting system, device and it is
System.
Background technique
In recent years, the mobile devices such as mobile phone, tablet computer are fast-developing, more and more users by mobile device come into
Row datagram is read.
In the prior art, user carries out datagram reading by the browser of mobile device.User by browser into
Row datagram read when, browser by the corresponding network address of datagram server that user inputs be sent to domain name system (DNS,
Domain Name System) corresponding Internet protocol (IP, the Internet Protocol) address of server acquisition, then root
Content request message is sent to datagram server according to IP address obtained, and to the hypertext mark that datagram server returns
Remember that language (HTML, Hyper Text Markup language) file carries out web displaying.Wherein, datagram server is returned
It not only include needing each space of a whole page character block pair in newspaper master picture and newspaper master picture to be shown in the html file returned
The details answered are further comprised and are shown on webpage to newspaper master picture and the corresponding details of each space of a whole page character block
Style information when showing.When browser shows webpage, need that the html file is parsed and extracted from html file
Included in all the elements corresponding style information respectively, and it is former to newspaper master picture and newspaper according to the style information
The corresponding details of each space of a whole page character block are shown in domain piece.
But in the prior art, mobile device is needed through browser when showing to datagram webpage from HTML
Style information is extracted in file, time-consuming.
Summary of the invention
The present invention provides a kind of implementation method of mobile device number reporting system, apparatus and system, to solve existing skill
The problem of browser needs to extract style information from html file when showing datagram webpage in art, and time-consuming,
Reduce the duration that mobile device shows datagram.
The present invention provides a kind of implementation method of mobile device number reporting system, comprising:
Mobile device is interacted with datagram server, obtains the corresponding hypertext markup language html file of datagram, institute
State includes needing newspaper master picture to be shown in html file;
The mobile device shows the newspaper master picture according to being stored in the first local pattern.
The present invention provides also a kind of implementation method of mobile device number reporting system, comprising:
Datagram server obtains datagram;
The datagram server is interacted with mobile device, by the corresponding hypertext markup language HTML text of the datagram
Part is sent to the mobile device, so that the mobile device is according to being stored in the first local pattern in the html file
Including newspaper master picture shown.
The present invention provides a kind of mobile device, comprising:
Module is obtained, for interacting with datagram server, obtains the corresponding hypertext markup language HTML text of datagram
Part includes needing newspaper master picture to be shown in the html file;
Display module is stored in the first local pattern for basis and shows to the newspaper master picture.
The present invention provides a kind of datagram server, comprising:
Module is obtained, for obtaining datagram;
Sending module, for being interacted with mobile device, by the corresponding hypertext markup language html file of the datagram
It is sent to the mobile device, so that the mobile device is according to being stored in the first local pattern to wrapping in the html file
The newspaper master picture included is shown.
The implementation method of mobile device number reporting system provided by the invention, apparatus and system, pass through mobile device and number
It includes the html file for needing newspaper master picture to be shown that the interaction of word report server, which obtains, and mobile device is according to being stored in local
The first pattern show solve browser when showing to datagram webpage to the newspaper master picture, need
Style information is extracted from html file, the problem of time-consuming reduces the duration that mobile device shows datagram.
Detailed description of the invention
Fig. 1 is the flow chart of the implementation method embodiment one of mobile device number reporting system of the present invention;
Fig. 2 is the flow chart of the implementation method embodiment two of mobile device number reporting system of the present invention;
Fig. 3 is the flow chart of the implementation method embodiment three of mobile device number reporting system of the present invention;
Fig. 4 is the flow chart of the implementation method example IV of mobile device number reporting system of the present invention;
Fig. 5 is the flow chart of the implementation method embodiment five of mobile device number reporting system of the present invention;
Fig. 6 is the structural schematic diagram of mobile device embodiment one of the present invention;
Fig. 7 is the structural schematic diagram of mobile device embodiment two of the present invention;
Fig. 8 is the structural schematic diagram of mobile device embodiment three of the present invention;
Fig. 9 is the structural schematic diagram of mobile device example IV of the present invention;
Figure 10 is the structural schematic diagram of datagram server example one of the present invention;
Figure 11 is the structural schematic diagram of datagram server example two of the present invention.
Specific embodiment
Fig. 1 is the flow chart of the implementation method embodiment one of mobile device number reporting system of the present invention, as shown in Figure 1, this
The method of embodiment may include:
Step 101, mobile device are interacted with datagram server, obtain the corresponding hypertext markup language HTML of datagram
File;It wherein, include needing newspaper master picture to be shown in the html file;
Step 102, the mobile device show the newspaper master picture according to being stored in the first local pattern
Show.
In the prior art, it not only includes needing to show in the html file obtained that mobile device is interacted with datagram server
The newspaper master picture shown, further comprises the style information when showing on webpage to newspaper master picture;Browser pair
When webpage is shown, it is right respectively to need that all the elements included in the html file are parsed and extracted from html file
The style information answered, and newspaper master picture is shown according to the style information.In the present invention, mobile device and datagram
It includes the html file for needing newspaper master picture to be shown that server interaction, which obtains, and mobile device is according to being stored in local the
One pattern shows the newspaper master picture.
In the prior art, since browser needs extract style information from html file, according to the style information pair
Newspaper master picture is shown;Accordingly, there exist display webpage time-consuming the problem of;Middle mobile device and number through the invention
Reporting server interaction to obtain includes the html file for needing newspaper master picture to be shown, and mobile device is local according to being stored in
First pattern shows the newspaper master picture, so that mobile device is when carrying out the display of newspaper master picture, no longer
The step of extracting style information from html file is needed, and directly passes through the first pattern being locally stored to newspaper master picture
It is shown, reduces the duration that mobile device shows datagram;Meanwhile improving user experience.
In the present embodiment, interacting acquisition with datagram server by mobile device includes needing newspaper master figure to be shown
The html file of piece, mobile device show the newspaper master picture according to being stored in the first local pattern, solve
The problem of browser needs to extract style information from html file when showing datagram webpage, and time-consuming, subtracts
Small mobile device shows the duration of datagram.
Fig. 2 is the flow chart of the implementation method embodiment two of mobile device number reporting system of the present invention, as shown in Fig. 2, this
The method of embodiment may include:
Step 201, mobile device are interacted with datagram server, obtain the corresponding hypertext markup language HTML of datagram
File;It wherein, include needing each version in newspaper master picture to be shown and the newspaper master picture in the html file
The corresponding details of face character block;
Optionally, IP address can be corresponded to datagram server by mobile device and sends request message, datagram clothes
Business device obtains html file according to the mode that request message returns to the corresponding html file of datagram.
Optionally, the newspaper master picture is the picture of a space of a whole page newspaper.
Step 202, the mobile device show the newspaper master picture according to being stored in the first local pattern
Show;
Optionally, first pattern may include the area size for showing picture.
Step 203, the mobile device obtain user selected space of a whole page character block, root on the newspaper master picture
The corresponding details of the space of a whole page character block are shown according to the second local pattern is stored in;
Optionally, mobile device can be by obtaining touch operation of the user on newspaper master picture, according to the touch
The touch location of operation determines selected space of a whole page character block.
Optionally, second pattern may include font size and/or display mode etc.;Specifically, the font is big
Small may include: Header font size and text type size etc.;The display mode, it may include placed in the middle, left-justify etc..
Step 204, the mobile device are inputted according to user, are adjusted to the font size of the details.
It should be noted that step 204 is optional step.
Optionally, user's input can be sliding.
It can also include: mobile device according to user's input different reports corresponding to master newspaper layout in the present embodiment
Paper master picture switches over display, and mobile device can also be inputted according to user and is forwarded to the corresponding content of html file
And collection.
In the present embodiment, interacting acquisition with datagram server by mobile device includes needing newspaper master figure to be shown
The html file of the corresponding details of each space of a whole page character block in piece and the newspaper master picture, mobile device is according to storage
The newspaper master picture is shown in the first local pattern, and according to the second pattern being locally stored to the space of a whole page
The corresponding details of character block are shown solve browser when showing to datagram webpage, need from HTML
Style information is extracted in file, the problem of time-consuming reduces the duration that mobile device shows datagram.
Fig. 3 is the flow chart of the implementation method embodiment three of mobile device number reporting system of the present invention, as shown in figure 3, this
The method of embodiment may include:
Step 301, mobile device are inputted according to user, and selection needs the datagram cached;
For example, user can select to cache the datagram on the same day by way of click " offline to read ".
Step 302, the mobile device are interacted with datagram server, obtain the corresponding html file of datagram;Wherein,
It include needing each space of a whole page character block pair in newspaper master picture to be shown and the newspaper master picture in the html file
The details answered;
Step 302 is identical as step 201, and details are not described herein.
Step 303, the mobile device delay the corresponding html file of datagram of the needs caching of acquisition
It deposits;
Step 304, the mobile device are determined the need for the need for including in html file newspaper to be shown
Master picture is shown;
If so, thening follow the steps 305;Otherwise, terminate.
For example, user can notify that mobile terminal needs, and the datagram is corresponding by way of opening a datagram
The need for including in html file newspaper master picture to be shown is shown.
Step 305, the mobile device show the newspaper master picture according to being stored in the first local pattern
Show;
Step 305 is identical as step 202, and details are not described herein.
Step 306, the mobile device obtain user selected space of a whole page character block, root on the newspaper master picture
The corresponding details of the space of a whole page character block are shown according to the second local pattern is stored in;
It should be noted that step 306 is optional step;
Step 306 is identical as step 203, and details are not described herein.
Step 307, the mobile device are inputted according to user, are adjusted to the font size of the details.
It should be noted that step 307 is optional step.
Step 307 is identical as step 204, and details are not described herein.
It in the present embodiment, is inputted by mobile device according to user, selection needs the datagram cached, the mobile device
It is interacted with datagram server, obtains the corresponding html file of datagram, the html file of acquisition is cached, and in determination
When needing to show the need for including in html file newspaper master picture to be shown, according to being stored in local
One pattern shows solve browser and show to datagram webpage to the newspaper master picture in html file
When, it needs to extract style information from html file, the problem of time-consuming, reduces the duration that mobile device shows datagram;
Meanwhile in such a way that datagram is cached, so that user can in advance cache datagram in the case where connecting network, and
Datagram reading is carried out in the case where not connected network or bad Network status, improves the convenience that user reads datagram
Property.
Fig. 4 is the flow chart of the implementation method example IV of mobile device number reporting system of the present invention, as shown in figure 4, this
The method of embodiment may include:
Step 401, datagram server obtain datagram;
Optionally, datagram server can be Content Management System (CMS, Content Management System)
Server;
Optionally, datagram server can be by way of receiving the newspaper original data that other servers are regularly sent
Obtain datagram.
Step 402, the datagram server are interacted with mobile device, by the corresponding hypertext markup language of the datagram
Speech html file is sent to the mobile device, so that the mobile device is according to being stored in the first local pattern to described
The newspaper master picture for including in html file is shown.
Step 402 is identical as step 201, and details are not described herein.
In the present embodiment, interacting acquisition with datagram server by mobile device includes needing newspaper master figure to be shown
The html file of piece, mobile device show the newspaper master picture according to being stored in the first local pattern, solve
The problem of browser needs to extract style information from html file when showing datagram webpage, and time-consuming, subtracts
Small mobile device shows the duration of datagram.
Fig. 5 is the flow chart of the implementation method embodiment five of mobile device number reporting system of the present invention, as shown in figure 5, this
The method of embodiment may include:
Step 501, datagram server obtain datagram;
Step 501 is identical as step 401, and details are not described herein.
Step 502, the datagram server send the prompt information of the datagram of newest publication to mobile device;
Optionally, datagram server then can send newest publication to mobile device when getting new datagram
Datagram prompt information.
Step 503, mobile device receive the prompt information of the datagram for the newest publication that the datagram server is sent;
Optionally, mobile device receive datagram server transmission newest publication datagram prompt information after,
User can be notified by way of interface prompt.
Step 504, the mobile device receive user's datagram according to transmitted by the prompt information and select information;
Step 505, the mobile device obtain datagram corresponding with datagram selection information;
Step 506, the mobile device are interacted with the datagram server, obtain the corresponding hypertext of the datagram
Markup language html file;It wherein, include needing newspaper master picture to be shown and the newspaper former in the html file
The corresponding details of each space of a whole page character block in domain piece;
Step 506 is identical as step 201, and details are not described herein.
Step 507, the mobile device show the newspaper master picture according to being stored in the first local pattern
Show;
Step 507 is identical as step 202, and details are not described herein.
Step 508, the mobile device obtain user selected space of a whole page character block, root on the newspaper master picture
The corresponding details of the space of a whole page character block are shown according to the second local pattern is stored in;
It should be noted that step 508 is optional step;
Step 508 is identical as step 203, and details are not described herein.
Step 509, the mobile device are inputted according to user, are adjusted to the font size of the details.
It should be noted that step 509 is optional step;
Step 509 is identical as step 204, and details are not described herein.
In the present embodiment, mentioning for the datagram for the newest publication that the datagram server is sent is received by mobile device
Show information, mobile device receives user's datagram according to transmitted by the prompt information and selects information, mobile device obtain with
The datagram selects the corresponding datagram of information, and mobile device is interacted with datagram server, and it is corresponding to obtain datagram
Html file, and solving is shown to the newspaper master picture in html file according to the first local pattern is stored in
The problem of browser needs to extract style information from html file when showing datagram webpage, and time-consuming reduces
Mobile device shows the duration of datagram;Meanwhile the newest hair that the datagram server is sent is received by mobile device
The mode of the prompt information of the datagram of cloth allows users to obtain newest datagram faster, improves user's acquisition
The efficiency of datagram content.
Fig. 6 is the structural schematic diagram of mobile device embodiment one of the present invention, as shown in fig. 6, the mobile device of the present embodiment
It may include: to obtain module 601 and display module 602.Wherein, module 601 is obtained, for being interacted with datagram server, is obtained
The corresponding hypertext markup language html file of datagram is obtained, includes needing newspaper master figure to be shown in the html file
Piece;Display module 602 is stored in the first local pattern for basis and shows to the newspaper master picture.
The mobile device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 1, realization principle
Similar with technical effect, details are not described herein again.
Mobile device embodiment two
It optionally, can also include: that the newspaper is former on the basis of mobile device embodiment one, in the html file
The corresponding details of each space of a whole page character block in domain piece;Display module 602, is also used to: obtaining user in the newspaper master
Selected space of a whole page character block on picture, according to being stored in the second local pattern to the corresponding detailed letter of the space of a whole page character block
Breath is shown.
Optionally, second pattern may include: font size;
Fig. 7 is the structural schematic diagram of mobile device embodiment two of the present invention, as shown in fig. 7, the mobile device of the present embodiment
It can also include: adjustment module 603, for defeated according to user further on the basis of mobile device structure shown in Fig. 6
Enter, the font size of the details is adjusted.
The mobile device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 2, realization principle
Similar with technical effect, details are not described herein again.
Fig. 8 is the structural schematic diagram of mobile device embodiment three of the present invention, as shown in figure 8, the mobile device of the present embodiment
It can also include: selecting module 604 and cache module 605 further on the basis of mobile device structure shown in Fig. 7.Its
In, selecting module 604, for being inputted according to user, selection needs the datagram cached;Cache module 605, for acquisition
It is described that the corresponding html file of datagram cached is needed to be cached;Display module 602, is specifically used for: needing to described
The need newspaper master picture to be shown for including in the html file of cache module caching is when being shown, according to being stored in local
The first pattern the newspaper master picture is shown.
The mobile device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 3, realization principle
Similar with technical effect, details are not described herein again.
Fig. 9 is the structural schematic diagram of mobile device example IV of the present invention, as shown in figure 9, the mobile device of the present embodiment
It can also include: cue module 606, for receiving the number further on the basis of mobile device structure shown in Fig. 7
The prompt information of the datagram for the newest publication that word report server is sent;Receive user's number according to transmitted by the prompt information
Word report selects information;Obtain datagram corresponding with datagram selection information.
The mobile device of the present embodiment can be used for executing the technical solution of the side of embodiment of the method mobile device shown in Fig. 5,
That the realization principle and technical effect are similar is similar for it, and details are not described herein again.
Figure 10 is the structural schematic diagram of datagram server example one of the present invention, as shown in Figure 10, the number of the present embodiment
Word report server may include: to obtain module 1001 and sending module 1002.Wherein, module 1001 is obtained, for obtaining number
Report;Sending module 1002 sends out the corresponding hypertext markup language html file of the datagram for interacting with mobile device
It send to the mobile device, so that the mobile device is according to being stored in the first local pattern to including in the html file
Newspaper master picture shown.
The datagram server of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 4, realize
Principle is similar with technical effect, and details are not described herein again.
Figure 11 is the structural schematic diagram of datagram server example two of the present invention, as shown in figure 11, the number of the present embodiment
Word report server can also include: cue module further on the basis of datagram server architecture shown in Figure 10
1003, the cue module 1003, the prompt information of the datagram for sending newest publication to the mobile device, so that described
Mobile device receives user's datagram according to transmitted by the prompt information and selects information, and obtains and select with the datagram
The corresponding datagram of information.
The datagram server of the present embodiment can be used for executing the server side of embodiment of the method datagram shown in Fig. 5
Technical solution, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
The present invention also provides a kind of digital reporting systems, comprising: mobile device and datagram server;Wherein, mobile device
As described in mobile device embodiment one, embodiment two, embodiment three, example IV;Such as datagram service of datagram server
Described in device embodiment one, embodiment two.
The digital reporting system of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 5, realize former
Reason is similar with technical effect, and details are not described herein again.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.