CN104331403B - Dynamic message viewing method, device and system based on browser - Google Patents

Dynamic message viewing method, device and system based on browser Download PDF

Info

Publication number
CN104331403B
CN104331403B CN201310308860.7A CN201310308860A CN104331403B CN 104331403 B CN104331403 B CN 104331403B CN 201310308860 A CN201310308860 A CN 201310308860A CN 104331403 B CN104331403 B CN 104331403B
Authority
CN
China
Prior art keywords
mobile terminal
browser
dynamic message
identification information
interface module
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.)
Active
Application number
CN201310308860.7A
Other languages
Chinese (zh)
Other versions
CN104331403A (en
Inventor
周兰兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yayue Technology Co ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310308860.7A priority Critical patent/CN104331403B/en
Publication of CN104331403A publication Critical patent/CN104331403A/en
Application granted granted Critical
Publication of CN104331403B publication Critical patent/CN104331403B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/4061Push-to services, e.g. push-to-talk or push-to-video
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention is suitable for the field of browsers, and provides a dynamic message viewing method, a device and a system based on a browser, wherein the method comprises the following steps: a background server of the browser detects a set page and acquires a dynamic message of the set page; the background server of the browser sends the equipment identification information and the dynamic message to a transfer server; the transfer server pushes the dynamic message to a pushing interface module of the mobile terminal comprising the equipment identification information according to the received equipment identification information; and the pushing interface module of the mobile terminal receives the notice comprising the dynamic message and calls a browser of the mobile terminal to view the dynamic message. The embodiment of the invention can receive the notice of the dynamic message without operating a browser on the mobile terminal, thereby reducing the occupation of system resources of the mobile terminal and the power consumption of mobile terminal equipment and improving the endurance time of the equipment.

Description

Dynamic message viewing method, device and system based on browser
Technical Field
The invention belongs to the field of browsers, and particularly relates to a dynamic message viewing method, device and system based on a browser.
Background
With the development of network technology, a server and a user of the internet form a huge information resource, and the internet becomes a way for people to conveniently and quickly acquire information. The user can conveniently access the content data in the website server by using a browser in mobile terminal equipment such as a personal computer or a mobile phone, and the like, thereby bringing convenience to the user.
The existing method for viewing the web page dynamic message through the mobile terminal browser generally needs to operate a browser program on the mobile terminal, and obtains the dynamic message of the website through browser refreshing.
Disclosure of Invention
The embodiment of the invention aims to provide a dynamic message viewing method, a device and a system based on a browser, so as to solve the problems that the browser needs to be operated all the time to acquire a dynamic message, and the system resources of a mobile terminal and the electric quantity of mobile terminal equipment are consumed, and improve the endurance time of the mobile terminal.
The embodiment of the invention is realized in such a way that a dynamic message viewing method based on a browser comprises the following steps:
a background server of the browser detects a set page and acquires a dynamic message of the set page;
the background server of the browser sends the equipment identification information registered by the browser of the mobile terminal in the transfer server and the dynamic message to the transfer server;
the transfer server pushes the dynamic message to a pushing interface module of the mobile terminal comprising the equipment identification information according to the received equipment identification information;
and the pushing interface module of the mobile terminal receives the notice comprising the dynamic message and calls a browser of the mobile terminal to view the dynamic message.
Another object of an embodiment of the present invention is to provide a dynamic message viewing apparatus based on a browser, where the apparatus includes:
the acquisition unit is used for enabling a background server of the browser to detect the set page and acquire the dynamic message of the set page;
the first sending unit is used for enabling a background server of the browser to send the equipment identification information registered by the browser of the mobile terminal in the transfer server and the dynamic message to the transfer server;
a pushing unit, configured to enable the transit server to push the dynamic message to a pushing interface module of the mobile terminal that includes the device identification information according to the received device identification information;
and the receiving and calling unit is used for enabling a pushing interface module of the mobile terminal to receive the notice comprising the dynamic message and calling a browser of the mobile terminal to view the dynamic message.
Another object of an embodiment of the present invention is to provide a system including a dynamic message viewing method based on a browser, the system including a mobile terminal, a background server of the browser, and a relay server, the mobile terminal including the browser of the mobile terminal and a push interface module of the mobile terminal, wherein,
the browser of the mobile terminal is used for setting a page needing to acquire the dynamic message and accessing the page of the dynamic message according to the notification of the received dynamic message;
the background server of the browser is used for receiving equipment identification information registered by the browser of the mobile terminal in the transfer service, detecting the set page and acquiring a dynamic message of the set page;
the transfer server is used for receiving the equipment identification information and the dynamic message sent by the browser background and pushing the dynamic message to a pushing interface module of the mobile terminal comprising the equipment identification information;
and the pushing interface module of the mobile terminal receives the dynamic message and calls a browser of the mobile terminal to view the dynamic message.
In the embodiment of the invention, the browser background server detects the dynamic message of the set page, the detected dynamic message and the equipment identification information are sent to the transfer server, the transfer server pushes the message to the pushing interface module of the mobile terminal, and the browser of the mobile terminal is called to check the dynamic message. Compared with the existing mode of obtaining the page dynamic message by refreshing the page through the browser operated by the mobile terminal all the time, the embodiment of the invention can receive the notification of the dynamic message without operating the browser at the mobile terminal, thereby reducing the occupation of system resources of the mobile terminal and the power consumption of mobile terminal equipment and improving the endurance time of the equipment.
Drawings
Fig. 1 is a flowchart of an implementation of a viewing method for a dynamic browser-based message according to a first embodiment of the present invention;
fig. 2 is a flowchart of implementing a viewing method for dynamic messages based on a browser according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a viewing apparatus for browser-based dynamic messages according to a third embodiment of the present invention;
FIG. 4 is a diagram of a dynamic browser-based message viewing system according to a fourth embodiment of the present invention;
fig. 5 is a block diagram of a part of a structure of a mobile phone related to a terminal according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention can be used for the operating systems of the existing mobile terminals, such as a WINDOWS operating system, an android operating system and an apple operating system, and can provide accurate and timely pushing notification of the dynamic message for users by using the pushing interface service provided by the operating system of the mobile terminal, and the dynamic message is checked and accessed by the browser corresponding to the browser background server through a corresponding protocol.
In a specific operating system, a specific name of a relay server providing a Push service may be used for information interaction by a specific corresponding relay server of the operating system, for example, for a mobile phone of a windows operating system, where the name of the relay server is Microsoft Push Notification Services (MPNS), and a mobile phone of a windows phone8 (a mobile phone of a WIN8 operating system) is used as a device in the embodiment of the present invention for description. According to the same implementation method, for the mobile terminal of the Apple operating system, a server (APSN) for pushing notifications to the Apple is provided, and for the mobile phone of the Android operating system, information transmission from the Android Cloud Service to the Device is provided (C2 DM is provided). It can be understood by those skilled in the art that the transit server may be replaced correspondingly in different operating systems, and the dynamic message viewing method based on the browser according to the embodiment of the present invention may be implemented in different operating systems.
The first embodiment is as follows:
fig. 1 shows an implementation flow of a viewing method for a dynamic message based on a browser according to a first embodiment of the present invention, which is detailed as follows:
in step S101, the background server of the browser detects a set page, and obtains a dynamic message of the set page.
Specifically, the background server of the browser is a server located at a far end and corresponding to the browser of the mobile terminal. The background server of the browser can receive setting data sent by the browser of the mobile terminal, for example, data of a page set by the browser of the mobile terminal and needing to acquire dynamic information, including a resource address of the page and equipment identification information of the browser of the mobile terminal, or setting information of the background server of the browser itself, and sets a commonly used page needing to acquire dynamic information, for example, dynamic information of a certain news page, in the background server of the browser, so as to meet the requirements of general users. The device identification information of the browser of the mobile terminal may include identification information of a push interface module of the mobile terminal and browser identification information of the mobile terminal, and the device identification information may enable the transfer server to quickly find the mobile terminal, so that the notification is efficiently pushed to the mobile terminal, and the browser pointed to by the identification information of the browser of the mobile terminal views the page pointed to by the dynamic message.
The set page may also be set to a certain page of a certain section of a certain website under certain special circumstances, for example, the update information of the important news under the Tencent news section may be set as a required dynamic message, and of course, other dynamic messages specifically required by the user may also be used, for example, a new dynamic message required by the QQ space of the user, and the like, which is not limited specifically herein.
According to the page set by the browser background server, the browser background server timely and accurately acquires the dynamic message of the set page through real-time query, and the dynamic message acquiring process does not need any operation of the browser of the mobile terminal, so that the burden of the mobile terminal can be greatly reduced.
In step S102, the background server of the browser sends the device identification information registered by the browser of the mobile terminal in the transit server and the dynamic message to the transit server.
The transfer server corresponds to different specific devices according to an operating system of the mobile terminal, such as a mobile phone of a windows operating system, where the name of the transfer server is Microsoft push notification service (abbreviated as MPNS); for a mobile terminal of an Apple operating system, the server for pushing notifications to apples (hereinafter, referred to as APSN) is called an Apple Push Notification Service, and for a mobile phone of an Android operating system, the server is used for transmitting Android Cloud Service to device information (hereinafter, referred to as Android Cloud device Messaging, hereinafter, referred to as C2 DM).
The browser of the mobile terminal is a browser corresponding to the background server of the browser, and through information interaction between the browser of the mobile terminal and the background server of the browser, relevant information for acquiring the dynamic information of the browser, such as the page address of the dynamic information, the type of the dynamic information, and the like, can be set.
The device identification information is registration information obtained by the browser of the mobile terminal in the transfer server through the push interface module of the mobile terminal, and includes identification information of the push interface module of the mobile terminal and browser identification information of the mobile terminal, and the identification information of the browser of the mobile terminal may include a user of the browser and different browser types. Therefore, after the transfer server has the new dynamic message, the transfer server can search the pushing interface module of the mobile terminal according to the identification information of the pushing interface module of the mobile terminal, and check the dynamic message according to the browser identification information of the mobile terminal so as to distinguish the dynamic message from different browsers of different users.
Because the browser of the mobile terminal is not always in the running state, or even in the running state, the background server of the browser generally cannot directly send the dynamic message to the browser of the mobile terminal, although in the prior art, the browser can also stay in the page to obtain the dynamic message sent by the background server of the browser after sending the obtaining request, the technical problem of the invention is that the running of the browser wastes system resources and consumes electric energy of the mobile terminal.
In step S103, the transfer server pushes the dynamic message to a push interface module of the mobile terminal including the device identification information according to the received device identification information.
The transfer server can detect whether the mobile terminal corresponding to the equipment identification information can receive the information or not after receiving the equipment identification information and the dynamic information, temporarily stores the dynamic information when detecting that the mobile terminal cannot receive the notification, and sends the dynamic information to the mobile terminal when receiving the mobile terminal, so that the prompt effectiveness of pushing the dynamic information can be ensured, the information can be effectively prevented from being lost, and the safety of the mobile terminal is ensured.
The relay server pushes the dynamic message to a push interface module of the mobile terminal, and may find the push interface module of the mobile terminal to be pushed according to the device identification information, or may find a corresponding connection channel by the device identification information, for example, establishing a connection channel between the relay server identified by a Universal Resource Identifier (URI), and a browser of the mobile terminal, and searching the URI when pushing the dynamic message.
In step S104, the push interface module of the mobile terminal receives the notification including the dynamic message, and invokes a browser of the mobile terminal to view the dynamic message.
The push interface module of the mobile terminal receives the notification including the dynamic message, and the notification is received by the push interface module of the mobile terminal in the form of a Toast notification, a tile notification and a Raw notification.
The step of receiving the notification including the dynamic message by a push interface module of the mobile terminal, and invoking the browser to view the dynamic message may include:
a push interface module of the mobile terminal receives the notification including the dynamic message and detects whether a browser of the mobile terminal is operated;
if the browser of the mobile terminal is running, accessing a page including the dynamic message, to which the notification is directed, by the browser of the mobile terminal;
and if the browser of the mobile terminal is not operated, calling the browser of the mobile terminal to access the page which is pointed by the notification and comprises the dynamic message according to the received trigger instruction.
The embodiment of the invention detects the dynamic message of the set page through the browser background server, sends the detected dynamic message and the equipment identification information to the transfer server, pushes the message to the push interface module of the mobile terminal through the transfer server, and calls the browser of the mobile terminal to check the dynamic message. Compared with the existing mode of obtaining the page dynamic message by refreshing the page through the browser operated by the mobile terminal all the time, the embodiment of the invention can receive the notification of the dynamic message without operating the browser at the mobile terminal, thereby reducing the occupation of system resources of the mobile terminal and the power consumption of mobile terminal equipment and improving the endurance time of the equipment.
Example two:
fig. 2 is a flowchart of implementing dynamic message viewing based on a browser according to a second embodiment of the present invention, which is detailed as follows:
in step S201, the browser of the mobile terminal sends a request for acquiring the device identifier information to a push interface module of the mobile terminal.
In step S202, the push interface module of the mobile terminal registers with the transit server according to the request to obtain the identifier information of the device.
In step S203, the push interface module of the mobile terminal sends the identification information of the device to the browser backend server through the browser of the mobile terminal.
When the browser of the mobile terminal is installed for the first time, initialization of the mobile terminal needs to be completed, wherein one basic step is to make a registration request to the transit server, distribute device identification information to the transit server, and agree to receive push information.
The browser of the mobile terminal cannot directly communicate with the transfer server when being installed for the first time, registration information needs to be submitted to the transfer server through a pushing interface module of the mobile terminal, the registration information is sent to the browser of the mobile terminal after equipment identification information is obtained, the identification information of the equipment is sent to the browser background server through the browser of the mobile terminal, and the equipment identification information and the dynamic information are sent to the transfer server together when new dynamic information needs to be detected.
In step S204, the browser of the mobile terminal sends a time interval for pushing the dynamic message to the browser backend server.
Certainly, this is only a possible implementation manner, and the browser of the mobile terminal sends the time interval for pushing the dynamic message to the browser background server, so that the user of the mobile terminal can open the browser to send the setting information to the browser background server when the setting needs to be changed, and can receive the pushed new dynamic message in the closed state after the sending of the setting information is completed.
As another embodiment, the time interval for pushing the dynamic message may also be set in the background server of the browser itself under the condition that the time interval for pushing the dynamic message sent by the browser of the mobile terminal is not received, and since the time interval is generally fixed, the time interval may be directly set in the background server of the browser. The pushing time interval of the dynamic messages of the setting sent by the browser can be further included to meet the special requirements of some users, and the flexibility is higher.
In step S205, the background server of the browser obtains a dynamic message once in each time interval of pushing the dynamic message; or, the background server of the browser sends the dynamic message to the transit server once in each time interval of pushing the dynamic message.
Specifically, for some dynamic messages with low requirements on timeliness, in order to avoid sending push messages too frequently to the user terminal, a time interval for obtaining the dynamic messages is set, for example, two dynamic messages are obtained every day, once in the morning and once in the afternoon, the dynamic messages are sent to the relay server at two time points, or the number of times of obtaining the dynamic messages is not limited, but the time for sending the dynamic messages to the relay server is set to be a fixed time point, so that the push messages can be prevented from being generated too frequently, and users are prevented from being harassed.
In step S206, the background server of the browser sends the device identification information and the dynamic message to the transfer server.
In step S207, the transfer server pushes the dynamic message to a push interface module of the mobile terminal including the device identification information according to the received device identification information.
In step S208, the push interface module of the mobile terminal receives the notification including the dynamic message, and invokes a browser of the mobile terminal to view the dynamic message.
The difference between the embodiment of the present invention and the first embodiment is that before the background server of the browser sends the device identification information to the relay server, the method further includes a registration and forwarding process of the device identification information, and for the operation necessary for the first installation of the browser, after the installation and registration, that is, after the relay server obtains the device identification information and the page information of the set dynamic message, the checking of the dynamic message can be completed according to the steps described in the first embodiment. When the background server of the browser acquires the dynamic state, the acquisition times or the sending times can be limited, so that the resources of the background server of the browser are saved. Other steps are the same as those in the first embodiment, and are not repeated herein.
Example three:
fig. 3 is a schematic structural diagram of a dynamic message viewing apparatus based on a browser according to a third embodiment of the present invention, which is detailed as follows:
the device of the embodiment of the invention comprises:
an obtaining unit 301, configured to enable a background server of a browser to detect a set page and obtain a dynamic message of the set page;
a first sending unit 302, configured to enable a background server of the browser to send, to the transit server, the device identification information registered by the browser of the mobile terminal in the transit server and the dynamic message;
a pushing unit 303, configured to enable the transit server to push the dynamic message to a pushing interface module of the mobile terminal that includes the device identification information according to the received device identification information;
a receiving and invoking unit 304, configured to enable a push interface module of the mobile terminal to receive the notification including the dynamic message, and invoke a browser of the mobile terminal to view the dynamic message.
The apparatus may further include, when the browser of the mobile terminal is first installed:
a request sending unit 305, configured to enable a browser of the mobile terminal to send a request for obtaining the device identification information to a push interface module of the mobile terminal;
a registering unit 306, configured to register, by a push interface module of the mobile terminal, to a transit server according to the request, so as to obtain identification information of the device;
a second sending unit 307, configured to enable a push interface module of the mobile terminal to send the identifier information of the device to the browser backend server through a browser of the mobile terminal.
In addition, to prevent the transit server from sending the push message too frequently, the apparatus may further include a third sending unit 308, configured to enable the browser of the mobile terminal to send a time interval of pushing the dynamic message to the browser backend server;
the acquiring unit 301 is:
the background server is used for enabling the browser to acquire the dynamic message once in each time interval of pushing the dynamic message; alternatively, the first and second electrodes may be,
and the background server is used for enabling the browser to send the dynamic message to the transit server once in each time interval of pushing the dynamic message.
The identification information of the equipment comprises identification information of a push interface module of the mobile terminal and browser identification information of the mobile terminal.
The apparatus according to the embodiment of the present invention corresponds to the methods according to the first and second embodiments, and will not be described herein repeatedly.
Example four:
fig. 4 is a schematic diagram of a dynamic message viewing system based on a browser according to a fourth embodiment of the present invention, where the system includes a mobile terminal, a background server of the browser, and a relay server, the mobile terminal includes the browser of the mobile terminal and a push interface module of the mobile terminal, where,
the browser of the mobile terminal is used for setting a page needing to acquire the dynamic message and accessing the page of the dynamic message according to the notification of the received dynamic message;
the background server of the browser is used for receiving equipment identification information registered by the browser of the mobile terminal in the transfer service, detecting the set page and acquiring a dynamic message of the set page;
the transfer server is used for receiving the equipment identification information and the dynamic message sent by the browser background and pushing the dynamic message to a pushing interface module of the mobile terminal comprising the equipment identification information;
and the pushing interface module of the mobile terminal receives the dynamic message and calls a browser of the mobile terminal to view the dynamic message.
When the browser of the mobile terminal is installed for the first time, the browser of the mobile terminal is further used for sending a request for acquiring the equipment identification information to a pushing interface module of the mobile terminal and sending the equipment identification information to a browser background server;
the pushing interface module of the mobile terminal is used for receiving a request of a browser of the mobile terminal for acquiring equipment identification information, registering the request to a transfer server to obtain the equipment identification information, and sending the equipment identification information to the browser of the mobile terminal.
Each client and each server in the system according to the embodiment of the present invention correspond to the methods in the first embodiment and the second embodiment, and are not repeated herein.
Example five:
fig. 5 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present invention. Referring to fig. 5, the handset includes: radio Frequency (RF) circuit 510, memory 520, input unit 530, display unit 540, sensor 550, audio circuit 560, wireless fidelity (WiFi) module 570, processor 580, and power supply 590. Those skilled in the art will appreciate that the handset configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 5:
RF circuit 510 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for processing downlink information of a base station after receiving the downlink information to processor 580; in addition, the data for designing uplink is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
The memory 520 may be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 500. Specifically, the input unit 530 may include a touch panel 531 and other input devices 532. The touch panel 531, also called a touch screen, can collect touch operations of a user on or near the touch panel 531 (for example, operations of the user on or near the touch panel 531 by using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 530 may include other input devices 532 in addition to the touch panel 531. In particular, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 540 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 531 may cover the display panel 541, and when the touch panel 531 detects a touch operation on or near the touch panel 531, the touch panel is transmitted to the processor 580 to determine the type of the touch event, and then the processor 580 provides a corresponding visual output on the display panel 541 according to the type of the touch event. Although the touch panel 531 and the display panel 541 are shown as two separate components in fig. 5 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 531 and the display panel 541 may be integrated to implement the input and output functions of the mobile phone.
Cell phone 500 can also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 541 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping) and the like, and can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like, which are not described herein again.
Audio circuitry 560, speaker 561, and microphone 562 may provide an audio interface between a user and a cell phone. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker 561, and convert the electrical signal into a sound signal by the speaker 561 for output; on the other hand, the microphone 562 converts the collected sound signals into electrical signals, which are received by the audio circuit 560 and converted into audio data, which are then processed by the audio data output processor 580, and then passed through the RF circuit 510 to be sent to, for example, another cellular phone, or output to the memory 520 for further processing.
WiFi belongs to short distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 570, which provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 570, it is understood that it does not belong to the essential constitution of the handset 500, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 580 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby performing overall monitoring of the mobile phone. Alternatively, processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 580.
Handset 500 also includes a power supply 590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to processor 580 via a power management system that may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone 500 may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment of the present invention, the processor 580 included in the terminal further has the following functions: sending a request for acquiring the identification information of the equipment to a pushing interface module of the mobile terminal through a browser of the mobile terminal, registering the identification information of the equipment to a transfer server by the pushing interface module of the mobile terminal according to the request, sending the identification information of the equipment to a browser background server by the pushing interface module of the mobile terminal through the browser of the mobile terminal, receiving a notice comprising a dynamic message by the pushing interface module of the mobile terminal, and calling the browser of the mobile terminal to view the dynamic message.
In the embodiment of the invention, the browser background server detects the dynamic message of the set page, the detected dynamic message and the equipment identification information are sent to the transfer server, the transfer server pushes the message to the pushing interface module of the mobile terminal, and the browser of the mobile terminal is called to check the dynamic message. Compared with the existing mode of obtaining the page dynamic message by refreshing the page through the browser operated by the mobile terminal all the time, the embodiment of the invention can receive the notification of the dynamic message without operating the browser at the mobile terminal, thereby reducing the occupation of system resources of the mobile terminal and the power consumption of mobile terminal equipment and improving the endurance time of the equipment.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (9)

1. A method for dynamic browser-based message viewing, the method comprising:
the browser of the mobile terminal sends a time interval of pushing dynamic messages to a browser background server;
a background server of the browser detects a set page and acquires a dynamic message of the set page;
a background server of the browser sends the dynamic message to a transfer server once within the time interval of pushing of each dynamic message and the equipment identification information registered by the browser of the mobile terminal in the transfer server, wherein the equipment identification information comprises the identification information of a pushing interface module of the mobile terminal and the browser identification information of the mobile terminal;
after the transfer server receives the equipment identification information, under the condition that the mobile terminal is detected to be capable of receiving the equipment identification information, the transfer server searches a push interface module of the mobile terminal according to the identification information of the push interface module of the mobile terminal and pushes the dynamic message to the push interface module;
wherein pushing the dynamic message to the push interface module comprises: establishing a connection channel between the transit server identified by a Universal Resource Identifier (URI) and a browser of the mobile terminal, searching the connection channel corresponding to the URI and pushing the dynamic message;
under the condition that the mobile terminal is detected to be incapable of receiving the equipment identification information, the transfer server temporarily saves the dynamic message;
the push interface module of the mobile terminal receives the notice comprising the dynamic message and calls a browser of the mobile terminal to view the dynamic message according to the browser identification information of the mobile terminal;
the step of receiving the notification including the dynamic message by a push interface module of the mobile terminal and calling the browser to view the dynamic message according to the browser identification information of the mobile terminal comprises the following steps: a push interface module of the mobile terminal receives the notification including the dynamic message and detects whether a browser of the mobile terminal is operated; and if the browser of the mobile terminal is not operated, calling the browser of the mobile terminal to access the page which is pointed by the notification and comprises the dynamic message according to the received trigger instruction.
2. The method of claim 1, wherein before the step of sending, by the background server of the browser, the device identification information registered by the browser of the mobile terminal in the transit server and the dynamic message to the transit server, the method further comprises:
the browser of the mobile terminal sends a request for acquiring the equipment identification information to a push interface module of the mobile terminal;
the push interface module of the mobile terminal registers to a transfer server to obtain the identification information of the equipment according to the request;
and the pushing interface module of the mobile terminal sends the identification information of the equipment to the browser background server through a browser of the mobile terminal.
3. The method according to claim 1, wherein before the step of detecting the set page by the background server of the browser and obtaining the dynamic message of the set page, the method further comprises:
the step of the background server of the browser acquiring the dynamic message of the set page is as follows:
and the background server of the browser acquires the dynamic message once in each time interval of pushing the dynamic message.
4. The method according to claim 1, wherein after the push interface module of the mobile terminal receives the notification including the dynamic message and detects whether the browser of the mobile terminal is running, the method further comprises:
and if the browser of the mobile terminal is running, accessing a page comprising the dynamic message, to which the notification points, by the browser of the mobile terminal.
5. A browser-based dynamic message viewing apparatus, the apparatus comprising:
the acquisition unit is used for enabling a background server of the browser to detect the set page and acquire the dynamic message of the set page;
the system comprises a first sending unit, a second sending unit and a third sending unit, wherein the first sending unit is used for enabling a background server of a browser to send a dynamic message to a transfer server once within a time interval of pushing of each dynamic message and equipment identification information registered by the browser of a mobile terminal in the transfer server, and the equipment identification information comprises identification information of a pushing interface module of the mobile terminal and browser identification information of the mobile terminal;
the pushing unit is used for enabling the transfer server to search a pushing interface module of the mobile terminal according to the identification information of the pushing interface module of the mobile terminal and push the dynamic message to the pushing interface module when the mobile terminal is detected to be capable of receiving the equipment identification information after the equipment identification information is received;
the pushing unit is further configured to: establishing a connection channel between the transit server identified by a Universal Resource Identifier (URI) and a browser of the mobile terminal, searching the connection channel corresponding to the URI and pushing the dynamic message;
the device is further configured to, when it is detected that the mobile terminal is unable to receive the device identification information, cause the transit server to temporarily store the dynamic message;
a receiving and calling unit, configured to enable a push interface module of the mobile terminal to receive a notification including the dynamic message, and call a browser of the mobile terminal to view the dynamic message according to browser identification information of the mobile terminal;
wherein the receiving and calling unit is configured to:
enabling a push interface module of the mobile terminal to receive the notification including the dynamic message and detecting whether a browser of the mobile terminal runs or not;
if the browser of the mobile terminal is not operated, according to the received trigger instruction, calling the browser of the mobile terminal to access the page which is pointed by the notification and comprises the dynamic message according to the browser identification information of the mobile terminal;
and the third sending unit is used for enabling the browser of the mobile terminal to send the time interval of pushing the dynamic message to the browser background server.
6. The apparatus of claim 5, further comprising:
a request sending unit, configured to enable a browser of the mobile terminal to send a request for acquiring the device identification information to a push interface module of the mobile terminal;
a registration unit, configured to register, by a push interface module of the mobile terminal, to a transit server according to the request, so as to obtain identification information of the device;
and the second sending unit is used for enabling the pushing interface module of the mobile terminal to send the identification information of the equipment to the browser background server through a browser of the mobile terminal.
7. The apparatus of claim 5, further comprising:
the acquisition unit is as follows:
and the background server is used for enabling the browser to acquire the dynamic message once in each time interval of pushing the dynamic message.
8. A system comprising the browser-based dynamic message viewing method of claim 1, wherein the system comprises a mobile terminal, a backend server of the browser, and a transit server, wherein the mobile terminal comprises the browser of the mobile terminal and a push interface module of the mobile terminal, wherein,
the browser of the mobile terminal is used for sending a time interval of pushing dynamic messages to a browser background server;
the browser of the mobile terminal is used for setting a page needing to acquire the dynamic message and accessing the page of the dynamic message according to the notification of the received dynamic message;
the background server of the browser is used for receiving equipment identification information registered by the browser of the mobile terminal in the transfer service, detecting the set page and acquiring dynamic information of the set page, wherein the equipment identification information comprises identification information of a push interface module of the mobile terminal and browser identification information of the mobile terminal;
the transit server is used for receiving equipment identification information sent by a browser background, sending a dynamic message once in each dynamic message pushing time interval, and pushing the dynamic message to a pushing interface module of the mobile terminal comprising the equipment identification information;
the transfer server is used for finding the pushing interface module of the mobile terminal according to the identification information of the pushing interface module of the mobile terminal and pushing the dynamic message to the pushing interface module under the condition that the mobile terminal is detected to be capable of receiving the equipment identification information;
the transfer server is also used for establishing a connection channel between the transfer server identified by the universal resource identifier URI and a browser of the mobile terminal, searching the connection channel corresponding to the URI and pushing the dynamic message;
the transit server is further configured to enable the transit server to temporarily store the dynamic message when detecting that the mobile terminal cannot receive the device identification information;
a pushing interface module of the mobile terminal receives the dynamic message and calls a browser of the mobile terminal to view the dynamic message according to the browser identification information of the mobile terminal;
the push interface module of the mobile terminal receives the notification including the dynamic message and detects whether a browser of the mobile terminal runs or not;
and if the browser of the mobile terminal is not operated, calling the browser of the mobile terminal to access the page which is pointed by the notification and comprises the dynamic message according to the received trigger instruction and the browser identification information of the mobile terminal.
9. The system of claim 8,
the browser of the mobile terminal is also used for sending a request for acquiring the equipment identification information to a pushing interface module of the mobile terminal and sending the equipment identification information to a browser background server;
the pushing interface module of the mobile terminal is used for receiving a request of a browser of the mobile terminal for acquiring equipment identification information, registering the request to a transfer server to obtain the equipment identification information, and sending the equipment identification information to the browser of the mobile terminal.
CN201310308860.7A 2013-07-22 2013-07-22 Dynamic message viewing method, device and system based on browser Active CN104331403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310308860.7A CN104331403B (en) 2013-07-22 2013-07-22 Dynamic message viewing method, device and system based on browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310308860.7A CN104331403B (en) 2013-07-22 2013-07-22 Dynamic message viewing method, device and system based on browser

Publications (2)

Publication Number Publication Date
CN104331403A CN104331403A (en) 2015-02-04
CN104331403B true CN104331403B (en) 2020-09-11

Family

ID=52406132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310308860.7A Active CN104331403B (en) 2013-07-22 2013-07-22 Dynamic message viewing method, device and system based on browser

Country Status (1)

Country Link
CN (1) CN104331403B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886597A (en) * 2017-02-24 2017-06-23 乐蛙科技(上海)有限公司 Control system, control method and receiving terminal that a kind of trigger-type is notified

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409939A (en) * 2008-12-03 2009-04-15 中国电信股份有限公司 End-to-end system for implementing enterprise application data real time propelling movement and method thereof
CN102572740A (en) * 2012-02-14 2012-07-11 中国民航信息网络股份有限公司 Android mobile platform-based mobile passenger name record (PNR) message transmission system and method
CN102595347A (en) * 2012-02-14 2012-07-18 中国民航信息网络股份有限公司 iPhone mobile phone platform-based mobile passenger name record (PNR) message transmission system and method thereof

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002067538A2 (en) * 2001-02-22 2002-08-29 Celltick Technologies Ltd Internet session initiation on personal cellular telecommunications devices, and customization protocol therefor
CN101782913A (en) * 2009-06-23 2010-07-21 北京搜狗科技发展有限公司 Update notifying method and browser
CN101753621A (en) * 2009-12-24 2010-06-23 中兴通讯股份有限公司 Method and system for actively pushing data to browser through server
CN102467712A (en) * 2010-11-04 2012-05-23 上海萌泰网络科技有限公司 Method for realizing air business based on synchronization mechanism and pushing technology
CN103001926A (en) * 2011-09-09 2013-03-27 华为技术有限公司 Method, device and system for subscription notification
CN102413436B (en) * 2011-09-14 2016-03-09 华为技术有限公司 Information transferring method and system
CN103023930A (en) * 2011-09-20 2013-04-03 中兴通讯股份有限公司 Webpage sharing method and device
US8954555B2 (en) * 2011-10-27 2015-02-10 International Business Machines Corporation Using push notifications to reduce open browser connections
CN103067470B (en) * 2012-12-21 2016-08-03 北京奇虎科技有限公司 A kind of method to browser pushed information, server and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409939A (en) * 2008-12-03 2009-04-15 中国电信股份有限公司 End-to-end system for implementing enterprise application data real time propelling movement and method thereof
CN102572740A (en) * 2012-02-14 2012-07-11 中国民航信息网络股份有限公司 Android mobile platform-based mobile passenger name record (PNR) message transmission system and method
CN102595347A (en) * 2012-02-14 2012-07-18 中国民航信息网络股份有限公司 iPhone mobile phone platform-based mobile passenger name record (PNR) message transmission system and method thereof

Also Published As

Publication number Publication date
CN104331403A (en) 2015-02-04

Similar Documents

Publication Publication Date Title
US10304461B2 (en) Remote electronic service requesting and processing method, server, and terminal
CN105471931B (en) Method, device and system for inquiring service data
WO2015090248A1 (en) Server overload protection method and device
CN107204964B (en) Authority management method, device and system
CN105302452B (en) Operation method and device based on gesture interaction
CN108834132B (en) Data transmission method and equipment and related medium product
CN107743305B (en) Method and device for loading configuration information and computer equipment
WO2015067142A1 (en) Webpage display method and device
US10298590B2 (en) Application-based service providing method, apparatus, and system
CN104809055B (en) Application program testing method and device based on cloud platform
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN112749074A (en) Test case recommendation method and device
CN104133693A (en) Installation state detection method, device and terminal
WO2017000495A1 (en) Method and device for adding contacts
CN106339402B (en) Method, device and system for pushing recommended content
CN111177612B (en) Page login authentication method and related device
CN104702643A (en) A webpage access method, device and system
CN108234275B (en) Method and device for releasing communication information
CN104331403B (en) Dynamic message viewing method, device and system based on browser
CN108804434B (en) Message query method, server and terminal equipment
CN106535229B (en) WiFi signal receiving sensitivity testing method and mobile terminal
CN107798008B (en) Content pushing system, method and device
CN110908586A (en) Keyboard display method and device and terminal equipment
CN104809121B (en) Method and device for controlling display of browser webpage window
CN104283839B (en) A kind of method and apparatus obtaining Cookie

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221201

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518100

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 2, 518044, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.