WO2019085600A1 - 转发聊天信息的方法、装置和电子设备 - Google Patents

转发聊天信息的方法、装置和电子设备 Download PDF

Info

Publication number
WO2019085600A1
WO2019085600A1 PCT/CN2018/101548 CN2018101548W WO2019085600A1 WO 2019085600 A1 WO2019085600 A1 WO 2019085600A1 CN 2018101548 W CN2018101548 W CN 2018101548W WO 2019085600 A1 WO2019085600 A1 WO 2019085600A1
Authority
WO
WIPO (PCT)
Prior art keywords
chat information
screenshot
forwarded
needs
chat
Prior art date
Application number
PCT/CN2018/101548
Other languages
English (en)
French (fr)
Inventor
陈振焯
Original Assignee
阿里巴巴集团控股有限公司
陈振焯
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 阿里巴巴集团控股有限公司, 陈振焯 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2019085600A1 publication Critical patent/WO2019085600A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Definitions

  • the present application relates to the field of Internet sharing technologies, and more particularly to a method, an apparatus, and an electronic device for forwarding chat information.
  • Forwarding chat logs is a common requirement when users use chat software for chatting.
  • chat software provides a multi-select merge function, and the user can long press the chat record, and select a chat record that needs to be forwarded, and then forward it. This method is cumbersome and requires multiple clicks to implement forwarding.
  • the other is to take a screenshot and send a screenshot directly when you need to forward the chat record. Transferring pictures in this way consumes a large amount of network traffic.
  • the purpose of the application is to provide a method, device and electronic device for forwarding chat information, which makes the forwarding of the chat information simpler, reduces the network traffic required for forwarding the chat information, and improves the user experience.
  • a method for forwarding chat information including:
  • the second aspect provides an apparatus for forwarding chat information, including:
  • the processing unit parses the screenshot to obtain chat information that needs to be forwarded;
  • the forwarding unit forwards the chat information that needs to be forwarded.
  • an electronic device including:
  • a memory arranged to store computer executable instructions that, when executed, use the processor to perform the following operations:
  • a computer readable medium storing one or more programs, the one or more programs causing the electronic device to be executed when executed by an electronic device including a plurality of applications Do the following:
  • the embodiment of the present application when the chat information is forwarded, the embodiment of the present application obtains the chat information that needs to be forwarded by parsing the screenshot, and then forwards the chat information.
  • the method of the embodiment of the present invention can automatically obtain the chat information that needs to be forwarded, and avoids the cumbersome operation caused by the user selecting the chat information to be forwarded, and the chat information itself is forwarded in the embodiment of the present application, and the screenshot is avoided.
  • the resulting network traffic is expensive.
  • FIG. 1 is a schematic flow diagram of a method of forwarding chat information in accordance with one embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for forwarding chat information according to an embodiment of the present application.
  • FIG. 3 is a structural block diagram of an electronic device according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an apparatus for forwarding chat information according to an embodiment of the present application.
  • the electronic device may be a terminal device, and the terminal device includes a device of a wireless signal receiver, which only has a wireless signal receiver without a transmitting capability, and includes a device for receiving and transmitting hardware, which has A device capable of performing reception and transmission hardware of two-way communication on a two-way communication link.
  • Such a device may include a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; a Personal Communication System (PCS) that can combine voice, data Processing, fax, and/or data communication capabilities; Personal Digital Assistant (PDA), which can include radio frequency receivers, pagers, Internet/Intranet access, web browsers, notepads, calendars, and/or global positioning systems (Global Posit1ning System, GPS) receiver; conventional laptop and/or palmtop computer or other device with and/or conventional laptop and/or palmtop computer or other device including a radio frequency receiver.
  • PCS Personal Communication System
  • PDA Personal Digital Assistant
  • the terminal devices used herein may be portable, transportable, installed in a vehicle (aviation, sea and/or land), or adapted and/or configured to operate locally, and/or in a distributed fashion. Runs anywhere else on the earth and/or space.
  • the terminal device used herein may also be a communication terminal, an internet terminal, a music/video playing terminal, such as a PDA, a mobile internet device (MID), and/or a mobile phone having a music/video playing function.
  • FIG. 1 is a flow chart of a method of forwarding chat information in accordance with one embodiment of the present application.
  • the method 100 of Figure 1 is performed by a device that forwards chat information.
  • chat software for example, it can be applied to chat software such as WeChat, QQ, nail, Want Want, and Momo.
  • screenshot in S102 includes the chat interface of the chat software, and the chat interface records the chat information of both parties.
  • the user inputs a screenshot instruction, and after the screen capture instruction is obtained, the device that forwards the chat information screens the screen according to the screenshot instruction to obtain a screenshot.
  • the user can input the screenshot instruction through the combination of the Home button and the power button on the mobile phone.
  • the user can input the screenshot instruction by clicking the shortcut icon.
  • the user can set a screen capture gesture in advance, and input a screen shot instruction by inputting a preset screen capture gesture when a screen capture is required.
  • the chat information in another chat software may be forwarded in one chat software, for example, when chatting through QQ, the chat information when chatting through WeChat can be forwarded.
  • the obtained screenshot may be obtained and saved locally by the user when chatting through other chat software, that is, the screenshot can be directly obtained from the local in S102.
  • the screenshot is parsed to obtain chat information that needs to be forwarded.
  • the screenshot information is obtained by parsing the screenshot in S104.
  • the chat information includes multimedia information
  • the user who receives the chat information can successfully view the multimedia information, thereby improving the user experience.
  • the screenshot is parsed, the recording location of the chat information that needs to be forwarded is obtained, and the chat information that needs to be forwarded is obtained according to the recorded location.
  • the chat software will receive a screen capture message after the user takes a screenshot, and then obtain the range of the chat record on the current screenshot, and can further intercept the record of the chat record range, and then extract the chat record according to the chat record range.
  • the screenshot is parsed, the time information of the chat information on the screenshot is obtained, and the chat information that needs to be forwarded is read from the chat information record file according to the acquired time information.
  • the number of screenshots acquired in S102 is multiple.
  • multiple screenshots are parsed to obtain recording positions of chat information on multiple screenshots. According to the recording location of the chat information on multiple screenshots, the chat information on multiple screenshots is obtained; the chat information on multiple screenshots is combined to obtain the chat information that needs to be forwarded.
  • the method in the embodiment of the present application can assemble the chat information on multiple screenshots to obtain the chat information that needs to be forwarded. Thereby, the realization that the user forwards multiple pieces of chat information is more convenient and quick.
  • the chat information on the plurality of screenshots is combined according to the recording time of the chat information on the plurality of screenshots.
  • the chat information on the multiple screenshots can be combined according to the time when the screenshot is obtained.
  • a time interval between a screenshot time corresponding to the first screenshot and a screen capture time corresponding to the second screen screenshot is less than or equal to a preset time interval, where A screen shot and a second screen shot are temporally adjacent.
  • the temporal proximity of the first screenshot and the second screenshot may be understood as not obtaining other screenshots between the time when the first screenshot is acquired and the time when the second screenshot is acquired.
  • the preset time interval here can be set according to the actual situation, for example, the preset time interval is 10s.
  • the user is prompted to select a contact that receives the chat information that needs to be forwarded, and forwards the chat information that needs to be forwarded to the contact selected by the user.
  • the chat information that needs to be forwarded is directly forwarded.
  • the user before forwarding the chat information that needs to be forwarded, the user is required to determine whether the chat information needs to be forwarded. That is to say, when the chat information forwarding instruction input by the user is obtained, the chat information that needs to be forwarded is forwarded.
  • the method 100 further includes: displaying prompt information, where the prompt information is used by the user to confirm whether the chat information needs to be forwarded.
  • the prompt information is used by the user to confirm whether the chat information needs to be forwarded.
  • an icon is displayed on the screen, and the user confirms whether the chat information needs to be forwarded by clicking this small icon.
  • take the mobile phone as an example.
  • shake it and a prompt appears in the status bar of the mobile phone to prompt the user to confirm whether the chat information needs to be forwarded.
  • the chat information list is generated according to the chat information that needs to be forwarded, and the chat information list is forwarded.
  • the user may be prompted to select the chat information that does not need to be forwarded in the information list, and the chat information selected by the user will not be forwarded when forwarding.
  • the information selection interface is displayed.
  • the information selection interface includes a chat information list and a corresponding check button. The user selects a chat message that is desired or not desired to be forwarded by a check button.
  • the form of the combined transmission may be selected to be sent, or may be selected to be sent one by one. Specifically, it can be forwarded according to the transmission form selected by the user.
  • FIG. 2 shows a schematic flowchart of a method 200 for forwarding chat information according to an embodiment of the present application.
  • Method 200 is performed by a device that forwards chat information.
  • the device that forwards the chat information is described as an example of a chat application (Application, APP).
  • the chat APP obtains a screenshot.
  • the chat app will receive a screenshot and get a screenshot.
  • the chat APP intercepts the range of chat records in the screenshot.
  • the purpose of the chat app displaying the small icon is to let the user confirm that the chat record needs to be forwarded by clicking this small icon.
  • the chat APP confirms that the user clicks on the small icon, and generates a chat record list according to the chat record range.
  • the chat APP records the chat record range of each screenshot in S204, and in S208, when confirming that the user clicks on the small icon, according to each
  • the chat history range of a screenshot captures the chat history on multiple screenshots to generate a final chat history list.
  • the two screenshots may be considered to be obtained by a continuous screen capture operation. Understandably, 10 seconds here is just an example, the user can set it according to actual needs.
  • the chat record list is forwarded.
  • the electronic device includes a processor, optionally including an internal bus, a network interface, and a memory.
  • the memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory.
  • RAM high-speed random access memory
  • non-volatile memory such as at least one disk memory.
  • the electronic device may also include hardware needed to implement other services.
  • the processor, network interface, and memory can be interconnected by an internal bus, which can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an extended industry standard. Extended Industry Standard Architecture (EISA) bus, etc.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one double-headed arrow is shown in Figure 3, but it does not mean that there is only one bus or one type of bus.
  • the program can include program code, the program code including computer operating instructions.
  • the memory can include both memory and non-volatile memory and provides instructions and data to the processor.
  • the processor reads the corresponding computer program from the non-volatile memory into memory and then runs to form a device that forwards the chat information on a logical level.
  • the processor executes the program stored in the memory and is specifically used to perform the following operations:
  • the method performed by the apparatus for forwarding chat information disclosed in the embodiment shown in FIG. 1 and FIG. 2 of the present application may be applied to a processor or implemented by a processor.
  • the processor may be an integrated circuit chip with signal processing capabilities.
  • each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or may be a digital signal processor (DSP), dedicated integration.
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method.
  • the electronic device can also perform the methods of FIG. 1 and FIG. 2, and implement the functions of the device for determining the forwarding of the chat information in the embodiment shown in FIG. 1 and FIG. 2, and details are not described herein again.
  • the electronic device of the present application does not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logical unit. It can also be hardware or logic.
  • the embodiment of the present application further provides a computer readable storage medium storing one or more programs, the one or more programs including instructions that are executed by an electronic device including a plurality of applications
  • the electronic device can be configured to perform the method of the embodiment shown in FIG. 1 and FIG. 2, and is specifically configured to perform the following methods:
  • FIG. 4 is a schematic structural diagram of an apparatus for forwarding chat information according to an embodiment of the present application.
  • the apparatus 400 for forwarding chat information may include: a processing unit 401 and a forwarding unit 402, where
  • Processing unit 401 obtaining a screenshot
  • the processing unit parses the screenshot to obtain chat information that needs to be forwarded;
  • the forwarding unit 402 forwards the chat information that needs to be forwarded.
  • the device for forwarding the chat information can automatically obtain the chat information that needs to be forwarded, and avoids the cumbersome operation caused by the user selecting the chat information to be forwarded, and the device in the embodiment of the present application forwards the chat information itself. , to avoid the problem of large network traffic consumption caused by sending screenshots.
  • the forwarding unit 402 the forwarding unit 402:
  • chat information forwarding instruction input by the user When the chat information forwarding instruction input by the user is obtained, the chat information that needs to be forwarded is forwarded.
  • the processing unit 401 the processing unit 401:
  • the chat information that needs to be forwarded is obtained.
  • the processing unit 401 the processing unit 401:
  • the forwarding unit 402 forwards the chat information list.
  • the number of the screenshots is multiple;
  • the processing unit 401 The processing unit 401:
  • a time interval between a screenshot time corresponding to the first screenshot in the plurality of screenshots and a screen capture time corresponding to the second screenshot is less than or equal to a preset time interval, where The first screenshot and the second screenshot are temporally adjacent.
  • the processing unit 401 the processing unit 401:
  • the chat information on the plurality of screenshots is combined according to the recording time of the chat information on the plurality of screenshots.
  • the processing unit 401 after the acquiring the screenshot, the processing unit 401:
  • the prompt information is displayed, and the prompt information is used to prompt the user to confirm whether the chat information needs to be forwarded.
  • the processing unit 401 the processing unit 401:
  • Screen capture is performed according to the screenshot instruction, and the screenshot is obtained.
  • the device 400 for forwarding the chat information can also perform the method of the embodiment shown in FIG. 1 and FIG. 2, and realize the function of the device for forwarding the chat information in the embodiment shown in FIG. 1 and FIG. 2, and the embodiment of the present application does not repeat here. .
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • Computer readable media including both permanent and non-persistent, removable and non-removable media, can be stored by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请实施例公开一种转发聊天信息的方法、装置和电子设备。该方法包括:获取屏幕截图;解析所述屏幕截图,得到需要转发的聊天信息。转发所述需要转发的聊天信息。

