Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Event stream processing method, event stream processing device and mobile terminal

A processing method and mobile terminal technology, applied in the field of data processing, can solve problems such as event flow timing destruction

Active Publication Date: 2020-06-09
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF12 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Considering that in the Android system, the event flow is unidirectional and sequential, so the operation of the application to intercept the event flow and redistribute it may cause the timing of the event flow to be destroyed, causing compatibility issues

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Event stream processing method, event stream processing device and mobile terminal
  • Event stream processing method, event stream processing device and mobile terminal
  • Event stream processing method, event stream processing device and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] A method for processing event streams provided by an embodiment of the present application is described below. see figure 1 , the event stream processing method in the embodiment of the present application includes:

[0029] Step 101, when the driver layer of the mobile terminal obtains the event stream to be processed, obtain more than one touch point from the event stream to be processed;

[0030] In this embodiment of the application, the main concern is the distribution of the event flow generated by the screen when the user touches the screen of the mobile terminal. Therefore, the above event flow to be processed refers to the event flow based on the user's touch operation on the above screen. Generated event stream. Specifically, when the user touches the screen once and leaves the screen, the above-mentioned screen will be sampled at a fixed sampling frequency to obtain multiple touch points associated with the touch operation, and these touch points are includ...

Embodiment 2

[0063] Embodiment 2 of the present application provides an event stream processing device, which can be integrated into a mobile terminal. Such as image 3 As shown, the event stream processing device 300 in the embodiment of the present application includes:

[0064] The acquiring unit 301 is configured to acquire more than one touch point from the event stream to be processed when the driver layer of the mobile terminal acquires the event stream to be processed, wherein the event stream to be processed is based on the user's touch on the screen of the mobile terminal generated by operation;

[0065] A matching unit 302, configured to match the above one or more touch points with preset gesture navigation conditions;

[0066] An assignment unit 303, configured to assign a preset event flag bit according to the matching result;

[0067]The determination unit 304 is configured to determine the event indicated by the above-mentioned event flow to be processed by the frame lay...

Embodiment 3

[0086] Embodiment 3 of the present application provides a mobile terminal, please refer to Figure 4 , the mobile terminal 4 in the embodiment of the present application includes: a memory 401, one or more processors 402 ( Figure 4 Only one of them is shown) and a computer program stored on the memory 401 and executable on the processor. Wherein: the memory 401 is used to store software programs and units, and the processor 402 executes various functional applications and data processing by running the software programs and units stored in the memory 401 to obtain resources corresponding to the aforementioned preset events. Specifically, the processor 402 implements the following steps by running the above-mentioned computer program stored in the memory 401:

[0087] When the driver layer of the mobile terminal obtains the event stream to be processed, more than one touch point is obtained from the event stream to be processed, wherein the event stream to be processed is gen...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an event stream processing method and device, a mobile terminal and a computer readable storage medium, and the method comprises the steps: obtaining more than one touch point from a to-be-processed event stream when a drive layer obtains the to-be-processed event stream, and enabling the to-be-processed event stream to be generated based on the touch operation of a user fora screen of the mobile terminal; matching the more than one touch point with a preset gesture navigation condition; assigning a value to a preset event flag bit according to a matching result; the framework layer determining an event indicated by the to-be-processed event stream based on the assigned event flag bit, and determining an associated object of the to-be-processed event stream according to the event indicated by the to-be-processed event stream; and triggering the associated object to execute an event indicated by the to-be-processed event flow. According to the scheme, the judgment of the event flow of the screen is completed on the driving layer, and the framework layer is triggered to directly distribute the event flow to the corresponding associated object for processing based on the judgment result, so that the stability of the mobile terminal can be guaranteed.

Description

technical field [0001] The present application belongs to the technical field of data processing, and in particular relates to an event stream processing method, an event stream processing device, a mobile terminal, and a computer-readable storage medium. Background technique [0002] When the user touches the screen of the mobile terminal, an event flow will be generated. Generally speaking, a mobile terminal using the Android system will distribute the event flow to the framework and send it to the application that needs to process the event flow step by step. Among them, the gesture navigation application will intercept the event flow and pass Certain rules judge the event flow to determine the distribution direction of the event flow. Considering that in the Android system, the event flow is unidirectional and sequential, so the operation of intercepting the event flow and redistributing it by the application may cause the timing of the event flow to be destroyed, causi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/041G06F3/0488
CPCG06F3/0412G06F3/0416G06F3/04883
Inventor 吴恒刚
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products