WO2015067090A1 - Methods and systems for adpating and transmitting webpages - Google Patents

Methods and systems for adpating and transmitting webpages Download PDF

Info

Publication number
WO2015067090A1
WO2015067090A1 PCT/CN2014/085378 CN2014085378W WO2015067090A1 WO 2015067090 A1 WO2015067090 A1 WO 2015067090A1 CN 2014085378 W CN2014085378 W CN 2014085378W WO 2015067090 A1 WO2015067090 A1 WO 2015067090A1
Authority
WO
WIPO (PCT)
Prior art keywords
webpage
user terminal
source code
identification
device type
Prior art date
Application number
PCT/CN2014/085378
Other languages
French (fr)
Inventor
Xiaodan LIN
Original Assignee
Tencent Technology (Shenzhen) Company Limited
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 Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of WO2015067090A1 publication Critical patent/WO2015067090A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Definitions

  • the present disclosure relates to internet related technologies and, more particularly, to methods and systems foradapting and transmitting webpages.
  • Some web browsers can transmit webpages across platforms or across various user terminals.
  • a user terminal may be a smartphone, a personal computer, an iPad, etc.
  • a web browser may ensure that a webpage stays the same when it is transmitted across different platforms or user terminals.
  • maintaining the same webpage across different platforms or user terminals may cause mismatches between the webpage and the user terminal. For example, if a webpage that was initially opened on a personal computer is transmitted to a smartphone with the same format, the user may have a difficult time navigating the webpage on a smaller screen. Such mismatches impair user experience.
  • Embodiments consistent with the present disclosure provide a method, system, mobiledevice, or a server for adapting and transmitting webpages.
  • One aspect of the present disclosure provides a method for adapting and transmitting webpages.
  • the method includes obtaining, by a first user terminal, a device type and a communication type of a second user terminal; and sending a request for adapting and transmitting a first webpage to a webpage adaptation server, the request including identification of the first webpage, the device type, and the communication type of the second user terminal.
  • the webpage adaptation server converts source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal.
  • the webpage adaptation server then sends the second webpage to the second user terminal based on the communication type of the second user terminal.
  • Another aspect of the present disclosure provides a method for adapting and transmitting webpages.
  • the method includesreceiving a request for adapting and transmitting a first webpage from a first user terminal, the request including identification of a first webpage, a device type, and a communication type of a second user terminal;converting source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal; and sending the second webpage to the second user terminal based on the communication type of the second user terminal.
  • Another aspect of the present disclosure provides a user terminal for adapting and transmitting webpages.
  • the user terminal includes an obtaining module configured to obtain a device type and a communication type of a second user terminal; anda transmitting module configured to send a request for adapting and transmitting a first webpage to a webpage adaptation server, the request including identification of the first webpage, the device type, and the communication type of the second user terminal.
  • the webpage adaptation server converts source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal.
  • the webpage adaptation server sends the second webpage to the second user terminal based on the communication type of the second user terminal.
  • the server includes a receiving module configured to receive a request for adapting and transmitting a first webpage from a first user terminal, the request including identification of a first webpage, a device type, and a communication type of the second user terminal;an obtaining module configured to convert source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal; and a transmitting module configured to send the second webpage to the second user terminal based on the communication type of the second user terminal.
  • Another aspect of the present disclosure provides a system for adapting and transmitting webpages.
  • the system includes a first user terminal, a second user terminal, and a webpage adaptation server.
  • the first user terminal is configured to obtain a device type and a communication type of a second user terminal; and to send a request for adapting and transmitting a first webpage to a webpage adaptation server, the request including identification of the first webpage, the device type, and the communication type of the second user terminal.
  • the webpage adaptation server is configured to receive a request for adapting and transmitting a first webpage from the first user terminal, the request including the identification of the first webpage, the device type, and the communication type of the second user terminal; to convert source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal; and to send the second webpage to the second user terminal based on the communication type of the second user terminal.
  • the second user terminal is configured to receive the second webpage.
  • Figure 1 is a flow chart of a method for adapting and transmitting webpages implemented by embodimentsconsistent with the present disclosure
  • Figure 2 is anotherflow chart of a method for adapting and transmitting webpages implemented by embodimentsconsistent with the present disclosure
  • Figure 3 is anotherflow chart of a method for adapting and transmitting webpages implemented by embodimentsconsistent with the present disclosure
  • Figure 4 is anotherflow chart of a method for adapting and transmitting webpages implemented by embodimentsconsistent with the present disclosure
  • Figure 5 is an exemplary user terminal consistent with embodiments of the present disclosure
  • Figure 6 is an exemplary server consistent with embodiments of the present disclosure
  • Figure 7 is another exemplary user terminal consistent with embodiments of the present disclosure
  • Figure 8 is another exemplary server consistent with embodiments of the present disclosure.
  • Figure 9 is an exemplary mobile terminal consistent with embodiments of the present disclosure.
  • Figure 10 is an exemplary system for adapting and transmitting webpages consistent with the present disclosure.
  • the present disclosure provides methods and systems for adapting and
  • Embodiments consistent with the present disclosure adapt webpages to specific types of user terminals and thus improve online user experience.
  • the terms “first,” “second,” “third,” “fourth,” etc. are used to refer to specific objects without limiting the sequence of the objects. The sequence of the data or steps described is often changeable. Further, the terms “include,” “have,” etc. and the variations thereof are not exclusive. For example a method, process, system, or product, that includes certain steps or components are not exclusive of other steps or components that are not explicitly listed.
  • Embodiments consistent with the present disclosure provide a method to adapt and transmit webpages.
  • the method may include the following steps.
  • the first user terminal may send a request for adapting and transmitting a first webpage to a webpage adaptation server.
  • the request may include the identification of a first webpage, the identification of a device type and the identification of a communication type of the second user terminal.
  • the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of the device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • Figure 1 shows an exemplary method for adapting and transmitting webpages implemented by embodiments of the present disclosure.
  • the method shown in Figure 1 includes steps 101 and 102.
  • a first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the first user terminal desires to send a webpage to the second user terminal, or when the second user terminal requests to access a webpage that is viewed by the first user, the first user terminal may obtain an identification of device type and an identification of communication type of the second user terminal.
  • the first and second user terminals may be personal computers, mobile terminals, laptop computers, etc.
  • the first user terminal and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
  • the first user terminal may send a request for adapting and transmitting a first webpage to a webpage adaptation server.
  • the request may include the identification of the first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first user terminal obtaining the identification of device type and the identification of communication type may include a first user terminal receiving the
  • the first user terminal and the second user terminal may first establish communications.
  • the first terminal may then obtain the identification of device type and the identification of communication type from the second user terminal.
  • the first user terminal may request the information.
  • the second user terminal may send the identification of device type and the identification of communication type in response.
  • the second user terminal may proactively sendthe identification of device type and the identification of communication type to the first user terminal.
  • the identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device.
  • a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc.
  • a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
  • the first user terminal may determine that the second user terminal is of a different device type and then send a request for adapting and transmitting a webpage to the webpage adaptation server.
  • the first user terminal may be a personal computer.
  • the second user terminal may be a mobile device or a laptop computer.
  • the first user terminal may presume that the second user terminal is of a different device type and then send a request for adapting and transmitting a webpage to the webpage adaptation server without first checking the device type of the second user terminal.
  • the webpage adaptation server may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal.
  • the web server of the first webpage address may store both the source code of the first webpage and the source code of the second webpage.
  • the content of the first and second webpages is the same or substantially the same.
  • the formats of the first and second webpages are different.
  • the source code of the second webpage is compatible with the device type of the second user terminal.
  • the webpage adaptation server may use the webpage address and obtain the source code of the second webpage from the web server.
  • the webpage adaptation server may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal.
  • the webpage adaptation server may obtain the source code of the first webpage from the web server, and then convert the source code into the source code of the second webpage, which is compatible with the device type of the second user terminal.
  • the webpage adaptation server may obtain the device type of the second user terminal and the source code of the second webpage that is compatible with the device type. Specifically, the webpage adaptation server may convert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal. [0036] In embodiments of the present disclosure, the webpage adaptation server converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal, may include the following steps. The webpage adaptation server may adjust the overall framework parameters defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage framework parameters to be adaptive parameters.
  • the webpage adaptation server may adjust the webpage width definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.
  • the webpage adaptation server may adjust the text fonts definedin the source code of the first webpage. For example, the webpage adaptation server may change text fonts from an absolute font size to a relative font size.
  • the webpage adaptation server may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage layout parameters to a flow layout.
  • the webpage adaptation server mayadjust the scaling parameters of the images defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage image scaling parameters to adaptive scaling parameters.
  • the webpage adaptation server may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
  • the first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the first user terminal may then send a request for adapting and transmitting a webpage to a webpage adaptation server.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first user terminal sends source code of the second webpage to the second user terminal.
  • the second webpage is compatible with the second user terminal and corresponds to the source code of the first webpage.
  • This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal.
  • a user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
  • the first user terminal may send a request for adapting and transmitting a first webpage to a webpage adaptation server.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • Figure 2 shows a flow chart of a method for adapting and transmitting webpages consistent with the present disclosure.
  • the method shown in Figure 2 includes steps 201-203.
  • the webpage adaptation server may receive the request for adapting and transmitting a webpage from the first user terminal.
  • the request may include the
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first user terminal may obtain an identification of device type and an identification of communication type of the second user terminal.
  • the first and second user terminals may be personal computers, mobile terminals, laptop computers, etc.
  • the first user terminal and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
  • the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal.
  • the webpage adaptation server may send the second webpage to the second user terminal based on the identification of communication type in the request.
  • the identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device.
  • a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc.
  • a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
  • the first user terminal may determine that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server.
  • the first user terminal may be a personal computer.
  • the second user terminal may be a mobile device or a laptop computer.
  • the first user terminal may presume that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server without first checking the device type of the second user terminal.
  • the webpage adaptation server obtaining source code for a second webpage that is compatible with the identification of device type of the second terminal includes the following steps. Based on the identification of device type of the second user terminal included in the request, the webpage adaptation server may determine that the first user terminal and the second user terminal are of different types. Based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Alternatively, the webpage adaptation server may assume that the first user terminal and the second user terminal are of different types. In this case, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal without first checking the device types of the first and second user terminals.
  • the webpage adaptation server may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal.
  • the web server of the first webpage address may store both the source code of the first webpage and the source code of the second webpage.
  • the content of the first and second webpages is the same or substantially the same.
  • the formats of the first and second webpages are different.
  • the source code of the second webpage is compatible with the device type of the second user terminal.
  • the webpage adaptation server may use the webpage address and obtain the source code of the second webpage from the web server.
  • the webpage adaptation server may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal.
  • the webpage adaptation server may obtain the source code of the first webpage from the web server, and then convert the source code into the source code of the second webpage, which is compatible with the device type of the second user terminal.
  • the webpage adaptation server may obtain the device type of the second user terminal and the source code of the second webpage that is compatible with the device type. Specifically, the webpage adaptation server may convert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal.
  • the webpage adaptation server converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal may include the following steps.
  • the webpage adaptation server may adjust the overall framework parameters defined in the source code of the first webpage.
  • the webpage adaptation server may change the webpage framework parameters to be adaptive parameters.
  • the webpage adaptation server may adjust the webpage width definedin the source code of the first webpage.
  • the webpage adaptation server may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.
  • the webpage adaptation server may adjust the text fonts definedin the source code of the first webpage.
  • the webpage adaptation server may change text fonts from an absolute font size to a relative font size.
  • the webpage adaptation server may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage layout parameters to a flow layout.
  • the webpage adaptation server may adjust the scaling parameters of the images defined in the source code of the first webpage.
  • the webpage adaptation server may change the webpage image scaling parameters to adaptive scaling parameters.
  • the webpage adaptation server may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
  • the first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the first user terminal may then send a request for adapting and transmitting a webpage to a webpage adaptation server.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first user terminal sends source code of the second webpage to the second user terminal.
  • the second webpage is compatible with the second user terminal and corresponds to the source code of the first webpage. This process converts the first webpage that is
  • Figure 3 is another flow chart of a method for adapting and transmitting webpages. The method shown in Figure 3 includes steps 301-307.
  • a first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the first user terminal desires to send a webpage to the second user terminal, or when the second user terminal requests to access a webpage that is viewed by the first user, the first user terminal may obtain an identification of device type and an identification of communication type of the second user terminal.
  • the first and second user terminals may be personal computers, mobile terminals, laptop computers, etc.
  • the first user terminal and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
  • the first user terminal obtaining the identification of device type and the identification of communication type may include a first user terminal receiving the
  • the first user terminal and the second user terminal may first establish communications.
  • the first terminal may then obtain the identification of device type and the identification of communication type from the second user terminal.
  • the first user terminal may request the information.
  • the second user terminal may send the identification of device type and the identification of communication type in response.
  • the second user terminal may proactively sendthe identification of device type and the identification of communication type to the first user terminal.
  • the identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device.
  • a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc.
  • a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
  • the first user terminal may send a request for adapting and transmitting a first webpage to a webpage adaptation server.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the webpage adaptation server may receive the request from the first user terminal.
  • the webpage adaptation server may check whether the web server associated with the first webpage stores a second webpage corresponding to the first webpage.
  • the content of the first and second webpages is the same or substantially the same.
  • the formats of the first and second webpages are different.
  • the source code of the second webpage is compatible with the device type of the second user terminal. If the web server contains the second webpage, then the server executes step 306. Otherwise, the server executes step 304.
  • the webpage adaptation server may obtain the source code of the first webpage from the web server.
  • the webpage adaptation server convert the source code for the first webpage to the source code for a second webpage that is compatible with the identification of device type of the second terminal. The server may then execute step 307.
  • the webpage adaptation server converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal may include the following steps.
  • the webpage adaptation server may adjust the overall framework parameters defined in the source code of the first webpage.
  • the webpage adaptation server may change the webpage framework parameters to be adaptive parameters.
  • the webpage adaptation server may adjust the webpage width definedin the source code of the first webpage.
  • the webpage adaptation server may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.
  • the webpage adaptation server may adjust the text fonts definedin the source code of the first webpage.
  • the webpage adaptation server may change text fonts from an absolute font size to a relative font size.
  • the webpage adaptation server may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage layout parameters to a flow layout. The webpage adaptation server mayadjust the scaling parameters of the images defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage image scaling parameters to adaptive scaling parameters. The webpage adaptation server may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
  • the first user terminal may be a personal computer.
  • the second user terminal may be a smartphone.
  • the first webpage may be a WWW webpage.
  • the webpage adaptation server may convert the source code of the first webpage to source code of the second webpage using
  • HTML5 Hyper Text Markup Language 5
  • WAP Wireless Application Protocol
  • HTML5 or WAP webpages are more easily adapted to smart devices.
  • the webpage adaptation server improves the second user terminal's user experience while browsing the second webpage.
  • the embodiment of the present disclosure converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal.
  • a user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
  • step 306 the webpage adaptation server obtains the source code of the second webpage from the web server associated with the first webpage. The server then executes step 307.
  • the webpage adaptation server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the first user terminal may then send a request for adapting and transmitting a webpage to a webpage adaptation server.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first user terminal sends source code of the second webpage to the second user terminal.
  • the second webpage is compatible with the second user terminal and corresponds to the source code of the first webpage.
  • This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal.
  • a user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
  • Figure 4 is another flow chart of a method for adapting and transmitting webpages consistent with the present disclosure.
  • the method shown in Figure 4 includes steps 401-404.
  • a first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the first user terminal desires to send a webpage to the second user terminal, or when the second user terminal requests to access a webpage that is viewed by the first user, the first user terminal may obtain an identification of device type and an identification of communication type of the second user terminal.
  • the first and second user terminals may be personal computers, mobile terminals, laptop computers, etc.
  • the first user terminal and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
  • the first user terminal obtaining the identification of device type and the identification of communication type may include a first user terminal receiving the identification of device type and the identification of communication type through a user interface (entered by a user). Alternatively, the first user terminal and the second user terminal may first establish communications. The first terminal may then obtain the identification of device type and the identification of communication type from the second user terminal. For example, the first user terminal may request the information. The second user terminal may send the identification of device type and the identification of communication type in response. In another example, the second user terminal may proactively sendthe identification of device type and the identification of communication type to the first user terminal.
  • the identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device.
  • a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc. In general, a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
  • the first user terminal may send a request for adapting and transmitting a first webpage to a webpage adaptation server.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the webpage adaptation server may obtain the device type of the second user terminal and the source code of the second webpage that is compatible with the device type. Specifically, the webpage adaptation server may convert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal. [0070] In embodiments of the present disclosure, the webpage adaptation server converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal, may include the following steps. The webpage adaptation server may adjust the overall framework parameters defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage framework parameters to be adaptive parameters.
  • the webpage adaptation server may adjust the webpage width definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.
  • the webpage adaptation server may adjust the text fonts definedin the source code of the first webpage. For example, the webpage adaptation server may change text fonts from an absolute font size to a relative font size.
  • the webpage adaptation server may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage layout parameters to a flow layout.
  • the webpage adaptation server mayadjust the scaling parameters of the images defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage image scaling parameters to adaptive scaling parameters.
  • the webpage adaptation server may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
  • the webpage adaptation server may send the second webpage to the second user terminal based on the identification of the communication type of the second user terminal.
  • the first user terminal may be a personal computer.
  • the second user terminal may be a smartphone.
  • the first webpage may be a WWW webpage.
  • the webpage adaptation server may convert the source code of the first webpage to source code of the second webpage using
  • HTML5 Hyper Text Markup Language 5
  • WAP Wireless Application Protocol
  • HTML5 or WAP webpages are more easily adapted to smart devices.
  • the webpage adaptation server improves the second user terminal's user experience while browsing the second webpage.
  • the embodiment of the present disclosure converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal.
  • a user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
  • the first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the first user terminal may then send a request for adapting and transmitting a webpage to a webpage adaptation server.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first user terminal sends source code of the second webpage to the second user terminal.
  • the second webpage is compatible with the second user terminal and corresponds to the source code of the first webpage.
  • This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal.
  • a user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
  • FIG. 5 shows an exemplary user terminal 500 consistent with the present disclosure.
  • the user terminal 500 includes an obtaining module 510 and a transmitting module 520.
  • the obtaining module 510 may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the transmitting module 520 may send a request for adapting and transmitting a webpage to a webpage adaptation server.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first obtaining module 510 obtaining the identification of device type and the identification of communication type may include a first user terminal receiving the identification of device type and the identification of communication type through a user interface (entered by a user). Alternatively, the first user terminal and the second user terminal may first establish communications. The first obtaining module 510may then obtain the identification of device type and the identification of communication type from the second user terminal. The first user terminal may determine that the second user terminal is of a different device type. The transmitting module 520 may send a request for adapting and transmitting webpage to the webpage adaptation server.
  • the user terminal 500 includes components such as the ones described above. Other components of the user terminal 500 can be understood (and may not be described) in relation to other embodiments consistent with the present disclosure.
  • the obtaining module 510 may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the transmitting module 520 may then send a request for adapting and transmitting a webpage to a webpage adaptation server.
  • the request may include the
  • the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first user terminal 500 sends source code of the second webpage to the second user terminal.
  • the second webpage is compatible with the second user terminal and corresponds to the source code of the first webpage. This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal.
  • a user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
  • FIG. 6 shows a block diagram of the webpage adaptation server 600 consistent with the present disclosure.
  • the webpage adaptation server 600 includes a receiving module 610, an obtaining module 620, and a transmitting module 630.
  • the receiving module 610 may receive the request for adapting and transmitting a webpage from the first user terminal.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the obtaining module 620 may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal.
  • the transmitting module 630 may send the second webpage to the second user terminal based on the identification of communication type in the request.
  • the obtaining module 620 may determine that the first user terminal and the second user terminal are of different types. Based on the identification of the first webpage, the obtaining module 620 may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Alternatively, the obtaining module 620 may assume that the first user terminal and the second user terminal are of different types. In this case, based on the identification of the first webpage, the obtaining module 620 may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal without first checking the device types of the first and second user terminals.
  • the obtaining module 620 may obtain the device type of the second user terminal and the source code of the second webpage that is compatible with the device type. Specifically, the obtaining module 620 may convert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal.
  • the obtaining module 620 may adjust the overall framework parameters defined in the source code of the first webpage.
  • the webpage adaptation server may change the webpage framework parameters to be adaptive parameters.
  • the obtaining module 620 may adjust the webpage width definedin the source code of the first webpage.
  • the webpage adaptation server may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.
  • the obtaining module 620 may adjust the text fonts definedin the source code of the first webpage.
  • the obtaining module 620 may change text fonts from an absolute font size to a relative font size.
  • the webpage adaptation server may adjust the webpage layout parameters definedin the source code of the first webpage.
  • the obtaining module 620 may change the webpage layout parameters to a flow layout.
  • the obtaining module 620 may adjust the scaling parameters of the images defined in the source code of the first webpage.
  • the obtaining module 620 may change the webpage image scaling parameters to adaptive scaling parameters.
  • the obtaining module 620 may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
  • the webpage adaptation server 600 includes components such as the ones described above. Other components of the webpage adaptation server 600 can be understood in relation to other embodiments consistent with the present disclosure.
  • the first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the first user terminal may then send a request for adapting and transmitting a webpage to a webpage adaptation server 600.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the webpage adaptation server600 may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the
  • FIG. 7 shows a block diagram of user terminal 700 consistent with the present disclosure.
  • the user terminal 700 includes a processor 701 (CPU), a network interface 704, a user interface 703, a storage medium 705, and a bus 702.
  • the bus 702 may connect all components of user terminal 700 together and enable communications among the components.
  • the user interface 703 may include a display, a keyboard, or other input devices (e.g., mouse, trackball. Touch pad, touch screen, etc.).
  • the network interface 704 may connect to any appropriate type of communication networks, including the Internet, LAN (Local Area Network), or other types of computer networks or telecommunication networks, either wired or wireless.
  • processor 701 can include multiple cores for multi-thread or parallel processing.
  • Storage medium 705 may include memory modules, such as Read-only Memory (ROM), Random Access Memory (RAM), flash memory modules, and erasable and rewritable memory, and mass storages, such as CD-ROM, U-disk, and hard disk, etc.
  • the storage medium 705 may include one or more of the following components: an operating system 705 land an application module 7052.
  • the operating system 7051 includes system programs that implement various services and hardware related tasks.
  • the application module 7052 includes application software, which may implement different tasks and functions.
  • the application module 7052 may include the obtaining module 510 and transmitting module 520. There may be many other modules in the application module 7052, which may not be described here but can be understood in relation to the embodiments consistent with the present disclosure.
  • Storage medium 705 may store computer programs for implementing various processes, when executed by processor 701, including the operating system, communication program modules, and other application modules used to implement the system for adapting and transmitting webpages consistent with the present disclosure.
  • the processor 701 may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the processor 701 may send a request for adapting and transmitting a webpage to a webpage adaptation server.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first user terminal 700 may obtain an identification of device type and an identification of communication type of the second user terminal.
  • the first (700) and second user terminals may be personal computers, mobile terminals, laptop computers, etc.
  • the first user terminal and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
  • the processor 701 obtaining the identification of device type and the
  • identification of communication type may include the processor 701 receiving the identification of device type and the identification of communication type through a user interface (entered by a user). Alternatively, the first user terminal 700and the second user terminal may first establish communications. The processor 701 may then obtain the identification of device type and the identification of communication type from the second user terminal. For example, the processor 701 may request the information. The second user terminal may send the identification of device type and the identification of communication type in response. In another example, the second user terminal may proactively sendthe identification of device type and the identification of communication type to the first user terminal 700.
  • the identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device.
  • a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc.
  • a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
  • the first user terminal 700 may determine that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server.
  • the first user terminal 700 may be a personal computer.
  • the second user terminal may be a mobile device or a laptop computer.
  • the first user terminal 700 may presume that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server without first checking the device type of the second user terminal.
  • the webpage adaptation server may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal.
  • the web server of the first webpage address may store both the source code of the first webpage and the source code of the second webpage.
  • the content of the first and second webpages is the same or substantially the same.
  • the formats of the first and second webpages are different.
  • the source code of the second webpage is compatible with the device type of the second user terminal.
  • the webpage adaptation server may use the webpage address and obtain the source code of the second webpage from the web server.
  • the webpage adaptation server may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal. In one example, the webpage adaptation server may obtain the source code of the first webpage from the web server, and then convert the source code into the source code of the second webpage, which is compatible with the device type of the second user terminal. [0096] In embodiments of the present disclosure, if the identification of a first webpage is the source code of the first page, the webpage adaptation server may obtain the device type of the second user terminal and the source code of the second webpage that is compatible with the device type. Specifically, the webpage adaptation server mayconvert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal.
  • the webpage adaptation server converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal may include the following steps.
  • the webpage adaptation server may adjust the overall framework parameters defined in the source code of the first webpage.
  • the webpage adaptation server may change the webpage framework parameters to be adaptive parameters.
  • the webpage adaptation server may adjust the webpage width definedin the source code of the first webpage.
  • the webpage adaptation server may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.
  • the webpage adaptation server may adjust the text fonts definedin the source code of the first webpage.
  • the webpage adaptation server may change text fonts from an absolute font size to a relative font size.
  • the webpage adaptation server may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage layout parameters to a flow layout.
  • the webpage adaptation server may adjust the scaling parameters of the images defined in the source code of the first webpage.
  • the webpage adaptation server may change the webpage image scaling parameters to adaptive scaling parameters.
  • the webpage adaptation server may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
  • the user terminal 700 includes components such as the ones described above. Other components of the user terminal 700 can be understood in relation to other embodiments consistent with the present disclosure.
  • the first user terminal 700 may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the first user terminal 700 may then send a request for adapting and transmitting a webpage to a webpage adaptation server.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal.
  • the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first user terminal 700 sends source code of the second webpage to the second user terminal.
  • the second webpage is compatible with the second user terminal and corresponds to the source code of the first webpage. This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal.
  • a user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
  • Figure 8 shows a block diagram of a webpage adaptation server 800 consistent with the present disclosure.
  • the server 800 includes a processor 801 (CPU), a network interface 804, a user interface 803, a storage medium 805, and a bus 802.
  • the bus 802 may connect all components of server 800 together and enable communications among the components.
  • the user interface 803 may include a display, a keyboard, or other input devices (e.g., mouse, trackball. Touch pad, touch screen, etc.).
  • the network interface 804 may connect to any appropriate type of communication networks, including the Internet, LAN (Local Area Network), or other types of computer networks or telecommunication networks, either wired or wireless.
  • processor 801 can include multiple cores for multi-thread or parallel processing.
  • Storage medium 805 may include memory modules, such as Read-only Memory (ROM), Random Access Memory (RAM), flash memory modules, and erasable and rewritable memory, and mass storages, such as CD-ROM, U-disk, and hard disk, etc.
  • the storage medium 805 may include one or more of the following components: an operating system 805 land an application module 8052.
  • the operating system 8051 includes system programs that implement various services and hardware related tasks.
  • the application module 8052 includes application software, which may implement different tasks and functions.
  • the application module 8052 may include the receiving module 610, obtaining module 620, and transmitting module 630. There may be many other modules in the application module 8052, which may not be described here but can be understood in relation to the embodiments consistent with the present disclosure.
  • Storage medium 805 may store computer programs for implementing various processes, when executed by processor 801, including the operating system, communication program modules, and other application modules used to implement the system for adapting and transmitting webpages consistent with the present disclosure.
  • the processor 801 may receive a request for adapting and transmitting a webpage from a first user terminal.
  • the request may include the identification of a first webpage, the identification of device type and the
  • the processor 801 may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, theprocessor 801 may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first user terminal may obtain an identification of device type and an identification of communication type of the second user terminal.
  • the first and second user terminals may be personal computers, mobile terminals, laptop computers, etc.
  • the first user terminal and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
  • the identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device.
  • a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc.
  • a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
  • the first user terminal may determine that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server.
  • the first user terminal may be a personal computer.
  • the second user terminal may be a mobile device or a laptop computer.
  • the first user terminal may presume that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server 800 without first checking the device type of the second user terminal.
  • the webpage adaptation server 800 may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal.
  • the web server of the first webpage address may store both the source code of the first webpage and the source code of the second webpage.
  • the content of the first and second webpages is the same or substantially the same.
  • the formats of the first and second webpages are different.
  • the source code of the second webpage is compatible with the device type of the second user terminal.
  • the webpage adaptation server 800 may use the webpage address and obtain the source code of the second webpage from the web server.
  • the webpage adaptation server 800 may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal.
  • the webpage adaptation server 800 may obtain the source code of the first webpage from the web server, and then convert the source code into the source code of the second webpage, which is compatible with the device type of the second user terminal.
  • the webpage adaptation server 800 may obtain the device type of the second user terminal and the source code of the second webpage that is compatible with the device type. Specifically, the processor 801 may convert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal.
  • the processor 801 converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal may include the following steps.
  • the processor 801 may adjust the overall framework parameters defined in the source code of the first webpage.
  • the processor 801 may change the webpage framework parameters to be adaptive parameters.
  • the processor 801 may adjust the webpage width definedin the source code of the first webpage.
  • the processor 801 may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.
  • the processor 801 may adjust the text fonts definedin the source code of the first webpage.
  • the processor 801 may change text fonts from an absolute font size to a relative font size.
  • the processor 801 may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the processor 801 may change the webpage layout parameters to a flow layout. The processor 801 may adjust the scaling parameters of the images defined in the source code of the first webpage. For example, the processor 801 may change the webpage image scaling parameters to adaptive scaling parameters. The processor 801 may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
  • the webpage adaptation server 800 includes components such as the ones described above. Other components of the server 800 can be understood in relation to other embodiments consistent with the present disclosure.
  • the first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.
  • the first user terminal may then send a request for adapting and transmitting a webpage to a webpage adaptation server 800.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • the processor 801 may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, processor 801 may send the source code of the second webpage to the second user terminal based on the identification of
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first user terminal sends source code of the second webpage that is compatible with the second user terminal and corresponds to the source code of the first webpage.
  • This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal.
  • a user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
  • FIG. 9 shows a mobile terminal 900.
  • the mobile terminal 900 may be a user terminal in the embodiments of the present disclosure. Only components relevant to the embodiments described below are discussed. The details of other components may be disclosed in relation to other embodiments.
  • the user terminal may be a smartphone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an on-vehicle computer, and other computing devices.
  • the mobile terminal 900 may include an RF circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a Wi-Fi module 970, a processor 980, and a power supply 990.
  • the mobile terminal 900 in Figure 9 is exemplary. It is understood that the exemplary mobile terminal 900 does not limit the
  • the RF circuit 910 may send and receive data, and/or receive and transmit signals.
  • the RF circuit 910 may send the data to processors 980 for further processing. Further, the RF circuit 910 may transmit uplink data to the base station.
  • the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, etc.
  • the RF circuit 910 may also communicate with other wireless communication devices and networks.
  • the wireless communication may use any communication standard or protocol, including GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), etc.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • email Short Messaging Service
  • the memory 920 may store software programs and modules, such as the data presentation software programs and modules used to implement the embodiments of the present disclosure.
  • the processor 980 may execute the software programs and modules stored in memory 920 to implement functions supporting the webpage rendering functions consistent with the present disclosure.
  • the memory 920 may include a program storage area and a data storage area.
  • the program storage area may store operating systems, one or more software applications (e.g., for audio or broadcasting functions).
  • the memory 920 may include high speed random access memory, non-volatile memory, such as at least one disk storage device, a flash memory device, or other nonvolatile devices.
  • the memory 920 may also include a memory controller, which manages the interactions between the memory 920, the processor 980, and the input unit 930.
  • the input unit 930 may receive numerical or character data input.
  • the input unit 930 may receive numerical or character data input.
  • the input unit 930 may receive numerical or character data input.
  • the input unit 930 may receive numerical or character data input.
  • the input unit 930 may include components such as keyboards, mice, control bars, optical track balls, touch screens, etc.
  • the input unit 930 may include a touch screen 931 and the related input devices 932.
  • the touch screen 931 may collect user input from its touch screen surface (e.g., fingers, stylus contact touch screen 931). The input unit 930 may then initiate the operations of the relevant components based on the input.
  • the touch screen 631 may include a touch detection means and a touch controller.
  • the touch detection means may check location of the user's touches, detect the signals triggered by the touch motions, and send the signals to the touch controller.
  • the touch controller may receive signals from the touch detection means and convert the signals into contact coordinates, send the contact coordinates to the processor 980, and receive and execute instructions from processor 980.
  • the touch screen 931 may use a variety of resistive, capacitive, infrared and surface acoustic wave touch- sensitive surfaces 931.
  • the input unit 930 may include other input devices 932.
  • other input devices 932 may include but are not limited to physical keyboards, function keys, track balls, mice, operation bars, etc.
  • the display unit 940 may display a user's input or act as a graphic interface to present data to the users of the mobile terminal900.
  • the graphic interface may include graphics, texts, icons, videos, or combinations thereof.
  • the display unit 940 may include a display panel 941.
  • the display panel may be an LCD, LED, or OLED display.
  • the touch screen 931 may cover the display panel 941. When the touch screen 931 detects contacts on its screen or the vicinity, the touch screen 931 may send the data to the processor 980 to identify the category of the touch contact.
  • the processor 980 may present visual output on the display panel 941 based on the category of the touch contact.
  • the touch screen 931 and the display panel 941 are presented as two components for input and output functions.
  • the mobile terminal 900 includes the sensor 950, which may be an optical sensor, a motion sensor, or other sensors.
  • an optical sensor may include an ambient light sensor and a proximity sensor.
  • the ambient light sensor may adjust the brightness of the display panel 941 based on the brightness of the ambient light.
  • the proximity sensor may turn off the display panel 941 or its backlight when the mobile terminal 900 is place close to a user's ear.
  • the gravity acceleration sensor may detect the acceleration in all directions. When an object is still, the gravity acceleration sensor may detect the magnitude and direction of gravity.
  • the mobile terminal 900 may also include a gyroscope, an air pressure sensor, a temperature sensor, an infrared sensor, and other sensors, which are not discussed here.
  • the audio circuit 960, the speaker 961, and the microphone 962 may provide the audio user interface between a user and the smartphone900.
  • the audio circuit 960 may send the signals converted from the received audio data to the speaker 961.
  • the speaker 961 may convert the signals to audio signals and output them.
  • the speaker 961 may receive audio signals and convert them to electric signals. These electric signals may be received by the audio circuit 960, and be converted to audio data.
  • the output processor 980 may process the audio data and send the data to another terminal through the RF circuit 910.
  • the output processor 980 may also send the audio data to memory 920 to be further processed.
  • the audio circuit 960 may include a microphone 962, which may enable an external ear phone to connect with the terminal 900.
  • the mobile phone 900 may enable a user to send and receive emails, browse the Internet, and watch streaming media, etc.
  • the transmission module 970 may facilitate fixed wire and wireless broadband connections to the Internet.
  • the mobile phone 900 may chose not to include the transmission module 970 based on the specific needs of the embodiments.
  • the processor 980 is the control center of the mobile phone 900.
  • the processor 980 uses interfaces and connections throughout the components of the terminal to operate the software programs stored in memory 920, to process the data stored in memory 920, and to implement the functions of smartphone 900.
  • the processor 980 may include one or more core processors.
  • the processor 980 may integrate an application processor and a wireless
  • the application processor may control the operation system, user interface, and application programs.
  • the wireless communication processor may control the wireless communications.
  • the wireless communication processor may also be outside the processor 980.
  • the mobile terminal 900 may include the power source 990 (e.g., battery).
  • the power source 990 may use a power management system to connect with processor 980.
  • the power management system may manage the charging, discharging, and other power management functions.
  • the power source 990 may include one or more DC or AC power sources, charging systems, a power failure detection circuit, a power converter or inverter, and a power status indicator.
  • the mobile terminal 900 may include a camera, a blue tooth module, etc., which are not discussed here.
  • a mobile terminal 900 may have a touch screen display.
  • the mobile terminal 900 may include a memory and one or more software programs stored in the memory.
  • the mobile terminal 900 may further include one or more processors980 to execute one or more programs to implement the following functions.
  • the processor980 may send a request for adapting and transmitting a webpage from a first user terminal.
  • the request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
  • webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
  • the identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
  • the first user terminal 900 may obtain an identification of device type and an identification of communication type of the second user terminal.
  • the first and second user terminals may be personal computers, mobile terminals, laptop computers, etc.
  • the first user terminal 900 and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
  • the processor 980 obtaining the identification of device type and the
  • identification of communication type may include the processor 980 receiving the identification of device type and the identification of communication type through a user interface (entered by a user).
  • the first user terminal 900and the second user terminal may first establish communications.
  • the processor 980 may then obtain the identification of device type and the identification of communication type from the second user terminal.
  • the processor 980 may request the information.
  • the second user terminal may send the identification of device type and the identification of communication type in response.
  • the second user terminal may proactively sendthe identification of device type and the identification of communication type to the first user terminal 900.
  • the identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device.
  • a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc.
  • a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
  • the first user terminal 900 may determine that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server.
  • the first user terminal 900 may be a personal computer.
  • the second user terminal may be a mobile device or a laptop computer.
  • the first user terminal 900 may presume that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server without first checking the device type of the second user terminal.
  • Figure 10 shows an exemplary system for adapting and transmitting webpages consistent with the present disclosure.
  • the system includes a first user terminal 1010, a second user terminal 1020, and a webpage adaptation server 1030.
  • the first user terminal 1010 may obtain an identification of device type and an identification of communication type of the second user terminal 1020.
  • the first user terminal 1010 may obtain an identification of device type and an identification of communication type of the second user terminal 1020.
  • the first user terminal 1010 may obtain an identification of device type and an identification of
  • the first 1010 and second 1020 user terminals may be personal computers, mobile terminals, laptop computers, etc.
  • the first user terminal 1010 and the second user terminal 1020 may be connected to the same LAN (local area network) or may be connected through different networks.
  • the webpage adaptation server 1030 may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal 1020.
  • the web server of the first webpage address may store both the source code of the first webpage and the source code of the second webpage.
  • the content of the first and second webpages is the same or substantially the same.
  • the formats of the first and second webpages are different.
  • the source code of the second webpage is compatible with the device type of the second user terminal.
  • the webpage adaptation server 1030 may use the webpage address and obtain the source code of the second webpage from the web server.
  • the webpage adaptation server 1030 may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal 1020. In one example, the webpage adaptation server 1030 may obtain the source code of the first webpage from the web server, and then convert the source code into the source code of the second webpage, which is compatible with the device type of the second user terminal 1020. [00133] If the identification of a first webpage is the source code of the first page, the webpage adaptation server 1030 may obtain the device type of the second user terminal 1020 and the source code of the second webpage that is compatible with the device type. Specifically, the webpage adaptation server 1030 may convert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal 1020.
  • the webpage adaptation server 1030 converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal 1020 may include the following steps.
  • the webpage adaptation serverl030 may adjust the overall framework parameters defined in the source code of the first webpage.
  • the webpage adaptation server 1030 may change the webpage framework parameters to be adaptive parameters.
  • the webpage adaptation server 1030 may adjust the webpage width definedin the source code of the first webpage.
  • the webpage adaptation server 1030 may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.
  • the webpage adaptation serverl030 may adjust the text fonts definedin the source code of the first webpage.
  • the webpage adaptation server 1030 may change text fonts from an absolute font size to a relative font size.
  • the webpage adaptation server 1030 may adjust the webpage layout parameters definedin the source code of the first webpage.
  • the webpage adaptation server 1030 may change the webpage layout parameters to a flow layout.
  • the webpage adaptation server 1030 may adjust the scaling parameters of the images defined in the source code of the first webpage.
  • the webpage adaptation server 1030 may change the webpage image scaling parameters to adaptive scaling parameters.
  • the webpage adaptation server 1030 may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
  • one or more non- transitory storage medium storing a computer program are provided to implement the system and method for adapting and transmitting webpages.
  • the one or more non-transitory storage medium may be installed in a computer or provided separately from a computer.
  • a computer may read the computer program from the storage medium and execute the program to perform the methods consistent with embodiments of the present disclosure.
  • the storage medium may be a magnetic storage medium, such as hard disk, floppy disk, or other magnetic disks, a tape, or a cassette tape.
  • the storage medium may also be an optical storage medium, such as optical disk (for example, CD or DVD).
  • the storage medium may further be semiconductor storage medium, such as DRAM, SRAM, EPROM, EEPROM, flash memory, or memory stick.
  • the system for adapting and transmitting webpages may use a user agent to adapt webpages to the browser of the end user.
  • a first user terminal may request that the webpage adaptation server send a first webpage to a second user terminal.
  • the request may include an identification of the device type and an identification of the communication type of the second user terminal.
  • the webpage adaptation server may check the user agent for the browser of the second user terminal.
  • the webpage adaptation server may render a second webpage compatible with the second user terminal.
  • the second webpage corresponds to the first webpage (same or substantially same content).
  • the second user terminal may then receive the second webpage from the server.
  • the webpage adaptation server may send the source code of a second webpage to the second user terminal.
  • the second webpage may becapable of rendering a properly formatted webpage according to the user agent of the second user terminal.
  • the second user terminal receives the source code of the second webpage, the second webpage compatible with the second user terminal is rendered and displayed.
  • the second webpage has the same or substantially the same content as that of the first webpage.
  • Embodiments of the present disclosure convert the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal.
  • a user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A method and system foradapting and transmitting webpagesare disclosed. The method includes obtaining, by a first user terminal, a device type and a communication type of a second user terminal; andsending a request for adapting and transmitting a first webpage to a webpage adaptation server, the request including identification of the first webpage, the device type, and the communication type of the second user terminal. Further, the webpage adaptation server converts source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal; and sends the second webpage to the second user terminal based on the communication type of the second user terminal.