Description

转发聊天信息的方法、装置和电子设备 技术领域
本申请涉及互联网共享技术领域,更具体地涉及转发聊天信息的方法、装置和电子设备。
背景技术
在用户使用聊天软件进行聊天时,转发聊天记录是常见的需求。目前转发聊天记录主要有两种方式。一种方式是聊天软件提供多选合并功能,用户可以长按聊天记录,一条条勾选需要转发的聊天记录,再进行转发。这种方式操作比较繁琐,需要多次点击才能实现转发。另一种是通过截图的方式,在需要转发聊天记录时直接截图发送。这种方式传输图片需要消耗较大的网络流量。
因此,需求一种转发聊天信息的方法,来克服上述技术问题。
发明内容
本申请的目的在于提供一种转发聊天信息的方法、装置和电子设备,使得聊天信息的转发更为简单,减少转发聊天信息所需的网络流量,提高用户体验。
为解决上述技术问题,本申请实施例是这样实现的:
第一方面,提供了一种转发聊天信息的方法,包括:
获取屏幕截图;
解析所述屏幕截图,得到需要转发的聊天信息。
转发所述需要转发的聊天信息。
第二方面,提供一种转发聊天信息的装置,包括:
处理单元,获取屏幕截图;
所述处理单元,解析所述屏幕截图,得到需要转发的聊天信息;
转发单元,转发所述需要转发的聊天信息。
第三方面,提供一种电子设备,包括:
处理器;以及
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使用所述处理器执行以下操作:
获取屏幕截图;
解析所述屏幕截图,得到需要转发的聊天信息。
转发所述需要转发的聊天信息。
第四方面,提供一种计算机可读介质,所述计算机可读介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下操作:
获取屏幕截图;
解析所述屏幕截图,得到需要转发的聊天信息。
转发所述需要转发的聊天信息。
由以上本申请实施例提供的技术方案课件,本申请实施例在转发聊天信息时,通过解析屏幕截图,得到需要转发的聊天信息,之后转发聊天信息。本申请实施例的方法,能够自动获取到需要转发的聊天信息,避免了用户选择需要转发的聊天信息导致的操作繁琐问题,并且本申请实施例中转发的是聊天信息本身,避免了发送屏幕截图导致的网络流量消耗大的问题。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是根据本申请的一个实施例的转发聊天信息的方法的示意图流程图。
图2是根据本申请一具体实施例的转发聊天信息的方法的示意性流程图。
图3是根据本申请实施例的电子设备的结构框图。
图4是根据本申请实施例的转发聊天信息的装置的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
在本申请实施例中,电子设备可以是终端设备,终端设备既包括无线信号接收器的设备,其仅具备无发射能力的无线信号接收器的设备,又包括接收和发射硬件的设备,其具有能够在双向通信链路上,执行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备;个人通信***(Personal Communicat1ns Service,PCS),其可以组合语音、数据处理、传真和/或数据通信能力;个人数字助理(Personal Digital Assistant,PDA),其可以包括射频接收器、寻呼机、互联网/内联网访问、网络浏览器、记事本、日历和/或全球定位***(Global Posit1ning System,GPS)接收器;常规膝上型和/或掌上型计算机或其他设备,其具有和/或包括射频接收器的常规膝上型和/或掌上型计算机或其他设备。这里所使用的终端设备可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的终端设备还可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、移动互联网设备(Mobile Internet Device,MID)和/或具有音乐/视频播放功能的移动电话。
图1是根据本申请的一个实施例的转发聊天信息的方法的流程图。图1的方法100由转发聊天信息的装置执行。应理解,本申请实施例的方案可适用于聊天软件,例如,可适用于微信、QQ、钉钉、旺旺、陌陌等聊天软件。
如图1所示出的,在S102处,获取屏幕截图。
可以理解的是,在S102中屏幕截图中包括聊天软件的聊天界面,聊天界面上记录 有聊天双方的聊天信息。
可选地,在一些实施例中,用户会输入屏幕截图指令,转发聊天信息的装置在获取到屏幕截图指令后,根据屏幕截图指令对屏幕进行截屏,得到屏幕截图。
可选地,作为一个例子,以手机为例,用户可以通过手机上的Home键和电源键组合实现屏幕截图指令的输入。或者用户可以通过点击快捷图标实现屏幕截图指令的输入。或者用户可以预先设置截屏手势,在需要截屏时,通过输入预设截屏手势的方式输入屏幕截图指令。
可选地,在另一些实施例中,在一个聊天软件中可以转发另一个聊天软件中的聊天信息,例如在通过QQ聊天时,可以转发通过微信聊天时的聊天信息。在这种情况下,获取到的屏幕截图可能是用户之前通过其他聊天软件聊天时截屏得到并保存在本地的,也就是说,在S102中可以从本地直接获取屏幕截图。
在S104处,解析所述屏幕截图,得到需要转发的聊天信息。
可以理解的是,在S104中解析屏幕截图得到的是聊天信息本身,在这种情况下,如果聊天信息中包括多媒体信息,接收到聊天信息的用户能够成功观看多媒体信息,能够提高用户的体验。
具体地,在一些实施例中,解析屏幕截图,获得需要转发的聊天信息的记录位置,根据记录位置,得到需要转发的聊天信息。例如,聊天软件在用户截屏后会收到截屏消息,之后获取当前屏幕截图上的聊天记录范围,可以进一步截取记录这个聊天记录范围,然后根据聊天记录范围提取出聊天记录。
具体地,在另一些实施例中,解析屏幕截图,获取到屏幕截图上的聊天信息的时间信息,根据获取到的时间信息从聊天信息记录文件中读取需要转发的聊天信息。
可选地,在一些实施例中,在S102中获取到的屏幕截图的数量为多个,相对应的,在S104中,解析多个屏幕截图,获得多个屏幕截图上的聊天信息的记录位置;根据多个屏幕截图上的聊天信息的记录位置,获得多个屏幕截图上的聊天信息;组合多个屏幕截图上的聊天信息,得到需要转发的聊天信息。
也就是说,在有多个屏幕截图的情况下,本申请实施例的方法能够将多个屏幕截图上的聊天信息进行拼装,得到最终需要转发的聊天信息。由此,使得用户转发多条聊天信息的实现更为方便快捷。
具体地,在一些实施例中,在组合多个屏幕截图上的聊天信息时,根据多个屏幕截图上的聊天信息的记录时间,组合这多个屏幕截图上的聊天信息。或者在组合多个屏幕截图上的聊天信息时,可以根据获取到屏幕截图的时间,组合这多个屏幕截图上的聊天信息。
可选地,在一些实施例中,在多个屏幕截图中,第一屏幕截图对应的截屏时间和第二屏幕截屏对应的截屏时间之间的时间间隔小于或等于预设时间间隔,其中,第一屏幕截屏和第二屏幕截图在时间上相邻。在这里,第一屏幕截图和第二屏幕截图在时间上相邻可以理解为在获取到第一屏幕截图的时刻和获取到第二屏幕截图的时刻之间没有获取到其他屏幕截图。这里的预设时间间隔可以根据实际情况进行设置,例如预设时间间隔为10s。
S106,转发所述需要转发的聊天信息。
具体地,在一些实施例中,提示用户选择接收所述需要转发的聊天信息的联系人,并向用户选择的联系人转发需要转发的聊天信息。
可选地,在一些实施例中,在解析屏幕截图,得到需要转发的聊天信息之后,直接转发需要转发的聊天信息。
可选地,在另一些实施例中,在转发需要转发的聊天信息之前,需要用户确定是否需要转发该聊天信息。也就是说,在获取到用户输入的聊天信息转发指令时,转发需要转发的聊天信息。
可选地,在再一些实施例中,方法100还包括:显示提示信息,所述提示信息用于用户确认是否需要转发聊天信息。例如,截屏后在屏幕上显示一个图标,用户通过点击这个小图标确认是否需要转发聊天信息。或者以手机为例,截屏后摇一摇,在手机的状态栏出现提示,提示用户确认是否需要转发聊天信息。
具体地,在一些实施例中,在转发需要转发的聊天信息时,根据需要转发的聊天信息生成聊天信息列表,转发所述聊天信息列表。
可选地,在一些实施例中,生成信息列表后可以提示用户选择信息列表中不需要转发的聊天信息,在转发时将不转发用户选择的聊天信息。例如,显示信息勾选界面,信息勾选界面上包括聊天信息列表及对应的勾选按键,用户通过勾选按键选择希望或不希望转发的聊天信息。
可选地,在一些实施例中,在转发聊天信息列表时可以选择合并发送的形式发送, 也可以选择逐条发送的形式发送。具体可以根据用户选的的发送形式进行转发。
图2示出了根据本申请一具体实施例的转发聊天信息的方法200的示意性流程图。方法200由转发聊天信息的装置执行。在方法200中以转发聊天信息的装置为聊天应用程序(Application,APP)为例进行描述。
如图2所示,在S202处,聊天APP获取屏幕截图。
具体地,在S202处,用户需要转发聊天记录时,直接对屏幕进行截屏。聊天APP会收到截屏消息,获取到屏幕截图。
在S204处,聊天APP截取记录屏幕截图中的聊天记录范围。
在S206处,聊天APP中显示一个小图标。
在S206中,聊天APP显示小图标的目的是为了让用户通过点击这个小图标确认需要转发聊天记录。
在S208处,聊天APP确认用户点击小图标,根据聊天记录范围,生成聊天记录列表。
可选地,如果在S202处,用户连续截屏获得多张屏幕截图,在S204中,聊天APP记录每一张屏幕截图的聊天记录范围,在S208中,在确认用户点击小图标时,根据每一张屏幕截图的聊天记录范围对多张屏幕截图上的聊天记录进行拼装生成最终的聊天记录列表。
可选地,作为一个例子,如果两张屏幕截图的获得时间之间的时间间隔小于10秒,可以认为这两张屏幕截图是通过连续截屏操作获得的。可以理解的是,这里10秒仅仅是一个例子,用户可以根据实际需要自行设置。
在S210处,转发聊天记录列表。
以上结合图1和图2详细描述了根据本申请实施例的转发聊天信息的方法。下面将结合图3详细描述根据本申请实施例的电子设备。参考图3,在硬件层面,电子设备包括处理器,可选地,包括内部总线、网络接口、存储器。其中,存储器可能包含内存,例如高速随机存取存储器(Random-Access Memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器等。当然,该电子设备还可能包括实现其他业务所需要的硬件。
处理器、网络接口和存储器可以通过内部总线相互连接,该内部总线可以是工业标 准体系结构(Industry Standard Architecture,ISA)总线、外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图3中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。
存储器,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器可以包括内存和非易失性存储器,并向处理器提供指令和数据。
处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成转发聊天信息的装置。处理器,执行存储器所存放的程序,并具体用于执行以下操作:
获取屏幕截图;
解析所述屏幕截图,得到需要转发的聊天信息。
转发所述需要转发的聊天信息。
上述如本申请图1和图2所示实施例揭示的转发聊天信息的装置执行的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
该电子设备还可执行图1和图2的方法,并实现确定转发聊天信息的装置在图1和图2所示实施例的功能,本申请实施例在此不再赘述。
当然,除了软件实现方式之外,本申请的电子设备并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。
本申请实施例还提出了一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,该一个或多个程序包括指令,该指令当被包括多个应用程序的电子设备执行时,能够使该电子设备执行图1和图2所示实施例的方法,并具体用于执行以下方法:
获取屏幕截图;
解析所述屏幕截图,得到需要转发的聊天信息。
转发所述需要转发的聊天信息。
图4是本申请的一个实施例的转发聊天信息的装置的结构示意图。请参考图4,在一种软件实施方式中,转发聊天信息的装置400可包括:处理单元401和转发单元402,其中,
处理单元401,获取屏幕截图;
所述处理单元,解析所述屏幕截图,得到需要转发的聊天信息;
转发单元402,转发所述需要转发的聊天信息。
根据本申请实施例的转发聊天信息的装置,能够自动获取到需要转发的聊天信息,避免了用户选择需要转发的聊天信息导致的操作繁琐问题,并且本申请实施例的装置转发的是聊天信息本身,避免了发送屏幕截图导致的网络流量消耗大的问题。
可选地,作为一个实施例,所述转发单元402:
在获取到用户输入的聊天信息转发指令时,转发所述需要转发的聊天信息。
可选地,作为一个实施例,所述处理单元401:
解析所述屏幕截图,获得所述需要转发的聊天信息的记录位置;
根据所述记录位置,得到所述需要转发的聊天信息。
可选地,作为一个实施例,所述处理单元401:
根据所述需要转发的聊天信息,生成聊天信息列表;
所述转发单元402,转发所述聊天信息列表。
可选地,作为一个实施例,所述屏幕截图的数量为多个;
其中,所述处理单元401:
解析多个屏幕截图,获得多个屏幕截图上的聊天信息的记录位置;
根据所述多个屏幕截图上的聊天信息的记录位置,获得所述多个屏幕截图上的聊天信息;
组合所述多个屏幕截图上的聊天信息,得到所述需要转发的聊天信息。
可选地,作为一个实施例,所述多个屏幕截图中第一屏幕截图对应的截屏时间和第二屏幕截图对应的截屏时间之间的时间间隔小于或等于预设时间间隔,其中,所述第一屏幕截图和所述第二屏幕截图在时间上相邻。
可选地,作为一个实施例,所述处理单元401:
根据多个屏幕截图上的聊天信息的记录时间,组合所述多个屏幕截图上的聊天信息。
可选地,作为一个实施例,在所述获取屏幕截图之后,所述处理单元401:
显示提示信息,所述提示信息用于提示用户确认是否需要转发聊天信息。
可选地,作为一个实施例,所述处理单元401:
获取屏幕截图指令;
根据所述屏幕截图指令对屏幕进行截屏,得到所述屏幕截图。
转发聊天信息的装置400还可执行图1和图2所示实施例的方法,并实现转发聊天信息的装置在图1和图2所示实施例的功能,本申请实施例在此不再赘述。
总之,以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
上述实施例阐明的***、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方 法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于***实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。

Claims (12)

  1. 一种转发聊天信息的方法,包括:
    获取屏幕截图;
    解析所述屏幕截图,得到需要转发的聊天信息。
    转发所述需要转发的聊天信息。
  2. 根据权利要求1所述的方法,所述转发所述需要转发的聊天信息,包括:
    在获取到用户输入的聊天信息转发指令时,转发所述需要转发的聊天信息。
  3. 根据权利要求1或2所述的方法,所述解析所述屏幕截图,得到所述需要转发的聊天信息,包括:
    解析所述屏幕截图,获得所述需要转发的聊天信息的记录位置;
    根据所述记录位置,得到所述需要转发的聊天信息。
  4. 根据权利要求3所述的方法,所述转发所述需要转发的聊天信息,包括:
    根据所述需要转发的聊天信息,生成聊天信息列表;
    转发所述聊天信息列表。
  5. 根据权利要求1或2所述的方法,所述屏幕截图的数量为多个;
    其中,所述解析所述屏幕截图,得到所述需要转发的聊天信息,包括:
    解析多个屏幕截图,获得多个屏幕截图上的聊天信息的记录位置;
    根据所述多个屏幕截图上的聊天信息的记录位置,获得所述多个屏幕截图上的聊天信息;
    组合所述多个屏幕截图上的聊天信息,得到所述需要转发的聊天信息。
  6. 根据权利要求5所述的方法,所述多个屏幕截图中第一屏幕截图对应的截屏时间和第二屏幕截图对应的截屏时间之间的时间间隔小于或等于预设时间间隔,其中,所述第一屏幕截图和所述第二屏幕截图在时间上相邻。
  7. 根据权利要求5所述的方法,所述组合所述多个屏幕截图上的聊天信息,包括:
    根据多个屏幕截图上的聊天信息的记录时间,组合所述多个屏幕截图上的聊天信息。
  8. 根据权利要求1或2所述的方法,在所述获取屏幕截图之后,所述方法还包括:
    显示提示信息,所述提示信息用于提示用户确认是否需要转发聊天信息。
  9. 根据权利要求1或2所述的方法,所述获取屏幕截图,包括:
    获取屏幕截图指令;
    根据所述屏幕截图指令对屏幕进行截屏,得到所述屏幕截图。
  10. 一种转发聊天信息的装置,包括:
    处理单元,获取屏幕截图;
    所述处理单元,解析所述屏幕截图,得到需要转发的聊天信息;
    转发单元,转发所述需要转发的聊天信息。
  11. 一种电子设备,包括:
    处理器;以及
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使用所述处理器执行以下操作:
    获取屏幕截图;
    解析所述屏幕截图,得到需要转发的聊天信息。
    转发所述需要转发的聊天信息。
  12. 一种计算机可读介质,所述计算机可读介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下操作:
    获取屏幕截图;
    解析所述屏幕截图,得到需要转发的聊天信息。
    转发所述需要转发的聊天信息。
PCT/CN2018/101548 2017-10-31 2018-08-21 转发聊天信息的方法、装置和电子设备 WO2019085600A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711047758.0A CN107948048B (zh) 2017-10-31 2017-10-31 转发聊天信息的方法、装置和电子设备
CN201711047758.0 2017-10-31

Publications (1)

Publication Number Publication Date
WO2019085600A1 true WO2019085600A1 (zh) 2019-05-09

Family

ID=61935988

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/101548 WO2019085600A1 (zh) 2017-10-31 2018-08-21 转发聊天信息的方法、装置和电子设备

Country Status (3)

Country Link
CN (1) CN107948048B (zh)
TW (1) TWI771480B (zh)
WO (1) WO2019085600A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115987927A (zh) * 2022-12-07 2023-04-18 上海掌门科技有限公司 一种信息处理方法、设备及机器可读存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948048B (zh) * 2017-10-31 2021-02-26 创新先进技术有限公司 转发聊天信息的方法、装置和电子设备
CN113311979A (zh) * 2020-02-26 2021-08-27 钉钉控股(开曼)有限公司 屏幕内容保留方法及装置
CN111666940B (zh) * 2020-06-05 2024-01-16 厦门美图之家科技有限公司 聊天截图内容处理方法、装置、电子设备和可读存储介质
CN112286608B (zh) * 2020-10-28 2022-03-18 腾讯科技(深圳)有限公司 消息转发方法、装置、计算机设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030187672A1 (en) * 2002-04-01 2003-10-02 Sun Microsystems, Inc. Method, system, and program for servicing customer product support requests
CN103458123A (zh) * 2013-08-30 2013-12-18 广东明创软件科技有限公司 保存、分享聊天记录的方法及其移动终端
CN106909270A (zh) * 2016-07-20 2017-06-30 阿里巴巴集团控股有限公司 聊天数据输入方法、装置及通讯终端
CN107145800A (zh) * 2017-05-31 2017-09-08 北京小米移动软件有限公司 隐私信息保护方法及装置、终端及存储介质
CN107948048A (zh) * 2017-10-31 2018-04-20 阿里巴巴集团控股有限公司 转发聊天信息的方法、装置和电子设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2011202042C1 (en) * 2009-12-04 2014-02-06 Blades, Dian Ms A method and system applied on a mobile device comprising means to transmit an image of a message
CN103076950B (zh) * 2012-12-25 2016-12-28 北京百度网讯科技有限公司 一种会话线程列表的管理方法
CN103167172B (zh) * 2013-02-08 2015-02-04 广州三星通信技术研究有限公司 将多种聊天记录整合的方法和***
CN106506323A (zh) * 2016-09-12 2017-03-15 努比亚技术有限公司 一种聊天内容整理装置及方法
CN106527892B (zh) * 2016-11-04 2020-04-07 惠州Tcl移动通信有限公司 一种电子设备的截屏方法及***

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030187672A1 (en) * 2002-04-01 2003-10-02 Sun Microsystems, Inc. Method, system, and program for servicing customer product support requests
CN103458123A (zh) * 2013-08-30 2013-12-18 广东明创软件科技有限公司 保存、分享聊天记录的方法及其移动终端
CN106909270A (zh) * 2016-07-20 2017-06-30 阿里巴巴集团控股有限公司 聊天数据输入方法、装置及通讯终端
CN107145800A (zh) * 2017-05-31 2017-09-08 北京小米移动软件有限公司 隐私信息保护方法及装置、终端及存储介质
CN107948048A (zh) * 2017-10-31 2018-04-20 阿里巴巴集团控股有限公司 转发聊天信息的方法、装置和电子设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115987927A (zh) * 2022-12-07 2023-04-18 上海掌门科技有限公司 一种信息处理方法、设备及机器可读存储介质

Also Published As

Publication number Publication date
TWI771480B (zh) 2022-07-21
CN107948048A (zh) 2018-04-20
TW201924288A (zh) 2019-06-16
CN107948048B (zh) 2021-02-26

Similar Documents

Publication Publication Date Title
WO2019085600A1 (zh) 转发聊天信息的方法、装置和电子设备
US11949731B2 (en) Capturing and automatically uploading media content
JP6615269B2 (ja) モバイル・プッシュ通知
US20150256352A1 (en) Method and device for sharing content between different terminals
CN105049319B (zh) 好友添加方法及***、客户端及服务器
CN104965842B (zh) 搜索推荐方法和装置
WO2014101740A1 (en) Data sharing method, client and system
JP2013122768A (ja) 通信デバイスにおけるコンテンツの検索/ダウンロードのための装置および方法
US10120542B2 (en) Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image
CN106155458B (zh) 一种多媒体消息播放方法及装置
CN106155468B (zh) 一种告警展示方法及终端
US8150429B1 (en) Cost-effective voting
CN104580108A (zh) 信息提示方法和***、服务器
CN112312222A (zh) 视频发送方法、装置和电子设备
CN105554710A (zh) 消息显示方法和装置
CN111432001A (zh) 用于跳转场景的方法、装置、电子设备和计算机可读介质
CN108932243B (zh) 刷新网页页面的方法及装置
CN110708238B (zh) 用于处理信息的方法和装置
US20150074208A1 (en) Exposed group of recipients for text message
CN111325595A (zh) 用户权益信息展示方法、装置及电子设备
US11985184B2 (en) Systems and methods for selectively obtaining a file via a direct file transfer or an indirect file transfer
AU2013257522B2 (en) Method and apparatus for sharing time information in an electronic device
CN115529288B (zh) 一种消息推送的方法、装置、计算机设备
CN106301831B (zh) 一种互联网传输信息的动态配置方法、动态配置***、服务器及用户终端
CN111556099A (zh) 一种消息推送、接收方法、装置和设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18874238

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18874238

Country of ref document: EP

Kind code of ref document: A1