Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It is a kind of flow chart of the method for instant message processing provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, such as Fig. 1 institute
Show, the social account that the embodiment of the present invention is used to newly be added knows the treatment process of chat messages, each social activity in social group
The method that account can carry out above-mentioned instant message processing, comprising the following steps:
Step 101 records the instant message being labeled in the instant message that each social account is sent in social group.
In the step, social group is that can send and receive group such as discussion group, group chat combination of instant message etc.
Deng;When carrying out instant messaging, mobile terminal detects automatically and the instant message of each social account transmission of blotter, wherein
Instant message can be word message or image message.Labeled instant message can be user message is marked or
Person's mobile terminal is marked according to special keyword, for example, the right end of every instant message presets special icon,
Icon can be brightened or is labeled when user clicks the special icon, by the instant message of selection markers as target message.
In this way, " important messages " of label are issued new social account, to realize that new social account knows rapidly chat messages.
If instant message is word message, the instant message of the label can be marked automatically with mobile terminal, will be each
In the instant message that social account is sent include that the instant message of predetermined keyword is marked, for example, predetermined keyword can be with
It is notice, important, notice, meeting, file, forwarding, picture, time, place etc..Thus realization is known " important to disappear automatically
Breath ", does not need artificially to go to mark, operating process is more convenient.
If the new social account of addition, screens labeled instant message, to obtain in step 102, social group
Target message.
In the step, the social account in social group is carried out in real time or certain interval of time detects, it can be with
It is changed over time by the quantity of social account to judge whether be added with new social account in social group, if social account
Quantity changes over time and increases the new social account of i.e. addition.Pass through the name of the name and social account before of existing social account
Word is compared, it can be found that the name of New Account.When instant message is word message, the instant message of label is carried out whole
The instant message of label, is then generated the form of picture, using the image as target message by reason, sequence using drawing function.
Wherein, the labeled instant message in preset time period can be screened during screening to labeled instant message
As target message;Or the labeled instant message of the preset quantity nearest apart from current time is screened as target message.
In this way, new social account can be allowed to know newest " important messages ", here for avoiding repeating, specific implementation process is at other
Embodiment is illustrated.
Step 103 sends target message to new social account.
In the step, the target message in step 102 is sent into a new social account, can be convenient new social account in this way
Timely learning is newest " important messages ", and the process sent can be forwarded or be established by server one-to-one
Socket communication, can also be and directly transmit target message to new society without server by point-to-point communication i.e. mobile terminal
Family institute hand over the accounts on mobile terminals.Transmission process is convenient and efficient.
In the embodiment of the present invention, above-mentioned mobile terminal may is that mobile phone, tablet computer (Tablet Personal
Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital
Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device
(Wearable Device) etc..
The method that the instant message of the embodiment of the present invention is handled records each social the instant of account transmission in social group and disappears
The instant message being labeled in breath;If the new social account of addition, screens labeled instant message in social group, with
Obtain target message;Target message is sent to new social account.In this way, passing through when there is new social account that social group is added
The message filtered out is transmitted directly to new social account, convenient new social account quickly enters chat theme, makes to know chat
The process of message is simpler and convenient.
Referring to fig. 2, the flow chart of the method for Fig. 2 another instant message processing provided in an embodiment of the present invention, such as Fig. 2 institute
Show, comprising the following steps:
Step 201 records the instant message being labeled in the instant message that each social account is sent in social group.
In the step, social group is that can send and receive group such as discussion group, group chat combination of instant message etc.
Deng;When carrying out instant messaging, mobile terminal detects automatically and the instant message of each social account transmission of blotter, wherein
Instant message can be word message or image message.Labeled instant message can be user message is marked or
Person's mobile terminal is marked according to special keyword, for example, the right end of every instant message presets special icon,
Icon can be brightened or is labeled when user clicks the special icon, by the instant message of selection markers as target message.
In this way, " important messages " of label are issued new social account, to realize that new social account knows rapidly chat messages.
If instant message is word message, the instant message of the label can be marked automatically with mobile terminal, will be each
In the instant message that social account is sent include that the instant message of predetermined keyword is marked, for example, predetermined keyword can be with
It is notice, important, notice, meeting, file, forwarding, picture, time, place etc..Thus realization is known " important to disappear automatically
Breath ", does not need artificially to go to mark, operating process is more convenient.
If the new social account of addition, screens labeled instant message, to obtain in step 202, social group
Target message.
In the step, the social account in social group is carried out in real time or certain interval of time detects, it can be with
It is changed over time by the quantity of social account to judge whether be added with new social account in social group, if social account
Quantity changes over time and increases the new social account of i.e. addition.Pass through the name of the name and social account before of existing social account
Word is compared, it can be found that the name of New Account.When instant message is word message, the instant message of label is carried out whole
The instant message of label, is then generated the form of picture, using the image as target message by reason, sequence using drawing function.
Wherein, the labeled instant message in preset time period can be screened during screening to labeled instant message
As target message;Or the labeled instant message of the preset quantity nearest apart from current time is screened as target message.
In this way, new social account can be allowed to know newest " important messages ", here for avoiding repeating, specific implementation process is at other
Embodiment is illustrated.
The first net that step 203, other the social affiliated terminals of account for receiving non-new social account in social group are sent
Speed value.
The network speed value of mobile terminal issued in the step, in social group do not include new social account other social accounts
Social account in family, such as social activity group is A, account B and account C, and account D is new social account, and account A is sent certainly respectively
Oneself network speed value receives the network speed value that account B and account C is sent to account B and account C.It should be noted that the first net
The network speed value that fast value can be single social account is also possible to the network speed value of multiple social accounts.
The network speed value of mobile terminal is compared by step 204 with the first network speed value.
In the step, if the network speed value of mobile terminal is the network speed value of account A, by the network speed value of account A and the first net
The size of the network speed value of the network speed value and account C of speed value, that is, account B is compared.
If the network speed value of step 205, mobile terminal is greater than the first network speed value, target message is sent to new social account.
In the step, the preferable mobile terminal of network speed value is determined by the network speed value comparison strategy of step 203 and step 204
Target message is sent, on the one hand can prevent from repeating to send target message to new social account, it is high on the other hand to pass through network speed value
Mobile terminal send target message, improve timeliness and high efficiency.
Optionally, labeled instant message is screened, the step of to obtain target message, comprising:
The labeled instant message in preset time period is screened as target message;Or screening is nearest apart from current time
Preset quantity labeled instant message as target message.
In the embodiment, labeled instant message sees above the related content of embodiment, in order to avoid repeating, this
Place is not repeated.It can be in 10 minutes, in 20 minutes, in 30 minutes etc., to be referred to before reference time point in preset time period
Time point can be the time point that social group is added in new social account.And in the message of the nearest preset quantity of current time
Current time can be above-mentioned reference time point, and the message of preset quantity can be 10,20,30 message etc., in this way
It is known that 10 nearest important informations.It is screened through the above way in the embodiment and is made nearest instant message
It is sent to new social account for target message, improves the timeliness and terseness of message.
Optionally, after the step of sending target message to new social account, method further include:
Detect whether social group is in active state;If social group is not at active state, store in social group
Labeled instant message, and other social accounts send the instant message being labeled in social group to social group.
In the embodiment, when being updated within a preset period of time without new instant message in social group or detect
Determine that social group is in disabled state when user deletes social group group interface.Mobile terminal will be labeled in social group
Instant message stored in a manner of picture or text, and be sent to other social accounts of social group group.It automatically generates in this way
With related minutes of chatting, user is facilitated to check at any time.
After the step of sending target message to new social account, method further include: generation has sent mentioning for target information
Show message;Prompting message is sent to social group.
In the embodiment, in order to inform to other member mobile terminals the prompt for having sent target information in social group
Message promotes the redundancy of the friendly and the message for preventing social group between social group member to new social account
Property, related prompting message is sent in social group, greatly there are words and enriches the scene of the above-mentioned Chat mode of social group.
The method of the instant message processing of the embodiment of the present invention will be screened when there is new social account that social group is added
Message out is sent to the convenient new social account of new social account and quickly enters chat theme, makes to know the process of chat messages more
Add simple and convenient, and target message sent by the best mobile terminal of network speed value, improve messaging timeliness and
High efficiency.
It is one of the structure chart that the present invention implements a kind of mobile terminal provided referring to Fig. 3, Fig. 3, as shown in figure 3, mobile
Terminal 300 includes logging modle 301, screening module 302 and the first sending module 303, in which:
Logging modle 301, for record in social group it is each social activity account send instant message in be labeled it is instant
Message;
Screening module 302, if being carried out for the new social account of addition in social group to the labeled instant message
Screening, to obtain target message;
First sending module 303, for sending the target message to the new social account.
Optionally, as shown in figure 4, the first sending module 303 includes:
Receiving unit 3031, other social affiliated terminals of account for receiving non-new social account in social group are sent
The first network speed value;
Comparing unit 3032, for the network speed value of mobile terminal to be compared with the first network speed value;
Transmission unit 3033 sends mesh to new social account if the network speed value for mobile terminal is greater than the first network speed value
Mark message.
Optionally, screening module 302 is used to screen described in the labeled instant message conduct in preset time period
Target message;Or the screening module 302 is used to screen the described of the preset quantity nearest apart from current time and labeled is
When message as the target message.
Optionally, as shown in figure 5, mobile terminal 300 further include:
Detection module 304, for detecting whether social group is in active state;
Processing module 305, if being not at active state for social group, what is be labeled in the storage social group is
When message, and other social accounts send the instant message being labeled in the social group to the social group.
Optionally, as shown in fig. 6, mobile terminal 300 further include:
Generation module 306, for generating the prompting message for having sent target information;
Second sending module 307, for sending prompting message to social group.
The embodiment of the invention also provides a kind of mobile terminal, records each social the instant of account transmission in social group and disappear
The instant message being labeled in breath;If the new social account of addition, sieves the labeled instant message in social group
Choosing, to obtain target message;The target message is sent to the new social account.In this way, when there is new social account that society is added
When handing over group, by the way that the message filtered out is transmitted directly to new social account, convenient new social account quickly enters chat master
Topic, makes to know that the process of chat messages is simpler and convenient.
It is the structure chart that the present invention implements the mobile terminal provided referring to Fig. 7, Fig. 7, as shown in fig. 7, mobile terminal 700 wraps
It includes: at least one processor 701, memory 702, at least one network interface 704 and user interface 703.In mobile terminal 700
Various components be coupled by bus system 705.It is understood that bus system 705 is for realizing between these components
Connection communication.Bus system 705 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.
But for the sake of clear explanation, various buses are all designated as bus system 705 in Fig. 7.
Wherein, user interface 703 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 702 of system and method described herein is intended to include but is not limited to these and arbitrarily its
It is suitble to the memory of type.
In some embodiments, memory 702 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 7022 includes various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 7022.
In embodiments of the present invention, by the program or instruction of calling memory 702 to store, specifically, can be application
The program or instruction stored in program 7022, processor 701 are used for: being recorded each social the instant of account transmission in social group and disappeared
The instant message being labeled in breath;If the new social account of addition, sieves the labeled instant message in social group
Choosing, to obtain target message;The target message is sent to the new social account.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701.
Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing
Device 701 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 702, processor 701 reads the information in memory 702, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing the application function or combinations thereof.
For software implementations, the skill of this paper can be realized by executing the module (such as process, function etc.) of this paper function
Art.Software code is storable in memory and is executed by processor.Memory can in the processor or outside the processor
It realizes in portion.
Optionally, processor 701 executes the step of sending the target message to the new social account, comprising:
Receive the first net that other social affiliated terminals of account of the non-new social account in the social group are sent
Speed value;
The network speed value of the mobile terminal is compared with the first network speed value;
If the network speed value of the mobile terminal is greater than the first network speed value, the target is sent to the new social account
Message.
Optionally, processor 701 screens the labeled instant message for executing, to obtain target message
The step of, comprising:
The labeled instant message in preset time period is screened as the target message;Or screening distance is current
The labeled instant message of time nearest preset quantity is as the target message.
Optionally, after the step of sending target message to new social account, processor 701 is also used to execute:
Detect whether the social group is in active state;
If the social activity group is not at active state, the instant message being labeled in the social group is stored, and to
Other social accounts of the social activity group send the instant message being labeled in the social group.
Optionally, after the step of sending target message to new social account, processor 701 is also used to:
Execute the prompting message for generating and having sent target information;
Prompting message is sent to social group.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
The mobile terminal 700 of the embodiment of the present invention records quilt in the instant message that each social account is sent in social group
The instant message of label;If the new social account of addition, screens the labeled instant message in social group, with
To target message;The target message is sent to the new social account.In this way, when there is new social account that social group is added
When, by the way that the message filtered out is transmitted directly to new social account, convenient new social account quickly enters chat theme, makes to obtain
Know that the process of chat messages is simpler and convenient.
Referring to Fig. 8, Fig. 8 is that the present invention implements the structure chart of the mobile terminal provided as shown in figure 8, mobile terminal 800
Including radio frequency (Radio Frequency, RF) circuit 810, memory 820, input unit 830, display unit 840, processor
850, voicefrequency circuit 860, communication module 870 and power supply 880.
Wherein, input unit 830 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 800 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 831.Touch panel 831, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 831 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.Optionally, touch panel 831 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
The processor 850 is given again, and can be received order that processor 850 is sent and be executed.Furthermore, it is possible to using resistance-type,
The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 831.In addition to touch panel 831, input unit
830 can also include other input equipments 832, other input equipments 832 can include but is not limited to physical keyboard, function key
One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 840 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 800.Display unit 840 may include display panel 841, optionally, can use LCD or organic hair
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 841.
It should be noted that touch panel 831 can cover display panel 841, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 850 is sent to determine the type of touch event, is followed by subsequent processing device
850 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 850 is the control centre of mobile terminal 800, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 821, and calling storage
Data in second memory 822 execute the various functions and processing data of mobile terminal 800, thus to mobile terminal 800
Carry out integral monitoring.Optionally, processor 850 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 821 in software program and/or module and/
Or the data in the second memory 822, processor 850 are used for: being recorded each social the instant of account transmission in social group and disappeared
The instant message being labeled in breath;If the new social account of addition, sieves the labeled instant message in social group
Choosing, to obtain target message;The target message is sent to the new social account.
Optionally, processor 850 is also used to: the step of sending the target message to the new social account, comprising:
Receive the first net that other social affiliated terminals of account of the non-new social account in the social group are sent
Speed value;
The network speed value of the mobile terminal is compared with the first network speed value;
If the network speed value of the mobile terminal is greater than the first network speed value, the target is sent to the new social account
Message.
Optionally, processor 850 is also used to: being screened to the labeled instant message, to obtain target message
The step of, comprising:
The labeled instant message in preset time period is screened as the target message;Or screening distance is current
The labeled instant message of time nearest preset quantity is as the target message.
Optionally, after the step of sending target message to new social account, processor 850 is also used to execute:
Detect whether the social group is in active state;
If the social activity group is not at active state, the instant message being labeled in the social group is stored, and to
Other social accounts of the social activity group send the instant message being labeled in the social group.
Optionally, after the step of sending target message to new social account, processor 850 is also used to execute:
Generate the prompting message for having sent target information;
Prompting message is sent to social group.
Mobile terminal 800 can be realized each process that mobile terminal is realized in previous embodiment, and can reach identical
Technical effect, to avoid repeating, which is not described herein again.
In this way, recording each social the instant of account transmission in social group in the mobile terminal 800 of the embodiment of the present invention and disappearing
The instant message being labeled in breath;If the new social account of addition, sieves the labeled instant message in social group
Choosing, to obtain target message;The target message is sent to the new social account.In this way, when there is new social account that society is added
When handing over group, by the way that the message filtered out is transmitted directly to new social account, convenient new social account quickly enters chat master
Topic, makes to know that the process of chat messages is simpler and convenient.
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.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, 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.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
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.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.