US20150091935A1 - Method and device for browsing web under weak light with mobile terminal browser - Google Patents
Method and device for browsing web under weak light with mobile terminal browser Download PDFInfo
- Publication number
- US20150091935A1 US20150091935A1 US14/566,781 US201414566781A US2015091935A1 US 20150091935 A1 US20150091935 A1 US 20150091935A1 US 201414566781 A US201414566781 A US 201414566781A US 2015091935 A1 US2015091935 A1 US 2015091935A1
- Authority
- US
- United States
- Prior art keywords
- web page
- page
- elements
- codes
- web
- Prior art date
- Legal status (The legal status 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 status listed.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/14—Tree-structured documents
- G06F40/143—Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/02—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- G06F17/2247—
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/02—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
- G09G5/026—Control of mixing and/or overlay of colours in general
Definitions
- the disclosure relates to a field of computer technologies, and particularly to a method and device for browsing web under weak light with a mobile terminal browser.
- Browsers are installed in all kinds of mobile terminals. With the development of the browsers installed in the mobile terminals, more and more functions of the browsers are humanizing to meet various demands of users. For example, one of the functions of the browsers is a night browsing mode, which enables the users to browse the web user-friendly under weak light with the browser.
- color contrast between page elements of the web page need to be improved to make the users watch contents of the web page clearer.
- a screen of the mobile terminal with the higher color contrast is dazzling. Therefore, a browser with the night browsing mode is created.
- the browser has a function of browsing the web under the weak light. At the night browsing mode, the color contrast between the page elements can be decreased, to avoid the screen of the mobile terminal with the night browsing mode dazzling.
- exemplary embodiments of the present invention provide a method and device for browsing web under weak light with mobile terminal browser.
- Technical solutions are follows.
- One embodiment of the present invention provides a method for browsing the web under weak light with a mobile terminal browser.
- the method includes:
- the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
- the method further includes:
- the step of embedding a predetermined code into the codes of the web page includes:
- the step of executing the predetermined code to change the colors of the page elements of the web page includes:
- step of resetting the color attributes of the page elements of the web page includes:
- Another embodiment of the present invention provides device for browsing the web under weak light with a mobile terminal browser, comprising:
- a downloading module configured to receive a uniform resource locator (URL), input by a user, of a web page, and download codes of the web page according to the URL;
- URL uniform resource locator
- an embedding module configured to embed a predetermined code into the codes of the web page, wherein the predetermined code has a function of changing colors of page elements of the web page;
- a changing module configured to execute the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
- the device further includes:
- a rendering module configured to render the web page in a page display area of the browser according to the codes of the web page before the embedding module embeds the predetermined code into the codes of the web page.
- the embedding module includes:
- a determination unit configured to determine whether a notification indicating that the web page has been rendered is received
- a triggering unit configured to trigger to execute the predetermined code when the determination unit determines that the web page has been rendered is received.
- the changing module is further configured to obtain the original color attributes of the page elements of the web page one by one, and reset the original color attributes of the page elements of the web page until the original color attributes of the all page elements of the web page are reset.
- the changing module further comprises:
- an obtaining unit configured to obtain the color attributes of the page elements of the web page one by one
- a first changing unit configured to obtain the foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080;
- a second changing unit configured to obtain the background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080.
- the terminal includes:
- the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
- the method further includes:
- the step of embedding a predetermined code into the codes of the web page includes:
- the step of executing the predetermined code to change the colors of the page elements of the web page includes:
- step of resetting the color attributes of the page elements of the web page includes:
- Yet another embodiment of the present invention provides a non-transitory computer readable storage medium, storing one or more programs for execution by one or more processors of a computer having a display, the one or more programs comprising instructions for:
- the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
- the method further includes:
- the step of embedding a predetermined code into the codes of the web page includes:
- the step of executing the predetermined code to change the colors of the page elements of the web page includes:
- step of resetting the color attributes of the page elements of the web page includes:
- the color matching of the page elements of the web page can be adjusted through embedding the predetermined code with a function of changing the color of the page element into the codes of the web page, after downloading the codes of the web page visited by the user.
- the color matching of the page element is adjusted to be a new color matching with a low contrast, which is suitable for being browsed under the weak light.
- the method solves the problem at business layer, thus makes architecture of the browser clearer. Therefore, it is easier to maintain the browser.
- FIG. 1 is a flowchart of a method for browsing the web page under weak light with a mobile terminal browser according to a first embodiment one of the present invention
- FIG. 2 is a flowchart of a method for browsing the web page under weak light with a mobile terminal browser according to a second embodiment of the present invention
- FIG. 3 is a first structural diagram of a device for browsing the web page under weak light with a mobile terminal browser according to a third embodiment of the present invention
- FIG. 4 is a second structural diagram of a device for browsing the web page under weak light with a mobile terminal browser according to the third embodiment of the present invention.
- FIG. 5 is a structural diagram of an embedding module of the device for browsing the web page under weak light with a mobile terminal browser according to the third embodiment of the present invention
- FIG. 6 is a structural diagram of a changing module of the device for browsing the web page under weak light with a mobile terminal browser according to the third embodiment of the present invention.
- FIG. 7 is a first structural diagram of a terminal according to a fourth embodiment of the present invention.
- FIG. 8 is a second structural diagram of a terminal according to the fourth embodiment of the present invention.
- the embodiment provides a method for browsing the web under weak light with a mobile terminal browser.
- the method at least includes the following steps.
- Step 101 receiving a uniform resource locator (URL), input by a user, of a web page, and downloading codes of the web page according to the URL.
- URL uniform resource locator
- Step 102 embedding a predetermined code into the codes of the web page.
- the predetermined code has a function of changing colors of page elements of the web page.
- Step 103 executing the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page equate a predetermined contrast.
- the web page with the predetermined contrast is suitable for being browsed under the weak light.
- the embodiment provides the method for browsing the web under the weak light with the mobile terminal browser.
- the method can adjust the color matching of the page elements of the web page through embedding the predetermined code with a function of changing the colors of the page elements into the codes of the web page, after downloading the codes of the web page visited by the user.
- the color matching of the page elements is adjusted to be a new color matching with a low contrast, which is suitable for browsing the web page under the weak light.
- the method solves the problem at business layer, thus making architecture of the browser clearer. Therefore, it is easier to maintain the browser.
- the embodiment provides a method for browsing the web under the weak light with the mobile terminal browser.
- the method can be applied to the browser of the mobile terminal, to enable the browser to support a function of browsing the web under the weak light.
- the method includes the following steps.
- Step 201 receiving the web URL input by the user.
- the browser resolves a domain name according to the web URL, and initiates a request to a server corresponding to the web URL to get codes of the web page.
- Step 202 downloading the codes of the web page according to the web URL.
- the codes of the web page may be defined as hypertext markup language (HTML) codes.
- HTML codes indicate attributes of the all page elements of the web page.
- the attribute of each page element may include a location, a color, and a detail content of each page element.
- the codes of the web page further include javascript codes, cascading style sheet (CSS) codes, image links, and so on.
- Step 203 rendering the web page in a page display area of the browser according to the codes of the web page.
- step of rendering the web in a page display area of the browser according to the codes of the web page may be defined as:
- the browser parses the codes of the web page to get a document object model (DOM) tree, and a web is consist of the page elements of the web page rendered in the display area of the browser according to the DOM tree.
- DOM document object model
- the attribute of each page element is stored in the DOM tree.
- Step 204 determining whether a notification indicating that the web page has been rendered is received, if the notification is received, the step 205 is preformed. If the notification fails to be received, the step 204 is still preformed.
- the notification is fed back to the browser.
- the notification is monitored and the notification is defined as a triggering incident that the predetermined code is embedded into the codes of the web page.
- Step 205 embedding the predetermined code into the codes of the web page.
- the predetermined code has a function of changing the color of the page elements of the web page. After receiving the notification indicating that the web page has been rendered, an address of the web page being accessed is pointed to an address of the predetermined code, to change the codes of the colors of the page elements of the web page through executing the predetermined code.
- Step 206 changing the colors of the page elements of the web page through executing the predetermined code.
- the step of changing the colors of the page elements of the web page through executing the predetermined code may be defined as:
- resetting the color attributes of the page elements may include the following steps.
- the color contrast between the page elements of the web page may be equal to the predetermined contrast, to be suitable for browsing the web page in the night.
- a value from the value 0xFFFFFF to the value 0x808080 denotes white with brightness. From the value 0xFFFFFF to the value 0x808080, the brightness of the white is decreasing.
- the embodiment provides the following JavaScript codes used to be as the codes with the function of changing the color of the page element of the web page to illustrate:
- i denotes that the ith page element of the all page elements of the current web page
- document.all.length denotes that the number of the all page elements of the current web page
- document.all[i].style.color denotes that the foreground color attribute of the ith page element
- each of document.all[i].style.bgcolor and document.all[i].style.backgroundColor denotes the background color of the ith page element.
- the style.bgcolor is used to set the background color of the P element, such as the background color of a word paragraph.
- the style.backgroundColor is used to set a background color of a button, and an edit box of the web page.
- the color values of the background color attribute and the foreground color attribute of each page element of the web page are adjusted.
- the document.all[i].style.color can be set as “#808080”, that is, the foreground color of the words is the white with the 50% brightness.
- the document.all[i].style.bgcolor and the document.all[i]styple.backgroundColor both are set as “#000000”, that is, the background of the current web page is black, the words of the current web page is white, to facilitate the users to browse the current web page in the night.
- the color attributes of the page elements corresponding to the DOM tree got by parsing the HTML code are changed.
- the changed color attributes are recoded in the DOM tree to replace the original color attributes of the page elements to form a new DOM tree.
- the browser refreshes the current web according to the new DOM tree, that is, the browser renders the web page again according to the new DOM tree, to form a new web page with the changed color attributes, and display the new web page.
- the embodiment provides the method for browsing the web under the weak light with the mobile terminal browser.
- the method can adjust the color matching of the page elements of the web page through embedding the predetermined code with a function of changing the colors of the page elements into the codes of the web page, after downloading the codes of the web page visited by the user.
- the color matching of the page elements is adjusted to be a new color matching with a low contrast, which is suitable for browsing the web page under the weak light.
- the method solves the problem at business layer, thus making architecture of the browser clearer. Therefore, it is easier to maintain the browser.
- the embodiment provides a device for browsing the web under weak light with a mobile terminal browser.
- the device includes a downloading module 301 , an embedding module 302 , and a changing module 303 .
- the downloading module 301 is used to receive a uniform resource locator (URL), input by a user, of a web page, and download codes of the web page according to the URL.
- URL uniform resource locator
- the embedding module 302 is used to embed a predetermined code into the codes of the web page.
- the predetermined code has a function of changing colors of page elements of the web page.
- the changing module 303 is used to execute the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page equate a predetermined contrast.
- the web page with the predetermined contrast is suitable for being browsed under the weak light.
- the device further includes a rendering module 304 .
- the rendering module 304 is used to render the web page in a page display area of the browser according to the codes of the web page before the embedding module 302 embeds the predetermined code into the codes of the web page.
- the embedding module 302 includes a determination unit 3021 and a triggering unit 3022 .
- the determination unit 3021 is used to determine whether a notification indicating that the web page has been rendered is received.
- the triggering unit 3022 is used to trigger to execute the predetermined code when the determination unit 3021 determines that the web page has been rendered is received.
- the changing module 303 is used to obtain the original color attributes of the page elements of the web page one by one, and resets the original color attributes of the page elements of the web page until the original color attributes of the all page elements of the web page are reset.
- the changing module 303 includes an obtaining unit 3031 , a first changing unit 3032 , and a second changing unit 3033 .
- the obtaining unit 3031 is used to obtain the color attributes of the page elements of the web page one by one.
- the first changing unit 3032 is used to obtain the foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080.
- the second changing unit 3033 is used to obtain the background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080.
- the embodiment provides the device for browsing the web under the weak light with the mobile terminal browser.
- the device can adjust the color matching of the page elements of the web page through embedding the predetermined code with a function of changing the colors of the page elements into the codes of the web page, after downloading the codes of the web page visited by the user.
- the color matching of the page elements is adjusted to be a new color matching with a low contrast, which is suitable for browsing the web page under the weak light.
- the method solves the problem at business layer, thus making architecture of the browser clearer. Therefore, it is easier to maintain the browser.
- the above-mentioned function modules and units are taken as an example to illustrate.
- the above-mentioned functions can be assigned to the different function modules or units to execute. That is, the structure of the device is divided into different function modules, to realize all or parts of the above-mentioned functions.
- the above-mentioned method for browsing the web under the weak light with the mobile terminal browser and the device for browsing the web under the weak light with the mobile terminal browser belongs to the same conception.
- the embodiment provides a terminal 1200 .
- the terminal 1200 may include a storage 1201 and at least one processor 1202 .
- the storage 1201 stores software programs and modules (such as the instructions and modules corresponding to the browser in the embodiment), and data which is generated during the process of browsing the web page under the weak light by the mobile terminal browser.
- the processor 1202 can execute varieties of function applications and process data by running the software programs and modules stored in the storage 1201 , which realizes the function of safety protection.
- the processor 1202 is configured to execute the following operations for browsing the web under weak light with a mobile terminal browser:
- the predetermined code has a function of changing colors of page elements of the web page.
- the web page with the predetermined contrast is suitable for being browsed under the weak light.
- the method before the step of embedding a predetermined code into the codes of the web page, the method further includes:
- the step of embedding a predetermined code into the codes of the web page includes:
- the step of executing the predetermined code to change the colors of the page elements of the web page includes:
- the step of resetting the original color attributes of the page elements of the web page includes:
- the terminal 1200 further includes: a radio frequency (RF) circuit 110 , one or more than one storage 120 with computer readable storage medium, an input unit 130 , a display unit 140 , a sensor 150 , an audio circuit 160 , a transmission module 170 , one or more than one processors 180 , and a power supply 190 .
- RF radio frequency
- the structure of the terminal shown in the FIG. 7 cannot limit the terminal. That is, the terminal may includes more than or less than the elements shown in the FIG. 7 , or combinations of the elements shown in the FIG. 7 .
- the terminal may have other element arrangement which is different from the element arrangement shown in the FIG. 7 .
- the RF circuit 110 is used to receive and send information, or receive and send signals during a communication. Specially, the RF circuit 110 receives downlink information from a base station, and then sends the downlink information to one or more than one processor 180 to be processed. In addition, the RF circuit 110 also sends uplink data corresponding to the downlink information to the base station. Generally, the RF circuit 110 includes but is not limited to: an antenna, at least one amplifier, a tuner, one or more than one oscillator, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA), and a duplexer. In addition, the RF circuit 100 may conduct wireless communication with network and other devices.
- SIM subscriber identity module
- LNA low noise amplifier
- the wireless communication may use any communication standard or communication protocol, which includes but is not limited to a global system of mobile communication (GSM), a general packet radio service (GPRS), a code division multiple access (CDMA), a wideband code division multiple access (WCDMA), long term evolution (LTE), an email, a short messaging service (SMS).
- 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
- SMS short messaging service
- the storage 120 may be used to store software programs and modules, such as the program instructions and modules corresponding to the browser of the above-mentioned embodiments, and store data generated during a process of the mobile terminal browser browsing the web page under the weak light in the embodiment.
- the processor 180 can run the software programs and the modules stored in the storage 120 to execute the corresponding function applications and process the corresponding data, thus realizing the function of browsing the web page under the weak light with the mobile terminal browser.
- the storage 120 may mainly include a program storage area and a data storage area.
- the program storage area can store an operation system, at least one application program corresponding to one function (such as, a sound play function, an image play function, and so on).
- the data storage area can store data (such as audio data, phone book, and so on) created by the use of the terminal 1200 .
- the storage 120 may include a high-speed random access memory and a nonvolatile memory, such as at least one disk storage device, flash memory device, or other volatile solid state memory device.
- the storage 120 may further include a controller, to control the processor 180 and the input unit 130 to access the storage 120 .
- the input unit 130 may be used to receive input number or character information, and also used to be as a keyboard, a mouse, an operation rob, an optical input device or a trackball signal input device to conduct the user setup or function control.
- the input terminal 130 may include a touch sensitive surface 131 and an input device 132 .
- the touch sensitive surface 131 may be defined as a touch screen panel or a touchpad, which is used to receive an instruction generated by a touch operation on or around the touch sensitive surface 131 , and drives a connection device corresponding to the instruction according to a predetermined program.
- the touch operation may be an operation of an object (such as a figure or a stylus) moving on or around the touch sensitive surface 131 .
- the touch sensitive surface 131 may include a touch detection device and a touch controller.
- the touch detection device detects a location of the user touching the touch sensitive surface 131 , and detects a signal generated by touch operation, and transmits the signal to the touch controller.
- the touch controller receives the signal from the touch detection device, and converts the signal into a coordinate, and transmits the coordinate to the processor 180 .
- the touch controller can receive an instruction from the processor 180 and execute the instruction.
- the touch sensitive surface 131 may be a resistive touch screen panel or touchpad, a capacitive touch screen panel or touchpad, an infrared touch screen panel or touchpad, a surface acoustic wave touch screen panel or touchpad, or other types touch screen panels or touch pads.
- the input unit 130 further includes other input devices 132 .
- the other input devices 132 may include but not be limited to one or more of a physical keyboard, function keys (such as a volume key for controlling the volume of the terminal, a switch key, and so on), a trackball, a mouse, an operation rob, and so on.
- the display unit 140 may be used to display information input by the user or supplied to the user, and display all kinds of graphical user interfaces (GUIs) of the terminal 1200 .
- the GUIs may consist of graphs, texts, icons, videos, and any combination of the graphs, the texts, the icons, and the videos.
- the display unit 140 may include a display panel 141 .
- the display panel 141 may be the liquid crystal display (LCD) panel or the organic light-emitting diode panel. Further, the touch sensitive surface 131 can cover the display panel 141 .
- the touch sensitive surface 131 When the touch sensitive surface 131 detects the touch operation on or around the touch sensitive surface 131 , the touch sensitive surface 131 transmits the instruction corresponding to the touch operation to the processor 180 , to make the processor 180 determine a type of the touch operation. After the processor 180 determines the type of the touch operation, the processor 180 displays the determined type of the touch operation on the display panel 141 .
- the touch sensitive surface 131 and the display panel 141 are two independent elements to respectively realize the input function and the output function in FIG. 8 , in some embodiments, the touch sensitive surface 131 is integrated with the display panel 141 to realize the input function and the output function.
- the terminal 1200 further may include at least one sensor 150 , such as a light sensor, a motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 141 according to the ambient light.
- the proximity sensor can turn off the display panel 141 and/or backlight when the terminal 1200 moves to the ear of the user.
- a gravity sensor can detect accelerations from every direction (generally the directions of three axles), and detect the gravity and a direction of the gravity.
- the gravity sensor also can determine special applications of a mobile phone (such as a switch from a landscape mode of the mobile phone to a portrait mode, games related to the pose of the mobile phone, a magnetometer pose calibration), and detects functions related to vibration (such as pedometer, knock).
- the terminal 1200 also has a gyroscope, a barometer, a hygrometer, a hygrometer, a thermometer, an infrared sensor, and so on.
- Each of an audio circuit 160 , a loudspeaker 161 , and a microphone 162 has an audio interface to be supplied for the user.
- the audio circuit 160 may receive audio data and converts the audio data into an electrical signal, and transmit the electrical signal to the loudspeaker 160 .
- the loudspeaker 160 converts the electrical signal into a sound signal, and outputs the sound signal.
- the loudspeaker 162 can receive a sound signal, converts the sound signal into an electrical signal, and outputs the electrical signal to the audio circuit 160 .
- the audio circuit 160 receives the electrical signal, converts the electrical signal into an audio signal, and outputs the audio signal to the processor 180 .
- the processor 180 processes the audio signal and outputs the processed audio signal to another terminal by RF circuit 110 , or stores the processed audio signal in the storage 120 .
- the audio circuit 160 may include a headphone jack, to connect to an external headphone to make the external headphone communicate with the terminal 1200 .
- the WIFI belongs to a short-range wireless communication technology.
- the terminal 1200 can help the user to receive or send email, browse the web pages and access to the streaming media through an input/output interface of the WIFI module.
- the terminal 1200 provides the wireless network to make the user can access the internet.
- the WIFI module 170 in FIG. 8 it can be understood that the terminal 1200 may not include the WIFI module 170 . That is, the WIFI module 170 of the terminal 1200 can be omitted according to need.
- the processor 180 is a control center of the terminal 1200 , and is connected to every portion of the mobile phone through all kinds of interfaces and cables.
- the processor 180 executes various functions and processes data of the terminal 1200 to monitor the mobile phone through running or executing the software programs and/or modules stored in the storage 120 , or through invoking data stored in the storage 120 .
- the processor 180 may include one processing core or more processing cores.
- an application processor and a modem processor can be integrated into the processor 180 .
- the application processor mainly processes the operation system, the user interface, application programs, and so on.
- the modem processor mainly processes the wireless communication. It can be understood that, the modem processor may not be integrated into the processor 180 .
- the terminal 1200 further includes a power supply 190 such as a battery for powering other elements of the terminal 1200 .
- the power supply 1900 is connected to the processor 180 through a power management system.
- the power management system is used to charge or discharge the power supply 190 , and manages the power of the power supply 190 , and so on.
- the power supply 190 may includes any combination of one or more than one direct current (DC) power or alternative current (AC) power, rechargeable battery system, fault detection circuit, converter, or inverter, power state indicator.
- the terminal 1200 further may include a camera, a Bluetooth module, and so on.
- the camera and the Bluetooth module are not shown.
- the embodiment provides the terminal 1200 .
- the terminal 1200 can adjust the color matching of the page elements of the web page through embedding the predetermined code with a function of changing the color of the page element into the codes of the web page, after downloading the codes of the web page visited by the user.
- the color matching of the page element is adjusted to be a new color matching with a low contrast, which is suitable for browsing under the weak light.
- the terminal solves the problem at business layer, thus makes architecture of the browser clearer. Therefore, it is easier to maintain the browser.
- the embodiment provides a computer readable storage medium.
- the computer readable storage medium may be the computer readable storage medium of the storage in the above-mentioned embodiments.
- the computer readable storage medium may be an independent element which is assembled in the computer readable storage medium of the terminal.
- the computer readable storage medium stores one or more than one programs, which are executed by the one or more than one processors to realize a method for safety protection. The method includes the following steps.
- the web page with the predetermined contrast is suitable for being browsed under the weak light.
- the method before embedding a predetermined code into the codes of the web page, the method further includes:
- the step of embedding a predetermined code into the codes of the web page includes:
- the step of executing the predetermined code to change the colors of the page elements of the web page includes:
- the step of resetting the color attributes of the page elements of the web page includes the following steps.
- the embodiment provides a computer readable storage medium.
- the computer readable storage medium can adjust the color matching of the page elements of the web page through embedding the predetermined code with a function of changing the color of the page element into the codes of the web page, after downloading the codes of the web page visited by the user.
- the color matching of the page element is adjusted to be a new color matching with a low contrast, which is suitable for being browsed under the weak light.
- the computer readable storage medium solves the problem at business layer, thus makes architecture of the browser clearer. Therefore, it is easier to maintain the browser.
- the program may be stored in a computer readable storage medium. When executed, the program may execute processes in the above-mentioned embodiments of methods.
- the storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), et al.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A method and device for browsing web under weak light with a mobile terminal browser are disclosed by the present invention, which belongs to the field of computer. The method includes: receiving a web uniform resource locator (URL) input by a user, downloading a code of the said web based on said URL; embedding a preset code with a function of changing the color of the page element of the web into the codes of the web page; and executing the preset code to change the color of the page element of the web, thus causing the color contrast of the page element of the web reaching a preset contrast for browsing under the weak light source.
Description
- The present application is a Continuation application of PCT Patent Application No. PCT/CN2013/076915, filed on Jun. 7, 2013, which claims the benefit of priority to Chinese Patent Application NO. 201210194386.5 filed in the Chinese Patent Office on Jun. 13, 2012 and entitled “METHOD AND DEVICE FOR BROWSING WEB UNDER WEAK LIGHT WITH MOBILE TERMINAL BROWSER”, the contents of which are hereby incorporated by reference in their entireties for all purposes.
- The disclosure relates to a field of computer technologies, and particularly to a method and device for browsing web under weak light with a mobile terminal browser.
- With the development of network, demand for browsing web pages is growing. Browsers are installed in all kinds of mobile terminals. With the development of the browsers installed in the mobile terminals, more and more functions of the browsers are humanizing to meet various demands of users. For example, one of the functions of the browsers is a night browsing mode, which enables the users to browse the web user-friendly under weak light with the browser.
- Generally, color contrast between page elements of the web page need to be improved to make the users watch contents of the web page clearer. However, in the night or in low light, a screen of the mobile terminal with the higher color contrast is dazzling. Therefore, a browser with the night browsing mode is created. The browser has a function of browsing the web under the weak light. At the night browsing mode, the color contrast between the page elements can be decreased, to avoid the screen of the mobile terminal with the night browsing mode dazzling.
- In the existing browsers, in order to browse the web under the weak light with the browser, codes are applied to change underlying codes of the browser. That is, a fixed color value is written into the underlying codes of the browser, to change the color contrast between the page elements. However, this way of changing the underlying codes of the browser to realize browsing the web under the weak light may make the logic of kernel-level codes of the browser more complicated, so that the kernel-level codes cannot be maintained.
- In order to solve questions of existing technology, exemplary embodiments of the present invention provide a method and device for browsing web under weak light with mobile terminal browser. Technical solutions are follows.
- One embodiment of the present invention provides a method for browsing the web under weak light with a mobile terminal browser. The method includes:
- receiving a uniform resource locator (URL), input by a user, of a web page, and downloading codes of the web page according to the URL;
- embedding a predetermined code into the codes of the web page, wherein the predetermined code has a function of changing colors of page elements of the web page;
- executing the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
- Further, before embedding a predetermined code into the codes of the web page, the method further includes:
- rendering the web page in a page display area of the browser according to the codes of the web page.
- Further, the step of embedding a predetermined code into the codes of the web page includes:
- determining whether a notification indicating that the web page has been rendered is received; and
- triggering to execute the operation of the predetermined code if a notification indicating that the web page has been rendered is received.
- Further, the step of executing the predetermined code to change the colors of the page elements of the web page includes:
- obtaining the color attributes of the page elements of the web page one by one, and resetting the color attributes of the page elements of the web page until the all page elements of the web page are been reset.
- Further, the step of resetting the color attributes of the page elements of the web page includes:
- obtaining foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080; and
- obtaining background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080.
- Another embodiment of the present invention provides device for browsing the web under weak light with a mobile terminal browser, comprising:
- a downloading module configured to receive a uniform resource locator (URL), input by a user, of a web page, and download codes of the web page according to the URL;
- an embedding module configured to embed a predetermined code into the codes of the web page, wherein the predetermined code has a function of changing colors of page elements of the web page; and
- a changing module configured to execute the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
- Further, the device further includes:
- a rendering module configured to render the web page in a page display area of the browser according to the codes of the web page before the embedding module embeds the predetermined code into the codes of the web page.
- Further, the embedding module includes:
- a determination unit configured to determine whether a notification indicating that the web page has been rendered is received; and
- a triggering unit configured to trigger to execute the predetermined code when the determination unit determines that the web page has been rendered is received.
- Further, the changing module is further configured to obtain the original color attributes of the page elements of the web page one by one, and reset the original color attributes of the page elements of the web page until the original color attributes of the all page elements of the web page are reset.
- Further, the changing module further comprises:
- an obtaining unit configured to obtain the color attributes of the page elements of the web page one by one;
- a first changing unit configured to obtain the foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080; and
- a second changing unit configured to obtain the background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080.
- Yet another embodiment of the present invention provides a terminal. The terminal includes:
- a storage;
- one or more programs stored in the storage for execution by one or more processors, the one or more programs comprising instructions for:
- receiving a uniform resource locator (URL), input by a user, of a web page, and downloading codes of the web page according to the URL;
- embedding a predetermined code into the codes of the web page, wherein the predetermined code has a function of changing colors of page elements of the web page;
- executing the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
- Further, before embedding a predetermined code into the codes of the web page, the method further includes:
- rendering the web page in a page display area of the browser according to the codes of the web page.
- Further, the step of embedding a predetermined code into the codes of the web page includes:
- determining whether a notification indicating that the web page has been rendered is received; and
- triggering to execute the operation of the predetermined code if a notification indicating that the web page has been rendered is received.
- Further, the step of executing the predetermined code to change the colors of the page elements of the web page includes:
- obtaining the color attributes of the page elements of the web page one by one, and resetting the color attributes of the page elements of the web page until the all page elements of the web page are been reset.
- Further, the step of resetting the color attributes of the page elements of the web page includes:
- obtaining foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080; and
- obtaining background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080.
- Yet another embodiment of the present invention provides a non-transitory computer readable storage medium, storing one or more programs for execution by one or more processors of a computer having a display, the one or more programs comprising instructions for:
- receiving a uniform resource locator (URL), input by a user, of a web page, and downloading codes of the web page according to the URL;
- embedding a predetermined code into the codes of the web page, wherein the predetermined code has a function of changing colors of page elements of the web page;
- executing the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
- Further, before embedding a predetermined code into the codes of the web page, the method further includes:
- rendering the web page in a page display area of the browser according to the codes of the web page.
- Further, the step of embedding a predetermined code into the codes of the web page includes:
- determining whether a notification indicating that the web page has been rendered is received; and
- triggering to execute the operation of the predetermined code if a notification indicating that the web page has been rendered is received.
- Further, the step of executing the predetermined code to change the colors of the page elements of the web page includes:
- obtaining the color attributes of the page elements of the web page one by one, and resetting the color attributes of the page elements of the web page until the all page elements of the web page are been reset.
- Further, the step of resetting the color attributes of the page elements of the web page includes:
- obtaining foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080; and obtaining background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080.
- The Technical solutions provided by the above-mentioned embodiments brings the following beneficial effects: the color matching of the page elements of the web page can be adjusted through embedding the predetermined code with a function of changing the color of the page element into the codes of the web page, after downloading the codes of the web page visited by the user. The color matching of the page element is adjusted to be a new color matching with a low contrast, which is suitable for being browsed under the weak light. The method solves the problem at business layer, thus makes architecture of the browser clearer. Therefore, it is easier to maintain the browser.
- In order to illustrate the embodiments or existing technical solutions more clearly, a brief description of drawings that assist the description of embodiments of the invention or existing art will be provided below. It would be apparent that the drawings in the following description are only for some of the embodiments of the invention. A person having ordinary skills in the art will be able to obtain other drawings on the basis of these drawings without paying any creative work.
-
FIG. 1 is a flowchart of a method for browsing the web page under weak light with a mobile terminal browser according to a first embodiment one of the present invention; -
FIG. 2 is a flowchart of a method for browsing the web page under weak light with a mobile terminal browser according to a second embodiment of the present invention; -
FIG. 3 is a first structural diagram of a device for browsing the web page under weak light with a mobile terminal browser according to a third embodiment of the present invention; -
FIG. 4 is a second structural diagram of a device for browsing the web page under weak light with a mobile terminal browser according to the third embodiment of the present invention; -
FIG. 5 is a structural diagram of an embedding module of the device for browsing the web page under weak light with a mobile terminal browser according to the third embodiment of the present invention; -
FIG. 6 is a structural diagram of a changing module of the device for browsing the web page under weak light with a mobile terminal browser according to the third embodiment of the present invention; -
FIG. 7 is a first structural diagram of a terminal according to a fourth embodiment of the present invention; -
FIG. 8 is a second structural diagram of a terminal according to the fourth embodiment of the present invention. - The present invention is herein after described further in detail with reference to the accompanying drawings so as to make the objective, technical solution, and merits of exemplary embodiments more apparent. The term “exemplary” used throughout this description means “serving as an example, instance, or illustration,” and should not necessarily be construed as preferred or advantageous over other exemplary embodiments. It would be apparent that a person having ordinary skills in the art may obtain other embodiments based on the illustrated exemplary embodiments of the invention without paying any creative work, and these embodiments should also be within the protection scope sought by the present invention.
- Referring to
FIG. 1 , the embodiment provides a method for browsing the web under weak light with a mobile terminal browser. The method at least includes the following steps. - Step 101, receiving a uniform resource locator (URL), input by a user, of a web page, and downloading codes of the web page according to the URL.
- Step 102, embedding a predetermined code into the codes of the web page.
- Specifically, the predetermined code has a function of changing colors of page elements of the web page.
-
Step 103, executing the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page equate a predetermined contrast. The web page with the predetermined contrast is suitable for being browsed under the weak light. - The embodiment provides the method for browsing the web under the weak light with the mobile terminal browser. The method can adjust the color matching of the page elements of the web page through embedding the predetermined code with a function of changing the colors of the page elements into the codes of the web page, after downloading the codes of the web page visited by the user. The color matching of the page elements is adjusted to be a new color matching with a low contrast, which is suitable for browsing the web page under the weak light. The method solves the problem at business layer, thus making architecture of the browser clearer. Therefore, it is easier to maintain the browser.
- The embodiment provides a method for browsing the web under the weak light with the mobile terminal browser. The method can be applied to the browser of the mobile terminal, to enable the browser to support a function of browsing the web under the weak light.
- Referring to
FIG. 2 , under a condition of starting the function of browsing the web under the weak light of the browser by the user, the method includes the following steps. -
Step 201, receiving the web URL input by the user. - Specifically, the browser resolves a domain name according to the web URL, and initiates a request to a server corresponding to the web URL to get codes of the web page.
- Step 202, downloading the codes of the web page according to the web URL.
- Specifically, the codes of the web page may be defined as hypertext markup language (HTML) codes. The HTML codes indicate attributes of the all page elements of the web page. The attribute of each page element may include a location, a color, and a detail content of each page element.
- Specifically, the codes of the web page further include javascript codes, cascading style sheet (CSS) codes, image links, and so on.
-
Step 203, rendering the web page in a page display area of the browser according to the codes of the web page. - Further, the step of rendering the web in a page display area of the browser according to the codes of the web page may be defined as:
- the browser parses the codes of the web page to get a document object model (DOM) tree, and a web is consist of the page elements of the web page rendered in the display area of the browser according to the DOM tree.
- Specifically, the attribute of each page element is stored in the DOM tree.
-
Step 204, determining whether a notification indicating that the web page has been rendered is received, if the notification is received, thestep 205 is preformed. If the notification fails to be received, thestep 204 is still preformed. - It should be noted that when the web page has been rendered in the display area of the browser, the notification is fed back to the browser. In the embodiment, the notification is monitored and the notification is defined as a triggering incident that the predetermined code is embedded into the codes of the web page.
-
Step 205, embedding the predetermined code into the codes of the web page. - Specifically, the predetermined code has a function of changing the color of the page elements of the web page. After receiving the notification indicating that the web page has been rendered, an address of the web page being accessed is pointed to an address of the predetermined code, to change the codes of the colors of the page elements of the web page through executing the predetermined code.
-
Step 206, changing the colors of the page elements of the web page through executing the predetermined code. - Specifically, the step of changing the colors of the page elements of the web page through executing the predetermined code may be defined as:
- obtaining the color attributes of the page elements of the web page one by one, and resetting the color attributes of the page elements of the web page until the all page elements of the web page are been reset.
- Further, resetting the color attributes of the page elements may include the following steps.
- Obtaining foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080.
- Obtaining background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080.
- Through above-mentioned changing the color attributes of the page elements of the web page, the color contrast between the page elements of the web page may be equal to the predetermined contrast, to be suitable for browsing the web page in the night.
- Further, in the JavaScript, a value from the value 0xFFFFFF to the value 0x808080 denotes white with brightness. From the value 0xFFFFFF to the value 0x808080, the brightness of the white is decreasing. A value from the value 0x000000 to the value 0x808080 denotes black with brightness. From the value 0x000000 to the value 0x808080, the brightness of the black is increasing.
- For the description, the embodiment provides the following JavaScript codes used to be as the codes with the function of changing the color of the page element of the web page to illustrate:
- for (i=0; i<document.all.length; i++);
- {
-
- document.all[i].style.color=“#808080”;
- document.all[i].style.bgcolor=“#000000”;
- document.all[i].style.backgroundColor=“#000000”;
- }
- In the above-mentioned codes, i denotes that the ith page element of the all page elements of the current web page; document.all.length denotes that the number of the all page elements of the current web page; document.all[i].style.color denotes that the foreground color attribute of the ith page element; each of document.all[i].style.bgcolor and document.all[i].style.backgroundColor denotes the background color of the ith page element. The style.bgcolor is used to set the background color of the P element, such as the background color of a word paragraph. The style.backgroundColor is used to set a background color of a button, and an edit box of the web page.
- In the specific embodiment, by way of loop through, the color values of the background color attribute and the foreground color attribute of each page element of the web page are adjusted.
- In the embodiment, the document.all[i].style.color can be set as “#808080”, that is, the foreground color of the words is the white with the 50% brightness. The document.all[i].style.bgcolor and the document.all[i]styple.backgroundColor both are set as “#000000”, that is, the background of the current web page is black, the words of the current web page is white, to facilitate the users to browse the current web page in the night.
- Further, after executing the above-mentioned codes, the color attributes of the page elements corresponding to the DOM tree got by parsing the HTML code are changed. The changed color attributes are recoded in the DOM tree to replace the original color attributes of the page elements to form a new DOM tree. The browser refreshes the current web according to the new DOM tree, that is, the browser renders the web page again according to the new DOM tree, to form a new web page with the changed color attributes, and display the new web page.
- It should be noted that the time from rendering the web in the page display area of the browser according to the codes of the web page of the
step 203 to refresh the current web page is too short, so that the user cannot find it. - The embodiment provides the method for browsing the web under the weak light with the mobile terminal browser. The method can adjust the color matching of the page elements of the web page through embedding the predetermined code with a function of changing the colors of the page elements into the codes of the web page, after downloading the codes of the web page visited by the user. The color matching of the page elements is adjusted to be a new color matching with a low contrast, which is suitable for browsing the web page under the weak light. The method solves the problem at business layer, thus making architecture of the browser clearer. Therefore, it is easier to maintain the browser.
- Referring to
FIG. 3 , the embodiment provides a device for browsing the web under weak light with a mobile terminal browser. The device includes adownloading module 301, an embeddingmodule 302, and a changingmodule 303. - The
downloading module 301 is used to receive a uniform resource locator (URL), input by a user, of a web page, and download codes of the web page according to the URL. - The embedding
module 302 is used to embed a predetermined code into the codes of the web page. The predetermined code has a function of changing colors of page elements of the web page. - The changing
module 303 is used to execute the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page equate a predetermined contrast. The web page with the predetermined contrast is suitable for being browsed under the weak light. - Further, referring to
FIG. 4 , the device further includes arendering module 304. - The
rendering module 304 is used to render the web page in a page display area of the browser according to the codes of the web page before the embeddingmodule 302 embeds the predetermined code into the codes of the web page. - Further, referring to
FIG. 5 , the embeddingmodule 302 includes adetermination unit 3021 and a triggeringunit 3022. - The
determination unit 3021 is used to determine whether a notification indicating that the web page has been rendered is received. - The triggering
unit 3022 is used to trigger to execute the predetermined code when thedetermination unit 3021 determines that the web page has been rendered is received. - Further, the changing
module 303 is used to obtain the original color attributes of the page elements of the web page one by one, and resets the original color attributes of the page elements of the web page until the original color attributes of the all page elements of the web page are reset. - Further, referring to
FIG. 6 , the changingmodule 303 includes an obtainingunit 3031, a first changingunit 3032, and a second changingunit 3033. - The obtaining
unit 3031 is used to obtain the color attributes of the page elements of the web page one by one. - The first changing
unit 3032 is used to obtain the foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080. - The
second changing unit 3033 is used to obtain the background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080. - The embodiment provides the device for browsing the web under the weak light with the mobile terminal browser. The device can adjust the color matching of the page elements of the web page through embedding the predetermined code with a function of changing the colors of the page elements into the codes of the web page, after downloading the codes of the web page visited by the user. The color matching of the page elements is adjusted to be a new color matching with a low contrast, which is suitable for browsing the web page under the weak light. The method solves the problem at business layer, thus making architecture of the browser clearer. Therefore, it is easier to maintain the browser.
- It should be noted that when the device provided in the above-mentioned embodiments browses the web page under the weak light with the mobile terminal browser, the above-mentioned function modules and units are taken as an example to illustrate. In practice, the above-mentioned functions can be assigned to the different function modules or units to execute. That is, the structure of the device is divided into different function modules, to realize all or parts of the above-mentioned functions. In addition, the above-mentioned method for browsing the web under the weak light with the mobile terminal browser and the device for browsing the web under the weak light with the mobile terminal browser belongs to the same conception.
- Referring to
FIG. 7 , the embodiment provides a terminal 1200. The terminal 1200 may include astorage 1201 and at least oneprocessor 1202. Thestorage 1201 stores software programs and modules (such as the instructions and modules corresponding to the browser in the embodiment), and data which is generated during the process of browsing the web page under the weak light by the mobile terminal browser. Theprocessor 1202 can execute varieties of function applications and process data by running the software programs and modules stored in thestorage 1201, which realizes the function of safety protection. - Specifically, the
processor 1202 is configured to execute the following operations for browsing the web under weak light with a mobile terminal browser: - receiving a uniform resource locator (URL), input by a user, of a web page, and downloading codes of the web page according to the URL.
- embedding a predetermined code into the codes of the web page, the predetermined code has a function of changing colors of page elements of the web page.
- executing the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page equate a predetermined contrast. The web page with the predetermined contrast is suitable for being browsed under the weak light.
- Specifically, before the step of embedding a predetermined code into the codes of the web page, the method further includes:
- rendering the web page in a page display area of the browser according to the codes of the web page.
- Specifically, the step of embedding a predetermined code into the codes of the web page includes:
- determining whether a notification indicating that the web page has been rendered is received; if the notification is received, trigging to execute the predetermined code.
- Specifically, the step of executing the predetermined code to change the colors of the page elements of the web page includes:
- obtaining the original color attributes of the page elements of the web page one by one; and resetting the original color attributes of the page elements of the web page until the original color attributes of the all page elements of the web page are reset.
- Specifically, the step of resetting the original color attributes of the page elements of the web page includes:
- obtaining the foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080;
- obtaining the background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080.
- Preferably, referring to
FIG. 8 , the terminal 1200 further includes: a radio frequency (RF)circuit 110, one or more than onestorage 120 with computer readable storage medium, aninput unit 130, adisplay unit 140, asensor 150, anaudio circuit 160, atransmission module 170, one or more than oneprocessors 180, and apower supply 190. - Person having ordinary skill in the art can understand that the structure of the terminal shown in the
FIG. 7 cannot limit the terminal. That is, the terminal may includes more than or less than the elements shown in theFIG. 7 , or combinations of the elements shown in theFIG. 7 . The terminal may have other element arrangement which is different from the element arrangement shown in theFIG. 7 . - The
RF circuit 110 is used to receive and send information, or receive and send signals during a communication. Specially, theRF circuit 110 receives downlink information from a base station, and then sends the downlink information to one or more than oneprocessor 180 to be processed. In addition, theRF circuit 110 also sends uplink data corresponding to the downlink information to the base station. Generally, theRF circuit 110 includes but is not limited to: an antenna, at least one amplifier, a tuner, one or more than one oscillator, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA), and a duplexer. In addition, the RF circuit 100 may conduct wireless communication with network and other devices. The wireless communication may use any communication standard or communication protocol, which includes but is not limited to a global system of mobile communication (GSM), a general packet radio service (GPRS), a code division multiple access (CDMA), a wideband code division multiple access (WCDMA), long term evolution (LTE), an email, a short messaging service (SMS). - The
storage 120 may be used to store software programs and modules, such as the program instructions and modules corresponding to the browser of the above-mentioned embodiments, and store data generated during a process of the mobile terminal browser browsing the web page under the weak light in the embodiment. Theprocessor 180 can run the software programs and the modules stored in thestorage 120 to execute the corresponding function applications and process the corresponding data, thus realizing the function of browsing the web page under the weak light with the mobile terminal browser. Thestorage 120 may mainly include a program storage area and a data storage area. The program storage area can store an operation system, at least one application program corresponding to one function (such as, a sound play function, an image play function, and so on). The data storage area can store data (such as audio data, phone book, and so on) created by the use of theterminal 1200. In addition, thestorage 120 may include a high-speed random access memory and a nonvolatile memory, such as at least one disk storage device, flash memory device, or other volatile solid state memory device. Correspondingly, thestorage 120 may further include a controller, to control theprocessor 180 and theinput unit 130 to access thestorage 120. - The
input unit 130 may be used to receive input number or character information, and also used to be as a keyboard, a mouse, an operation rob, an optical input device or a trackball signal input device to conduct the user setup or function control. In detail, theinput terminal 130 may include a touchsensitive surface 131 and aninput device 132. The touchsensitive surface 131 may be defined as a touch screen panel or a touchpad, which is used to receive an instruction generated by a touch operation on or around the touchsensitive surface 131, and drives a connection device corresponding to the instruction according to a predetermined program. The touch operation may be an operation of an object (such as a figure or a stylus) moving on or around the touchsensitive surface 131. Preferably, the touchsensitive surface 131 may include a touch detection device and a touch controller. The touch detection device detects a location of the user touching the touchsensitive surface 131, and detects a signal generated by touch operation, and transmits the signal to the touch controller. The touch controller receives the signal from the touch detection device, and converts the signal into a coordinate, and transmits the coordinate to theprocessor 180. The touch controller can receive an instruction from theprocessor 180 and execute the instruction. In addition, the touchsensitive surface 131 may be a resistive touch screen panel or touchpad, a capacitive touch screen panel or touchpad, an infrared touch screen panel or touchpad, a surface acoustic wave touch screen panel or touchpad, or other types touch screen panels or touch pads. Theinput unit 130 further includesother input devices 132. Theother input devices 132 may include but not be limited to one or more of a physical keyboard, function keys (such as a volume key for controlling the volume of the terminal, a switch key, and so on), a trackball, a mouse, an operation rob, and so on. - The
display unit 140 may be used to display information input by the user or supplied to the user, and display all kinds of graphical user interfaces (GUIs) of theterminal 1200. The GUIs may consist of graphs, texts, icons, videos, and any combination of the graphs, the texts, the icons, and the videos. Thedisplay unit 140 may include adisplay panel 141. Thedisplay panel 141 may be the liquid crystal display (LCD) panel or the organic light-emitting diode panel. Further, the touchsensitive surface 131 can cover thedisplay panel 141. When the touchsensitive surface 131 detects the touch operation on or around the touchsensitive surface 131, the touchsensitive surface 131 transmits the instruction corresponding to the touch operation to theprocessor 180, to make theprocessor 180 determine a type of the touch operation. After theprocessor 180 determines the type of the touch operation, theprocessor 180 displays the determined type of the touch operation on thedisplay panel 141. Although the touchsensitive surface 131 and thedisplay panel 141 are two independent elements to respectively realize the input function and the output function inFIG. 8 , in some embodiments, the touchsensitive surface 131 is integrated with thedisplay panel 141 to realize the input function and the output function. - The terminal 1200 further may include at least one
sensor 150, such as a light sensor, a motion sensor, and other sensors. In detail, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of thedisplay panel 141 according to the ambient light. The proximity sensor can turn off thedisplay panel 141 and/or backlight when the terminal 1200 moves to the ear of the user. As one of the motion sensors, a gravity sensor can detect accelerations from every direction (generally the directions of three axles), and detect the gravity and a direction of the gravity. The gravity sensor also can determine special applications of a mobile phone (such as a switch from a landscape mode of the mobile phone to a portrait mode, games related to the pose of the mobile phone, a magnetometer pose calibration), and detects functions related to vibration (such as pedometer, knock). The terminal 1200 also has a gyroscope, a barometer, a hygrometer, a hygrometer, a thermometer, an infrared sensor, and so on. - Each of an
audio circuit 160, aloudspeaker 161, and amicrophone 162 has an audio interface to be supplied for the user. Theaudio circuit 160 may receive audio data and converts the audio data into an electrical signal, and transmit the electrical signal to theloudspeaker 160. Theloudspeaker 160 converts the electrical signal into a sound signal, and outputs the sound signal. In addition, theloudspeaker 162 can receive a sound signal, converts the sound signal into an electrical signal, and outputs the electrical signal to theaudio circuit 160. Theaudio circuit 160 receives the electrical signal, converts the electrical signal into an audio signal, and outputs the audio signal to theprocessor 180. Theprocessor 180 processes the audio signal and outputs the processed audio signal to another terminal byRF circuit 110, or stores the processed audio signal in thestorage 120. Theaudio circuit 160 may include a headphone jack, to connect to an external headphone to make the external headphone communicate with theterminal 1200. - The WIFI belongs to a short-range wireless communication technology. The terminal 1200 can help the user to receive or send email, browse the web pages and access to the streaming media through an input/output interface of the WIFI module. The terminal 1200 provides the wireless network to make the user can access the internet. Although there is the
WIFI module 170 inFIG. 8 , it can be understood that the terminal 1200 may not include theWIFI module 170. That is, theWIFI module 170 of the terminal 1200 can be omitted according to need. - The
processor 180 is a control center of the terminal 1200, and is connected to every portion of the mobile phone through all kinds of interfaces and cables. Theprocessor 180 executes various functions and processes data of the terminal 1200 to monitor the mobile phone through running or executing the software programs and/or modules stored in thestorage 120, or through invoking data stored in thestorage 120. Theprocessor 180 may include one processing core or more processing cores. Preferably, an application processor and a modem processor can be integrated into theprocessor 180. The application processor mainly processes the operation system, the user interface, application programs, and so on. The modem processor mainly processes the wireless communication. It can be understood that, the modem processor may not be integrated into theprocessor 180. - The terminal 1200 further includes a
power supply 190 such as a battery for powering other elements of theterminal 1200. Preferably, the power supply 1900 is connected to theprocessor 180 through a power management system. The power management system is used to charge or discharge thepower supply 190, and manages the power of thepower supply 190, and so on. Thepower supply 190 may includes any combination of one or more than one direct current (DC) power or alternative current (AC) power, rechargeable battery system, fault detection circuit, converter, or inverter, power state indicator. - The terminal 1200 further may include a camera, a Bluetooth module, and so on. The camera and the Bluetooth module are not shown.
- The embodiment provides the terminal 1200. The terminal 1200 can adjust the color matching of the page elements of the web page through embedding the predetermined code with a function of changing the color of the page element into the codes of the web page, after downloading the codes of the web page visited by the user. The color matching of the page element is adjusted to be a new color matching with a low contrast, which is suitable for browsing under the weak light. The terminal solves the problem at business layer, thus makes architecture of the browser clearer. Therefore, it is easier to maintain the browser.
- The embodiment provides a computer readable storage medium. The computer readable storage medium may be the computer readable storage medium of the storage in the above-mentioned embodiments. The computer readable storage medium may be an independent element which is assembled in the computer readable storage medium of the terminal. The computer readable storage medium stores one or more than one programs, which are executed by the one or more than one processors to realize a method for safety protection. The method includes the following steps.
- Receiving a uniform resource locator (URL), input by a user, of a web page, and downloading codes of the web page according to the URL.
- Embedding a predetermined code into the codes of the web page, wherein the predetermined code has a function of changing colors of page elements of the web page.
- Executing the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be about equal to a predetermined contrast. The web page with the predetermined contrast is suitable for being browsed under the weak light.
- Specifically, before embedding a predetermined code into the codes of the web page, the method further includes:
- rendering the web page in a page display area of the browser according to the codes of the web page.
- Specifically, the step of embedding a predetermined code into the codes of the web page includes:
- determining whether a notification indicating that the web page has been rendered is received.
- If a notification indicating that the web page has been rendered is received, triggering to execute the operation of the predetermined code.
- Specifically, the step of executing the predetermined code to change the colors of the page elements of the web page includes:
- obtaining the color attributes of the page elements of the web page one by one, and resetting the color attributes of the page elements of the web page until the all page elements of the web page are been reset.
- Specifically, the step of resetting the color attributes of the page elements of the web page includes the following steps.
- Obtaining foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080.
- Obtaining background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080.
- The embodiment provides a computer readable storage medium. The computer readable storage medium can adjust the color matching of the page elements of the web page through embedding the predetermined code with a function of changing the color of the page element into the codes of the web page, after downloading the codes of the web page visited by the user. The color matching of the page element is adjusted to be a new color matching with a low contrast, which is suitable for being browsed under the weak light. The computer readable storage medium solves the problem at business layer, thus makes architecture of the browser clearer. Therefore, it is easier to maintain the browser.
- The sequence number of the embodiments is only used to illustrate, not represents merits of the embodiments.
- A person having ordinary skills in the art can realize that part or whole of the processes in the methods according to the above embodiments may be implemented by a computer program instructing relevant hardware. The program may be stored in a computer readable storage medium. When executed, the program may execute processes in the above-mentioned embodiments of methods. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), et al.
- The foregoing descriptions are merely exemplary embodiments of the present invention, but not intended to limit the protection scope of the present invention. Any variation or replacement made by persons of ordinary skills in the art without departing from the spirit of the present invention shall fall within the protection scope of the present invention.
Claims (15)
1. A method for browsing the web under weak light with a mobile terminal browser, comprising:
receiving a uniform resource locator (URL), input by a user, of a web page, and downloading codes of the web page according to the URL;
embedding a predetermined code into the codes of the web page, wherein the predetermined code has a function of changing colors of page elements of the web page;
executing the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
2. The method as claimed in claim 1 , before embedding a predetermined code into the codes of the web page, the method further comprising:
rendering the web page in a page display area of the browser according to the codes of the web page.
3. The method as claimed in claim 2 , wherein the step of embedding a predetermined code into the codes of the web page comprises:
determining whether a notification indicating that the web page has been rendered is received; and
triggering to execute the operation of the predetermined code if a notification indicating that the web page has been rendered is received.
4. The method as claimed in claim 1 , wherein the step of executing the predetermined code to change the colors of the page elements of the web page comprises:
obtaining the color attributes of the page elements of the web page one by one, and resetting the color attributes of the page elements of the web page until the all page elements of the web page are been reset.
5. The method as claimed in claim 4 , wherein the step of resetting the color attributes of the page elements of the web page comprises:
obtaining foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080; and
obtaining background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080.
6. A device for browsing the web under weak light with a mobile terminal browser, comprising:
a downloading module configured to receive a uniform resource locator (URL), input by a user, of a web page, and download codes of the web page according to the URL;
an embedding module configured to embed a predetermined code into the codes of the web page, wherein the predetermined code has a function of changing colors of page elements of the web page; and
a changing module configured to execute the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
7. The device as claimed in claim 6 , further comprising:
a rendering module configured to render the web page in a page display area of the browser according to the codes of the web page before the embedding module embeds the predetermined code into the codes of the web page.
8. The device as claimed in claim 7 , wherein the embedding module comprises:
a determination unit configured to determine whether a notification indicating that the web page has been rendered is received; and
a triggering unit configured to trigger to execute the predetermined code when the determination unit determines that the web page has been rendered is received.
9. The device as claimed in claim 6 , wherein the changing module is further configured to obtain the original color attributes of the page elements of the web page one by one, and reset the original color attributes of the page elements of the web page until the original color attributes of the all page elements of the web page are reset.
10. The device as claimed in claim 9 , wherein the changing module further comprises:
an obtaining unit configured to obtain the color attributes of the page elements of the web page one by one;
a first changing unit configured to obtain the foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080; and
a second changing unit configured to obtain the background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080.
11. A terminal, comprising:
a storage;
one or more programs stored in the storage for execution by one or more processors, the one or more programs comprising instructions for:
receiving a uniform resource locator (URL), input by a user, of a web page, and downloading codes of the web page according to the URL;
embedding a predetermined code into the codes of the web page, wherein the predetermined code has a function of changing colors of page elements of the web page;
executing the predetermined code to change the colors of the page elements of the web page, to make color contrast between the page elements of the web page be equal to a predetermined contrast, wherein the web page with the predetermined contrast is suitable for being browsed under the weak light.
12. The terminal as claimed in claim 11 , before embedding a predetermined code into the codes of the web page, the terminal further comprising:
rendering the web page in a page display area of the browser according to the codes of the web page.
13. The terminal as claimed in claim 12 , wherein the step of embedding a predetermined code into the codes of the web page comprises:
determining whether a notification indicating that the web page has been rendered is received; and
triggering to execute the operation of the predetermined code if a notification indicating that the web page has been rendered is received.
14. The terminal as claimed in claim 11 , wherein the step of executing the predetermined code to change the colors of the page elements of the web page comprises:
obtaining the color attributes of the page elements of the web page one by one, and resetting the color attributes of the page elements of the web page until the all page elements of the web page are been reset.
15. The terminal as claimed in claim 14 , wherein the step of resetting the color attributes of the page elements of the web page comprises:
obtaining foreground color attributes of the page elements, and setting color values of the foreground color attributes between a value 0XFFFFFF and a value 0x808080; and
obtaining background color attributes of the page elements, and setting color values of the background color attributes between a value 0x000000 and a value 0x808080.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210194386.5 | 2012-06-13 | ||
CN201210194386.5A CN103488646B (en) | 2012-06-13 | 2012-06-13 | The method and device of webpage is browsed under a kind of browser of mobile terminal weak light source |
PCT/CN2013/076915 WO2013185565A1 (en) | 2012-06-13 | 2013-06-07 | Method and device for browsing web under weak light with mobile terminal browser |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/076915 Continuation WO2013185565A1 (en) | 2012-06-13 | 2013-06-07 | Method and device for browsing web under weak light with mobile terminal browser |
Publications (1)
Publication Number | Publication Date |
---|---|
US20150091935A1 true US20150091935A1 (en) | 2015-04-02 |
Family
ID=49757516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/566,781 Abandoned US20150091935A1 (en) | 2012-06-13 | 2014-12-11 | Method and device for browsing web under weak light with mobile terminal browser |
Country Status (4)
Country | Link |
---|---|
US (1) | US20150091935A1 (en) |
CN (1) | CN103488646B (en) |
RU (1) | RU2597468C2 (en) |
WO (1) | WO2013185565A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10109079B2 (en) * | 2015-11-18 | 2018-10-23 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for processing tab in graphical interface |
WO2020018227A1 (en) * | 2018-07-20 | 2020-01-23 | Microsoft Technology Licensing, Llc | Providing a dark viewing mode while preserving formatting |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902713B (en) * | 2014-04-03 | 2017-01-25 | 上海交通大学 | Method and system for automatically adjusting browser color scheme of intelligent mobile terminal |
CN105094759B (en) * | 2014-04-29 | 2019-01-22 | 广州市动景计算机科技有限公司 | A kind of browse mode switching handling method and device |
CN104268152B (en) * | 2014-09-01 | 2018-07-10 | 可牛网络技术(北京)有限公司 | A kind of webpage exhibiting method and device |
CN106126725B (en) * | 2016-06-30 | 2022-10-11 | 北京小米移动软件有限公司 | Page display method and device |
CN108334379A (en) * | 2018-01-05 | 2018-07-27 | 北京明略软件系统有限公司 | A kind of implementation method and realization device of page expansion function |
CN108984632A (en) * | 2018-06-20 | 2018-12-11 | 联动优势电子商务有限公司 | A kind of webpage setting method and device |
EP3763129A4 (en) | 2018-07-12 | 2021-07-21 | Samsung Electronics Co., Ltd. | Method and apparatus for rendering contents for vision accessibility |
CN110162291B (en) * | 2019-05-31 | 2022-03-11 | 重庆城市职业学院 | Webpage design device |
CN116578798B (en) * | 2023-04-25 | 2024-04-12 | 之江实验室 | Page contrast automatic calibration optimization method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090305820A1 (en) * | 2007-09-18 | 2009-12-10 | Scott Denton | Golf gps device |
US20130088523A1 (en) * | 2011-10-11 | 2013-04-11 | Hon Hai Precision Industry Co., Ltd. | Electronic device with function of adjusting display brightness and method therefor |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020161803A1 (en) * | 2001-03-15 | 2002-10-31 | Imation Corp. | Web page color accuracy |
US20050097197A1 (en) * | 2003-10-07 | 2005-05-05 | International Business Machines Corporation | Web browser control for customer support |
KR20060082353A (en) * | 2005-01-12 | 2006-07-18 | 와이더댄 주식회사 | System and method for providing and handling executable web content |
CN100394428C (en) * | 2005-12-20 | 2008-06-11 | 北京亿中邮信息技术有限公司 | Method for personalized replacing webpage subject |
US20070156382A1 (en) * | 2005-12-29 | 2007-07-05 | Graham James L Ii | Systems and methods for designing experiments |
CN100562868C (en) * | 2007-12-12 | 2009-11-25 | 腾讯科技(深圳)有限公司 | Rainbow text implementation method and device |
CN101782913A (en) * | 2009-06-23 | 2010-07-21 | 北京搜狗科技发展有限公司 | Update notifying method and browser |
CN102004784A (en) * | 2010-11-25 | 2011-04-06 | 北京播思软件技术有限公司 | Electricity-saving method of handheld terminal browser |
-
2012
- 2012-06-13 CN CN201210194386.5A patent/CN103488646B/en active Active
-
2013
- 2013-06-07 RU RU2015100004/08A patent/RU2597468C2/en active
- 2013-06-07 WO PCT/CN2013/076915 patent/WO2013185565A1/en active Application Filing
-
2014
- 2014-12-11 US US14/566,781 patent/US20150091935A1/en not_active Abandoned
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090305820A1 (en) * | 2007-09-18 | 2009-12-10 | Scott Denton | Golf gps device |
US20130088523A1 (en) * | 2011-10-11 | 2013-04-11 | Hon Hai Precision Industry Co., Ltd. | Electronic device with function of adjusting display brightness and method therefor |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10109079B2 (en) * | 2015-11-18 | 2018-10-23 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for processing tab in graphical interface |
WO2020018227A1 (en) * | 2018-07-20 | 2020-01-23 | Microsoft Technology Licensing, Llc | Providing a dark viewing mode while preserving formatting |
US11107258B2 (en) | 2018-07-20 | 2021-08-31 | Microsoft Technology Licensing, Llc. | Providing a dark viewing mode while preserving formatting |
Also Published As
Publication number | Publication date |
---|---|
RU2015100004A (en) | 2016-08-10 |
RU2597468C2 (en) | 2016-09-10 |
WO2013185565A1 (en) | 2013-12-19 |
CN103488646A (en) | 2014-01-01 |
CN103488646B (en) | 2017-11-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150091935A1 (en) | Method and device for browsing web under weak light with mobile terminal browser | |
EP3848799A1 (en) | Application page presentation method and apparatus, storage medium, and electronic device | |
WO2019149207A1 (en) | Display method, device, storage medium and electronic equipment for application page | |
US20180255346A1 (en) | Bullet screen display method and apparatus | |
US10109079B2 (en) | Method and apparatus for processing tab in graphical interface | |
US9740671B2 (en) | Method and apparatus of generating a webpage from an original design file comprising layers | |
CN107247691B (en) | Text information display method and device, mobile terminal and storage medium | |
EP2882234B1 (en) | Method, apparatus, equipment and system for controlling turn-on and turn-off of wireless network | |
US20150301991A1 (en) | Webapp startup method and device | |
CN108287918B (en) | Music playing method and device based on application page, storage medium and electronic equipment | |
WO2015096747A1 (en) | Operation response method, client, browser and system | |
CN105320687A (en) | Webpage display method and device | |
US20160182485A1 (en) | Method and device for controlling web page to invoke system function, and storage medium thereof | |
CN103455571A (en) | Method and device for displaying picture in webpage, and terminal | |
WO2014173167A1 (en) | Method, apparatus and system for filtering data of web page | |
US20190213241A1 (en) | Web page display method and apparatus, mobile terminal, and storage medium | |
CN103513987A (en) | Rendering treatment method, device and terminal device for browser web page | |
US9582584B2 (en) | Method, apparatus and system for filtering data of web page | |
CN113613064B (en) | Video processing method, device, storage medium and terminal | |
WO2015003618A1 (en) | Method and apparatus for webpage browsing | |
WO2014169669A1 (en) | Method and apparatus for processing reading history | |
WO2015003636A1 (en) | Method and device for interception of page elements | |
CN113313804A (en) | Image rendering method and device, electronic equipment and storage medium | |
US10713414B2 (en) | Web page display method, terminal, and storage medium | |
CN104166646A (en) | Method and device for inputting uniform resource locator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, CHI Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:ZHANG, BAOHUA;REEL/FRAME:034476/0322 Effective date: 20141023 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |