CN110099169A - Instant message processing method, electronic device and computer readable storage medium - Google Patents

Instant message processing method, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN110099169A
CN110099169A CN201910339491.5A CN201910339491A CN110099169A CN 110099169 A CN110099169 A CN 110099169A CN 201910339491 A CN201910339491 A CN 201910339491A CN 110099169 A CN110099169 A CN 110099169A
Authority
CN
China
Prior art keywords
instant message
type
action type
application
processing
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.)
Pending
Application number
CN201910339491.5A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910339491.5A priority Critical patent/CN110099169A/en
Publication of CN110099169A publication Critical patent/CN110099169A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present application provides a kind of instant message processing method, electronic device and computer readable storage medium, it is related to technical field of mobile terminals, wherein method includes: when getting instant message by current application, whether the type for confirming instant message is target type, when the type for confirming instant message is target type, confirm the action type of instant message, simulation generates the corresponding operation data of action type, and triggering current application handles instant message.The application can be improved the efficiency of processing instant message and expand the processing scope of application.

Description

Instant message processing method, electronic device and computer readable storage medium
Technical field
This application involves technical field of mobile terminals more particularly to a kind of instant message processing methods, electronic device and meter Calculation machine readable storage medium storing program for executing.
Background technique
In the message that some instant messaging applications are sent, in addition to message such as common text, voices, there are also some specific The message of type realizes in the prior art by automatic acquisition, identification, the processing to message to the automatic, fast of particular message Speed processing.
But the type of message of above-mentioned processing mode processing is single, will limit the range of applicable instant messaging application, or The type of the handled message of person's limitation, the scope of application is not extensive enough, and treatment effeciency is low.
Summary of the invention
The embodiment of the present application provides a kind of instant message processing method, electronic device and computer readable storage medium, can By simulating the corresponding operation of action type of timely message, triggering current application automatically processes the instant message, solution processing The problem that the mode scope of application is not extensive enough, treatment effeciency is low.
On the one hand the embodiment of the present application provides a kind of instant message processing method, comprising:
When getting instant message by current application, confirm whether the type of the instant message is target type;
When the type for confirming the instant message is target type, the action type of the instant message is confirmed;
Simulation generates the corresponding operation data of the action type, triggers the current application and handles the instant message.
On the one hand the embodiment of the present application additionally provides a kind of electronic device, comprising:
First confirmation module when for getting instant message by current application, confirms the type of the instant message It whether is target type;
Second confirmation module, for when the type for confirming the instant message is target type, confirmation is described to disappear immediately The action type of breath;
Processing module generates the corresponding operation data of the action type for simulating, and triggers the current application processing The instant message.
On the one hand the embodiment of the present application additionally provides a kind of electronic device, comprising: memory, processor and be stored in described It is real when the processor executes the computer program on memory and the computer program that can run on the processor Now foregoing instant message processing method.
On the one hand the embodiment of the present application additionally provides a kind of computer readable storage medium, be stored thereon with computer journey Sequence when the computer program is executed by processor, realizes foregoing instant message processing method.
The various embodiments described above after target type, confirm that this disappears immediately by confirming the type of the instant message received The action type of breath, simulation generate the corresponding operation data of the action type, trigger and manage the instant message automatically at current application, Improve the speed for handling the instant message, the instant message that the range and expansion for improving applicable instant messaging application are capable of handling The range of type.
Detailed description of the invention
Fig. 1 is the flow diagram for the instant message processing method that one embodiment of the application provides;
Fig. 2 is the flow diagram for the instant message processing method that another embodiment of the application provides;
Fig. 3 be the embodiment of the present application in sensor module structure and with apply connection relationship diagram;
Fig. 4 is the flow diagram for the instant message processing method that another embodiment of the application provides;
Fig. 5 is the structural schematic diagram for the electronic device that one embodiment of the application provides;
Fig. 6 is the structural schematic diagram for the electronic device that another embodiment of the application provides;
Fig. 7 is the hardware structural diagram of electronic device provided by the embodiments of the present application.
Specific embodiment
To enable present invention purpose, feature, advantage more obvious and understandable, below in conjunction with the application Attached drawing in embodiment, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described reality Applying example is only some embodiments of the present application, and not all embodiments.Based on the embodiment in the application, those skilled in the art Member's every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Referring to Fig. 1, the instant message processing method flow diagram provided for one embodiment of the application.This method can be with Using in an electronic, which specifically can be the mobile terminals such as mobile phone, tablet computer.This method includes following step It is rapid:
S101, when getting instant message by current application, confirm whether the type of the instant message is target type;
Current application refer to it is various can be with the APP of transmitting/receiving instance message (Instant Messaging) (application)。
After receiving instant message, confirm whether the type of the instant message is target type, that is, whether be to be treated Type of message.The type of message can be divided into word message, speech message, image information, location message, virtual resource message etc. Type.Wherein, the processing of word message, which can be, changes into voice reading;The processing of speech message, which can be, to be changed into text importing and exists On electronic device interface;The processing of image information can be unloading in specified file;The processing of location message can be It directly jumps and opens specified navigation APP, which is determined as after navigation terminal according to preset regular selection target Route starts to navigate;The processing of virtual resource message is to request to distribute the message corresponding virtual resource to server, and will obtain The virtual resource taken is stored in specified account.
If desired the instant message type handled is speech message, then the target type is sound-type;If desired it handles Instant message type be virtual resource message, then the target type be virtual resource type, and so on.
S102, when confirm the instant message type be target type when, confirm the action type of the instant message;
Action type refers to the type for handling the operation of the instant message, can specifically include pose and changes operation, stroke Operation, clicking operation etc., it further may include shaking, throwing, get rid of etc. to change electronics dress that wherein pose, which changes operation, The operation of seated position and posture.
S103, simulation generate the corresponding operation data of the action type, trigger the current application and handle the instant message.
The generation for simulating the corresponding operation data of the action type triggers current application processing by the operation data The instant message, that is, user is not carried out the operation for handling the instant message, but simulation should in the system of electronic device The progress of operation, triggering handle the execution logic of the instant message.
In the present embodiment, after target type, the instant message is confirmed by confirming the type of the instant message received Action type, simulation generates the corresponding operation data of the action type, triggers and manage the instant message automatically at current application, mention The speed of the high disposal instant message, the instant message class that the range and expansion for improving applicable instant messaging application are capable of handling The range of type.
Referring to Fig. 2, the instant message processing method flow diagram provided for another embodiment of the application.This method can In an electronic with application, which specifically can be the mobile terminals such as mobile phone, tablet computer.This method includes as follows Step:
S201, when getting instant message by current application, confirm whether the type of the instant message is target type;
S202, when the type for confirming the instant message is target type, obtain user and the history of the instant message grasped Make mode, the action type of the instant message is confirmed according to the historical operation mode;
Specifically, acceleration transducer (Gsensor) data in the operating time of the historical operation mode are obtained, are checked Whether the user controls electronic device and has carried out pose change operation within the operating time, if the sensing of the acceleration transducer Amplitude of variation of the data in preset time period is greater than predetermined amplitude, then confirms the action type of the instant message for pose change Operation, for example, the operating time is to assign to 03 point 2 pm one day 02, acceleration transducer data are within the operating time In one 3 seconds period, amplitude of variation is greater than predetermined amplitude, then it represents that the electronic device has occurred in the preset time period The larger change of pose, it is sufficient to which confirmation, which has occurred, the operation such as shakes, throws or get rid of.If the biography of the acceleration transducer Feel amplitude of variation of the data in the preset time period and be not more than predetermined amplitude, then confirms that the action type of the instant message is not Pose changes operation.
Further, the touch point of the touch screen in the operating time of the historical operation mode is obtained, which is to use What family finger was formed when operating on the touch screen.It, should if the touch point is the continuous multiple touch points for meeting desired guiding trajectory The action type of instant message is paddling operation, and paddling operation can be along the rails stroke such as straight line, curve or broken line, the company of generation Continue multiple touch points, and multiple touch point meets the desired guiding trajectories such as straight line, curve or broken line, then can confirm the action type For paddling operation.If the touch point is single touch point or the multiple touch points for not meeting the desired guiding trajectory, that is, these touch points Position be it is discrete, then can confirm the instant message action type be clicking operation.It can be improved and handle the instant message Efficiency.
S203, simulation generate the corresponding operation data of the action type, trigger the current application and handle the instant message.
Fig. 3 is referred to, Fig. 3 is connection and the hierarchical relationship of application and sensor module, and wherein sensor module is most upper Layer is sensor-service end (sensorservice), and middle layer is hardware abstraction layer (HAL, Hardware Abstraction Layer), lower layer is various kinds of sensors (sensor), and wherein sensorservice connects up application.When the historical operation side When formula is that pose changes operation, a data model is set, which supports to simulate from HAL layers of transmission in HAL layers Gsensor data are to sensorservice, and simulation Gsensor data correspond to the pose and change operation, that is, the simulation Gsensor data are shown in the variation for occurring to be greater than the predetermined amplitude in the preset time period, and sensorservice is by the simulation Gsensor data are reported to application, and the pose has occurred using confirmation electronic device and changes operation, and automatically beginning to processing should i.e. When message, such as specifically send processing request to server, do it yourself to complete the pose without user and change operation.
Further, when the historical operation mode is paddling operation or clicking operation, user is collected in advance to the target The position or range that the instant message of type is operated, alternatively, display confirmation position or the interface of range, prompt user to exist Confirm position or range in the interface, concrete mode is that user click location or marks range on the touchscreen, passes through touch screen Collect touch point confirmation position or the range of user.
Specifically, when collecting the position or range that user operates the instant message of the target type, one is obtained The list of coordinates of the different location of the very big touch point of a range can be obtained final according to the list of coordinates and preset algorithm Clicking operation or the corresponding operating area of paddling operation.For example, having collected the coordinate of following touch point:
A1 point (X1, Y1);A2 point (X2, Y2) ...;A1000 point (X1000, Y1000);
Specific algorithm are as follows: the median for confirming the X value summation of each touch point, it is default poor by median increase and decrease one Value, the preset difference value are, for example, 10 units, which can be N millimeters, and N is preset arbitrary value.Y value is calculated using same The clicking operation or the corresponding operating area of paddling operation can be obtained in method after processing.
Further, simulation generates clicking operation data or paddling operation data in the operating area, and can trigger should Current application handles the instant message.Specifically, simulation click can be completed by executing the order carried in electronic apparatus system Operation or paddling operation,<xm><ym>order for example, executing adb shell input swipe<x1><y1><x2><y2>..., Can be achieved simulation paddling operation, wherein<x1><y1><x2><y2>...<xm><ym>is the coordinate of touch point, from coordinate be< X1><y1>point, stroke to the point of<x2><y2>, terminates at the point of<xm><ym>, automatic stroke may be implemented, without user Stroke.For another example, adb shell input tap X Y order is executed, it can be achieved that simulation clicking operation, wherein XY is to click behaviour The touch point coordinate of work is clicked to realize automatically clicking without user.
In the present embodiment, after target type, the instant message is confirmed by confirming the type of the instant message received Action type, simulation generates the corresponding operation data of the action type, triggers and manage the instant message automatically at current application, mention The speed of the high disposal instant message, the instant message class that the range and expansion for improving applicable instant messaging application are capable of handling The range of type.
Referring to Fig. 4, the instant message processing method flow diagram provided for another embodiment of the application.This method can In an electronic with application, which specifically can be the mobile terminals such as mobile phone, tablet computer.This method includes as follows Step:
S301, when getting instant message by current application, confirm whether the type of the instant message is target type;
S302, when confirm the instant message type be target type when, obtain the instant message source application and should The historical operation type of source application, the historical operation type which is applied is as the action type of the instant message;
It checks the source application for sending the instant message, obtains the historical operation type of source application, which is For the action type of the instant message.That is, confirming the action type of the instant message according to the APP for obtaining instant message.
S303, simulation generate the corresponding operation data of the action type, trigger the current application and handle the instant message.
In the embodiment of the present invention, after target type, confirm this immediately by confirming the type of the instant message received The action type of message, simulation generate the corresponding operation data of the action type, manage this automatically at triggering current application and disappear immediately Breath improves the speed for handling the instant message, and the range and expansion for improving applicable instant messaging application are capable of handling instant The range of type of message.
Further, in the above embodiments, default APP can also be run in preset time, is led to according to user setting It crosses the default APP and obtains instant message, which is the instant message of the target type regularly sent, and it is pre- that simulation generates this If the corresponding operation data of the action type of APP, trigger the target type regularly sent that default APP processing obtains i.e. When message.The convenience and efficiency for handling the instant message of the target type regularly sent can be improved.
The embodiment of the present application also protects a kind of electronic device, and referring to Fig. 5, which specifically can be mobile phone, plate The mobile terminals such as computer.The electronic device includes: the first confirmation module 501, the second confirmation module 502 and processing module 503.
First confirmation module 501 when for getting instant message by current application, confirms the type of the instant message It whether is target type;
Second confirmation module 502, for confirming the instant message when the type for confirming the instant message is target type Action type;
Processing module 503 generates the corresponding operation data of the action type for simulating, and triggering current application processing should Instant message.
In the present embodiment, after target type, the instant message is confirmed by confirming the type of the instant message received Action type, simulation generates the corresponding operation data of the action type, triggers and manage the instant message automatically at current application, mention The speed of the high disposal instant message, the instant message class that the range and expansion for improving applicable instant messaging application are capable of handling The range of type.
Referring to Fig. 6, it is mobile specifically to can be mobile phone, tablet computer etc. for the electronic device that another embodiment of the application provides Terminal.With embodiment illustrated in fig. 5 the difference is that:
Further, the second confirmation module 502 includes:
Module 5021 is obtained, for obtaining user to the historical operation mode of the instant message;
Submodule 5022 is confirmed, for confirming the action type of the instant message according to the historical operation mode.
Further, module 5021 is obtained, is also used to obtain the acceleration in the operating time of the historical operation mode and passes Sensor data;
Then, submodule 5022 is confirmed, if being also used to change of the sensing data of the acceleration transducer in preset time period Change amplitude is greater than predetermined amplitude, then confirms that the action type of the instant message is that pose changes operation.
Further, if the historical operation mode is that pose changes operation, processing module 503, for passing through sensor Module generates the virtual sensing data of the acceleration transducer, and gives the virtual sensing data transmission to the current application, triggering The current application changes in response to the pose to be operated, and is handled automatically the instant message, and the virtual sensing data are corresponding should Pose changes operation.
Further, module 5021 is obtained, is also used to obtain the touch screen in the operating time of the historical operation mode Touch point;
Then, submodule 5022 is confirmed, if being also used to the touch point is the continuous multiple touch points for meeting desired guiding trajectory, really The action type for recognizing the instant message is paddling operation;And if single touch point is in the touch point or does not meet the default rail Multiple touch points of mark then confirm that the action type of the instant message is clicking operation.
Further, module 5021 is obtained, is also used to obtain the source application of the instant message, and, obtain source application Historical operation type;
Confirm submodule 5022, the historical operation type for being also used to apply in the source, the operation class as the instant message Type.
Further, the device further include:
Module 601 is run, for the setting according to user, runs default application in preset time;
By the instant message of the default target type regularly sent using acquisition, and simulate the generation default application The corresponding operation data of action type, trigger the instant message that the default application processing obtains.
Its correlation specifically describes, referring to the description of earlier figures 1 to embodiment illustrated in fig. 5.
Pass through the type for the instant message that confirmation receives in the present embodiment to confirm the instant message after target type Action type, simulation generate the corresponding operation data of the action type, trigger and manage the instant message automatically at current application, improve The speed for handling the instant message, the instant message type that the range and expansion for improving applicable instant messaging application are capable of handling Range.
Further, which includes: memory, processor and is stored on institute's memory and can be in the processing The computer program run on device when the processor executes the computer program, is realized real as shown in aforementioned Fig. 1 to Fig. 4 Apply instant message processing method described in example.
The embodiment of the present application also provides a kind of computer readable storage medium, which be can be It is set in the electronic device in the various embodiments described above, which, which can be in the various embodiments described above, is arranged Storage unit in main control chip and data acquisition chip.It is stored with computer program on the computer readable storage medium, Realize earlier figures 1 to instant message processing method described in embodiment illustrated in fig. 4 when the program is executed by processor.
Illustratively, electronic device can be various types of departments of computer science that are mobile or portable and executing wireless communication Any one of equipment of uniting.Specifically, electronic device can be mobile phone or smart phone (for example, being based on iPhone TM, the phone based on Android TM), portable gaming device (such as Nintendo DS TM, PlayStation Portable TM, Gameboy Advance TM, iPhone TM), laptop computer, PDA, portable Internet appliance, sound Happy player and data storage device, other handheld devices and wrist-watch, earphone, pendant, earphone etc., electronic device is also Can for other wearable devices (for example, such as electronic glasses, electronics clothes, electronics bracelet, electronics necklace, electronics tatoo, The headset equipment (HMD) of electronic equipment or smartwatch).
Electronic device can also be that any one of multiple electronic equipments, multiple electronic equipments include but is not limited to honeycomb Phone, smart phone, other wireless telecom equipments, personal digital assistant, audio player, other media players, music note It records device, video recorder, camera, other medium recorders, radio, Medical Devices, vehicle transport instrument, calculator, may be programmed Remote controler, pager, laptop computer, desktop computer, printer, netbook computer, personal digital assistant (PDA), just Formula multimedia player (PMP), Motion Picture Experts Group (MPEG-1 or MPEG-2) audio layer 3 (MP3) player are taken, it is portable Medical Devices and digital camera and combinations thereof.
In some cases, electronic device can execute multiple functions and (for example, playing music, show video, store picture And send and receive call).If desired, electronic device can be such as cellular phone, media player, other hands The portable device of holding equipment, watch equipment, pendant equipment, receiver device or other compact portable equipment.
As shown in fig. 7, electronic equipment 10 may include control circuit, which may include storage and processing circuit 30.The storage and processing circuit 30 may include memory, such as hard drive memory, nonvolatile memory (such as dodge Deposit or be used to form the memory etc. of other electronic programmable limit deletings of solid state drive), volatile memory (such as it is quiet State or dynamic random access memory etc.) etc., the embodiment of the present application is with no restriction.Store and process the processing circuit in circuit 30 It can be used for the operating of controlling electronic devices 10.The processing circuit microprocessor, microcontroller can count based on one or more Word signal processor, baseband processor, power management unit, audio codec chip, specific integrated circuit, display driver Integrated circuit etc. is realized.
Storage and processing circuit 30 can be used for running the software in electronic equipment 10, such as the Internet browser application program, Voice over internet protocol (Voice over Internet Protocol, VOIP) call application program, Email are answered With program, media play-back application, operation system function etc..These softwares can be used for executing some control operations, for example, Image Acquisition based on camera, the ambient light measurement based on ambient light sensor, the proximity sensor based on proximity sensor Measurement, the information display function that the positioning indicators such as status indicator lamp based on light emitting diode are realized are passed based on touching The touch event of sensor detects, function associated with information show on multiple (such as layering) displays, with execution nothing The associated operation of line communication function, operation associated with collecting and generating audio signal, presses with collection and treatment button Other functions etc. in the associated control operation of event data and electronic equipment 10, the embodiment of the present application is with no restriction.
Electronic equipment 10 can also include input-output circuit 42.Input-output circuit 42 can be used for making electronic equipment 10 Realize outputting and inputting for data, i.e. permission electronic equipment 10 allows electronic equipment 10 that will count from outer equipment receiving data and also According to from the output of electronic equipment 10 to external equipment.Input-output circuit 42 may further include sensor 32.Sensor 32 can To include ambient light sensor, the proximity sensor based on light and capacitor, touch sensor is (for example, be based on light touch sensor And/or capacitive touch sensors, wherein touch sensor can be a part of touching display screen, can also be used as one Touch sensor arrangement independently uses), acceleration transducer and other sensors etc..
Input-output circuit 42 can also include one or more displays, such as display 14.Display 14 can wrap Include liquid crystal display, organic light emitting diode display, electronic ink display, plasma display uses other display skills One or several kinds of combination in the display of art.Display 14 may include touch sensor array (that is, display 14 can be with It is touching display screen).Touch sensor can be by transparent touch sensor electrode (such as tin indium oxide (ITO) electrode) battle array The capacitive touch sensors formed are arranged, or can be the touch sensor formed using other touching techniques, such as sound wave Touch-control, pressure sensible touch, resistive touch, optical touch etc., the embodiment of the present application is with no restriction.
Electronic equipment 10 can also include audio component 36.Audio component 36 can be used for providing audio for electronic equipment 10 Output and input function.Audio component 36 in electronic equipment 10 may include loudspeaker, microphone, buzzer, tone generation Device and other components for being used to generate and detect sound.
Telecommunication circuit 38 can be used for providing the ability with external device communication for electronic equipment 10.Telecommunication circuit 38 can be with Radio communication circuit including analog- and digital- input-output interface circuit, and based on radiofrequency signal and/or optical signal.Communication Radio communication circuit in circuit 38 may include radio-frequency transceiver circuitry, power amplifier circuit, low-noise amplifier, open Pass, filter and antenna.For example, the radio communication circuit in telecommunication circuit 38 may include for by transmitting and reception Near-field coupling electromagnetic signal supports the circuit of near-field communication (Near Field Communication, NFC).For example, communication Circuit 38 may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit 38 can also include cellular telephone transceiver And antenna, wireless lan transceiver circuit and antenna etc..
Electronic equipment 10 can further include battery, power management circuitry and other input-output units 40.Input Output unit 40 may include button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, camera, shine two Pole pipe and other positioning indicators etc..
User can input a command for the operation of controlling electronic devices 10 by imput output circuit 42, and can be used The output data of imput output circuit 42 receives status information and other outputs from electronic equipment 10 to realize.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The above are to instant message processing method provided herein, electronic device and computer readable storage medium Description, for those skilled in the art, according to the thought of the embodiment of the present application, in specific embodiments and applications It will change, to sum up, the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of instant message processing method is applied to electronic device characterized by comprising
When getting instant message by current application, confirm whether the type of the instant message is target type;
When the type for confirming the instant message is target type, the action type of the instant message is confirmed;
Simulation generates the corresponding operation data of the action type, triggers the current application and handles the instant message.
2. the method according to claim 1, wherein the action type of the confirmation instant message includes:
User is obtained to the historical operation mode of the instant message;
According to the historical operation mode, the action type of the instant message is confirmed.
3. according to the method described in claim 2, it is characterized in that, described obtain user to the historical operation of the instant message Mode includes:
Obtain the acceleration transducer data in the operating time of the historical operation mode;
Then, described according to the historical operation mode, confirm that the action type of the instant message includes:
If amplitude of variation of the sensing data of the acceleration transducer in preset time period is greater than predetermined amplitude, institute is confirmed The action type for stating instant message is that pose changes operation.
4. according to the method described in claim 3, it is characterized in that, if the historical operation mode be pose change operation, The simulation generates the corresponding operation data of the action type, triggers the current application processing instant message and includes:
Generate the virtual sensing data of the acceleration transducer by sensor module, and by the virtual sensing data transmission To the current application, the current application is triggered in response to the pose and changes operation, the instant message is carried out automatically Processing, the virtual sensing data correspond to the pose and change operation.
5. according to the method described in claim 2, it is characterized in that, described obtain user to the historical operation of the instant message Mode includes:
Obtain the touch point of the touch screen in the operating time of the historical operation mode;
Then, described according to the historical operation mode, confirm that the action type of the instant message includes:
If the touch point is the continuous multiple touch points for meeting desired guiding trajectory, confirm that the action type of the instant message is Paddling operation;
If the touch point is single touch point or does not meet multiple touch points of the desired guiding trajectory, confirms and described disappear immediately The action type of breath is clicking operation.
6. the method according to claim 1, wherein the action type of the confirmation instant message includes:
Obtain the source application of the instant message;
The historical operation type of the source application, and the historical operation type that the source is applied are obtained, is disappeared immediately as described The action type of breath.
7. the method according to claim 1, wherein the method also includes:
According to the setting of user, default application is run in preset time;
The instant message of the target type regularly sent is obtained by the default application, and simulates described preset of generation and answers The corresponding operation data of action type triggers the instant message that the default application processing obtains.
8. a kind of electronic device characterized by comprising
First confirmation module, when for getting instant message by current application, confirm the instant message type whether For target type;
Second confirmation module, for confirming the instant message when the type for confirming the instant message is target type Action type;
Processing module generates the corresponding operation data of the action type for simulating, and triggers described in the current application processing Instant message.
9. a kind of electronic device, comprising: memory, processor and be stored on the memory and can transport on the processor Capable computer program, which is characterized in that when the processor executes the computer program, realize as in claim 1 to 7 Any one described in instant message processing method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program When being executed by processor, the instant message processing method as described in any one in claim 1 to 7 is realized.
CN201910339491.5A 2019-04-25 2019-04-25 Instant message processing method, electronic device and computer readable storage medium Pending CN110099169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910339491.5A CN110099169A (en) 2019-04-25 2019-04-25 Instant message processing method, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910339491.5A CN110099169A (en) 2019-04-25 2019-04-25 Instant message processing method, electronic device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110099169A true CN110099169A (en) 2019-08-06