Description

METHODS AND SYSTEMS FOR ADPATING AND TRANSMITTING WEBPAGES
CROSS-REFERENCES TO RELATED APPLICATIONS
Related Applications
[0001] This application is based upon and claims the benefit of priority from Chinese Patent Application No. 201310548216.7filed on November 6, 2013, the entire content of which is incorporated herein by reference.
FIELD OF THE TECHNOLOGY
[0002] The present disclosure relates to internet related technologies and, more particularly, to methods and systems foradapting and transmitting webpages.
BACKGROUND
[0003] Some web browsers can transmit webpages across platforms or across various user terminals. A user terminal may be a smartphone, a personal computer, an iPad, etc. A web browser may ensure that a webpage stays the same when it is transmitted across different platforms or user terminals. However, maintaining the same webpage across different platforms or user terminals may cause mismatches between the webpage and the user terminal. For example, if a webpage that was initially opened on a personal computer is transmitted to a smartphone with the same format, the user may have a difficult time navigating the webpage on a smaller screen. Such mismatches impair user experience.
[0004] The disclosed method and system are directed to solve one or more problems set forth above and other problems. BRIEF SUMMARY OF THE DISCLOSURE
[0005] Embodiments consistent with the present disclosure provide a method, system, mobiledevice, or a server for adapting and transmitting webpages.
[0006] One aspect of the present disclosure provides a method for adapting and transmitting webpages. The method includes obtaining, by a first user terminal, a device type and a communication type of a second user terminal; and sending a request for adapting and transmitting a first webpage to a webpage adaptation server, the request including identification of the first webpage, the device type, and the communication type of the second user terminal. Further, the webpage adaptation server converts source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal. The webpage adaptation serverthen sends the second webpage to the second user terminal based on the communication type of the second user terminal.
[0007] Another aspect of the present disclosure provides a method for adapting and transmitting webpages. The method includesreceiving a request for adapting and transmitting a first webpage from a first user terminal, the request including identification of a first webpage, a device type, and a communication type of a second user terminal;converting source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal; and sending the second webpage to the second user terminal based on the communication type of the second user terminal. [0008] Another aspect of the present disclosure provides a user terminal for adapting and transmitting webpages. The user terminal includesan obtaining module configured to obtain a device type and a communication type of a second user terminal; anda transmitting module configured to send a request for adapting and transmitting a first webpage to a webpage adaptation server, the request including identification of the first webpage, the device type, and the communication type of the second user terminal. Further, the webpage adaptation server converts source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal.The webpage adaptation server sends the second webpage to the second user terminal based on the communication type of the second user terminal.
[0009] Another aspect of the present disclosure provides a server for adapting and transmitting webpages. The server includesa receiving module configured to receive a request for adapting and transmitting a first webpage from a first user terminal, the request including identification of a first webpage, a device type, and a communication type of the second user terminal;an obtaining module configured to convert source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal; and a transmitting module configured to send the second webpage to the second user terminal based on the communication type of the second user terminal. [0010] Another aspect of the present disclosure provides a system for adapting and transmitting webpages. The system includes a first user terminal, a second user terminal, and a webpage adaptation server. The first user terminal is configured to obtain a device type and a communication type of a second user terminal; and to send a request for adapting and transmitting a first webpage to a webpage adaptation server, the request including identification of the first webpage, the device type, and the communication type of the second user terminal. The webpage adaptation server is configured to receive a request for adapting and transmitting a first webpage from the first user terminal, the request including the identification of the first webpage, the device type, and the communication type of the second user terminal; to convert source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal; and to send the second webpage to the second user terminal based on the communication type of the second user terminal. The second user terminal is configured to receive the second webpage. [0011] Other aspects of the present disclosure can be understood by those skilled in the art in light of the description, the claims, and the drawings of the present disclosure.
BRIEF DESCRIPTION OF THE DRAWINGS
[0012] To illustrate embodiments of the invention, the following are a few drawings illustrating embodiments consistent with the present disclosure. [0013] Figure 1 is a flow chart of a method for adapting and transmitting webpages implemented by embodimentsconsistent with the present disclosure;
[0014] Figure 2 is anotherflow chart of a method for adapting and transmitting webpages implemented by embodimentsconsistent with the present disclosure;
[0015] Figure 3 is anotherflow chart of a method for adapting and transmitting webpages implemented by embodimentsconsistent with the present disclosure;
[0016] Figure 4 is anotherflow chart of a method for adapting and transmitting webpages implemented by embodimentsconsistent with the present disclosure;
[0017] Figure 5 is an exemplary user terminal consistent with embodiments of the present disclosure; [0018] Figure 6 is an exemplary server consistent with embodiments of the present disclosure; [0019] Figure 7 is another exemplary user terminal consistent with embodiments of the present disclosure;
[0020] Figure 8 is another exemplary server consistent with embodiments of the present disclosure;
[0021] Figure 9 is an exemplary mobile terminal consistent with embodiments of the present disclosure; and
[0022] Figure 10 is an exemplary system for adapting and transmitting webpages consistent with the present disclosure.
DETAILED DESCRIPTION
[0023] Reference will now be made in detail to exemplary embodiments of the invention, which are illustrated in the accompanying drawings.Hereinafter, embodiments consistent with the disclosure will be described with reference to drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts. It is apparent that the described embodiments are some but not all of the embodiments of the present invention. Based on the disclosed embodiment, persons of ordinary skill in the art may derive other embodiments consistent with the present disclosure, all of which are within the scope of the present invention.
[0024] The present disclosure provides methods and systems for adapting and
transmitting webpages. Embodiments consistent with the present disclosure adapt webpages to specific types of user terminals and thus improve online user experience. [0025] In the present disclosure the terms "first," "second," "third," "fourth," etc. (if used) are used to refer to specific objects without limiting the sequence of the objects. The sequence of the data or steps described is often changeable. Further, the terms "include," "have," etc. and the variations thereof are not exclusive. For example a method, process, system, or product, that includes certain steps or components are not exclusive of other steps or components that are not explicitly listed.
[0026] Embodiments consistent with the present disclosure provide a method to adapt and transmit webpages. The method may include the following steps. The first user terminal may send a request for adapting and transmitting a first webpage to a webpage adaptation server. The request may include the identification of a first webpage, the identification of a device type and the identification of a communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of the device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
[0027] Figure 1 shows an exemplary method for adapting and transmitting webpages implemented by embodiments of the present disclosure. The method shown in Figure 1 includes steps 101 and 102.
[0028] In step 101, a first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal. When the first user terminal desires to send a webpage to the second user terminal, or when the second user terminal requests to access a webpage that is viewed by the first user, the first user terminal may obtain an identification of device type and an identification of communication type of the second user terminal. The first and second user terminals may be personal computers, mobile terminals, laptop computers, etc. The first user terminal and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
[0029] In step 102, the first user terminal may send a request for adapting and transmitting a first webpage to a webpage adaptation server. The request may include the identification of the first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
[0030] The first user terminal obtaining the identification of device type and the identification of communication type may include a first user terminal receiving the
identification of device type and the identification of communication type through a user interface (entered by a user). Alternatively, the first user terminal and the second user terminal may first establish communications. The first terminal may then obtain the identification of device type and the identification of communication type from the second user terminal. For example, the first user terminal may request the information. The second user terminal may send the identification of device type and the identification of communication type in response. In another example, the second user terminal may proactively sendthe identification of device type and the identification of communication type to the first user terminal.
[0031] The identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device. For example, a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc. In general, a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
[0032] In the present disclosure, the first user terminal may determine that the second user terminal is of a different device type and then send a request for adapting and transmitting a webpage to the webpage adaptation server. For example, the first user terminal may be a personal computer. The second user terminal may be a mobile device or a laptop computer. Alternatively, the first user terminal may presume that the second user terminal is of a different device type and then send a request for adapting and transmitting a webpage to the webpage adaptation server without first checking the device type of the second user terminal.
[0033] In embodiments of the present disclosure, if the identification of a first webpage is the web address of the first page, the webpage adaptation server may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal. In one example, the web server of the first webpage address may store both the source code of the first webpage and the source code of the second webpage. The content of the first and second webpages is the same or substantially the same. The formats of the first and second webpages are different. The source code of the second webpage is compatible with the device type of the second user terminal. The webpage adaptation server may use the webpage address and obtain the source code of the second webpage from the web server.
[0034] In embodiments of the present disclosure, if the identification of a first webpage is the web address of the first page, the webpage adaptation server may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal. In one example, the webpage adaptation server may obtain the source code of the first webpage from the web server, and then convert the source code into the source code of the second webpage, which is compatible with the device type of the second user terminal.
[0035] In embodiments of the present disclosure, if the identification of a first webpage is the source code of the first page, the webpage adaptation server may obtain the device type of the second user terminal and the source code of the second webpage that is compatible with the device type. Specifically, the webpage adaptation server may convert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal. [0036] In embodiments of the present disclosure, the webpage adaptation server converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal, may include the following steps. The webpage adaptation server may adjust the overall framework parameters defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage framework parameters to be adaptive parameters. The webpage adaptation server may adjust the webpage width definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.The webpage adaptation server may adjust the text fonts definedin the source code of the first webpage. For example, the webpage adaptation server may change text fonts from an absolute font size to a relative font size. The webpage adaptation server may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage layout parameters to a flow layout. The webpage adaptation server mayadjust the scaling parameters of the images defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage image scaling parameters to adaptive scaling parameters. The webpage adaptation server may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
[0037] In embodiments consistent with the present disclosure, the first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.The first user terminal may then send a request for adapting and transmitting a webpage to a webpage adaptation server. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage. Through the webpage adaptation server,the first user terminal sends source code of the second webpage to the second user terminal.The second webpage is compatible with the second user terminal and corresponds to the source code of the first webpage. This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal. A user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
[0038] In one embodiment, the first user terminal may send a request for adapting and transmitting a first webpage to a webpage adaptation server. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
[0039] Figure 2 shows a flow chart of a method for adapting and transmitting webpages consistent with the present disclosure. The method shown in Figure 2 includes steps 201-203.
[0040] In step 201, the webpage adaptation server may receive the request for adapting and transmitting a webpage from the first user terminal. The request may include the
identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage. [0041] When the first user terminal desires to send a webpage to the second user terminal, or when the second user terminal requests to access a webpage that is viewed by the first user, the first user terminal may obtain an identification of device type and an identification of communication type of the second user terminal. The first and second user terminals may be personal computers, mobile terminals, laptop computers, etc. The first user terminal and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
[0042] In step 202, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal.
[0043] In step 203, the webpage adaptation server may send the second webpage to the second user terminal based on the identification of communication type in the request.
[0044] The identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device. For example, a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc. In general, a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
[0045] In the present disclosure, the first user terminal may determine that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server. For example, the first user terminal may be a personal computer. The second user terminal may be a mobile device or a laptop computer.
Alternatively, the first user terminal may presume that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server without first checking the device type of the second user terminal.
[0046] The webpage adaptation server obtaining source code for a second webpage that is compatible with the identification of device type of the second terminal includes the following steps. Based on the identification of device type of the second user terminal included in the request, the webpage adaptation server may determine that the first user terminal and the second user terminal are of different types. Based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Alternatively, the webpage adaptation server may assume that the first user terminal and the second user terminal are of different types. In this case, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal without first checking the device types of the first and second user terminals.
[0047] In embodiments of the present disclosure, if the identification of a first webpage is the web address of the first page, the webpage adaptation server may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal. In one example, the web server of the first webpage address may store both the source code of the first webpage and the source code of the second webpage. The content of the first and second webpages is the same or substantially the same. The formats of the first and second webpages are different. The source code of the second webpage is compatible with the device type of the second user terminal. The webpage adaptation server may use the webpage address and obtain the source code of the second webpage from the web server. [0048] In embodiments of the present disclosure, if the identification of a first webpage is the web address of the first page, the webpage adaptation server may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal. In one example, the webpage adaptation server may obtain the source code of the first webpage from the web server, and then convert the source code into the source code of the second webpage, which is compatible with the device type of the second user terminal.
[0049] In embodiments of the present disclosure, if the identification of a first webpage is the source code of the first page, the webpage adaptation server may obtain the device type of the second user terminal and the source code of the second webpage that is compatible with the device type. Specifically, the webpage adaptation server may convert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal.
[0050] In embodiments of the present disclosure, the webpage adaptation server converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal, may include the following steps. The webpage adaptation server may adjust the overall framework parameters defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage framework parameters to be adaptive parameters. The webpage adaptation server may adjust the webpage width definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.The webpage adaptation server may adjust the text fonts definedin the source code of the first webpage. For example, the webpage adaptation server may change text fonts from an absolute font size to a relative font size. The webpage adaptation server may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage layout parameters to a flow layout. The webpage adaptation server may adjust the scaling parameters of the images defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage image scaling parameters to adaptive scaling parameters. The webpage adaptation server may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
[0051] In embodiments consistent with the present disclosure, the first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.The first user terminal may then send a request for adapting and transmitting a webpage to a webpage adaptation server. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage. Through the webpage adaptation server,the first user terminal sends source code of the second webpage to the second user terminal. The second webpage is compatible with the second user terminal and corresponds to the source code of the first webpage. This process converts the first webpage that is
compatible with the first user terminal to the second webpage that is compatible with the second user terminal. A user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
[0052] Below are a few more examples used to further describe the embodiments of the present disclosure. Figure 3 is another flow chart of a method for adapting and transmitting webpages. The method shown in Figure 3 includes steps 301-307.
[0053] In step 301, a first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal. When the first user terminal desires to send a webpage to the second user terminal, or when the second user terminal requests to access a webpage that is viewed by the first user, the first user terminal may obtain an identification of device type and an identification of communication type of the second user terminal. The first and second user terminals may be personal computers, mobile terminals, laptop computers, etc. The first user terminal and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
[0054] The first user terminal obtaining the identification of device type and the identification of communication type may include a first user terminal receiving the
identification of device type and the identification of communication type through a user interface (entered by a user). Alternatively, the first user terminal and the second user terminal may first establish communications. The first terminal may then obtain the identification of device type and the identification of communication type from the second user terminal. For example, the first user terminal may request the information. The second user terminal may send the identification of device type and the identification of communication type in response. In another example, the second user terminal may proactively sendthe identification of device type and the identification of communication type to the first user terminal.
[0055] The identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device. For example, a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc. In general, a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
[0056] In step 302, the first user terminal may send a request for adapting and transmitting a first webpage to a webpage adaptation server. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
[0057] In step 303, the webpage adaptation server may receive the request from the first user terminal. The webpage adaptation server may check whether the web server associated with the first webpage stores a second webpage corresponding to the first webpage. The content of the first and second webpages is the same or substantially the same. The formats of the first and second webpages are different. The source code of the second webpage is compatible with the device type of the second user terminal. If the web server contains the second webpage, then the server executes step 306. Otherwise, the server executes step 304. [0058] In step 304, the webpage adaptation server may obtain the source code of the first webpage from the web server. Instep 305, based on the identification of the device type of the second user terminal, the webpage adaptation server convert the source code for the first webpage to the source code for a second webpage that is compatible with the identification of device type of the second terminal. The server may then execute step 307.
[0059] In embodiments of the present disclosure, the webpage adaptation server converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal, may include the following steps. The webpage adaptation server may adjust the overall framework parameters defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage framework parameters to be adaptive parameters. The webpage adaptation server may adjust the webpage width definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.The webpage adaptation server may adjust the text fonts definedin the source code of the first webpage. For example, the webpage adaptation server may change text fonts from an absolute font size to a relative font size. The webpage adaptation server may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage layout parameters to a flow layout. The webpage adaptation server mayadjust the scaling parameters of the images defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage image scaling parameters to adaptive scaling parameters. The webpage adaptation server may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
[0060] In one embodiment, the first user terminal may be a personal computer. The second user terminal may be a smartphone. The first webpage may be a WWW webpage. Based on the device type of the second user terminal (smartphone), the webpage adaptation server may convert the source code of the first webpage to source code of the second webpage using
HTML5 (Hyper Text Markup Language 5) or using the WAP protocol (Wireless Application Protocol). HTML5 or WAP webpages are more easily adapted to smart devices. By providing adapted webpages, the webpage adaptation server improves the second user terminal's user experience while browsing the second webpage. The embodiment of the present disclosure converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal. A user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
[0061] In step 306, the webpage adaptation server obtains the source code of the second webpage from the web server associated with the first webpage. The server then executes step 307.
[0062] In step 307, the webpage adaptation server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal.
[0063] In embodiments consistent with the present disclosure, the first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.The first user terminal may then send a request for adapting and transmitting a webpage to a webpage adaptation server. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage. Through the webpage adaptation server,the first user terminal sends source code of the second webpage to the second user terminal. The second webpage is compatible with the second user terminal and corresponds to the source code of the first webpage. This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal. A user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
[0064] Figure 4 is another flow chart of a method for adapting and transmitting webpages consistent with the present disclosure. The method shown in Figure 4 includes steps 401-404.
[0065] In step 401, a first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal. When the first user terminal desires to send a webpage to the second user terminal, or when the second user terminal requests to access a webpage that is viewed by the first user, the first user terminal may obtain an identification of device type and an identification of communication type of the second user terminal. The first and second user terminals may be personal computers, mobile terminals, laptop computers, etc. The first user terminal and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
[0066] The first user terminal obtaining the identification of device type and the identification of communication type may include a first user terminal receiving the identification of device type and the identification of communication type through a user interface (entered by a user). Alternatively, the first user terminal and the second user terminal may first establish communications. The first terminal may then obtain the identification of device type and the identification of communication type from the second user terminal. For example, the first user terminal may request the information. The second user terminal may send the identification of device type and the identification of communication type in response. In another example, the second user terminal may proactively sendthe identification of device type and the identification of communication type to the first user terminal.
[0067] The identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device. For example, a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc. In general, a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer. [0068] In step 402, the first user terminal may send a request for adapting and transmitting a first webpage to a webpage adaptation server. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal.
[0069] In step 403, based on the device type of the second user terminal, the webpage adaptation server may obtain the device type of the second user terminal and the source code of the second webpage that is compatible with the device type. Specifically, the webpage adaptation server may convert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal. [0070] In embodiments of the present disclosure, the webpage adaptation server converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal, may include the following steps. The webpage adaptation server may adjust the overall framework parameters defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage framework parameters to be adaptive parameters. The webpage adaptation server may adjust the webpage width definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.The webpage adaptation server may adjust the text fonts definedin the source code of the first webpage. For example, the webpage adaptation server may change text fonts from an absolute font size to a relative font size. The webpage adaptation server may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage layout parameters to a flow layout. The webpage adaptation server mayadjust the scaling parameters of the images defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage image scaling parameters to adaptive scaling parameters. The webpage adaptation server may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal. [0071] In step 404, the webpage adaptation server may send the second webpage to the second user terminal based on the identification of the communication type of the second user terminal. [0072] In one embodiment, the first user terminal may be a personal computer. The second user terminal may be a smartphone. The first webpage may be a WWW webpage. Based on the device type of the second user terminal (smartphone), the webpage adaptation server may convert the source code of the first webpage to source code of the second webpage using
HTML5 (Hyper Text Markup Language 5) or using the WAP protocol (Wireless Application Protocol). HTML5 or WAP webpages are more easily adapted to smart devices. By providing adapted webpages, the webpage adaptation server improves the second user terminal's user experience while browsing the second webpage. The embodiment of the present disclosure converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal. A user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
[0073] In embodiments consistent with the present disclosure, the first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.The first user terminal may then send a request for adapting and transmitting a webpage to a webpage adaptation server. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage. Through the webpage adaptation server, the first user terminal sends source code of the second webpage to the second user terminal. The second webpage is compatible with the second user terminal and corresponds to the source code of the first webpage. This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal. A user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
[0074] Figure 5 shows an exemplary user terminal 500 consistent with the present disclosure. The user terminal 500 includes an obtaining module 510 and a transmitting module 520.
[0075] The obtaining module 510 may obtain an identification of device type and an identification of communication type of a second user terminal. The transmitting module 520 may send a request for adapting and transmitting a webpage to a webpage adaptation server. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
[0076] The first obtaining module 510 obtaining the identification of device type and the identification of communication type may include a first user terminal receiving the identification of device type and the identification of communication type through a user interface (entered by a user). Alternatively, the first user terminal and the second user terminal may first establish communications. The first obtaining module 510may then obtain the identification of device type and the identification of communication type from the second user terminal. The first user terminal may determine that the second user terminal is of a different device type. The transmitting module 520 may send a request for adapting and transmitting webpage to the webpage adaptation server.
[0077] The user terminal 500 includes components such as the ones described above. Other components of the user terminal 500 can be understood (and may not be described) in relation to other embodiments consistent with the present disclosure.
[0078] In embodiments consistent with the present disclosure, the obtaining module 510 may obtain an identification of device type and an identification of communication type of a second user terminal.The transmitting module 520 may then send a request for adapting and transmitting a webpage to a webpage adaptation server. The request may include the
identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage. Through the webpage adaptation server,the first user terminal 500 sends source code of the second webpage to the second user terminal. The second webpage is compatible with the second user terminal and corresponds to the source code of the first webpage. This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal. A user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
[0079] Figure 6 shows a block diagram of the webpage adaptation server 600 consistent with the present disclosure. The webpage adaptation server 600 includes a receiving module 610, an obtaining module 620, and a transmitting module 630.
[0080] The receiving module 610may receive the request for adapting and transmitting a webpage from the first user terminal. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
[0081] Based on the identification of the first webpage, the obtaining module 620 may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal.The transmitting module 630 may send the second webpage to the second user terminal based on the identification of communication type in the request.
[0082] Based on the identification of device type of the second user terminal included in the request, the obtaining module 620 may determine that the first user terminal and the second user terminal are of different types. Based on the identification of the first webpage, the obtaining module 620 may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Alternatively, the obtaining module 620 may assume that the first user terminal and the second user terminal are of different types. In this case, based on the identification of the first webpage, the obtaining module 620 may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal without first checking the device types of the first and second user terminals.
[0083] In embodiments of the present disclosure, if the identification of a first webpage is the source code of the first page, the obtaining module 620 may obtain the device type of the second user terminal and the source code of the second webpage that is compatible with the device type. Specifically, the obtaining module 620 may convert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal.
[0084] In embodiments of the present disclosure, the obtaining module 620 may adjust the overall framework parameters defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage framework parameters to be adaptive parameters. The obtaining module 620may adjust the webpage width definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.The obtaining module 620may adjust the text fonts definedin the source code of the first webpage. For example, the obtaining module 620may change text fonts from an absolute font size to a relative font size. The webpage adaptation server may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the obtaining module 620may change the webpage layout parameters to a flow layout. The obtaining module 620may adjust the scaling parameters of the images defined in the source code of the first webpage. For example, the obtaining module 620may change the webpage image scaling parameters to adaptive scaling parameters. The obtaining module 620may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
[0085] The webpage adaptation server 600 includes components such as the ones described above. Other components of the webpage adaptation server 600 can be understood in relation to other embodiments consistent with the present disclosure.
[0086] In embodiments consistent with the present disclosure, the first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal. The first user terminal may then send a request for adapting and transmitting a webpage to a webpage adaptation server 600. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the webpage adaptation server600 may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the
identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage. Through the webpage adaptation server 600, the first user terminal sends source code of the second webpage that is compatible with the second user terminal and corresponds to the source code of the first webpage. This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal. A user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing. [0087] Figure 7 shows a block diagram of user terminal 700 consistent with the present disclosure. The user terminal 700 includes a processor 701 (CPU), a network interface 704, a user interface 703, a storage medium 705, and a bus 702. The bus 702 may connect all components of user terminal 700 together and enable communications among the components. The user interface 703 may include a display, a keyboard, or other input devices (e.g., mouse, trackball. Touch pad, touch screen, etc.). The network interface 704 may connect to any appropriate type of communication networks, including the Internet, LAN (Local Area Network), or other types of computer networks or telecommunication networks, either wired or wireless.
[0088] Further, processor 701 can include multiple cores for multi-thread or parallel processing. Storage medium 705 may include memory modules, such as Read-only Memory (ROM), Random Access Memory (RAM), flash memory modules, and erasable and rewritable memory, and mass storages, such as CD-ROM, U-disk, and hard disk, etc. The storage medium 705 may include one or more of the following components: an operating system 705 land an application module 7052. The operating system 7051 includes system programs that implement various services and hardware related tasks. The application module 7052 includes application software, which may implement different tasks and functions. For example, the application module 7052 may include the obtaining module 510 and transmitting module 520. There may be many other modules in the application module 7052, which may not be described here but can be understood in relation to the embodiments consistent with the present disclosure.
[0089] Storage medium 705 may store computer programs for implementing various processes, when executed by processor 701, including the operating system, communication program modules, and other application modules used to implement the system for adapting and transmitting webpages consistent with the present disclosure.Further, the processor 701 may obtain an identification of device type and an identification of communication type of a second user terminal. The processor 701may send a request for adapting and transmitting a webpage to a webpage adaptation server. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
[0090] When the first user terminal 700 desires to send a webpage to the second user terminal, or when the second user terminal requests to access a webpage that is viewed by the first user, the first user terminal 700 may obtain an identification of device type and an identification of communication type of the second user terminal. The first (700) and second user terminals may be personal computers, mobile terminals, laptop computers, etc. The first user terminal and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
[0091] The processor 701 obtaining the identification of device type and the
identification of communication type may include the processor 701 receiving the identification of device type and the identification of communication type through a user interface (entered by a user). Alternatively, the first user terminal 700and the second user terminal may first establish communications. The processor 701 may then obtain the identification of device type and the identification of communication type from the second user terminal. For example, the processor 701 may request the information. The second user terminal may send the identification of device type and the identification of communication type in response. In another example, the second user terminal may proactively sendthe identification of device type and the identification of communication type to the first user terminal 700.
[0092] The identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device. For example, a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc. In general, a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
[0093] In the present disclosure, the first user terminal 700 may determine that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server. For example, the first user terminal 700 may be a personal computer. The second user terminal may be a mobile device or a laptop computer. Alternatively, the first user terminal 700 may presume that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server without first checking the device type of the second user terminal.
[0094] In embodiments of the present disclosure, if the identification of a first webpage is the web address of the first page, the webpage adaptation server may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal. In one example, the web server of the first webpage address may store both the source code of the first webpage and the source code of the second webpage. The content of the first and second webpages is the same or substantially the same. The formats of the first and second webpages are different. The source code of the second webpage is compatible with the device type of the second user terminal. The webpage adaptation server may use the webpage address and obtain the source code of the second webpage from the web server.
[0095] In embodiments of the present disclosure, if the identification of a first webpage is the web address of the first page, the webpage adaptation server may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal. In one example, the webpage adaptation server may obtain the source code of the first webpage from the web server, and then convert the source code into the source code of the second webpage, which is compatible with the device type of the second user terminal. [0096] In embodiments of the present disclosure, if the identification of a first webpage is the source code of the first page, the webpage adaptation server may obtain the device type of the second user terminal and the source code of the second webpage that is compatible with the device type. Specifically, the webpage adaptation server mayconvert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal.
[0097] In embodiments of the present disclosure, the webpage adaptation server converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal, may include the following steps. The webpage adaptation server may adjust the overall framework parameters defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage framework parameters to be adaptive parameters. The webpage adaptation server may adjust the webpage width definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.The webpage adaptation server may adjust the text fonts definedin the source code of the first webpage. For example, the webpage adaptation server may change text fonts from an absolute font size to a relative font size. The webpage adaptation server may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the webpage adaptation server may change the webpage layout parameters to a flow layout. The webpage adaptation server may adjust the scaling parameters of the images defined in the source code of the first webpage. For example, the webpage adaptation server may change the webpage image scaling parameters to adaptive scaling parameters. The webpage adaptation server may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
[0098] The user terminal 700 includes components such as the ones described above. Other components of the user terminal 700 can be understood in relation to other embodiments consistent with the present disclosure. [0099] In embodiments consistent with the present disclosure, the first user terminal 700 may obtain an identification of device type and an identification of communication type of a second user terminal.The first user terminal 700 may then send a request for adapting and transmitting a webpage to a webpage adaptation server. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage. Through the webpage adaptation server, the first user terminal 700 sends source code of the second webpage to the second user terminal. The second webpage is compatible with the second user terminal and corresponds to the source code of the first webpage. This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal. A user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing. [00100] Figure 8 shows a block diagram of a webpage adaptation server 800 consistent with the present disclosure. The server 800 includes a processor 801 (CPU), a network interface 804, a user interface 803, a storage medium 805, and a bus 802. The bus 802 may connect all components of server 800 together and enable communications among the components. The user interface 803 may include a display, a keyboard, or other input devices (e.g., mouse, trackball. Touch pad, touch screen, etc.). The network interface 804 may connect to any appropriate type of communication networks, including the Internet, LAN (Local Area Network), or other types of computer networks or telecommunication networks, either wired or wireless.
[00101] Further, processor 801 can include multiple cores for multi-thread or parallel processing. Storage medium 805 may include memory modules, such as Read-only Memory (ROM), Random Access Memory (RAM), flash memory modules, and erasable and rewritable memory, and mass storages, such as CD-ROM, U-disk, and hard disk, etc. The storage medium 805 may include one or more of the following components: an operating system 805 land an application module 8052. The operating system 8051 includes system programs that implement various services and hardware related tasks. The application module 8052 includes application software, which may implement different tasks and functions. For example, the application module 8052 may include the receiving module 610, obtaining module 620, and transmitting module 630. There may be many other modules in the application module 8052, which may not be described here but can be understood in relation to the embodiments consistent with the present disclosure.
[00102] Storage medium 805 may store computer programs for implementing various processes, when executed by processor 801, including the operating system, communication program modules, and other application modules used to implement the system for adapting and transmitting webpages consistent with the present disclosure. The processor 801 may receive a request for adapting and transmitting a webpage from a first user terminal. The request may include the identification of a first webpage, the identification of device type and the
identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the processor 801 may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, theprocessor 801 may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
[00103] When the first user terminal desires to send a webpage to the second user terminal, or when the second user terminal requests to access a webpage that is viewed by the first user, the first user terminal may obtain an identification of device type and an identification of communication type of the second user terminal. The first and second user terminals may be personal computers, mobile terminals, laptop computers, etc. The first user terminal and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
[00104] The identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device. For example, a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc. In general, a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
[00105] In the present disclosure, the first user terminal may determine that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server. For example, the first user terminal may be a personal computer. The second user terminal may be a mobile device or a laptop computer. Alternatively, the first user terminal may presume that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server 800 without first checking the device type of the second user terminal.
[00106] In embodiments of the present disclosure, if the identification of a first webpage is the web address of the first page, the webpage adaptation server 800 may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal. In one example, the web server of the first webpage address may store both the source code of the first webpage and the source code of the second webpage. The content of the first and second webpages is the same or substantially the same. The formats of the first and second webpages are different. The source code of the second webpage is compatible with the device type of the second user terminal. The webpage adaptation server 800 may use the webpage address and obtain the source code of the second webpage from the web server.
[00107] In embodiments of the present disclosure, if the identification of a first webpage is the web address of the first page, the webpage adaptation server 800 may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal. In one example, the webpage adaptation server 800 may obtain the source code of the first webpage from the web server, and then convert the source code into the source code of the second webpage, which is compatible with the device type of the second user terminal.
[00108] In embodiments of the present disclosure, if the identification of a first webpage is the source code of the first page, the webpage adaptation server 800 may obtain the device type of the second user terminal and the source code of the second webpage that is compatible with the device type. Specifically, the processor 801 may convert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal.
[00109] In embodiments of the present disclosure, the processor 801 converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal, may include the following steps. The processor 801may adjust the overall framework parameters defined in the source code of the first webpage. For example, the processor 801 may change the webpage framework parameters to be adaptive parameters. The processor 801 may adjust the webpage width definedin the source code of the first webpage. For example, the processor 801 may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.The processor 801 may adjust the text fonts definedin the source code of the first webpage. For example, the processor 801 may change text fonts from an absolute font size to a relative font size. The processor 801 may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the processor 801 may change the webpage layout parameters to a flow layout. The processor 801 may adjust the scaling parameters of the images defined in the source code of the first webpage. For example, the processor 801 may change the webpage image scaling parameters to adaptive scaling parameters. The processor 801 may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
[00110] The webpage adaptation server 800 includes components such as the ones described above. Other components of the server 800 can be understood in relation to other embodiments consistent with the present disclosure.
[00111] In embodiments consistent with the present disclosure, the first user terminal may obtain an identification of device type and an identification of communication type of a second user terminal.The first user terminal may then send a request for adapting and transmitting a webpage to a webpage adaptation server 800. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, the processor 801 may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, processor 801 may send the source code of the second webpage to the second user terminal based on the identification of
communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage. Through the webpage adaptation server 800, the first user terminal sends source code of the second webpage that is compatible with the second user terminal and corresponds to the source code of the first webpage. This process converts the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal. A user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.
[00112] Figure 9 shows a mobile terminal 900. The mobile terminal 900 may be a user terminal in the embodiments of the present disclosure. Only components relevant to the embodiments described below are discussed. The details of other components may be disclosed in relation to other embodiments. The user terminal may be a smartphone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an on-vehicle computer, and other computing devices.
[00113] As shown in Figure 9, the mobile terminal 900 may include an RF circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a Wi-Fi module 970, a processor 980, and a power supply 990. The mobile terminal 900 in Figure 9 is exemplary. It is understood that the exemplary mobile terminal 900 does not limit the
components or functions of a mobile terminal that can be used in the embodiments consistent with the present disclosure. [00114] The RF circuit 910 may send and receive data, and/or receive and transmit signals.
In particular, after receiving downlink data from a base station, the RF circuit 910 may send the data to processors 980 for further processing. Further, the RF circuit 910 may transmit uplink data to the base station. Usually, the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, etc. In addition, the RF circuit 910 may also communicate with other wireless communication devices and networks. The wireless communication may use any communication standard or protocol, including GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), etc.
[00115] The memory 920 may store software programs and modules, such as the data presentation software programs and modules used to implement the embodiments of the present disclosure. The processor 980 may execute the software programs and modules stored in memory 920 to implement functions supporting the webpage rendering functions consistent with the present disclosure. The memory 920 may include a program storage area and a data storage area. The program storage area may store operating systems, one or more software applications (e.g., for audio or broadcasting functions). In addition, the memory 920 may include high speed random access memory, non-volatile memory, such as at least one disk storage device, a flash memory device, or other nonvolatile devices. The memory 920 may also include a memory controller, which manages the interactions between the memory 920, the processor 980, and the input unit 930. [00116] The input unit 930 may receive numerical or character data input. The input unit
930 may include components such as keyboards, mice, control bars, optical track balls, touch screens, etc. In particular, the input unit 930 may include a touch screen 931 and the related input devices 932. The touch screen 931 may collect user input from its touch screen surface (e.g., fingers, stylus contact touch screen 931). The input unit 930 may then initiate the operations of the relevant components based on the input. In one example, the touch screen 631 may include a touch detection means and a touch controller. The touch detection means may check location of the user's touches, detect the signals triggered by the touch motions, and send the signals to the touch controller. The touch controller may receive signals from the touch detection means and convert the signals into contact coordinates, send the contact coordinates to the processor 980, and receive and execute instructions from processor 980. The touch screen 931 may use a variety of resistive, capacitive, infrared and surface acoustic wave touch- sensitive surfaces 931. In addition to the touch screen 931, the input unit 930 may include other input devices 932. In particular, other input devices 932 may include but are not limited to physical keyboards, function keys, track balls, mice, operation bars, etc.
[00117] The display unit 940 may display a user's input or act as a graphic interface to present data to the users of the mobile terminal900. The graphic interface may include graphics, texts, icons, videos, or combinations thereof. The display unit 940 may include a display panel 941. The display panel may be an LCD, LED, or OLED display. Further, the touch screen 931 may cover the display panel 941. When the touch screen 931 detects contacts on its screen or the vicinity, the touch screen 931 may send the data to the processor 980 to identify the category of the touch contact. The processor 980 may present visual output on the display panel 941 based on the category of the touch contact. In Figure 6, the touch screen 931 and the display panel 941 are presented as two components for input and output functions. In other embodiments, the touch screen 931 and the display panel 941 may be combined to implement certain input and output functions. [00118] The mobile terminal 900 includes the sensor 950, which may be an optical sensor, a motion sensor, or other sensors. In particular, an optical sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor may adjust the brightness of the display panel 941 based on the brightness of the ambient light. The proximity sensor may turn off the display panel 941 or its backlight when the mobile terminal 900 is place close to a user's ear. As a type of motion sensor, the gravity acceleration sensor may detect the acceleration in all directions. When an object is still, the gravity acceleration sensor may detect the magnitude and direction of gravity. This can be used to recognize the position of a smartphone (for functions such as switching screen directions, gyro calibration gestures, etc.) and vibrations (for functions such as pedometers, tapping, etc.). The mobile terminal 900 may also include a gyroscope, an air pressure sensor, a temperature sensor, an infrared sensor, and other sensors, which are not discussed here.
[00119] The audio circuit 960, the speaker 961, and the microphone 962 may provide the audio user interface between a user and the smartphone900. The audio circuit 960 may send the signals converted from the received audio data to the speaker 961. The speaker 961 may convert the signals to audio signals and output them. The speaker 961 may receive audio signals and convert them to electric signals. These electric signals may be received by the audio circuit 960, and be converted to audio data. The output processor 980 may process the audio data and send the data to another terminal through the RF circuit 910. The output processor 980 may also send the audio data to memory 920 to be further processed. The audio circuit 960 may include a microphone 962, which may enable an external ear phone to connect with the terminal 900.
[00120] The mobile phone 900, through the transmission module 970, may enable a user to send and receive emails, browse the Internet, and watch streaming media, etc. The transmission module 970 may facilitate fixed wire and wireless broadband connections to the Internet. The mobile phone 900 may chose not to include the transmission module 970 based on the specific needs of the embodiments.
[00121] The processor 980 is the control center of the mobile phone 900. The processor 980 uses interfaces and connections throughout the components of the terminal to operate the software programs stored in memory 920, to process the data stored in memory 920, and to implement the functions of smartphone 900. The processor 980 may include one or more core processors. The processor 980 may integrate an application processor and a wireless
communication processor. The application processor may control the operation system, user interface, and application programs. The wireless communication processor may control the wireless communications. The wireless communication processor may also be outside the processor 980.
[00122] The mobile terminal 900 may include the power source 990 (e.g., battery). The power source 990 may use a power management system to connect with processor 980. The power management system may manage the charging, discharging, and other power management functions. The power source 990 may include one or more DC or AC power sources, charging systems, a power failure detection circuit, a power converter or inverter, and a power status indicator.
[00123] Even though not shown in Figure 9, the mobile terminal 900 may include a camera, a blue tooth module, etc., which are not discussed here. In embodiments consistent with the present disclosure, a mobile terminal 900 may have a touch screen display. The mobile terminal 900may include a memory and one or more software programs stored in the memory. The mobile terminal 900 may further include one or more processors980 to execute one or more programs to implement the following functions.
[00124] The processor980 may send a request for adapting and transmitting a webpage from a first user terminal. The request may include the identification of a first webpage, the identification of device type and the identification of communication type of the second user terminal. After receiving the request, based on the identification of the first webpage, webpage adaptation server may obtain source code for a second webpage that is compatible with the identification of device type of the second terminal. Further, the server may send the source code of the second webpage to the second user terminal based on the identification of communication type of the second user terminal. The identification of a first webpage may be the web address of the first webpage or the source code of the first webpage.
[00125] When the first user terminal 900 desires to send a webpage to the second user terminal, or when the second user terminal requests to access a webpage that is viewed by the first user, the first user terminal 900 may obtain an identification of device type and an identification of communication type of the second user terminal. The first and second user terminals may be personal computers, mobile terminals, laptop computers, etc. The first user terminal 900 and the second user terminal may be connected to the same LAN (local area network) or may be connected through different networks.
[00126] The processor 980 obtaining the identification of device type and the
identification of communication type may include the processor 980 receiving the identification of device type and the identification of communication type through a user interface (entered by a user). Alternatively, the first user terminal 900and the second user terminal may first establish communications. The processor 980 may then obtain the identification of device type and the identification of communication type from the second user terminal. For example, the processor 980 may request the information. The second user terminal may send the identification of device type and the identification of communication type in response. In another example, the second user terminal may proactively sendthe identification of device type and the identification of communication type to the first user terminal 900.
[00127] The identification of device type refers to the user terminal's device categories. Based on the device type, the webpage adaptation server may determine the size of the display screen, the operating system, etc. related to the device. For example, a user terminal's device type may be a mobile device, a personal computer, or a laptop computer, etc. In general, a mobile device may have a display that is smaller than that of a laptop computer; a laptop computer may have a display that is smaller than that of a personal computer.
[00128] In the present disclosure, the first user terminal 900 may determine that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server. For example, the first user terminal 900 may be a personal computer. The second user terminal may be a mobile device or a laptop computer. Alternatively, the first user terminal 900 may presume that the second user terminal is of a different device type and then send a request for adapting and transmitting webpage to the webpage adaptation server without first checking the device type of the second user terminal.
[00129] Figure 10 shows an exemplary system for adapting and transmitting webpages consistent with the present disclosure. The system includes a first user terminal 1010, a second user terminal 1020, and a webpage adaptation server 1030.
[00130] The first user terminal 1010 may obtain an identification of device type and an identification of communication type of the second user terminal 1020. When the first user terminal 1010 desires to send a webpage to the second user terminal 1020, or when the second user terminal 1020 requests to access a webpage that is viewed by the first user, the first user terminal 1010 may obtain an identification of device type and an identification of
communication type of the second user terminal 1020. The first 1010 and second 1020 user terminals may be personal computers, mobile terminals, laptop computers, etc. The first user terminal 1010 and the second user terminal 1020 may be connected to the same LAN (local area network) or may be connected through different networks.
[00131] In embodiments of the present disclosure, if the identification of a first webpage is the web address of the first page, the webpage adaptation server 1030 may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal 1020. In one example, the web server of the first webpage address may store both the source code of the first webpage and the source code of the second webpage. The content of the first and second webpages is the same or substantially the same. The formats of the first and second webpages are different. The source code of the second webpage is compatible with the device type of the second user terminal. The webpage adaptation server 1030 may use the webpage address and obtain the source code of the second webpage from the web server.
[00132] If the identification of a first webpage is the web address of the first page, the webpage adaptation server 1030 may use the webpage address and obtain the source code of the second webpage that is compatible with the device type of the second user terminal 1020. In one example, the webpage adaptation server 1030 may obtain the source code of the first webpage from the web server, and then convert the source code into the source code of the second webpage, which is compatible with the device type of the second user terminal 1020. [00133] If the identification of a first webpage is the source code of the first page, the webpage adaptation server 1030 may obtain the device type of the second user terminal 1020 and the source code of the second webpage that is compatible with the device type. Specifically, the webpage adaptation server 1030 may convert the source code of the first webpage into the source code of the second webpage, which is compatible with the device type of the second user terminal 1020.
[00134] In embodiments of the present disclosure, the webpage adaptation server 1030 converting the source code of the first webpage into the source of the second webpage, which is compatible with the device type of the second user terminal 1020, may include the following steps. The webpage adaptation serverl030 may adjust the overall framework parameters defined in the source code of the first webpage. For example, the webpage adaptation server 1030 may change the webpage framework parameters to be adaptive parameters. The webpage adaptation server 1030 may adjust the webpage width definedin the source code of the first webpage. For example, the webpage adaptation server 1030 may change the webpage width to be an adaptive width or change the webpage width from an absolute value to a relative value.The webpage adaptation serverl030 may adjust the text fonts definedin the source code of the first webpage. For example, the webpage adaptation server 1030 may change text fonts from an absolute font size to a relative font size. The webpage adaptation server 1030 may adjust the webpage layout parameters definedin the source code of the first webpage. For example, the webpage adaptation server 1030 may change the webpage layout parameters to a flow layout. The webpage adaptation server 1030 may adjust the scaling parameters of the images defined in the source code of the first webpage. For example, the webpage adaptation server 1030 may change the webpage image scaling parameters to adaptive scaling parameters. The webpage adaptation server 1030 may adjust the CSS adaptive parameters in the source code of the first webpage to obtain source code of the second webpage that is compatible with the device type of the second user terminal.
[00135] It is obvious that the embodiments described in the present disclosure are described following certain functional steps. The steps and the combinations of the steps are descriptive, without limiting the scope of the present disclosure. Other embodiments of the present disclosure may implement steps in a different sequence or implement different steps to achieve the same results. It is obvious that the devices used in the embodiments described in the present disclosure include various components. The exemplary descriptions of devices only include the components relevant to the described functions. Further, the components of the device are illustrative only. In various embodiments, the devices may be divided into different component but may be able to achieve the same results. The components of the devices shown in the Figures are logicalcomponents; they may or may not correspond to the physical components of the devices.
[00136] Consistent with embodiments of the present disclosure, one or more non- transitory storage medium storing a computer program are provided to implement the system and method for adapting and transmitting webpages. The one or more non-transitory storage medium may be installed in a computer or provided separately from a computer. A computer may read the computer program from the storage medium and execute the program to perform the methods consistent with embodiments of the present disclosure. The storage medium may be a magnetic storage medium, such as hard disk, floppy disk, or other magnetic disks, a tape, or a cassette tape. The storage medium may also be an optical storage medium, such as optical disk (for example, CD or DVD). The storage medium may further be semiconductor storage medium, such as DRAM, SRAM, EPROM, EEPROM, flash memory, or memory stick.
[00137] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the claims.
INDUSTRIAL APPLICABILITY AND ADVANTAGEOUS EFFECTS
[00138] Without limiting the scope of any claim and/or the specification, examples of industrial applicability and certain advantageous effects of the disclosed embodiments are listed for illustrative purposes. Various alternations, modifications, or equivalents to the technical solutions of the disclosed embodiments can be obvious to those skilled in the art and can be included in this disclosure.
[00139] By using the disclosed methods and systems, varioussystems for adapting and transmitting webpages may be implemented. In one embodiment, the system for adapting and transmitting webpages may use a user agent to adapt webpages to the browser of the end user. For example, a first user terminal may request that the webpage adaptation server send a first webpage to a second user terminal. The request may include an identification of the device type and an identification of the communication type of the second user terminal. The webpage adaptation server may check the user agent for the browser of the second user terminal. Based on the user agent, the webpage adaptation server may render a second webpage compatible with the second user terminal. The second webpage corresponds to the first webpage (same or substantially same content). The second user terminal may then receive the second webpage from the server.
[00140] Alternatively, the webpage adaptation server may send the source code of a second webpage to the second user terminal. The second webpage may becapable of rendering a properly formatted webpage according to the user agent of the second user terminal. When the second user terminal receives the source code of the second webpage, the second webpage compatible with the second user terminal is rendered and displayed. The second webpage has the same or substantially the same content as that of the first webpage.
[00141] Embodiments of the present disclosure convert the first webpage that is compatible with the first user terminal to the second webpage that is compatible with the second user terminal. A user may browse the second webpage on the second user terminal. This process thus matches the second user terminal with compatible webpages and improves user experience for webpage browsing.

