Abstract:
A method for data synchronization performed by a server is described. The method comprises receiving, from a client terminal, a synchronization request and information about a synchronization anchor of the client terminal; determining, based on the synchronization anchor of the client terminal and a synchronization anchor of the server, difference data to be synchronized with the client terminal; determining whether a size of the difference data exceeds a threshold; and responsive to determining that a size of the difference data exceeds the threshold, transmitting the difference data to the client terminal in a plurality of difference data segments, wherein a size of each of the plurality of the difference data segments does not exceed the threshold, and wherein each of the plurality of the difference data segments is to be synchronized separately with the client terminal.
Abstract:
The invention provides a mobile terminal based layout method, including rearranging a WWW (world wide web) webpage with PC-based layout according to the following layout rules: based on WWW webpage PC-based layout rules, keeping a width of a block element unchanged, and wrapping an inline element inside the block element onto a next line in a screen width of the mobile terminal; and displaying the webpage that is rearranged according to the above rules on the mobile terminal. By using the present invention, not only overall layout of the webpage remains a main display style of the PC-based layout, but local region of the webpage is adjusted to adapt to a mobile phone screen, so that contents such as characters can be continuously displayed within the mobile phone screen. The PC-based layout and the display of the mobile terminal are perfectly combined together, thus ensuring the users to browse the Internet on the mobile terminal more conveniently without changing their browsing habit.
Abstract:
The present invention provides an image compression method, comprising: determining non-edge portions of an image to be compressed by performing an image edge detection on the image to be compressed; dividing each of non-edge portions into a plurality of connected domains of pixels according to color similarity of the pixels in the non-edge portion, wherein each of the connected domains of pixels is composed of a pixel selected during the division into the connected domains of pixels and the pixels similar in color to and continuously adjacent to the selected pixel; setting the color of each of the connected domains of pixels to be the color of the selected pixel; merging the colors of a plurality of divided connected domains of pixels according to similarity of the colors of the connected domains of pixels; and compressing the image to be compressed by using the merged colors. According to the method, the number of colors used for image compression can be determined according to the characteristics of the image, thus the file size of the compressed image can be effectively reduced with the display effect thereof kept substantially unchanged.
Abstract:
The disclosure provides a method and device a method for detecting and receiving an induction signal induced by a contact of a pointing object with the touch screen, identifying information corresponding to the induction signal in response to receipt of the induction signal, determining a control operation based on the information, and executing the control operation in response to the determination. The control operation comprises at least one of closing a present application interface and displaying a new application interface.
Abstract:
The disclosure provides a method and device detecting a moving signal indicative of a movement of a mobile terminal by a vibration sensor embedded in the mobile terminal and executing a conditional assembly operation on a touch screen of the mobile terminal in response to detection of the moving signal.
Abstract:
The present invention provides an information distribution method based on geographical location information of a mobile terminal. The method includes obtaining current geographical location information of the mobile terminal; based on an acquiring mode used to obtain the current geographical location information, determining a positioning accuracy of the mobile terminal's current geographical location information; based on the determined positioning accuracy, determining a distribution mode used to distribute information to the mobile terminal, wherein the distribution mode includes a location-based distribution mode and the combination mode of location-based distribution and relation-based distribution; and distributing information to the mobile terminal using the determined distribution mode.This method may be used to accurately distribute to the mobile terminal user the information related to the nearby Points of Interest (POIs) within a predetermined distance range from the current geographical location of the mobile terminal or related to the similar POIs having the same type of the current POI of the mobile terminal user, such as coupons, advertisement information, and/or POI characteristic information.
Abstract:
The present disclosure provides a method, a browser client, and a server for reading web page information by speech. The browser client is installed with a text to speech (TTS) engine. The method includes: sending, by a browser client, a page access request to a server, where the page access request includes a page address and TTS identity information; receiving, by the browser client, response data returned by the server, where the response data includes a TTS standard version number determined by the server according to the TTS identity information, and TTS page data corresponding to the page address; and reading, by the browser client, the TTS page data by speech according to the TTS standard version number by using a TTS engine. In the present disclosure, page information is read by speech by using the TTS engine installed on the browser client. When it is inconvenient for a user to browse a page with eyes, and for users whose eyes have physical problems, the read page information can be listened by using a sense of hearing. Therefore, a convenient hearing-based manner is provided to users to browse a page.
Abstract:
The present application discloses an article quality scoring method and device, a client, a server, and a programmable device. The method includes: obtaining browsing behavior information of a user when the user browses a target article; obtaining a browsing behavior score of the user for the target article according to the browsing behavior information and a corresponding browsing behavior coefficient; and obtaining an article quality score of the target article according to obtained browsing behavior scores of multiple users for the target article.
Abstract:
A picture data transmission method and device are disclosed in the present invention. The picture data transmission method comprises: recoding a first picture to be transmitted, by a picture data sending terminal, to obtain a second picture, wherein the file size of the second picture is smaller than that of the first picture, and a quality difference between the second picture and the first picture is less than a pre-set threshold; and selecting one of the first picture and the second picture according to quality values of the first picture and the second picture and sending the selected picture to a picture data receiving terminal. According to the present invention, pictures can be recoded to obtain pictures with a small amount of data for data transmission, without affecting the picture quality, thereby saving network resources and reducing storage pressure.
Abstract:
A network article comment processing method and apparatus, a user terminal device, a server, and a non-transitory machine-readable storage medium provided in the present disclosure belong to the technical field of communication. The method includes: obtaining, by a client in a process of displaying a current article, a location where user specified content in the article is located with respect to all the pages occupied by the article; obtaining comment content posted by the user for the user specified content; and sending the comment content and the location at which the user specified content corresponding to the comment content is located with respect to all the pages occupied by the article to a server. In the present disclosure, the user does not need to post or view the comment content at the bottom of the article, the comment content may be displayed at a location at which the user specified content corresponding to the comment content is located with respect to all the pages occupied by the article, and the article and the comment are closely related, which facilitates reading.