WO2017000804A1 - 移动终端新闻浏览的方法及装置 - Google Patents

移动终端新闻浏览的方法及装置 Download PDF

Info

Publication number
WO2017000804A1
WO2017000804A1 PCT/CN2016/086419 CN2016086419W WO2017000804A1 WO 2017000804 A1 WO2017000804 A1 WO 2017000804A1 CN 2016086419 W CN2016086419 W CN 2016086419W WO 2017000804 A1 WO2017000804 A1 WO 2017000804A1
Authority
WO
WIPO (PCT)
Prior art keywords
news
detail page
prompt
current
data information
Prior art date
Application number
PCT/CN2016/086419
Other languages
English (en)
French (fr)
Inventor
王艳丽
吴凯
王峰
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
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 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Priority to US15/741,029 priority Critical patent/US20180196580A1/en
Publication of WO2017000804A1 publication Critical patent/WO2017000804A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • 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/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a method and apparatus for news browsing of a mobile terminal.
  • the present invention provides a method and apparatus for news browsing of a mobile terminal, and the main purpose thereof is to solve the problem that the user is cumbersome in the process of reading a plurality of news, and cannot read the news infinitely and smoothly.
  • the present invention provides a method for news browsing of a mobile terminal, comprising:
  • the acquisition instruction is triggered according to the operation of the current news detail page
  • the present invention provides an apparatus for news browsing of a mobile terminal, including:
  • An obtaining unit configured to acquire and cache list data of a news list
  • a judging unit configured to determine whether a part of the prompt message is displayed on the current news detail page
  • a triggering unit configured to: when the determining unit determines that the partial prompting label appears, triggering the obtaining instruction according to the determining unit performing the judgment on the operation of the current news detail page;
  • the obtaining unit is configured to obtain the data information of the news after the parting according to the obtaining instruction triggered by the trigger unit and the list data;
  • a rendering unit configured to render the data information obtained by the acquiring unit to obtain a news detail page of the news after the piece.
  • the method and device for browsing the news of the mobile terminal can trigger the obtaining instruction by combining the operation of the current news detail page after determining whether the current news detail page has a partial prompt message.
  • the news detail page of the news after the article is obtained.
  • the method can return to the news list page by clicking the return button, and then click to enter the previous/next news to continue reading, the invention can directly pull down/pull up the current news detail page. Going to the previous/next news detail page greatly reduces the number of steps in reading multiple news and achieves unlimited and smooth reading of a large amount of news.
  • FIG. 1 is a flowchart of a method for news browsing of a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing a position of a part of a prompt in the page according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram showing another location of a part of a prompt message provided in an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the composition of a device for browsing news of a mobile terminal according to an embodiment of the present invention
  • FIG. 5 is a block diagram of a computing device for performing a method of mobile terminal news browsing in accordance with the present invention
  • 6 is a storage unit of program code for holding or carrying a method of implementing news browsing of a mobile terminal according to the present invention.
  • the embodiment of the present invention provides a method for news browsing of a mobile terminal, which focuses on the client side and can be pulled down/up. Pulling the current news details page directly into the previous/next news detail page, greatly reducing the number of steps in the process of reading multiple news, and achieving unlimited and smooth reading of a large number of news.
  • the method includes:
  • the user In the process of reading news by using mobile news products, the user needs to click to enter the news channel page, which has different theme news channels, such as entertainment news channel, social news channel, sports news channel, technology news channel and the like. Clicking into each news channel will get a news list of the channel.
  • the news list contains list data such as news headlines, picture summaries, sites, publishing time, etc.
  • the client obtains the list data and caches the list data locally for subsequent In the process of reading the news, you can quickly get the news headlines, picture summaries, sites, publishing time and other data of the previous or next news in the list data.
  • step 102 of the present invention it is necessary to determine whether the current news detail page has a partial prompt.
  • the part of the prompt is one of the conditions for reading the previous or next news, and can be combined with step 103 to perform the operation of reading the previous or next news, the operation does not need to click the back button. Can reduce the steps to read the previous or next news.
  • step 103 is required to trigger an acquisition instruction according to the operation of the current news detail page.
  • the operation of the current news detail page refers to a sliding operation of the page, and reading In the process of news, the sliding operation is mainly to pull up or pull down the page so that it can read the contents of different sections of the news.
  • step 104 the client invokes the interface function according to the acquisition instruction and the list data to obtain the data information of the previous or next news, and the data information includes all the contents of the news detail page.
  • the client obtains the data information of the previous or next news, and renders the data information, the news detail page of the news after the article is continuously read, so that the user does not need to click the back button to return to the news list page. And then click on the previous or next news to read, greatly reducing the cumbersome steps in the process of reading multiple news.
  • the method for browsing the news of the mobile terminal can trigger the obtaining instruction by combining the operation of the current news detail page after determining whether the current news detail page has a partial prompt, and is used to obtain the data of the news after the partial news. Information, and rendering data information to get a news detail page for the news after the article.
  • the method can return to the news list page by clicking the return button, and then click to enter the previous/next news to continue reading, the invention can directly pull down/pull up the current news detail page. Going to the previous/next news detail page greatly reduces the number of steps in reading multiple news and achieves unlimited and smooth reading of a large amount of news.
  • the client invokes the interface function to obtain the list data of the current news list, and caches the list data locally, and the list data includes: news title, picture summary, site, publishing time, and the like.
  • the client can quickly obtain the news headline, picture summary, site, publishing time and other data of the previous or next news from the locally cached list data.
  • the data can appear as a news preview content on the news detail page currently viewed by the user, so that the user can know in advance the news content to be browsed.
  • the method provided by the present invention needs to combine the operation of determining whether the current news detail page has a partial prompt and the operation of the current news detail page to trigger the acquisition instruction and obtain a part. After the data information of the news, the news details page of the news after the article is finally obtained by rendering the data information.
  • the preset The coordinate group is the coordinate group of the visible area of the display screen when the client reads the news.
  • the coordinates of the part-of-sale prompts fall within the preset coordinate group, it is judged that the current news detail page has a partial prompt, indicating that the conditions for reading other news are available at this time.
  • whether to obtain the data information of the news after the article is further determined according to the user's operation on the current news detail page.
  • the partial prompts in the embodiment of the present invention include the previous prompt and the next prompt.
  • the previous prompt is usually located above the news title of the current news detail page; as shown in FIG. 3, the next prompt is usually located below the recommended content of the current news detail page.
  • the user can browse the contents of different sections of the news detail page by pulling up or pulling down the news detail page.
  • the next message will appear below the recommended content on the news details page.
  • the news details page is continuously pulled down, the previous message will appear above the news title on the news details page.
  • the pull-up and pull-down operations described herein are another condition in the present invention for determining whether or not to acquire data information of a post-partial news. Only when the pull-up/pull-down operation of the news detail page and the occurrence of the next prompt/previous prompt are available, the acquisition instruction is triggered, and the interface function is called according to the acquisition instruction to obtain the post-partial news. Data information. In practical applications, the method used by the calling interface is to rely on the $.ajax() function of zeptojs for remote interface reading.
  • the preset coordinate group is a coordinate set formed by each coordinate in the visible area of the display screen, and a series of coordinates in the visible area of the display screen constitute a preset coordinate group.
  • the largest box represents the display screen, and a series of coordinates of the internal visible area constitutes the preset coordinate group in the embodiment, and when the coordinates of the part-by-part prompt mark are determined to be preset
  • the coordinate group is within, it is determined that the news detail page has a partial prompt.
  • the preset coordinate group may include a first coordinate group formed by each coordinate in the upper half of the visible area of the display screen, and a second coordinate group formed by the visible area of the display screen. Each coordinate within the half is formed.
  • the touch event of the current news detail page may be monitored, and the coordinate change of the contact drag may be determined to determine Pull up or pull down the current news details page.
  • the touch screen related events can be implemented based on the listener listener, and the setOnTouchListener() method is used to add a listener for a certain type of event.
  • ACTION_DOWN refers to pressing the touch screen
  • ACTION_MOVE refers to moving the force point after pressing the touch screen
  • ACTION_UP means that releasing the touch screen ACTION_CANCEL will not be triggered directly by the user.
  • the process of monitoring the touch event of the current news detail page is not continuous, and the monitoring of the touch event is initiated only when the partial prompt is displayed in the news detail page. For example, when it is judged that the previous prompt is displayed, the listen event is started, and if the pull operation of the current news detail page is subsequently determined, the acquisition instruction of the data information of the previous news is triggered; when the next prompt is judged to appear When the time is marked, the monitoring event is started, and if the subsequent pull-up operation is performed on the current news detail page, the acquisition instruction of the data information of the next news is triggered.
  • This implementation can reduce the waste of the client processing resources by listening to the touch event without the presence of a partial prompt.
  • the client After the acquisition instruction is triggered, the client obtains the data information of the news after the partial instruction according to the acquisition instruction, so that the user can directly go to the news detail page of the next article (previous article) by pulling up (dragging down) the news detail page. Read, without having to click the back button to return to the news list page and select the previous or next news to read. If you go directly to the news details page of the news after the pull-up or pull-down operation, the user cannot know the subject of the news to be read in advance, and does not meet the user's habit of reading the news. Therefore, as an optional implementation manner, the data information of the post-partition news according to the obtaining instruction in the embodiment of the present invention includes the data information of the news preview content and the data information of the news detail page.
  • the data information of the preview content of the previous or next news may be first obtained, and then the data information of the news detail page of the previous or next news may be obtained.
  • the data information of the preview content of the previous or next news is the data information of the previous or next news in the list data of the locally cached news list, including: news headline, news photo summary, publishing time, etc. .
  • the client When obtaining the data information of the preview content, the client can quickly obtain the news headline, picture summary, site, publishing time and the like of the previous or next news from the list data of the locally cached news list.
  • the data information of the news after the article can be obtained by calling the interface function.
  • the pass After the pull-up or pull-down operation the preview content of the news after the article is obtained first, so that the user can know the news topic to be read in advance, and conform to the daily reading habit of the user.
  • the preview content of the previous/next news is first obtained and displayed by a pull-down/pull-up operation, and if the user is not interested in the preview content, the user is unwilling to continue.
  • the client will not continue to get and display the news details page of the previous / next news, the page is restored to the current news news details page; if the user is previewing Interested in content, willing to continue reading, at this time the user continues to pull up / pull down, the client will continue to get and display the news details page of the previous / next news.
  • the preview content of the news after the piece is first obtained by the pull-up or pull-down operation, and the pull-up or pull-down operation is continued to obtain the news details of the news, which enables the user to perform selective reading.
  • the data information After obtaining the data information of the news after the piece, the data information needs to be rendered to obtain the preview content of the news and the news detail page.
  • These data information may include TXT files, HTML files, XML files, and JSON data.
  • the page transcoding JSON data can be obtained through Ajax, and the DOM node is generated by the JS parsing and inserted into the page to complete the rendering of the page.
  • update the page with JS and HTML make an asynchronous request to the server to execute the update page. When the request returns, you can use JS and CSS to update the page accordingly instead of refreshing the entire page.
  • each news item in the news list corresponds to a complete news in the news detail page.
  • the data information of the previous/next news obtained after reading the current news detail page data information of the preview content and/or data information of the news detail page
  • the previous/lower news of the current news in the news list One-to-one correspondence of the data information of a news (data information of the preview content and/or data information of the news detail page).
  • the embodiment of the present invention After determining that the partial prompts appear in the current news detail page, the embodiment of the present invention starts to monitor the touch event of the current news detail page, thereby saving the processing resources of the client; and further, by pulling up or pulling down the current news detail page. First, the preview content of the news after the article is presented on the page, and then the details page of the news after the article is presented, so as to conform to the user's news reading habit and enable the user to selectively read.
  • an embodiment of the present invention further provides a device for browsing a news of a mobile terminal, where the device may be located at a client.
  • the The device includes: an obtaining unit 41, a determining unit 42, a triggering unit 43, and a rendering unit 44, wherein
  • the obtaining unit 41 is configured to acquire and cache the list data of the news list
  • the determining unit 42 is configured to determine whether a partial prompt is displayed on the current news detail page
  • the triggering unit 43 is configured to: when the determining unit 42 determines that the partial prompting label appears, trigger the obtaining instruction according to the determining unit 42 determining the operation of the current news detail page;
  • the obtaining unit 41 is configured to acquire data information of the news after the parting according to the obtaining instruction triggered by the triggering unit 43 and the list data;
  • the rendering unit 44 is configured to render the data information acquired by the obtaining unit 41 to obtain a news detail page of the news after the piece.
  • the obtaining unit 41 is configured to obtain list data of the news list by calling an interface function, and cache the list data of the news list locally.
  • the determining unit 42 is configured to obtain the coordinates of the part-by-point cue, and determine whether the coordinates are located in the preset coordinate group.
  • the determining unit 42 is configured to obtain the coordinates of the previous prompt and the coordinates of the next prompt, and determine whether the coordinates are located in the preset coordinate group.
  • the determining unit 42 is configured to determine to pull up the current news detail page and pull down the current news detail page.
  • the triggering unit 43 is configured to monitor the touch event of the current news detail page according to the determining unit 42 , determine the coordinate change of the contact drag, and determine to trigger the acquisition instruction after performing the pull-up or pull-down operation on the current news detail page.
  • the triggering unit 43 is configured to trigger an acquisition instruction for acquiring data information of the previous news when the determining unit 42 determines that the previous prompt is displayed and determines that the current news detail page is pulled down;
  • the triggering unit 43 is configured to trigger an acquisition instruction of acquiring data information of the next news when the determining unit 42 determines that the next prompt is displayed and determines that the pull-up operation is performed on the current news detail page.
  • the obtaining unit 41 is configured to acquire data information of the news preview content and data information of the news detail page; the news preview content includes: a news title and a news picture summary.
  • the obtaining unit 41 is configured to acquire an interface function according to the cached list data. Data information for a news or next news.
  • the device for browsing the news of the mobile terminal can trigger the acquisition instruction by combining the operation of the current news detail page after determining whether the current news detail page has a partial prompt, and is used to obtain the data of the news after the partial news. Information, and rendering data information to get a news detail page for the news after the article.
  • the method can return to the news list page by clicking the return button, and then click to enter the previous/next news to continue reading, the invention can directly pull down/pull up the current news detail page. Going to the previous/next news detail page greatly reduces the number of steps in reading multiple news and achieves unlimited and smooth reading of a large amount of news.
  • the embodiment of the present invention starts monitoring the touch event of the current news detail page, thereby saving the processing resources of the client; by pulling up or pulling down the current news detail page. In this way, the preview content of the news after the article is presented on the page, and then the details page of the news after the article is presented, so as to conform to the user's news reading habits.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the components of the inventive name (e.g., means for determining the level of link within a website) in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • Such a program implementing the present invention can be stored in a computer readable medium Up, or may have the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 5 illustrates a computing device for performing a method of mobile terminal news browsing in accordance with the present invention.
  • the computing device conventionally includes a processor 510 and a program product or readable medium in the form of a memory 520.
  • Memory 520 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, or ROM.
  • Memory 520 has a memory space 530 for program code 531 for performing any of the method steps described above.
  • storage space 530 for program code may include various program code 531 for implementing various steps in the above methods, respectively.
  • These program codes can be read from or written to one or more program products.
  • These program products include program code carriers such as memory cards.
  • Such a program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 520 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes readable code 531', ie, code that can be read by a processor, such as 510, that when executed by a computing device causes the computing device to perform various steps in the methods described above .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

移动终端新闻浏览的方法及装置,所述方法包括:获取并缓存新闻列表的列表数据(101);判断当前新闻详情页面是否出现分篇提示标(102);当判断出现所述分篇提示标时,根据对所述当前新闻详情页面的操作触发获取指令(103);根据所述获取指令及所述列表数据获取分篇后新闻的数据信息(104);渲染所述数据信息得到所述分篇后新闻的新闻详情页面(105)。该方法及装置涉及互联网技术领域,主要应用于移动新闻产品中,解决了用户在阅读多篇新闻的过程中操作繁琐,无法无限流畅阅读新闻的问题。

Description

移动终端新闻浏览的方法及装置 技术领域
本发明涉及互联网技术领域,特别是涉及一种移动终端新闻浏览的方法及装置。
背景技术
随着移动互联网的发展,人们的阅读习惯也随之改变,从之前只能在个人电脑(personal computer,PC)端阅读新闻逐步转变到通过手机、平板电脑等移动设备阅读新闻。对新闻阅读量及新闻需求较高的新闻深度用户来说,顺畅的阅读体验是必要的。在现有的移动新闻产品中,当用户点击进入一篇新闻的详情页面且阅读完该篇新闻后,需要点击返回按钮返回新闻列表页面再次选择新闻。
在对现有移动新闻产品的使用过程中,发明人发现:当阅读完当前新闻后,如果想阅读上一篇/下一篇新闻,就必须先点击返回按钮返回到新闻列表页面,再点击进入上一篇/下一篇新闻才能继续阅读。这样的操作过程繁琐,无法满足用户无限流畅阅读新闻的需求。
发明内容
有鉴于此,本发明提出了一种移动终端新闻浏览的方法及装置,主要目的在于解决用户在阅读多篇新闻的过程中操作繁琐,无法无限流畅阅读新闻的问题。
依据本发明的第一个方面,本发明提供了一种移动终端新闻浏览的方法,包括:
获取并缓存新闻列表的列表数据;
判断当前新闻详情页面是否出现分篇提示标;
当判断出现分篇提示标时,根据对当前新闻详情页面的操作触发获取指令;
根据获取指令及列表数据获取分篇后新闻的数据信息;
渲染数据信息得到分篇后新闻的新闻详情页面。
依据本发明的第二个方面,本发明提供了一种移动终端新闻浏览的装置,包括:
获取单元,用于获取并缓存新闻列表的列表数据;
判断单元,用于判断当前新闻详情页面是否出现分篇提示标;
触发单元,用于当判断单元判断出现分篇提示标时,根据判断单元对当前新闻详情页面的操作进行判断后触发获取指令;
获取单元用于根据触发单元触发的获取指令及列表数据获取分篇后新闻的数据信息;
渲染单元,用于渲染获取单元获取的数据信息得到分篇后新闻的新闻详情页面。
借由上述技术方案,本发明实施例提供的移动终端新闻浏览的方法及装置,能够通过在判断当前新闻详情页面是否出现分篇提示标后结合对当前新闻详情页面的操作来触发获取指令,用于获取分篇后新闻的数据信息,并渲染数据信息得到分篇后新闻的新闻详情页面。与现有技术中需要通过点击返回按钮返回到新闻列表页面,再点击进入上一篇/下一篇新闻才能继续阅读的方式相比,本发明能够通过下拉/上拉当前新闻详情页面的方式直接进入上一篇/下一篇新闻详情页面,极大减少了阅读多篇新闻过程中的操作步骤,实现对大量新闻的无限流畅阅读。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
图1示出了本发明实施例提供的一种移动终端新闻浏览的方法的流程图;
图2示出了本发明实施例提供的一个分篇提示标在页面中所处位置的示意图;
图3示出了本发明实施例提供的另一个分篇提示标在页面中所处位置的示意图;
图4示出了本发明实施例提供的一种移动终端新闻浏览的装置的组成框图;
图5是用于执行根据本发明的移动终端新闻浏览的方法的计算设备的框图;
图6是用于保持或者携带实现根据本发明的移动终端新闻浏览的方法的程序代码的存储单元。
具体实施方式
下面将参照附图更加详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
为了解决用户在阅读多篇新闻的过程中操作繁琐,无法无限流畅阅读新闻的问题,本发明实施例提供了一种移动终端新闻浏览的方法,该方法侧重于客户端侧,能够通过下拉/上拉当前新闻详情页面的方式直接进入上一篇/下一篇新闻详情页面,极大减少了阅读多篇新闻过程中的操作步骤,实现对大量新闻的无限流畅阅读。如图1所示,该方法包括:
101、获取并缓存新闻列表的列表数据。
用户在使用移动新闻产品阅读新闻的过程中,需要点击进入新闻频道页面,该新闻频道页面具有不同主题的新闻频道,例如娱乐新闻频道、社会新闻频道、体育新闻频道、科技新闻频道等。点击进入每个新闻频道都会得到该频道的新闻列表,新闻列表包含有诸如新闻标题、图片摘要、站点、发布时间等列表数据,客户端获取这些列表数据并将列表数据缓存在本地,以便在后续阅读新闻的过程中能够快速获取列表数据中的上一篇或下一篇新闻的新闻标题、图片摘要、站点、发布时间等数据。
102、判断当前新闻详情页面是否出现分篇提示标。
在传统的移动新闻产品中,当阅读完当前新闻详情页面后,需要点击返回按钮返回到新闻列表页面,在新闻列表页面中再次点击需要阅读的上一篇或下一篇新闻后,才能继续进行相关新闻的阅读。为了在阅读上一篇或下一篇新闻时不过多的进行点击操作,在本发明的步骤102中,需要判断当前新闻详情页面是否出现分篇提示标。该分篇提示标作为可以进行阅读上一篇或下一篇新闻的条件之一,可以与步骤103相结合来执行阅读上一篇或下一篇新闻的操作,该操作不需要点击返回按钮,能够减少阅读上一篇或下一篇新闻的操作步骤。
103、根据对当前新闻详情页面的操作触发获取指令。
在步骤102中当判断出现分篇提示标时,需要执行步骤103根据对当前新闻详情页面的操作触发获取指令,本步骤中对当前新闻详情页面的操作指的是对页面的滑动操作,在阅读新闻的过程中,滑动操作主要是上拉或下拉页面从而能够阅读新闻中不同篇幅部分的内容。
104、根据获取指令及列表数据获取分篇后新闻的数据信息。
当在步骤103中触发了获取指令后,就可以根据获取指令获取分篇后新闻的数据信息。步骤104中客户端根据获取指令及列表数据调用接口函数获取上一篇或下一篇新闻的数据信息,这些数据信息包含了新闻详情页面的全部内容。
105、渲染数据信息得到分篇后新闻的新闻详情页面。
当客户端获取到上一篇或下一篇新闻的数据信息后,对数据信息进行渲染,就可以得到分篇后新闻的新闻详情页面继续阅读,从而不需要点击返回按钮返回到新闻列表页面后,再点击上一篇或下一篇新闻进行阅读,极大的减少了阅读多篇新闻过程中繁琐的操作步骤。
本发明实施例提供的移动终端新闻浏览的方法,能够通过在判断当前新闻详情页面是否出现分篇提示标后结合对当前新闻详情页面的操作来触发获取指令,用于获取分篇后新闻的数据信息,并渲染数据信息得到分篇后新闻的新闻详情页面。与现有技术中需要通过点击返回按钮返回到新闻列表页面,再点击进入上一篇/下一篇新闻才能继续阅读的方式相比,本发明能够通过下拉/上拉当前新闻详情页面的方式直接进入上一篇/下一篇新闻详情页面,极大减少了阅读多篇新闻过程中的操作步骤,实现对大量新闻的无限流畅阅读。
为了更好的对上述图1所示的方法进行理解,作为对上述实施方式的细化和扩展,本发明实施例将针对图1中的步骤进行详细说明。
用户通过客户端进入到新闻列表后,客户端调用接口函数获取当前新闻列表的列表数据,并将列表数据缓存在本地,这些列表数据包括:新闻标题、图片摘要、站点、发布时间等。当用户阅读完当前新闻详情页面并进行上拉或下拉操作时,客户端可以从本地缓存的列表数据中快速获取上一篇或下一篇新闻的新闻标题、图片摘要、站点、发布时间等数据,这些 数据可以作为新闻预览内容出现在用户当前浏览的新闻详情页面中,以便用户能够预先了解到即将浏览的新闻内容。作为一种可选的实施方式,在获取列表数据时可以调用$.ajax()函数远程获取。
在传统的移动新闻产品中,当用户阅读完当前新闻后,如果想阅读上一篇/下一篇新闻,就必须先点击返回按钮返回到新闻列表页面,再点击进入上一篇/下一篇新闻才能继续阅读,这样的操作过程繁琐。为了能够减少阅读多篇新闻时的操作步骤,本发明提供的方法需要将判断当前新闻详情页面是否出现分篇提示标与对当前新闻详情页面进行的操作相结合,来触发获取指令并获取分篇后新闻的数据信息,最终通过渲染数据信息得到分篇后新闻的新闻详情页面。
在判断当前新闻详情页面是否出现分篇提示标时,作为一种可选的实施方式,可以通过获取分篇提示标的坐标,判断分篇提示标的坐标是否位于预设的坐标群内,该预设的坐标群为在客户端阅读新闻时显示屏的可视区域的坐标群。当分篇提示标的坐标落在预设的坐标群内,则判断当前新闻详情页面出现分篇提示标,说明此时具备了阅读其他新闻的条件。最终是否需要获取分篇后新闻的数据信息还要进一步根据用户对当前新闻详情页面的操作进行判断。
作为日常阅读新闻过程中的一个应用场景,本发明实施例中的分篇提示标包括上一篇提示标和下一篇提示标。其中,如图2所示,上一篇提示标通常位于当前新闻详情页面的新闻标题上方;如图3所示,下一篇提示标通常位于当前新闻详情页面的推荐内容下方。用户在阅读新闻的过程中,通过上拉或下拉新闻详情页面可以浏览新闻详情页面中不同篇幅部分的内容。当上拉新闻详情页面到阅读完全篇新闻后,会在新闻详情页面的推荐内容下方出现下一篇提示标。同理,当持续下拉新闻详情页面时,会在新闻详情页面的新闻标题上方出现上一篇提示标。这里所述的上拉和下拉操作,就是本发明中确定是否需要获取分篇后新闻的数据信息的另一条件。只有对新闻详情页面进行上拉/下拉操作以及出现下一篇提示标/上一篇提示标这两个条件都具备时,才会触发获取指令,根据获取指令调用接口函数来获取分篇后新闻的数据信息。在实际应用中,调用接口使用的方法是依赖zeptojs的$.ajax()函数进行远程接口读取的。
在判断新闻详情页面中是否出现分篇提示标这一条件时,是通过获取分篇提示标的坐标并确定该坐标是否位于预设的坐标群内来判断的。该预设的坐标群是显示屏的可视区域内的各个坐标形成的坐标集合,显示屏可视区域内的一系列坐标构成了预设的坐标群。在上述图2和图3中,最大的方框即代表显示屏,其内部可视区域的一系列坐标构成了本实施例中预设的坐标群,当判断出分篇提示标的坐标位于预设的坐标群内时,则确定新闻详情页面出现分篇提示标。
由于本实施例中分篇提示标包括上一篇提示标和下一篇提示标,因此需要判断新闻详情页面中出现的是上一篇提示标还是下一篇提示标。此时,预设的坐标群可以包括第一坐标群和第二坐标群,第一坐标群由显示屏可视区域上半部分内的各个坐标形成,第二坐标群由显示屏可视区域下半部分内的各个坐标形成。当分篇提示标的坐标落在第一坐标群时,说明出现的是上一篇提示标;当分篇提示标的坐标落在第二坐标群时,说明出现的是下一篇提示标。当判断出现上一篇提示标后,如果进行下拉操作则会触发获取上一篇新闻数据信息的获取指令;当判断出现下一篇提示标后,如果进行上拉操作则会触发获取下一篇新闻数据信息的获取指令。
而在确定对新闻详情页面进行上拉/下拉操作这一条件时,作为一种可选的实施方式,可以对当前新闻详情页面的touch事件进行监听,判断触点拖动的坐标变化,从而确定对当前新闻详情页面进行了上拉或下拉操作。例如,以日常使用最广泛的安卓操作系统的手机或平板电脑为例,对触摸屏相关的事件可以基于监听器listener来实现,利用setOnTouchListener()方法来添加对某一类事件的监听器。这里可以通过MotionEvent的getAction()方法来获取touch事件的类型,包括ACTION_DOWN,ACTION_MOVE,ACTION_UP,和ACTION_CANCEL。ACTION_DOWN是指按下触摸屏,ACTION_MOVE是指按下触摸屏后移动受力点,ACTION_UP则是指松开触摸屏ACTION_CANCEL不会由用户直接触发。借助对用户不同操作的判断,结合getRawX()、getRawY()、getX()和getY()等方法来获取坐标,随后调用GestureDetector的onTouchEvent()方法,将捕捉到的MotionEvent交给GestureDetector来分析是否有合适的callback函数来处理用户的手势。
通常一篇新闻的篇幅较长,在阅读该新闻的过程中需要进行多次下拉或上拉的操作。以上拉操作为例,若新闻篇幅较长,在阅读的过程中进行上拉操作时,由于新闻详情页面还没被上拉到新闻最后部分,也就是下一篇提示标还没出现在新闻详情页面中时,此时下拉操作不会触发获取指令,只有当出现下一篇提示标时,继续进行上拉操作才会触发获取指令。因此可以认为,在没有出现分篇提示标的情况下监听touch事件是没有实际作用的。作为一种可选的实施方式,上述对当前新闻详情页面的touch事件进行监听的过程并不是持续进行的,只有当判断新闻详情页面中出现分篇提示标时,才启动对touch事件的监听。例如,当判断出现上一篇提示标时,启动监听事件,若后续判断出对当前新闻详情页面进行下拉操作时,触发获取上一篇新闻的数据信息的获取指令;当判断出现下一篇提示标时,启动监听事件,若后续判断出对当前新闻详情页面进行上拉操作时,触发获取下一篇新闻的数据信息的获取指令。这种实施方式可以减少在没有出现分篇提示标的情况下监听touch事件造成客户端处理资源的浪费。
当触发获取指令后,客户端根据获取指令获取分篇后新闻的数据信息,这样用户可以通过上拉(下拉)新闻详情页面的方式直接进入下一篇(上一篇)新闻的新闻详情页面进行阅读,无需点击返回按钮返回到新闻列表页面并选择上一篇或下一篇新闻进行阅读。若通过上拉或下拉操作直接进入分篇后新闻的新闻详情页面进行阅读,则用户无法提前获知即将阅读到的新闻的主题,不符合用户阅读新闻的习惯。因此,作为可选的实施方式,本发明实施例中根据获取指令获取分篇后新闻的数据信息包括了新闻预览内容的数据信息以及新闻详情页面的数据信息。可以根据获取指令首先获取上一篇或下一篇新闻的预览内容的数据信息,再获取上一篇或下一篇新闻的新闻详情页面的数据信息。上一篇或下一篇新闻的预览内容的数据信息也就是对应本地缓存的新闻列表的列表数据中上一篇或下一篇新闻的数据信息,包括:新闻标题、新闻图片摘要、发布时间等。
在获取预览内容的数据信息时,客户端可以从本地缓存的新闻列表的列表数据中快速获取上一篇或下一篇新闻的新闻标题、图片摘要、站点、发布时间等数据。在获取上一篇或下一篇新闻详情页面的数据信息时,可以通过调用接口函数获取到分篇后新闻的数据信息。在本实施方式中,通 过上拉或下拉操作先获取分篇后新闻的预览内容,使用户能够提前获知即将阅读的新闻主题,符合用户的日常阅读习惯。
此外,本实施方式在新闻详情页面中出现分篇提示标时,通过下拉/上拉操作先获取并显示上一篇/下一篇新闻的预览内容,如果用户对预览内容不感兴趣,不愿意继续阅读,此时用户松手不再进行上拉/下拉操作,客户端不会继续获取并显示上一篇/下一篇新闻的新闻详情页面,页面恢复到当前新闻的新闻详情页面;如果用户对预览内容感兴趣,愿意继续阅读,此时用户继续进行上拉/下拉操作,客户端会继续获取并显示上一篇/下一篇新闻的新闻详情页面。在本实施方式中,通过上拉或下拉操作先获取分篇后新闻的预览内容,继续上拉或下拉操作进而获取新闻的新闻详情,这样的方式能够使用户进行选择性阅读。
当获取到分篇后新闻的数据信息后,需要渲染数据信息得到分篇后新闻的预览内容及新闻详情页面。这些数据信息可以包括TXT文件、HTML文件、XML文件和JSON数据。作为一种可选的实施方式,可以通过Ajax获取页面转码JSON数据,通过JS解析后生成DOM节点插入到页面中,完成对页面的渲染。或者借助于Ajax,使用JS和HTML更新页面,并向服务器发出异步请求,以执行更新页面。当请求返回时,就可以使用JS和CSS来相应地更新页面,而不是刷新整个页面。
这里需要进一步说明,新闻列表中的每条新闻的表项都对应新闻详情页面中的一条完整新闻。在阅读完当前新闻详情页面后获取的上一篇/下一篇新闻的数据信息(预览内容的数据信息和/或新闻详情页面的数据信息)与在新闻列表中当前新闻的上一篇/下一篇新闻的数据信息(预览内容的数据信息和/或新闻详情页面的数据信息)一一对应。
本发明实施例在判断当前新闻详情页面中出现分篇提示标后,启动对当前新闻详情页面的touch事件进行监听,从而能够节约客户端的处理资源;此外通过上拉或下拉当前新闻详情页面的方式,先在页面上呈现分篇后新闻的预览内容,然后再呈现出分篇后新闻的详情页面,从而能够符合用户的新闻阅读习惯,同时能够使用户进行选择性阅读。
进一步的,作为对上述图1所示方法的实现,本发明实施例还提供了一种移动终端新闻浏览的装置,该装置可以位于客户端。如图4所示,该 装置包括:获取单元41、判断单元42、触发单元43以及渲染单元44,其中,
获取单元41,用于获取并缓存新闻列表的列表数据;
判断单元42,用于判断当前新闻详情页面是否出现分篇提示标;
触发单元43,用于当判断单元42判断出现分篇提示标时,根据判断单元42对当前新闻详情页面的操作进行判断后触发获取指令;
获取单元41用于根据触发单元43触发的获取指令及列表数据获取分篇后新闻的数据信息;
渲染单元44,用于渲染获取单元41获取的数据信息得到分篇后新闻的新闻详情页面。
进一步的,获取单元41用于通过调用接口函数获取新闻列表的列表数据,并将新闻列表的列表数据缓存在本地。
进一步的,判断单元42用于获取分篇提示标的坐标,判断坐标是否位于预设的坐标群内。
进一步的,判断单元42用于获取上一篇提示标的坐标以及下一篇提示标的坐标,判断坐标是否位于预设的坐标群内。
进一步的,判断单元42用于判断上拉当前新闻详情页面以及下拉当前新闻详情页面。
进一步的,触发单元43用于根据判断单元42对当前新闻详情页面的touch事件进行监听,判断触点拖动的坐标变化,确定对当前新闻详情页面进行上拉或下拉操作后触发获取指令。
进一步的,触发单元43用于当判断单元42判断出现上一篇提示标并且判断对当前新闻详情页面进行下拉操作时,触发获取上一篇新闻的数据信息的获取指令;
触发单元43用于当判断单元42判断出现下一篇提示标并且判断对当前新闻详情页面进行上拉操作时,触发获取下一篇新闻的数据信息的获取指令。
进一步的,获取单元41用于获取新闻预览内容的数据信息以及新闻详情页面的数据信息;所述新闻预览内容包括:新闻标题和新闻图片摘要。
进一步的,获取单元41用于根据缓存的列表数据调用接口函数获取上 一篇新闻或下一篇新闻的数据信息。
本发明实施例提供的移动终端新闻浏览的装置,能够通过在判断当前新闻详情页面是否出现分篇提示标后结合对当前新闻详情页面的操作来触发获取指令,用于获取分篇后新闻的数据信息,并渲染数据信息得到分篇后新闻的新闻详情页面。与现有技术中需要通过点击返回按钮返回到新闻列表页面,再点击进入上一篇/下一篇新闻才能继续阅读的方式相比,本发明能够通过下拉/上拉当前新闻详情页面的方式直接进入上一篇/下一篇新闻详情页面,极大减少了阅读多篇新闻过程中的操作步骤,实现对大量新闻的无限流畅阅读。
此外,本发明实施例在判断当前新闻详情页面中出现分篇提示标后,启动对当前新闻详情页面的touch事件进行监听,从而能够节约客户端的处理资源;通过上拉或下拉当前新闻详情页面的方式,先在页面上呈现分篇后新闻的预览内容,然后再呈现出分篇后新闻的详情页面,从而能够符合用户的新闻阅读习惯。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
可以理解的是,上述方法及装置中的相关特征可以相互参考。另外,上述实施例中的“第一”、“第二”等是用于区分各实施例,而并不代表各实施例的优劣。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中, 并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的发明名称(如确定网站内链接等级的装置)中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质 上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图5示出了用于执行根据本发明的移动终端新闻浏览的方法的计算设备。该计算设备传统上包括处理器510和以存储器520形式的程序产品或者可读介质。存储器520可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM或者ROM之类的电子存储器。存储器520具有用于执行上述方法中的任何方法步骤的程序代码531的存储空间530。例如,用于程序代码的存储空间530可以包括分别用于实现上面的方法中的各种步骤的各个程序代码531。这些程序代码可以从一个或者多个程序产品中读出或者写入到这一个或者多个程序产品中。这些程序产品包括诸如存储卡之类的程序代码载体。这样的程序产品通常为如参考图6所述的便携式或者固定存储单元。该存储单元可以具有与图5的计算设备中的存储器520类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括可读代码531’,即可以由例如诸如510之类的处理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。