Claims

WHAT IS CLAIMED IS
1. A method foradapting and transmitting webpages, comprising:
obtaining, by a first user terminal, a device type and a communication type of a second user terminal; and
sending a request for adapting and transmitting a first webpage to a webpage adaptation server, the request including identification of the first webpage, the device type,and the communication type of the second user terminal;
wherein the webpage adaptation server converts source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal; and sends the second webpage to the second user terminal based on the communication type of the second user terminal.
2. The method according to claiml, further comprising:
receiving, by the first user terminal, the device type and the communication type of the second user terminal from a user interface.
3. The method according to claim 1, further comprising:
receiving, by the first user terminal, the device type and the communication type of the second user terminal from the second user terminal.
4. The method according to claim 1, further comprising:
determining the second user terminal has a different device type from that of the first user terminal.
5. The method according to claim 1, wherein the identification of the first webpage a webpage network address.
6. A method for adapting and transmitting webpages, comprising:
receiving a request for adapting and transmitting a first webpage from a first user terminal, the request including identification of a first webpage, a device type, and a communication type of the second user terminal;
converting source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal; and
sending the second webpage to the second user terminal based on the
communication type of the second user terminal.
7. The method according to claim 6, wherein the identification of the first webpage a webpage network address.
8. The method according to claim7, further comprising:
identifying a web server associated with the network address;
determining whether the web server has the source code of the second webpage, the source code being compatible with the device type of the second user terminal; and obtaining the source code of the second webpage from the web server.
9. The method according to claim7, further comprising: identifying a web server associated with the network address;
determining whether the web server has the source code of the second webpage, the source code being compatible with the device type of the second user terminal; and obtaining the source code for the first webpage from the web server; and converting the source code of the first webpage to the source code of the second webpage, the source code of the second webpage being compatible with the device type of the second user terminal.
10. The method according to claim6, wherein the identification of the first webpage is the source code of the first webpage.
11. The method according to claim 10, further comprising: converting the source code of the first webpage to the source code of the second webpage, the source code of the second webpage being compatible with the device type of the second user terminal.
12. A user terminal for adapting and transmitting webpages, comprising:
an obtaining module configured to obtain a device type and a communication type of a second user terminal; and
a transmitting module configured to send a request for adapting and transmitting a first webpage to a webpage adaptation server, the request including identification of the first webpage, the device type, and the communication type of the second user terminal; wherein the webpage adaptation server converts source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal; and sends the second webpage to the second user terminal based on the communication type of the second user terminal.
13. A server for adapting and transmitting webpages, comprising:
a receiving module configured to receive a request for adapting and transmitting a first webpage from a first user terminal, the request including identification of a first webpage, a device type, and a communication type of a second user terminal;
an obtaining module configured to convert source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal; and
a transmitting module configured to send the second webpage to the second user terminal based on the communication type of the second user terminal.
14. The server according to claiml3, wherein the identification of the first webpage is a webpage network address.
15. The server according to claiml3, wherein the obtaining module is further configured to:
identify a web server associated with the network address;
determine whether the web server has the source code of the second webpage, the source code being compatible with the device type of the second user terminal; and obtain the source code of the second webpage from the web server.
16. The server according to claim 13, wherein the obtaining module is further configured to:
identify a web server associated with the network address;
determine whether the web server has the source code of the second webpage, the source code being compatible with the device type of the second user terminal; and
obtain the source code for the first webpage from the web server; and
convert the source code of the first webpage to the source code of the second webpage, the source code of the second webpage being compatible with the device type of the second user terminal.
17. A system for adapting and transmitting webpages, comprising a first user terminal, a second user terminal, and a webpage adaptation server, wherein:
the first user terminal is configured to obtain a device type and a communication type of the second user terminal; and to send a request for adapting and transmitting a first webpage to the webpage adaptation server, the request including identification of the first webpage, the device type, and the communication type of the second user terminal; the webpage adaptation server is configured to receive a request for adapting and transmitting a first webpage from the first user terminal, the request including the identification of the first webpage, the device type, and the communication type of the second user terminal; to convert source code of the first webpage to source code of a second webpage, the second webpage being compatible with the device type of the second user terminal; andto send the second webpage to the second user terminal based on the communication type of the second user terminal; and
the second user terminal is configured to receive the second webpage.
18. The system according to claim 17, wherein the identification of the first webpage webpage network address or the source code of the first webpage.
PCT/CN2014/085378 2013-11-06 2014-08-28 Methods and systems for adpating and transmitting webpages WO2015067090A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310548216.7A CN104601636B (en) 2013-11-06 2013-11-06 Webpage fit transmission method and relevant apparatus and communication system
CN201310548216.7 2013-11-06

