Embodiment
It is in order to make those skilled in the art better understand the technical solutions in the application, real below in conjunction with the application
The attached drawing in example is applied, the technical solution in the embodiment of the present application is clearly and completely described, it is clear that described implementation
Example is merely a part but not all of the embodiments of the present application.It is common based on the embodiment in the application, this area
Technical staff's all other embodiments obtained without creative efforts, should all belong to the application protection
Scope.
In the embodiment of the present application, electronic equipment can be terminal device, and terminal device both includes wireless signal receiver
Equipment, it only possesses the equipment of the wireless signal receiver of non-emissive ability, and the equipment including receiving and launching hardware, its
With the reception that two-way communication on bidirectional communication link, can be performed and the equipment of transmitting hardware.This equipment can include:
Honeycomb or other communication equipments, its with single line display or multi-line display or without multi-line display honeycomb or
Other communication equipments;PCS Personal Communications System (Personal Communicat1ns Service, PCS), its can with combine voice,
Data processing, fax and/or its communication ability;Personal digital assistant (Personal Digital Assistant, PDA),
It can include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, calendar and/or the whole world
Alignment system (Global Posit1ning System, GPS) receiver;Conventional laptop and/or palmtop computer or its
His equipment, it has and/or the conventional laptop including radio frequency receiver and/or palmtop computer or other equipment.Here
Used terminal device can be portable, can transport, in the vehicles (aviation, sea-freight and/or land), or
Person is suitable for and/or is configured in local runtime, and/or with distribution form, operates in any other position in the earth and/or space
Put operation.Terminal device used herein above can also be communication terminal, access terminals, music/video playback terminal, such as can
To be PDA, mobile internet device (Mobile Internet Device, MID) and/or there is music/video playing function
Mobile phone.
Fig. 1 is the flow chart according to the method for the forwarding chat message of one embodiment of the application.The method 100 of Fig. 1
Performed by the device of forwarding chat message.It is to be understood that the scheme of the embodiment of the present application is applicable to chat software, for example, can fit
For wechat, QQ, nail nail, Wang Wang, Mo Modeng chat software.
As illustrated in FIG. 1, at S102, screenshot capture is obtained.
It is understood that screenshot capture includes the chat interface of chat software in S102, recorded on chat interface
There is the chat message of chat both sides.
Alternatively, in certain embodiments, user understands the instruction of entr screen sectional drawing, forwards the device of chat message obtaining
After being instructed to screenshot capture, screenshotss are carried out to screen according to screenshot capture instruction, obtain screenshot capture.
Alternatively, as an example, by taking mobile phone as an example, user can pass through the Home key on mobile phone and power supply key combination
Realize the input of screenshot capture instruction.Or user can realize the input of screenshot capture instruction by clicking on shortcut icon.Or
Person user can pre-set screenshotss gesture, and when needing screenshotss, entr screen is cut by way of inputting default screenshotss gesture
Figure instruction.
Alternatively, in further embodiments, chatting in another chat software can be forwarded in a chat software
Its information, such as when chatting by QQ, chat message when chatting by wechat can be forwarded.In this case, obtain
To screenshot capture be probably when being chatted by other chat softwares before user screenshotss be derived and saved in it is local, that is,
Say, screenshot capture can be directly acquired from local in S102.
At S104, the screenshot capture is parsed, obtains needing the chat message forwarded.
It is understood that in S104 parse screenshot capture obtain be chat message in itself, in this case, such as
Fruit chat message includes multimedia messages, receives the user of chat message and can successfully watch multimedia messages, Neng Gouti
The experience of high user.
Specifically, in certain embodiments, screenshot capture is parsed, obtains the record position for the chat message for needing to forward,
According to record position, obtain needing the chat message forwarded.For example, chat software can receive screenshotss message after user's screenshotss,
The chat record scope on current screen sectional drawing is obtained afterwards, can further be intercepted and be recorded this chat record scope, then
Chat record is extracted according to chat record scope.
Specifically, in further embodiments, screenshot capture is parsed, gets the time of the chat message on screenshot capture
Information, the chat message for being read in file and needing to forward is recorded according to the temporal information got from chat message.
Alternatively, in certain embodiments, the quantity of the screenshot capture got in S102 is corresponding to be multiple,
In S104, multiple screenshot captures are parsed, obtain the record position of the chat message on multiple screenshot captures;According to multiple screens
The record position of chat message on sectional drawing, obtains the chat message on multiple screenshot captures;Combine on multiple screenshot captures
Chat message, obtains needing the chat message forwarded.
That is, in the case where there is multiple screenshot captures, the method for the embodiment of the present application can cut multiple screens
Chat message on figure carries out assembly, obtains finally needing the chat message forwarded.As a result, a plurality of chat letter of user's forwarding
Realizing for breath is more convenient.
Specifically, in certain embodiments, in the chat message on combining multiple screenshot captures, cut according to multiple screens
The record time of chat message on figure, combines the chat message on this multiple screenshot capture.Or cut combining multiple screens
During chat message on figure, the chat message on this multiple screenshot capture can be combined according to the time for getting screenshot capture.
Alternatively, in certain embodiments, in multiple screenshot captures, the first screenshot capture corresponding screenshotss time and
Time interval between the two screen shots corresponding screenshotss time is less than or equal to prefixed time interval, wherein, the first screen is cut
Screen and the second screenshot capture are adjacent in time.Herein, the first screenshot capture and the second screenshot capture is adjacent in time can
It is not got between at the time of to be interpreted as at the time of the first screenshot capture is got and get the second screenshot capture
His screenshot capture.Here prefixed time interval can be configured according to actual conditions, such as prefixed time interval is 10s.
S106, forwards the chat message for needing to forward.
Specifically, in certain embodiments, user is prompted to select to receive the contact person of the chat message for needing to forward,
And the contact person selected to user forwards the chat message for needing to forward.
Alternatively, in certain embodiments, screenshot capture is being parsed, after obtaining the chat message that needs forward, directly
Forwarding needs the chat message forwarded.
Alternatively, in further embodiments, it is necessary to which user determines whether before the chat message for needing to forward in forwarding
Need to forward the chat message.That is, when getting chat message forwarding instruction input by user, forwarding needs to forward
Chat message.
Alternatively, in still other embodiments, method 100 further includes:Display reminding information, the prompt message are used
Family is confirmed whether to need to forward chat message.For example, showing an icon after screenshotss on the screen, user is small by clicking on this
Icon is confirmed whether to need to forward chat message.Or by taking mobile phone as an example, shaken after screenshotss, carried in the status bar of mobile phone
Show, prompt user to be confirmed whether to need to forward chat message.
Specifically, in certain embodiments, when forwarding needs the chat message forwarded, the chat forwarded as needed is believed
Breath generation chat message list, forwards the chat message list.
Alternatively, in certain embodiments, after generating information list user can be prompted to select to be not required in information list
The chat message of forwarding, the chat message that user will not forwarded to select in forwarding.For example, display information chooses interface, information
Choose include on interface chat message list and it is corresponding choose button, user is wished by choosing button selection or is not intended to turn
The chat message of hair.
Alternatively, in certain embodiments, can be sent when forwarding chat message list in the form of selection combining is sent,
The form that can also select to send one by one is sent.It can be specifically forwarded to according to the transmission form that user selects.
Fig. 2 shows the indicative flowchart of the method 200 of the forwarding chat message according to one specific embodiment of the application.
Method 200 is performed by the device of forwarding chat message.To forward the device of chat message as chat application in method 200
It is described exemplified by (Application, APP).
As shown in Fig. 2, at S202, chat APP obtains screenshot capture.
Specifically, at S202, when user needs to forward chat record, screenshotss directly are carried out to screen.Chat APP can be received
To screenshotss message, screenshot capture is got.
At S204, the chat record scope in chat APP interception record screenshot captures.
At S206, a small icon is shown in the APP that chats.
In S206, chat APP shows that the purpose of small icon is to allow user to confirm to need by clicking on this small icon
Forward chat record.
At S208, chat APP confirms that user clicks on small icon, according to chat record scope, generates chat record list.
Alternatively, if at S202, the continuous screenshotss of user obtain multiple screenshot captures, in S204, chat APP records
The chat record scope of each screenshot capture, in S208, when confirming that user clicks on small icon, cuts according to each screen
The chat record scope of figure carries out the chat record on multiple screenshot captures the final chat record list of assembled generation.
Alternatively, as an example, if the time interval obtained between the time of two screenshot captures is less than 10 seconds,
It is considered that this two screenshot captures are to operate to obtain by continuous screenshotss.It is understood that here 10 seconds be only one
A example, user can voluntarily be set according to being actually needed.
At S210, chat record list is forwarded.
The method of the forwarding chat message according to the embodiment of the present application is described in detail above in association with Fig. 1 and Fig. 2.Below will
The electronic equipment according to the embodiment of the present application is described in detail with reference to Fig. 3.With reference to figure 3, in hardware view, electronic equipment includes processing
Device, alternatively, including internal bus, network interface, memory.Wherein, memory may include memory, such as deposit at random at a high speed
Access to memory (Random-Access Memory, RAM), it is also possible to further include nonvolatile memory (non-volatile
Memory), for example, at least 1 magnetic disk storage etc..Certainly, which, which is also possible that, realizes that other business are required
Hardware.
Processor, network interface and memory can be connected with each other by internal bus, which can be industry
Standard architecture (Industry Standard Architecture, ISA) bus, Peripheral Component Interconnect standard
(Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended
Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus,
Controlling bus etc..For ease of representing, only represented in Fig. 3 with a four-headed arrow, it is not intended that an only bus or one kind
The bus of type.
Memory, for storing program.Specifically, program can include program code, and said program code includes calculating
Machine operational order.Memory can include memory and nonvolatile memory, and provide instruction and data to processor.
Processor reads corresponding computer program into memory and then runs from nonvolatile memory, in logical layer
The device of forwarding chat message is formed on face.Processor, performs the program that memory is stored, and specifically for performing following behaviour
Make:
Obtain screenshot capture;
The screenshot capture is parsed, obtains needing the chat message forwarded.
Forward the chat message for needing to forward.
The method that the device of the above-mentioned forwarding chat message as disclosed in the application Fig. 1 and embodiment illustrated in fig. 2 performs can be with
Realized applied in processor, or by processor.Processor is probably a kind of IC chip, has the processing energy of signal
Power.During realization, each step of the above method can pass through the integrated logic circuit or software of the hardware in processor
The instruction of form is completed.Above-mentioned processor can be general processor, including central processing unit (Central Processing
Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components.It can realize or perform the public affairs in the embodiment of the present application
Each method, step and the logic diagram opened.General processor can be microprocessor or the processor can also be it is any often
Processor of rule etc..The step of method with reference to disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and hold
Row is completed, or performs completion with the hardware in decoding processor and software module combination.Software module can be located at deposits at random
Reservoir, flash memory, read-only storage, this area such as programmable read only memory or electrically erasable programmable memory, register
In ripe storage medium.The storage medium is located at memory, and processor reads the information in memory, is completed with reference to its hardware
The step of above method.
The method that the electronic equipment can also carry out Fig. 1 and Fig. 2, and realize the device for determining forwarding chat message in Fig. 1 and
The function of embodiment illustrated in fig. 2, details are not described herein for the embodiment of the present application.
Certainly, in addition to software realization mode, the electronic equipment of the application is not precluded from other implementations, for example patrols
Collect mode of device or software and hardware combining etc., that is to say, that the executive agent of following process flow is not limited to each patrol
Collect unit or hardware or logical device.
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one
A or multiple programs, the one or more program include instruction, which works as is held by the electronic equipment including multiple application programs
During row, method that the electronic equipment can be made to perform Fig. 1 and embodiment illustrated in fig. 2, and specifically for performing following methods:
Obtain screenshot capture;
The screenshot capture is parsed, obtains needing the chat message forwarded.
Forward the chat message for needing to forward.
Fig. 4 is the structure diagram of the device of the forwarding chat message of one embodiment of the application.Please refer to Fig.4,
In a kind of Software Implementation, forwarding the device 400 of chat message may include:Processing unit 401 and retransmission unit 402, wherein,
Processing unit 401, obtains screenshot capture;
The processing unit, parses the screenshot capture, obtains needing the chat message forwarded;
Retransmission unit 402, forwards the chat message for needing to forward.
According to the device of the forwarding chat message of the embodiment of the present application, the chat letter for needing to forward can be got automatically
Breath, avoids cumbersome problem caused by the chat message that user selects needs to forward, and the device of the embodiment of the present application
Forwarding be chat message in itself, avoid send screenshot capture caused by network flow consumption it is big the problem of.
Alternatively, as one embodiment, the retransmission unit 402:
When getting chat message forwarding instruction input by user, the chat message for needing to forward is forwarded.
Alternatively, as one embodiment, the processing unit 401:
The screenshot capture is parsed, obtains the record position of the chat message for needing to forward;
According to the record position, the chat message for needing to forward is obtained.
Alternatively, as one embodiment, the processing unit 401:
According to the chat message for needing to forward, chat message list is generated;
The retransmission unit 402, forwards the chat message list.
Alternatively, as one embodiment, the quantity of the screenshot capture is multiple;
Wherein, the processing unit 401:
Multiple screenshot captures are parsed, obtain the record position of the chat message on multiple screenshot captures;
According to the record position of the chat message on the multiple screenshot capture, chatting on the multiple screenshot capture is obtained
Its information;
The chat message on the multiple screenshot capture is combined, obtains the chat message for needing to forward.
Alternatively, as one embodiment, in the multiple screenshot capture the first screenshot capture corresponding screenshotss time and
Time interval between the second screenshot capture corresponding screenshotss time is less than or equal to prefixed time interval, wherein, described first
Screenshot capture and second screenshot capture are adjacent in time.
Alternatively, as one embodiment, the processing unit 401:
According to the record time of the chat message on multiple screenshot captures, the chat letter on the multiple screenshot capture is combined
Breath.
Alternatively, as one embodiment, after the acquisition screenshot capture, the processing unit 401:
Display reminding information, the prompt message need to forward chat message for prompting user to be confirmed whether.
Alternatively, as one embodiment, the processing unit 401:
Obtain screenshot capture instruction;
Screenshotss are carried out to screen according to screenshot capture instruction, obtain the screenshot capture.
The device 400 of forwarding chat message can also carry out the method for Fig. 1 and embodiment illustrated in fig. 2, and realize forwarding chat
The device of information is in Fig. 1 and the function of embodiment illustrated in fig. 2, and details are not described herein for the embodiment of the present application.
In short, the foregoing is merely the preferred embodiment of the application, the protection domain of the application is not intended to limit.
It is all within spirit herein and principle, any modification, equivalent replacement, improvement and so on, should be included in the application's
Within protection domain.
System, device, module or the unit that above-described embodiment illustrates, can specifically be realized by computer chip or entity,
Or realized by having the function of certain product.One kind typically realizes that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment it is intrinsic will
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there are other identical element in the process of element, method, commodity or equipment.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.