Claims (21)

  1. 一种移动终端新闻浏览的方法,其特征在于,所述方法包括:
    获取并缓存新闻列表的列表数据;
    判断当前新闻详情页面是否出现分篇提示标;
    当判断出现所述分篇提示标时,根据对所述当前新闻详情页面的操作触发获取指令;
    根据所述获取指令及所述列表数据获取分篇后新闻的数据信息;
    渲染所述数据信息得到所述分篇后新闻的新闻详情页面。
  2. 根据权利要求1所述的方法,其特征在于,所述获取并缓存新闻列表的列表数据,包括:通过调用接口函数获取所述新闻列表的列表数据,并将所述新闻列表的列表数据缓存在本地。
  3. 根据权利要求1-2任一项所述的方法,其特征在于,所述判断当前新闻详情页面是否出现分篇提示标,包括:获取所述分篇提示标的坐标,判断所述坐标是否位于预设的坐标群内。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述分篇提示标包括:
    上一篇提示标,所述上一篇提示标位于所述当前新闻详情页面的新闻标题上方;或
    下一篇提示标,所述下一篇提示标位于所述当前新闻详情页面的推荐内容下方。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,对所述当前新闻详情页面的操作包括:上拉所述当前新闻详情页面以及下拉所述当前新闻详情页面。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,根据对所述当前新闻详情页面的操作触发获取指令,包括:
    根据对所述当前新闻详情页面的touch事件进行监听,判断触点拖动的坐标变化,确定对所述当前新闻详情页面进行上拉或下拉操作后触发获取指令。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述当判断出现所述分篇提示标时,根据对所述当前新闻详情页面的操作触发获取指令, 包括:
    当判断出现所述上一篇提示标并且判断对所述当前新闻详情页面进行下拉操作时,触发获取上一篇新闻的数据信息的获取指令;
    当判断出现所述下一篇提示标并且判断对所述当前新闻详情页面进行上拉操作时,触发获取下一篇新闻的数据信息的获取指令。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述新闻的数据信息包括:新闻预览内容的数据信息以及新闻详情页面的数据信息;
    所述新闻预览内容包括:新闻标题和新闻图片摘要。
  9. 根据权利要求1-8任一项所述的方法,其特征在于,根据所述获取指令及所述列表数据获取分篇后新闻的数据信息,包括:
    根据缓存的所述列表数据调用接口函数获取所述上一篇新闻或所述下一篇新闻的数据信息。
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述数据信息包括:TXT文件、HTML文件、XML文件和JSON数据。
  11. 一种移动终端新闻浏览的装置,其特征在于,所述装置包括:
    获取单元,用于获取并缓存新闻列表的列表数据;
    判断单元,用于判断当前新闻详情页面是否出现分篇提示标;
    触发单元,用于当所述判断单元判断出现所述分篇提示标时,根据所述判断单元对所述当前新闻详情页面的操作进行判断后触发获取指令;
    所述获取单元用于根据所述触发单元触发的所述获取指令及所述列表数据获取分篇后新闻的数据信息;
    渲染单元,用于渲染所述获取单元获取的所述数据信息得到所述分篇后新闻的新闻详情页面。
  12. 根据权利要求11所述的装置,其特征在于,所述获取单元用于通过调用接口函数获取所述新闻列表的列表数据,并将所述新闻列表的列表数据缓存在本地。
  13. 根据权利要求11-12任一项所述的装置,其特征在于,所述判断单元用于获取所述分篇提示标的坐标,判断所述坐标是否位于预设的坐标群内。
  14. 根据权利要求11-13任一项所述的装置,其特征在于,所述判断 单元用于获取上一篇提示标的坐标以及下一篇提示标的坐标,判断所述坐标是否位于预设的坐标群内。
  15. 根据权利要求11-14任一项所述的装置,其特征在于,所述判断单元用于判断上拉所述当前新闻详情页面以及下拉所述当前新闻详情页面。
  16. 根据权利要求11-15任一项所述的装置,其特征在于,所述触发单元用于根据所述判断单元对所述当前新闻详情页面的touch事件进行监听,判断触点拖动的坐标变化,确定对所述当前新闻详情页面进行上拉或下拉操作后触发获取指令。
  17. 根据权利要求11-16任一项所述的装置,其特征在于,所述触发单元用于当所述判断单元判断出现所述上一篇提示标并且判断对所述当前新闻详情页面进行下拉操作时,触发获取上一篇新闻的数据信息的获取指令;
    所述触发单元用于当所述判断单元判断出现所述下一篇提示标并且判断对所述当前新闻详情页面进行上拉操作时,触发获取下一篇新闻的数据信息的获取指令。
  18. 根据权利要求11-17任一项所述的装置,其特征在于,所述获取单元用于获取新闻预览内容的数据信息以及新闻详情页面的数据信息;所述新闻预览内容包括:新闻标题和新闻图片摘要。
  19. 根据权利要求11-18任一项所述的装置,其特征在于,所述获取单元用于根据缓存的所述列表数据调用接口函数获取所述上一篇新闻或所述下一篇新闻的数据信息。
  20. 一种程序,包括可读代码,当所述可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1至10中的任一项所述的移动终端新闻浏览的方法。
  21. 一种可读介质,其中存储了如权利要求20所述的程序。