Publications (1)

Publication Number Publication Date
WO2015067090A1 true WO2015067090A1 (en) 2015-05-14

Family

ID=53040870

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/085378 WO2015067090A1 (en) 2013-11-06 2014-08-28 Methods and systems for adpating and transmitting webpages

Country Status (2)

Country Link
CN (1) CN104601636B (en)
WO (1) WO2015067090A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067819A (en) * 2007-06-07 2007-11-07 北京大学 Web page resource issuing method and issuing system
CN102857579A (en) * 2012-09-27 2013-01-02 腾讯科技(深圳)有限公司 Information processing method, device, terminal and server
US20130103771A1 (en) * 2011-10-25 2013-04-25 Alibaba Group Holding Limited Generating processed web address information

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859390A (en) * 2005-12-07 2006-11-08 华为技术有限公司 Method and device for providing net page browse information
CN101526952A (en) * 2009-01-19 2009-09-09 北京跳网无限科技发展有限公司 UA adaptation technology for identifying attribute of mobile phone terminal
CN101626521B (en) * 2009-08-11 2011-05-04 广州杰赛科技股份有限公司 Television network monitoring method, monitoring terminal and monitoring system
CN101815093A (en) * 2010-03-11 2010-08-25 深圳市嘉讯软件有限公司 Method for adapting webpage to mobile terminal and mobile terminal page adaptation device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067819A (en) * 2007-06-07 2007-11-07 北京大学 Web page resource issuing method and issuing system
US20130103771A1 (en) * 2011-10-25 2013-04-25 Alibaba Group Holding Limited Generating processed web address information
CN102857579A (en) * 2012-09-27 2013-01-02 腾讯科技(深圳)有限公司 Information processing method, device, terminal and server

