CN107454160B - Information processing method, mobile terminal and computer readable storage medium - Google Patents
Information processing method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN107454160B CN107454160B CN201710638779.3A CN201710638779A CN107454160B CN 107454160 B CN107454160 B CN 107454160B CN 201710638779 A CN201710638779 A CN 201710638779A CN 107454160 B CN107454160 B CN 107454160B
- Authority
- CN
- China
- Prior art keywords
- http
- mobile terminal
- channel
- red packet
- electronics red
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Signal Processing (AREA)
- Finance (AREA)
- Computer Networks & Wireless Communication (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention is suitable for field of communication technology, provide a kind of information processing method, mobile terminal and computer readable storage medium, this method comprises: starting the monitoring in the channel hypertext transfer protocol HTTP established to the server of the mobile terminal and the default application when the default application for detecting mobile terminal starts;Obtain the HTTP Path Setup event of the server of the mobile terminal and the default application;If the event is the HTTP Path Setup event of electronics red packet information, then control foundation and data transmission that the mobile terminal suspends other channels HTTP, wherein, other described channels HTTP refer to the channel HTTP in the mobile terminal channel HTTP being being currently used and the channel HTTP established in addition to the channel HTTP of the electronics red packet information.The speed that mobile terminal receives electronics red packet can be improved through the invention, and then improve the success rate for robbing electronics red packet.
Description
Technical field
The invention belongs to field of communication technology more particularly to a kind of information processing methods, mobile terminal and computer-readable
Storage medium.
Background technique
Widely available with mobile terminals such as smart phone, tablet computers, most of mobile terminal is fitted with greatly
Application of amount, such as wechat, Alipay, QQ etc., these applications also have some other other than having social, payment function
Additional function, such as send out/rob electronics red packet etc..However, the prior art is when robbing electronics red packet, since mobile terminal is current
The influence of Network status possibly can not quickly receive electronics red packet.
Therefore, it is necessary to propose a kind of new technical solution, to solve the above technical problems.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of information processing method, mobile terminal and computer-readable storages
Medium to improve the speed that mobile terminal receives electronics red packet, and then improves the success rate for robbing electronics red packet.
The first aspect of the embodiment of the present invention provides a kind of information processing method, and the information processing method includes:
When the default application for detecting mobile terminal starts, start the clothes to the mobile terminal and the default application
The monitoring in the channel hypertext transfer protocol HTTP that business device is established;
Obtain the HTTP Path Setup event of the server of the mobile terminal and the default application;
If the HTTP Path Setup event of the mobile terminal and the server of the default application is electronics red packet information
HTTP Path Setup event, then control the mobile terminal suspend other channels HTTP foundation and data transmission, wherein institute
It states other channels HTTP and refers to and removed in the mobile terminal channel HTTP being being currently used and the channel HTTP established
The channel HTTP except the channel HTTP of the electronics red packet information.
The second aspect of the embodiment of the present invention provides a kind of mobile terminal, and the mobile terminal includes:
Starting module is monitored, for starting to the mobile terminal when the default application for detecting mobile terminal starts
The monitoring in the channel hypertext transfer protocol HTTP established with the server of the default application;
Event obtains module, the HTTP Path Setup of the server for obtaining the mobile terminal and the default application
Event;
First control module, if the HTTP Path Setup thing for the mobile terminal and the server of the default application
Part be electronics red packet information HTTP Path Setup event, then control the mobile terminal suspend other channels HTTP foundation and
Data transmission, wherein other described channels HTTP refer to the channel HTTP and building that the mobile terminal is being currently used
The channel HTTP in the vertical channel HTTP in addition to the channel HTTP of the electronics red packet information.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
It realizes as described in above-mentioned first aspect the step of information processing method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, is realized as described in above-mentioned first aspect when the computer program is executed by processor at information
The step of reason method.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the embodiment of the present invention is by detecting shifting
When the default application starting of dynamic terminal, starts the hypertext established to the server of the mobile terminal and the default application and pass
The monitoring in the channel defeated agreement HTTP, to obtain the HTTP Path Setup thing of the server of the mobile terminal and the default application
Part, and be electronics red packet information in the HTTP Path Setup event of the mobile terminal and the server of the default application
HTTP Path Setup event controls foundation and data transmission that the mobile terminal suspends other channels HTTP.The present invention is implemented
Example is passed by the foundation and data in the HTTP Path Setup event for detecting electronics red packet information, suspending other channels HTTP
It is defeated, to distribute enough bandwidth and Internet resources for electronics red packet information channel, accelerate the reception of electronics red packet information and show
Show, and then improves the success rate for robbing electronics red packet.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram for the information processing method that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram of information processing method provided by Embodiment 2 of the present invention;
Fig. 3 is the mobile terminal schematic diagram that the embodiment of the present invention three provides;
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present invention four provides;
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present invention five provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, mobile terminal described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch
Mobile phone, laptop computer or the tablet computer in face (for example, touch-screen display and/or touch tablet) etc it is other
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch tablet).
In following discussion, the mobile terminal including display and touch sensitive surface is described.However, should manage
Solution, mobile terminal may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects
Jaws equipment.
Mobile terminal supports various application programs, such as one of the following or multiple: drawing application program, demonstration application
Program, word-processing application, website creation application program, disk imprinting application program, spreadsheet applications, game are answered
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing to answer
With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on mobile terminals
Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example,
Touch sensitive surface) it can support the various application programs with user interface intuitive and transparent for a user.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in the present embodiment, each process
Execution sequence should be determined by its function and internal logic, and the implementation process of the embodiments of the invention shall not be constituted with any limitation.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
It is the implementation process schematic diagram for the information processing method that the embodiment of the present invention one provides, the information processing referring to Fig. 1
Method is applied to mobile terminal, and the information processing method as shown in the figure may comprise steps of:
Step S101, when detect mobile terminal default application start when, starting to the mobile terminal with it is described pre-
If the monitoring in the channel hypertext transfer protocol HTTP that the server of application is established.
In embodiments of the present invention, the default application refers to certain that user selectes from the mounted application of mobile terminal
One type or application, such as wechat, Alipay, QQ with a certain function etc. have the application for robbing/generating electricity sub- red packet function.
Optionally, user can modify the application selected according to actual needs.
It should be noted that user can choose whether to need starting pair before the default application of starting mobile terminal
Hypertext transfer protocol (the HyperText Transfer that the mobile terminal and the server of the default application are established
Protocol, HTTP) channel monitoring (be under default conditions starting monitoring), when user selects "Yes" or does not select,
After the default application starting of mobile terminal, it is logical to open the HTTP established to the server of the mobile terminal and the default application
Road, and the HTTP Path Setup event of the server of the mobile terminal and the default application is obtained, to the mobile terminal
It is analyzed with the HTTP Path Setup event of the server of the default application, to determine the mobile terminal obtained and institute
Which kind of event is the HTTP Path Setup event for stating the server of default application be specially.It is optional, it can also be in starting mobile terminal
Default application after, whether user's reselection, which needs to start, is established the server of the mobile terminal and the default application
The channel HTTP monitoring, be not limited thereto.
Step S102 obtains the HTTP Path Setup event of the server of the mobile terminal and the default application.
In embodiments of the present invention, the HTTP Path Setup event of the mobile terminal and the server of the default application
It can refer to the HTTP Path Setup event of corresponding application message in the default application, such as the channel HTTP of payment information
Establish event, the HTTP Path Setup event of chat message, wechat, Alipay, the HTTP for robbing/generating electricity sub- red packet information in QQ
Path Setup event.
Step S103, if the HTTP Path Setup event of the mobile terminal and the server of the default application is electronics
The HTTP Path Setup event of red packet information then controls foundation and data biography that the mobile terminal suspends other channels HTTP
It is defeated, wherein other described channels HTTP refer to the mobile terminal channel HTTP being being currently used and establishing
The channel HTTP in the channel HTTP in addition to the channel HTTP of the electronics red packet information.
It in embodiments of the present invention, can be to the HTTP of the server of the mobile terminal and default application of acquisition
Path Setup event is analyzed, with the HTTP Path Setup thing of the determination mobile terminal and the server of the default application
Which kind of HTTP Path Setup event part is, if the HTTP Path Setup thing of the mobile terminal and the server of the default application
Part is the HTTP Path Setup event of electronics red packet information, then controls the mobile terminal pause mobile terminal and establishing
The channel HTTP in addition to the channel HTTP of electronics red packet information and the pause mobile terminal carrying out data transmission
The channel HTTP;If the HTTP Path Setup event of the mobile terminal and the server of the default application is not electronics red packet
The HTTP Path Setup event of information does not carry out the channel HTTP that the mobile terminal is currently being established and used then any
Processing.It should be noted that it is logical to suspend the HTTP that the mobile terminal is carrying out data transmission in the control mobile terminal
Before road, it can also further detect whether the channel HTTP that the mobile terminal is carrying out data transmission is that transmission electronics is red
The channel HTTP of package informatin, if not the channel HTTP of transmission electronics red packet information, then control described in the mobile terminal pause
The channel HTTP that mobile terminal is carrying out data transmission;If transmitting the channel HTTP of electronics red packet information, then not to this
The channel HTTP carries out any processing, to avoid the transmission for influencing other electronics red packet information.
Optionally, if the HTTP Path Setup event of the mobile terminal and the server of the default application is that electronics is red
The HTTP Path Setup event of package informatin then controls foundation and data transmission that the mobile terminal suspends other channels HTTP:
When obtaining the server of the mobile terminal and the default application and establishing the channel HTTP, the clothes of the default application
The data packet that business device is sent to the mobile terminal;
If in the data packet, there are presupposed informations, it is determined that the mobile terminal and the server of the default application
HTTP Path Setup event is the HTTP Path Setup event of electronics red packet information, and controls the mobile terminal and suspend other
The foundation in the channel HTTP and data transmission.
In embodiments of the present invention, when the mobile terminal and the server of the default application establish the channel HTTP, institute
The server for stating default application can send data packet to the mobile terminal, generally include in data packet in the header file of data packet
Address of the content in the server of the default application, then the ground that can will be stored in the header file of the data packet
Location is matched with pre-set electronics red packet address, with the address that is stored in the header file of the determination data packet whether be
Electronics red packet address, and detect with the presence or absence of pre-set electronics red packet keyword in the content of the data packet, if described
The address stored in the header file of data packet is that there are pre-set electricity in electronics red packet address and the content of the data packet
Sub- red packet keyword, it is determined that the HTTP Path Setup event of the mobile terminal and the server of the default application is electronics
The HTTP Path Setup event of red packet information;If the address stored in the header file of the data packet is not electronics red packet address
And/or pre-set electronics red packet keyword is not present in the content of the data packet, it is determined that the mobile terminal and institute
The HTTP Path Setup event for stating the server of default application is not the HTTP Path Setup event of electronics red packet information.
The embodiment of the present invention is by suspending other HTTP in the HTTP Path Setup event for detecting electronics red packet information
The foundation in channel and data transmission, to distribute enough bandwidth and Internet resources, quickening electronics for electronics red packet information channel
The reception and display of red packet information, and then improve the success rate for robbing electronics red packet.
It referring to fig. 2, is the implementation process schematic diagram of information processing method provided by Embodiment 2 of the present invention, the information processing
Method is applied to mobile terminal, and the information processing method as shown in the figure may comprise steps of:
Step S201, when detect mobile terminal default application start when, starting to the mobile terminal with it is described pre-
If the monitoring in the channel hypertext transfer protocol HTTP that the server of application is established.
The step is identical as step S101, and for details, reference can be made to the associated descriptions of step S101, and details are not described herein.
Step S202 obtains the HTTP Path Setup event of the server of the mobile terminal and the default application.
The step is identical as step S102, and for details, reference can be made to the associated descriptions of step S102, and details are not described herein.
Step S203, if the HTTP Path Setup event of the mobile terminal and the server of the default application is electronics
The HTTP Path Setup event of red packet information, then control the mobile terminal and suspend building for other channels HTTP within a preset time
The transmission of vertical and data.
In embodiments of the present invention, in the channel HTTP for the server for detecting the mobile terminal and the default application
When establishing the HTTP Path Setup event that event is electronics red packet information, the timer that can star the mobile terminal is counted
When, it is asked to control the mobile terminal when timing time is more than preset time and respond the foundation in the paused channel HTTP
It asks and the paused HTTP Path Setup data transmission (controls the paused channel HTTP and continues data biography
It is defeated), to avoid the foundation and data transmission for influencing other channels HTTP since time out is too long.Wherein, the preset time
Setting can with system be arranged also with user's self-setting.Such as a large number of users is randomly selected, by a large number of users from movement
Terminal shows electronics red packet picture to successfully getting the average value of time used in the electronics red packet as preset time;Or
User detects oneself and shows that electronics red packet picture, and should to successfully getting the time used in the electronics red packet from mobile terminal
The preset time for the mobile terminal that time is held as user.
Optionally, the control mobile terminal suspends the foundation in other channels HTTP within a preset time and data pass
It is defeated to include:
Obtain the channel HTTP and the channel HTTP currently in use that the mobile terminal is currently being established;
The mobile terminal is controlled to suspend within a preset time in the channel HTTP that response is being established except the electronics is red
The foundation in the channel HTTP except the channel HTTP of package informatin is requested, and suspends the data biography in the channel HTTP being being currently used
It is defeated.
Step S204, if it is red to detect that electronics is got in the success for the electronics red packet information in the preset time
Packet event gets electronics red packet event not successfully, then controls the foundation that the mobile terminal responds the paused channel HTTP
Request and the paused HTTP Path Setup data transmission.
In embodiments of the present invention, if detecting in the preset time, the success for the electronics red packet information is robbed
Get electronics red packet event to electronics red packet event or not successfully, it is determined that for the electronics red packet of the electronics red packet information
Event is over, and in order to reduce the influence to the foundation in other channels HTPP and data transmission, can control described mobile whole
End responds the foundation request in the paused channel HTTP, and the control mobile terminal to the HTTP of the paused data transmission
Channel continues data transmission.
The embodiment of the present invention gets electronics by detecting the success for the electronics red packet information within a preset time
Red packet event or not successfully when getting electronics red packet event, controls the mobile terminal and responds building for the paused channel HTTP
Vertical request and the paused HTTP Path Setup data transmission, to distribute corresponding net for other described channels HTTP
Network resource, so that other described channels HTTP carry out Path Setup and data transmission.
It is that the schematic diagram for the mobile terminal that the embodiment of the present invention three provides illustrates only for ease of description referring to Fig. 3
Part related to the embodiment of the present invention.
The mobile terminal includes:
Starting module 31 is monitored, for when the default application for detecting mobile terminal starts, starting to be to described mobile whole
The monitoring in the channel hypertext transfer protocol HTTP that the server of end and the default application is established;
Event obtains module 32, and the channel HTTP for obtaining the mobile terminal and the server of the default application is built
Vertical event;
First control module 33, if the HTTP Path Setup for the mobile terminal and the server of the default application
Event is the HTTP Path Setup event of electronics red packet information, then controls the foundation that the mobile terminal suspends other channels HTTP
It is transmitted with data, wherein other described channels HTTP refer to the channel HTTP that the mobile terminal is being currently used and
The channel HTTP in the channel HTTP of foundation in addition to the channel HTTP of the electronics red packet information.
Optionally, first control module 33 includes:
First acquisition unit, the server for obtaining the mobile terminal and the default application establish the channel HTTP
When, data packet that the server of the default application is sent to the mobile terminal;
Determination unit, if for there are presupposed informations in the data packet, it is determined that the mobile terminal is preset with described
The HTTP Path Setup event of the server of application is the HTTP Path Setup event of electronics red packet information, and controls the movement
Terminal suspends the foundation and data transmission in other channels HTTP.
Optionally, first control module 33 is specifically used for:
Control foundation and data transmission that the mobile terminal suspends other channels HTTP within a preset time.
Optionally, first control module 33 includes:
Second acquisition unit, for obtaining the channel HTTP that the mobile terminal is currently being established and currently in use
The channel HTTP;
Control unit is suspended in the channel HTTP that response is being established within a preset time for controlling the mobile terminal
The foundation in the channel HTTP in addition to the channel HTTP of the electronics red packet information is requested, and the HTTP that pause is being currently used
The data in channel are transmitted;
Optionally, the mobile terminal further include:
Second control module 34, if for detecting the success for the electronics red packet information in the preset time
It gets electronics red packet event or gets electronics red packet event not successfully, then control the mobile terminal and respond paused HTTP
The foundation in channel is requested and the paused HTTP Path Setup data transmission.
The embodiment of the present invention is by suspending other HTTP in the HTTP Path Setup event for detecting electronics red packet information
The foundation in channel and data transmission, to distribute enough bandwidth and Internet resources, quickening electronics for electronics red packet information channel
The reception and display of red packet information, and then improve the success rate for robbing electronics red packet.
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present invention four provides.The mobile terminal as shown in the figure can wrap
Include: one or more processors 401 (only show one) in figure;One or more input equipments 402 (one is only shown in figure),
One or more output equipments 403 (one is only shown in figure) and memory 404.It is above-mentioned processor 401, input equipment 402, defeated
Equipment 403 and memory 404 are connected by bus 405 out.Memory 404 for storing instruction, deposit for executing by processor 401
The instruction that reservoir 404 stores.Wherein:
The processor 401, for starting to the mobile terminal when the default application for detecting mobile terminal starts
The monitoring in the channel hypertext transfer protocol HTTP established with the server of the default application;Pass through the input equipment 402
Obtain the HTTP Path Setup event of the server of the mobile terminal and the default application;If the mobile terminal with it is described
The HTTP Path Setup event of the server of default application is the HTTP Path Setup event of electronics red packet information, then described in control
Mobile terminal suspends the foundation and data transmission in other channels HTTP, wherein other described channels HTTP refer to described mobile whole
Hold removed in the channel HTTP being being currently used and the channel HTTP established the electronics red packet information the channel HTTP it
The outer channel HTTP.
Optionally, the processor 401, specifically for obtaining the mobile terminal and institute by the input equipment 402
When stating the server of default application and establishing the channel HTTP, data that the server of the default application is sent to the mobile terminal
Packet;If in the data packet, there are presupposed informations, it is determined that the HTTP of the mobile terminal and the server of the default application
Path Setup event is the HTTP Path Setup event of electronics red packet information, and controls the mobile terminal to suspend other HTTP logical
The foundation in road and data transmission.
Optionally, the processor 401 suspends other HTTP specifically for controlling the mobile terminal within a preset time
The foundation in channel and data transmission.
Optionally, the processor 401, it is current specifically for obtaining the mobile terminal by the input equipment 402
The channel HTTP and the channel HTTP currently in use established;It controls the mobile terminal and is suspending response within a preset time just
The foundation in the channel HTTP in the channel HTTP of foundation in addition to the channel HTTP of the electronics red packet information is requested, and pause
The data in the channel HTTP being being currently used are transmitted.
Optionally, the processor 401 is believed if being also used to detect in the preset time for the electronics red packet
The success of breath gets electronics red packet event or gets electronics red packet event not successfully, then it is temporary to control the mobile terminal response
The foundation in the channel HTTP stopped is requested and the paused HTTP Path Setup data transmission.
The memory 404, for storing software program and module.The processor 501 is stored in institute by operation
The software program and module of memory 404 are stated, thereby executing various function application and data processing, described mobile whole
When end and the HTTP Path Setup event of the server of the default application are the HTTP Path Setup event of electronics red packet information,
Control foundation and data transmission that the mobile terminal suspends other channels HTTP.
It should be appreciated that in embodiments of the present invention, the processor 401 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
Input equipment 402 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user
Directional information), microphone, data receiver interface etc..Output equipment 403 may include display (LCD etc.), loudspeaker, data
Transmission interface etc..
The memory 404 may include read-only memory and random access memory, and to processor 401 provide instruction and
Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited
Store up the information of device type.
In the specific implementation, processor 401 described in the embodiment of the present invention, input equipment 402,403 and of output equipment
Implementation described in the embodiment of information processing method provided in an embodiment of the present invention can be performed in memory 404, can also
Implementation described in mobile terminal described in embodiment three is executed, details are not described herein.
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present invention five provides.As shown in figure 5, the mobile end of the embodiment
End 5 includes: processor 50, memory 51 and is stored in the meter that can be run in the memory 51 and on the processor 50
Calculation machine program 52.The processor 50 is realized when executing the computer program 52 in above-mentioned each information processing method embodiment
The step of, such as step S101 to S103 shown in FIG. 1.Alternatively, reality when the processor 50 executes the computer program 52
The function of each module/unit in existing above-mentioned each mobile terminal embodiment, such as the function of module 31 to 34 shown in Fig. 3.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 52 in the mobile terminal 5 is described.For example, the computer program 52 can be divided
It is cut into monitoring starting module, event acquisition module, the first control module and the second control module, each module concrete function is such as
Under:
Starting module is monitored, for starting to the mobile terminal when the default application for detecting mobile terminal starts
The monitoring in the channel hypertext transfer protocol HTTP established with the server of the default application;
Event obtains module, the HTTP Path Setup of the server for obtaining the mobile terminal and the default application
Event;
First control module, if the HTTP Path Setup thing for the mobile terminal and the server of the default application
Part be electronics red packet information HTTP Path Setup event, then control the mobile terminal suspend other channels HTTP foundation and
Data transmission, wherein other described channels HTTP refer to the channel HTTP and building that the mobile terminal is being currently used
The channel HTTP in the vertical channel HTTP in addition to the channel HTTP of the electronics red packet information.
Optionally, first control module includes:
First acquisition unit, the server for obtaining the mobile terminal and the default application establish the channel HTTP
When, data packet that the server of the default application is sent to the mobile terminal;
Determination unit, if for there are presupposed informations in the data packet, it is determined that the mobile terminal is preset with described
The HTTP Path Setup event of the server of application is the HTTP Path Setup event of electronics red packet information, and controls the movement
Terminal suspends the foundation and data transmission in other channels HTTP.
Optionally, first control module is specifically used for:
Control foundation and data transmission that the mobile terminal suspends other channels HTTP within a preset time.
Optionally, first control module includes:
Second acquisition unit, for obtaining the channel HTTP that the mobile terminal is currently being established and currently in use
The channel HTTP;
Control unit is suspended in the channel HTTP that response is being established within a preset time for controlling the mobile terminal
The foundation in the channel HTTP in addition to the channel HTTP of the electronics red packet information is requested, and the HTTP that pause is being currently used
The data in channel are transmitted;
Optionally, the mobile terminal further include:
Second control module, if for detecting that the success for the electronics red packet information is robbed in the preset time
Electronics red packet event is got to electronics red packet event or not successfully, then controlling the mobile terminal, to respond paused HTTP logical
The foundation in road is requested and the paused HTTP Path Setup data transmission.
The mobile terminal 5 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The mobile terminal may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5
The only example of mobile terminal 5 does not constitute the restriction to mobile terminal 5, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the mobile terminal can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 50 can be central processing unit CPU, can also be other general processors, Digital Signal Processing
Device DSP, application-specific integrated circuit ASIC, ready-made programmable gate array FPGA or other programmable logic device, discrete gate or
Transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor is also possible to appoint
What conventional processor etc..
The memory 51 can be the internal storage unit of the mobile terminal 5, such as the hard disk or interior of mobile terminal 5
It deposits.The memory 51 is also possible to the External memory equipment of the mobile terminal 5, such as be equipped on the mobile terminal 5
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the mobile terminal 5
Member also includes External memory equipment.The memory 51 is for storing needed for the computer program and the mobile terminal
Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.Institute
The technical staff in category field can be understood that, for convenience of description and succinctly, only with above-mentioned each functional unit, module
Division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functional units, mould
Block is completed, i.e., the internal structure of described device is divided into different functional unit or module, to complete whole described above
Or partial function.Each functional unit in embodiment, module can integrate in one processing unit, be also possible to each list
Member physically exists alone, and can also be integrated in one unit with two or more units, and above-mentioned integrated unit both can be with
Using formal implementation of hardware, can also realize in the form of software functional units.In addition, the tool of each functional unit, module
Body title is also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Unit, module in above system
Specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (7)
1. a kind of information processing method, which is characterized in that the information processing method includes:
When the default application for detecting mobile terminal starts, start the server to the mobile terminal and the default application
The monitoring in the channel hypertext transfer protocol HTTP of foundation;
Obtain the HTTP Path Setup event of the server of the mobile terminal and the default application, wherein described mobile whole
End refers to corresponding application message in the default application with the HTTP Path Setup event of the server of the default application
HTTP Path Setup event;
If the HTTP Path Setup event of the mobile terminal and the server of the default application is electronics red packet information
HTTP Path Setup event then controls foundation and data transmission that the mobile terminal suspends other channels HTTP, wherein described
Other channels HTTP refer in the mobile terminal channel HTTP being being currently used and the channel HTTP established except institute
State the channel HTTP except the channel HTTP of electronics red packet information;
If the HTTP Path Setup event of the mobile terminal and the server of the default application is electronics red packet information
HTTP Path Setup event, then control the mobile terminal suspend other channels HTTP foundation and data transmission include:
When obtaining the server of the mobile terminal and the default application and establishing the channel HTTP, the server of the default application
The data packet sent to the mobile terminal, wherein exist in the header file of the data packet including the content in the data packet
Address in the server of the default application;
If the address stored in the header file of the data packet is to exist in advance in electronics red packet address and the content of the data packet
The electronics red packet keyword being first arranged, it is determined that the HTTP Path Setup of the mobile terminal and the server of the default application
Event is the HTTP Path Setup event of electronics red packet information, and controls the foundation that the mobile terminal suspends other channels HTTP
It is transmitted with data;
The control mobile terminal suspends the foundation in other channels HTTP and data transmission includes:
Control foundation and data transmission that the mobile terminal suspends other channels HTTP within a preset time, wherein will be a large amount of
User shows electronics red packet picture to the average value conduct for successfully getting the time used in electronics red packet from the mobile terminal
The preset time, or show electronics red packet picture to success from the mobile terminal user for holding the mobile terminal
The time used in electronics red packet is got as the preset time.
2. information processing method as described in claim 1, which is characterized in that the control mobile terminal is in preset time
The interior foundation for suspending other channels HTTP and data transmission include:
Obtain the channel HTTP and the channel HTTP currently in use that the mobile terminal is currently being established;
The mobile terminal is controlled to suspend within a preset time in the channel HTTP that response is being established except the electronics red packet is believed
The foundation in the channel HTTP except the channel HTTP of breath is requested, and suspends the data transmission in the channel HTTP being being currently used.
3. information processing method as claimed in claim 2, which is characterized in that the information processing method further include:
If detecting in the preset time, electronics red packet event or not is got in the success for the electronics red packet information
Successfully get electronics red packet event, then control the mobile terminal respond the paused channel HTTP foundation request and it is described
Paused HTTP Path Setup data transmission.
4. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Starting module is monitored, for starting to the mobile terminal and institute when the default application for detecting mobile terminal starts
State the monitoring in the channel hypertext transfer protocol HTTP of the server foundation of default application;
Event obtains module, the HTTP Path Setup thing of the server for obtaining the mobile terminal and the default application
Part, wherein the HTTP Path Setup event of the mobile terminal and the server of the default application refers to the default application
In corresponding application message HTTP Path Setup event;
First control module, if the HTTP Path Setup event for the mobile terminal and the server of the default application is
The HTTP Path Setup event of electronics red packet information then controls foundation and data that the mobile terminal suspends other channels HTTP
Transmission, wherein other described channels HTTP refer to the mobile terminal channel HTTP being being currently used and establishing
The channel HTTP in the channel HTTP in addition to the channel HTTP of the electronics red packet information;
First control module includes:
First acquisition unit, when the server for obtaining the mobile terminal and the default application establishes the channel HTTP, institute
State the data packet that the server of default application is sent to the mobile terminal, wherein include institute in the header file of the data packet
State address of the content in the server of the default application in data packet;
Determination unit, if the address stored in header file for the data packet is electronics red packet address and the data packet
There are pre-set electronics red packet keywords in content, it is determined that the mobile terminal and the server of the default application
HTTP Path Setup event is the HTTP Path Setup event of electronics red packet information, and controls the mobile terminal and suspend other
The foundation in the channel HTTP and data transmission;
First control module is specifically used for:
Control foundation and data transmission that the mobile terminal suspends other channels HTTP within a preset time, wherein will be a large amount of
User shows electronics red packet picture to the average value conduct for successfully getting the time used in electronics red packet from the mobile terminal
The preset time, or show electronics red packet picture to success from the mobile terminal user for holding the mobile terminal
The time used in electronics red packet is got as the preset time.
5. mobile terminal as claimed in claim 4, which is characterized in that
First control module includes:
Second acquisition unit is logical for obtaining the channel HTTP that the mobile terminal is currently being established and HTTP currently in use
Road;
Control unit is suspended in the channel HTTP that response is being established for controlling the mobile terminal except institute within a preset time
State the foundation request in the channel HTTP except the channel HTTP of electronics red packet information, and the channel HTTP that pause is being currently used
Data transmission;
The mobile terminal further include:
Second control module, if for detecting that electricity is got in the success for the electronics red packet information in the preset time
Sub- red packet event gets electronics red packet event not successfully, then controls the mobile terminal and respond the paused channel HTTP
Establish request and the paused HTTP Path Setup data transmission.
6. a kind of mobile terminal, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claims 1 to 3 when executing the computer program
The step of any one information processing method.
7. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In the step of realization information processing method as described in any one of claims 1 to 3 when the computer program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710638779.3A CN107454160B (en) | 2017-07-31 | 2017-07-31 | Information processing method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710638779.3A CN107454160B (en) | 2017-07-31 | 2017-07-31 | Information processing method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107454160A CN107454160A (en) | 2017-12-08 |
CN107454160B true CN107454160B (en) | 2019-09-17 |
Family
ID=60490457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710638779.3A Expired - Fee Related CN107454160B (en) | 2017-07-31 | 2017-07-31 | Information processing method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107454160B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113572797B (en) * | 2020-04-29 | 2024-05-31 | 阿里巴巴集团控股有限公司 | Data processing method, device and system and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103888602A (en) * | 2014-03-03 | 2014-06-25 | 广州金山网络科技有限公司 | Method and device for controlling display list in mobile terminal |
CN106326072A (en) * | 2016-09-12 | 2017-01-11 | 广东欧珀移动通信有限公司 | Method for processing information and mobile terminal |
CN106383654A (en) * | 2016-09-12 | 2017-02-08 | 广东欧珀移动通信有限公司 | Touch screen parameter adjustment method and mobile terminal |
CN106657566A (en) * | 2016-09-12 | 2017-05-10 | 广东欧珀移动通信有限公司 | Physical button adjusting method and mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101957921A (en) * | 2010-09-21 | 2011-01-26 | 中兴通讯股份有限公司 | Display method, device and system of radio frequency identification application information |
KR102137097B1 (en) * | 2014-08-21 | 2020-07-23 | 삼성전자주식회사 | Processing Method for periodic event and Electronic device supporting the same |
-
2017
- 2017-07-31 CN CN201710638779.3A patent/CN107454160B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103888602A (en) * | 2014-03-03 | 2014-06-25 | 广州金山网络科技有限公司 | Method and device for controlling display list in mobile terminal |
CN106326072A (en) * | 2016-09-12 | 2017-01-11 | 广东欧珀移动通信有限公司 | Method for processing information and mobile terminal |
CN106383654A (en) * | 2016-09-12 | 2017-02-08 | 广东欧珀移动通信有限公司 | Touch screen parameter adjustment method and mobile terminal |
CN106657566A (en) * | 2016-09-12 | 2017-05-10 | 广东欧珀移动通信有限公司 | Physical button adjusting method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107454160A (en) | 2017-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109152095B (en) | Wireless network connection method for terminal | |
CN107104874B (en) | Resource sharing method, device, terminal and computer readable storage medium | |
CN107086984A (en) | A kind of method, terminal and server for obtaining and generating identifying code | |
CN109347722A (en) | Interactive system, method, client and background server | |
CN110049456A (en) | A kind of method, device and mobile terminal showing Rich Media in mobile terminal | |
US10284670B1 (en) | Network-controlled device management session | |
CN111934977B (en) | Information processing method, terminal, server and storage medium | |
CN107193598A (en) | One kind application startup method, mobile terminal and computer-readable recording medium | |
US10939480B2 (en) | Enabling communications between a controlling device and a network-controlled device via a network-connected device service over a mobile communications network | |
CN110059273A (en) | A kind of method showing Rich Media on mobile terminals and mobile terminal | |
CN107613091A (en) | A kind of method and terminal for establishing communication | |
CN106411920A (en) | Data sharing method and device | |
CN110266582A (en) | A kind of information push method, system, server and communication terminal | |
CN109889468A (en) | Transmission method, system, device, equipment and the storage medium of network data | |
CN107888663A (en) | A kind of method of distribution of document, equipment and computer-readable medium | |
CN107317928A (en) | Information processing method, mobile terminal and computer-readable recording medium | |
CN107454160B (en) | Information processing method, mobile terminal and computer readable storage medium | |
CN109791444A (en) | Call method and apparatus, server and the terminal of input method | |
CN107332988A (en) | Information processing method, mobile terminal and computer-readable recording medium | |
CN112929254A (en) | Message processing method and device and electronic equipment | |
CN106793173B (en) | The method and mobile terminal of information processing | |
CN115022106B (en) | Group information processing method, device, equipment and medium | |
CN109104481A (en) | file integrity detection method, file integrity detection device and terminal device | |
CN109298956A (en) | Document transmission method, device and terminal device | |
CN109271266A (en) | Document transmission method, device and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190917 |