PCT/CN2016/086419 2015-06-30 2016-06-20 移动终端新闻浏览的方法及装置 WO2017000804A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/741,029 US20180196580A1 (en) 2015-06-30 2016-06-20 Method and apparatus for browsing news on mobile terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510373652.4A CN105095374A (zh) 2015-06-30 2015-06-30 移动终端新闻浏览的方法及装置
CN201510373652.4 2015-06-30

Publications (1)

Publication Number Publication Date
WO2017000804A1 true WO2017000804A1 (zh) 2017-01-05

Family

ID=54575811

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/086419 WO2017000804A1 (zh) 2015-06-30 2016-06-20 移动终端新闻浏览的方法及装置

Country Status (3)

Country Link
US (1) US20180196580A1 (zh)
CN (1) CN105095374A (zh)
WO (1) WO2017000804A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109726335A (zh) * 2018-12-29 2019-05-07 上海掌门科技有限公司 瀑布流页面展示、兴趣信息提供方法、装置、设备及介质
CN112905914A (zh) * 2019-11-19 2021-06-04 腾讯科技(深圳)有限公司 页面定位方法、装置、计算机设备和存储介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095374A (zh) * 2015-06-30 2015-11-25 北京奇虎科技有限公司 移动终端新闻浏览的方法及装置
CN105550341B (zh) * 2015-12-23 2019-05-14 北京奇虎科技有限公司 返回动态数据列表页的定位方法和装置
CN105677224A (zh) * 2016-01-06 2016-06-15 广州市动景计算机科技有限公司 一种下拉手势处理方法、装置及设备
CN106202504B (zh) * 2016-07-19 2019-10-15 百度在线网络技术(北京)有限公司 用于处理页面的方法和装置
CN106484242B (zh) * 2016-09-19 2019-09-20 北京京东尚科信息技术有限公司 界面的信息显示方法和装置
CN110609968B (zh) * 2019-07-31 2021-08-24 浙江口碑网络技术有限公司 图文信息的排序处理方法、装置及设备
CN111414565B (zh) * 2020-03-27 2023-09-19 北京字节跳动网络技术有限公司 信息展示的方法、装置、电子设备和存储介质
CN112836155A (zh) * 2021-01-15 2021-05-25 北京高因科技有限公司 一种楼盘详情页面打开速度提升办法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419545A (zh) * 2007-10-26 2009-04-29 肇庆软件国际化中心有限公司 计算机输出设备呈现信息的组织表示方法及其使用的系统
CN101547256A (zh) * 2009-03-24 2009-09-30 宇龙计算机通信科技(深圳)有限公司 一种移动终端及其获取新闻的方法和系统端
CN101600025A (zh) * 2009-07-14 2009-12-09 深圳市五巨科技有限公司 移动终端访问新闻网站的方法和装置
CN102129337A (zh) * 2010-01-19 2011-07-20 腾讯科技(北京)有限公司 一种移动终端浏览器的控制方法和装置
US20140006916A1 (en) * 2011-03-07 2014-01-02 Tencent Technology (Shenzhen) Company Limited Pre-reading method and apparatus
CN105095374A (zh) * 2015-06-30 2015-11-25 北京奇虎科技有限公司 移动终端新闻浏览的方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937308B (zh) * 2010-08-05 2013-02-06 优视科技有限公司 基于移动终端的网页内容浏览方法和装置
CN101968708A (zh) * 2010-09-19 2011-02-09 优视科技有限公司 触摸式移动终端浏览器自动翻页的方法及系统
CN102222086B (zh) * 2011-05-18 2014-11-26 广州市动景计算机科技有限公司 基于移动终端的网页阅读方法、网页阅读装置及移动终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419545A (zh) * 2007-10-26 2009-04-29 肇庆软件国际化中心有限公司 计算机输出设备呈现信息的组织表示方法及其使用的系统
CN101547256A (zh) * 2009-03-24 2009-09-30 宇龙计算机通信科技(深圳)有限公司 一种移动终端及其获取新闻的方法和系统端
CN101600025A (zh) * 2009-07-14 2009-12-09 深圳市五巨科技有限公司 移动终端访问新闻网站的方法和装置
CN102129337A (zh) * 2010-01-19 2011-07-20 腾讯科技(北京)有限公司 一种移动终端浏览器的控制方法和装置
US20140006916A1 (en) * 2011-03-07 2014-01-02 Tencent Technology (Shenzhen) Company Limited Pre-reading method and apparatus
CN105095374A (zh) * 2015-06-30 2015-11-25 北京奇虎科技有限公司 移动终端新闻浏览的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109726335A (zh) * 2018-12-29 2019-05-07 上海掌门科技有限公司 瀑布流页面展示、兴趣信息提供方法、装置、设备及介质
CN112905914A (zh) * 2019-11-19 2021-06-04 腾讯科技(深圳)有限公司 页面定位方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
CN105095374A (zh) 2015-11-25
US20180196580A1 (en) 2018-07-12