Also Published As

Publication number Publication date
CN104601636B (en) 2018-12-11
CN104601636A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
US10514829B2 (en) Methods and systems for quick reply operations
RU2616536C2 (en) Method, device and terminal device to display messages
US10643021B2 (en) Method and device for processing web page content
US12032820B2 (en) Fast data copying method and electronic device
US11785304B2 (en) Video preview method and electronic device
CN105975190B (en) Graphical interface processing method, device and system
US9921735B2 (en) Apparatuses and methods for inputting a uniform resource locator
EP2854012B1 (en) Method, apparatus and terminal device for selecting character
CN104281394A (en) Method and device for intelligently selecting words
RU2628205C2 (en) Method, device and terminal equipment for response to shift operation
CN108763297B (en) Webpage resource processing method and device and mobile terminal
US20150234576A1 (en) Method and apparatus for displaying information and electronic device adapted to the method
CN112749074A (en) Test case recommendation method and device
WO2014206236A1 (en) Information input method, device and electronic apparatus
CN109145182B (en) Data acquisition method and device, computer equipment and system
US9377949B2 (en) Method and terminal device for selecting character
CN106201220B (en) Display content acquisition method and device
US20150095856A1 (en) Method and terminal device for displaying messages
US20150033334A1 (en) Method, apparatus, and system of detecting data security
WO2019228106A1 (en) Press area optimization method and device, mobile terminal and storage medium
WO2015067090A1 (en) Methods and systems for adpating and transmitting webpages
WO2015014153A1 (en) Method,apparatus,and system of detectingdata security
CN115361590A (en) Live video display method and device, electronic equipment and storage medium

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: 14860499

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 30.09.2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14860499

Country of ref document: EP

Kind code of ref document: A1