Family

ID=67445833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910339491.5A Pending CN110099169A (en) 2019-04-25 2019-04-25 Instant message processing method, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110099169A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583975A (en) * 2019-09-30 2021-03-30 中兴通讯股份有限公司 Message pushing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050111653A1 (en) * 2003-04-15 2005-05-26 Robert Joyce Instant message processing in a customer interaction system
CN102868742A (en) * 2012-09-07 2013-01-09 华为终端有限公司 Method for automatically publishing information and mobile terminal
CN104571916A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Method and device for executing terminal operating information
CN106302107A (en) * 2016-07-26 2017-01-04 北京奇虎科技有限公司 The method and device of preview instant communication information
CN106653011A (en) * 2016-09-12 2017-05-10 努比亚技术有限公司 Voice control method, voice control device and terminal
CN109150692A (en) * 2018-07-28 2019-01-04 北京旺马科技有限公司 Message automatic broadcasting method, system, car-mounted terminal and handheld device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050111653A1 (en) * 2003-04-15 2005-05-26 Robert Joyce Instant message processing in a customer interaction system
CN102868742A (en) * 2012-09-07 2013-01-09 华为终端有限公司 Method for automatically publishing information and mobile terminal
CN104571916A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Method and device for executing terminal operating information
CN106302107A (en) * 2016-07-26 2017-01-04 北京奇虎科技有限公司 The method and device of preview instant communication information
CN106653011A (en) * 2016-09-12 2017-05-10 努比亚技术有限公司 Voice control method, voice control device and terminal
CN109150692A (en) * 2018-07-28 2019-01-04 北京旺马科技有限公司 Message automatic broadcasting method, system, car-mounted terminal and handheld device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583975A (en) * 2019-09-30 2021-03-30 中兴通讯股份有限公司 Message pushing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107734179A (en) A kind of message prompt method, mobile terminal
CN107786732A (en) Terminal applies method for pushing, mobile terminal and computer-readable recording medium
KR20170120145A (en) Systems and methods for providing context-sensitive haptic notification frameworks
CN105378624A (en) Showing interactions as they occur on a whiteboard
CN109408023A (en) Screen vocal technique and device, control device, electronic equipment and storage medium
CN107358953A (en) Sound control method, mobile terminal and storage medium
CN110109759A (en) Caton optimization method, server, electronic device and computer readable storage medium
CN109150326A (en) Antenna impedance adjustment method, electronic device and computer readable storage medium
CN108108110A (en) A kind of screen control method, screen control device and mobile terminal
CN107066173A (en) Method of controlling operation thereof and device
CN109348467A (en) Emergency call realization method, electronic device and computer readable storage medium
CN109067984A (en) Data transmission method, electronic device and computer readable storage medium
CN108320148A (en) A kind of resource transfers method and relevant device
CN108769399A (en) A kind of message treatment method and terminal device
CN108509108A (en) A kind of application icon aligning method and mobile terminal
CN107728920A (en) A kind of clone method and mobile terminal
CN108184011A (en) A kind of reminder announced method, terminal and computer readable storage medium
US20120242620A1 (en) Combined optical navigation and button
CN109684011A (en) Interface display control method, electronic device and computer readable storage medium
CN110475020A (en) Apparatus control method and Related product
CN109348062A (en) Emergency call realization method, electronic device and computer readable storage medium
CN109257731A (en) Emergency call realization method, electronic device and computer readable storage medium
CN110099169A (en) Instant message processing method, electronic device and computer readable storage medium
CN109634550A (en) A kind of voice operating control method and terminal device
CN109951373A (en) A kind of document sending method 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190806