Abstract:
A secure payment processing method is disclosed. The method can be implemented by a client terminal device. The method comprises receiving payment response data indicating that a payment has been completed by a settlement server and having a signature conforming to a predefined rule; sending the payment response data to a payment verification server; receiving a verification result from the payment verification server, the verification result indicating whether the payment response data has the signature conforming to the predefined rule; and determining, according to the verification result, whether the payment has been completed in the settlement server.
Abstract:
The present invention discloses a method and an apparatus for isolating a page cookie. The method includes: when a predetermined login account logs in, assigning an independent cookie storage for the predetermined login account; after a request of creating a page associated with the predetermined login account is acquired, establishing a mapping relation table for storing a mapping relation between a page view identification of the page associated with the predetermined login account and the independent cookie storage; when the page associated with the predetermined login account is loaded, looking up the mapping relation table; and initiating, according to the independent cookie storage corresponding to the page view identification of the page associated with the predetermined login account found in the mapping relation table, a request of loading the page associated with the predetermined login account. In this manner, isolation between the page view of the page associated with the predetermined login account and a cookie of a page being logged into by another account in the same domain name is implemented, thereby improving user experiences.
Abstract:
The disclosure provides a method for executing extended JavaScript (JS) by using an extended JS interface. The method comprises the following steps: inquiring an extension program whether to execute the extended JS at a predetermined occasion when a webpage is loaded, wherein the extension program is loaded when a browser is started up; the browser assembles the extended JS interface according to an open application programming interface (API) when determining that the extended JS is needed to be executed; executing the extended JS by using the extended JS interface. According to the disclosure, browsing mode and layout mode of a browser can be changed dynamically according to the requirement for webpage contents in the form of extension programs, accordingly browsing experience of users is improved.
Abstract:
Methods and apparatus for compressing webpage text are provided. According to a webpage-opening request of a mobile terminal browser, a current language environment of the terminal is obtained. According to the language environment, a character container corresponding to the language environment is initialized. Requested webpage data are received. The received webpage data are parsed. The webpage data are merged and stored using the corresponding character container. During the initializing of the corresponding character container according to the language environment, it is determined whether the language environment belongs to Latin languages. When the language environment belongs to Latin languages, the character container is initialized to store utf-8 encoded data. Otherwise, the character container is initialized to store utf-16 encoded data. The present disclosure can intelligently determine a storage method according to the language environment, optimize and adapt stored content, and effectively reduce the browser memory occupied by the webpage data.
Abstract:
The present invention provides a precise location-based information service method and apparatus for mobile terminal browser users. The method includes: acquiring at least two types of positioning references based upon a positioning service request from a user; establishing correlation relationships among the positioning references based on the acquired positioning references; and performing integrated positioning and cross-validation on a precise location of the user based on the correlation relationships to determine final positioning service information. This invention can implement precise location-based services (LBS) and precise Point of Interest (POI) push service by analysis and extraction of the user's location information and behavioral data acquired and accumulated with the user's consent. This satisfies the needs of the mobile phone browser user for precise LBS and personalized nearby information service.
Abstract:
A system (1) for computing a disease risk score of a patient based on a recommendation of treatment or lifestyle changes is disclosed. The system comprises an input device (11) for receiving risk parameter values for computing the disease risk score according to a risk score algorithm, and for receiving the recommendation of treatment or lifestyle changes, an interpreter (21) for computing at least one risk parameter value for computing the disease risk score, on the basis of the recommended treatment or lifestyle changes, a risk calculator (31) for calculating the disease risk score on the basis of the received risk parameter values and the computed risk parameter value, and an output device (41) for communicating the calculated disease risk score. Thanks to the interpreter (21), the recommended treatment or lifestyle change is “translated” into a value of a risk parameter for computing the disease risk score, there by allowing calculating the risk score resulting from the treatment or lifestyle change.
Abstract:
A page display method, apparatus, and system, and a page display assist method and apparatus are provided. A target page that a user desires to visit is searched for a multimedia resource, and a type of the multimedia resource is identified; and if a multimedia resource is found, a multimedia player corresponding to a type of the multimedia resource is inserted into the target page. By means of searching a target page that a user desires to visit for a multimedia resource and identifying a type of the multimedia resource, and then, inserting a corresponding multimedia player according to the identified type of the multimedia resource, a multimedia resource in a page can be played online and browsing experience of a user is improved.
Abstract:
A browser function bar display method, apparatus, and processing device. The method comprises: acquiring an operation on a function bar of a browser, the function bar being divided into a first function bar and a second function bar that independently store contents, wherein the second function bar is configured to store private content; when the operation meets preset requirements, switching the display of the first function bar and the second function bar. The method can improve the privacy of stored contents and better protect browsing privacy for a user.
Abstract:
This application discloses a method and an apparatus for lifting video resolution, where an initial magnified signal obtained by performing upsampling on an original signal is decomposed into two parts, that is, a first signal and a second signal by means of forward wavelet transform, where the first signal and the original signal have the same volume, and high-frequency information in the original signal is preserved; then the first signal is enhanced, so that enhancement on the first signal is transferred to the second signal by performing inverse wavelet transform on the second signal and the enhanced first signal, to compensate high frequency loss in the second signal, that is, high-frequency information of an entire final magnified signal obtained through inverse wavelet transform is compensated relative to the initial magnified signal, so that a magnified image corresponding to the final magnified signal can better preserve high-frequency information of an original image, vagueness of the magnified image is reduced or even eliminated, and definition of an entire video is improved.