Similar Documents

Publication Publication Date Title
WO2017000804A1 (zh) 移动终端新闻浏览的方法及装置
US8812988B2 (en) Dynamic icons associated with remote content
CN110110262B (zh) 浏览器内存管理方法、装置和设备
AU2015267625B2 (en) Activity continuation between electronic devices
US20140344707A1 (en) Information Distribution Method and Device
CN104991916B (zh) 网页的加载方法及装置
US20170323025A1 (en) Browser acceleration method and browser device having accelerator
WO2016101755A1 (zh) 基于拖拽操作跨页面调整对象位置的方法和装置
WO2016107325A1 (zh) 基于移动终端的页面资源加载方法及装置
CN104571813B (zh) 一种信息的显示方法及装置
US9772979B1 (en) Reproducing user browsing sessions
JP2016522483A (ja) ページロールバック制御方法、ページロールバック制御装置、端末、プログラム及び記録媒体
WO2012056367A1 (en) Method and apparatus for monitoring user interactions with selectable segments of a content package
US20120240063A1 (en) Web site sectioning for mobile web browser usability
CN103034518B (zh) 加载浏览器控制工具的方法及浏览器
CN103618936A (zh) 智能电视及其浏览器中链接页面的预加载方法和装置
AU2017330446B2 (en) Method and system for delivering real-time content
WO2017000613A1 (zh) 在搜索结果页中生成提示信息的方法及装置
TW201633790A (zh) 視頻內容播放方法、裝置及終端設備
CN105487777A (zh) 基于手势操作的移动搜索与新闻切换方法和装置
CN108334516B (zh) 信息推送方法和装置
CN113127773A (zh) 页面处理方法、装置、存储介质及终端设备
WO2018018882A1 (zh) 一种语音播报方法及装置
US20150142778A1 (en) Presenting Previously Selected Search Results
CN109683760B (zh) 最近内容的显示方法、装置、终端及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16817168

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16817168

Country of ref document: EP

Kind code of ref document: A1