CN110505072B - Method, terminal device and computer readable medium for backing up chat records - Google Patents

Method, terminal device and computer readable medium for backing up chat records Download PDF

Info

Publication number
CN110505072B
CN110505072B CN201910922558.8A CN201910922558A CN110505072B CN 110505072 B CN110505072 B CN 110505072B CN 201910922558 A CN201910922558 A CN 201910922558A CN 110505072 B CN110505072 B CN 110505072B
Authority
CN
China
Prior art keywords
application
group
chat records
backup
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910922558.8A
Other languages
Chinese (zh)
Other versions
CN110505072A (en
Inventor
刘伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lianshang Xinchang Network Technology Co Ltd
Original Assignee
Lianshang Xinchang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lianshang Xinchang Network Technology Co Ltd filed Critical Lianshang Xinchang Network Technology Co Ltd
Priority to CN201910922558.8A priority Critical patent/CN110505072B/en
Publication of CN110505072A publication Critical patent/CN110505072A/en
Application granted granted Critical
Publication of CN110505072B publication Critical patent/CN110505072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1831Tracking arrangements for later retrieval, e.g. recording contents, participants activities or behavior, network status
    • 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/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/60Details of telephonic subscriber devices logging of communication history, e.g. outgoing or incoming calls, missed calls, messages or URLs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/68Details of telephonic subscriber devices with means for recording information, e.g. telephone number during a conversation

Landscapes

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

Abstract

The embodiment of the application discloses a method, terminal equipment and a computer readable medium for backing up chat records. One specific implementation of the method for backing up chat records includes: adding a virtual user which is registered in a second application and is bound with the first application into a group needing to backup chat records, wherein the second application is an application supporting instant messaging; and in response to the detection that the current operating environment meets the preset backup condition, entering a conversation interface of the group added with the virtual user in the second application, and storing the preset type of chat records in the current group conversation locally in a mode of simulating the manual operation of the real user. The embodiment can automatically arrange and back up the chat records of the group session, simplify the user operation and improve the efficiency of turning over and watching the chat records.

Description

Method, terminal device and computer readable medium for backing up chat records
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, a terminal device, and a computer-readable medium for backing up chat records.
Background
Instant Messaging (IM) is a real-time communication system that allows two or more people to communicate using a network to transmit text messages, files, voice, pictures, video, etc. in real time.
In a group (e.g., a family group) session for an IM application, there are often some photos, videos that the group members may send. If the user wants to save the photos and videos of the other people, the user needs to save the photos and videos to the local one by one in a manual long-press mode and then back up the photos and videos to a network disk. Or, the user is required to regularly arrange the chat records, store the photos and videos in the chat records to the local, and then back up the photos and videos to the cloud. For the ordinary user, the above-mentioned method is very tedious to operate.
Additionally, some online card-punching activities that utilize group sessions (such as fat reduction camps, learning english, etc.) require group members to punch cards in the group sessions on a daily basis (e.g., daily dietary records, learning records, etc. from themselves). The coach or teacher of the group needs to review the status of the group members and give guidance regularly, but at present, the review is mainly done by looking at the chat records of the group session, which undoubtedly increases the burden of the coach or teacher.
Disclosure of Invention
The embodiment of the application provides a method, terminal equipment and a computer readable medium for backing up chat records.
In a first aspect, some embodiments of the present application provide a method for backing up chat records, applied to a first application, the method including: adding a virtual user which is registered in a second application and is bound with the first application into a group needing to backup chat records, wherein the second application is an application supporting instant messaging; and in response to the detection that the current operating environment meets the preset backup condition, entering a conversation interface of the group added with the virtual user in the second application, and storing the preset type of chat records in the current group conversation locally in a mode of simulating the manual operation of the real user.
In a second aspect, some embodiments of the present application provide a method for backing up chat records, applied to a first application, the method including: adding a virtual user which is registered in a second application and is bound with the first application into a group needing to backup chat records, wherein the second application is an application supporting instant messaging; the following backup operations are performed in a loop: and in response to the detection that the current operating environment meets the preset backup condition, entering a conversation interface of the group added with the virtual user in the second application, and storing the preset type of chat records in the current group conversation locally in a mode of simulating the manual operation of the real user.
In a third aspect, some embodiments of the present application provide a terminal device, including: one or more processors; a storage device having one or more programs stored thereon which, when executed by one or more processors, cause the one or more processors to implement the method as described in the first or second aspect.
In a fourth aspect, some embodiments of the present application provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a method as described in the first or second aspect.
According to the method, the terminal device and the computer readable medium for backing up the chat records provided by the embodiments of the application, the virtual user registered in the IM application and bound with the backup application is added to the group, and then when the current operating environment meets the preset backup condition, the session interface of the group with the virtual user added in the IM application is entered, and the chat records of the preset type in the current group session are stored locally in a mode of simulating the manual operation of a real user, so that the chat records of the group session can be automatically sorted and backed up, the user operation is simplified, and the efficiency of turning over and watching the chat records is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for backing up chat records in accordance with the present application;
3A-3C are schematic diagrams of an application scenario of a method for backing up chat records according to the present application;
FIG. 4 is a flow diagram of another embodiment of a method for backing up chat records in accordance with the present application;
FIG. 5 is a schematic block diagram of an electronic device suitable for use in implementing some embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the method for backing up chat records of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminals 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminals 101, 102, 103 and the server 105. The network 104 may include various connection types, such as a wireless local area network, a mobile network, and so on.
The user may use the terminals 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminals 101, 102, 103 may have installed thereon various communication client applications, such as an instant messenger, a backup application, a social application, a browser application, a shopping-like application, a search-like application, a mailbox client, and the like.
The terminals 101, 102, 103 may be hardware or software. When the terminals 101, 102, 103 are hardware, they may be various electronic devices having a display screen and supporting instant messaging, including but not limited to smart phones, tablet computers, Personal Digital Assistants (PDAs), laptop portable computers, desktop computers, and the like. When the terminals 101, 102, 103 are software, they can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for instant messaging applications running on the terminals 101, 102, 103. The background server may send the received session message to the designated terminal.
The server 105 may be hardware or software. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server 105 is software, it may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for backing up chat records provided in the embodiments of the present application is generally executed by the terminals 101, 102, and 103.
It should be understood that the number of terminals, networks, and servers in fig. 1 are merely illustrative. There may be any suitable number of terminals, networks, and servers, as desired for an implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for backing up chat records in accordance with the present application is shown. The method for backing up chat records can be applied to a first application on a terminal device (for example, terminals 101, 102, 103 shown in fig. 1), and can include the following steps 201-202:
step 201, adding the virtual user registered in the second application and bound with the first application into the group needing to backup the chat records.
In this embodiment, the first application may be an application installed on the terminal device and used for backing up a chat record in the second application. For example, the first application may be an application "backup assistant" installed on a cell phone. The second application may be an application program that supports instant messaging. For example, the second application may be an IM application installed on the terminal device described above. A provider of a first application (e.g., a developer of the first application) may register a virtual user (e.g., a virtual user registered nickname "backup assistant") in a second application and bind the first application with the virtual user.
The executing agent (i.e., the first application) of the method for backing up chat records may add the virtual user to a group of the second application that requires the backup of chat records. As an example, a user "zhang san" wants to automatically backup a picture sent by a family member in a family group, and a virtual user "backup assistant" may be invited to the family group by means of sharing or inviting in a backup guidance interface or a backup configuration interface of the first application. In this way, the virtual user "backup assistant" as a member of the family group can not only view the chat records of the family group, but also perform conversations with other family members.
Step 202, in response to detecting that the current operating environment meets the preset backup condition, entering a session interface of the group to which the virtual user is added in the second application, and storing the preset type of chat records in the current group session locally in a mode of simulating manual operation of a real user.
In the present embodiment, the execution main body (i.e., the first application) of the method for backing up chat records may detect whether the current operating environment satisfies a preset backup condition. Here, the preset backup condition may refer to a condition for triggering a backup operation.
If the current operating environment meets the preset backup condition, the execution main body may first open a session interface of the group to which the virtual user is added in the second application, and then store the chat record of the preset type in the current group session locally in a manner of simulating a manual operation of a real user (for example, a holding user of the terminal device). As an example, the application "backup assistant" may open a family group to which the virtual user "backup assistant" is added in the IM application "X-mail", and then save the chat records of the picture types in the family group locally. Here, the manual operation may include, but is not limited to: clicking, long pressing, sliding and other operations manually triggered by the user. The preset type may refer to a type of chat record that the user needs to backup, which may be specified by the user.
In some optional implementations of the embodiment, the condition that the current operating environment satisfies the preset backup condition may include, but is not limited to, at least one of the following: the current time reaches a predetermined time (e.g., the next day, 3: 00); the current data connection of the terminal equipment is a wireless local area network (WLAN for short); and the terminal device is in an idle state (e.g., the handset is in a standby state), etc. As an example, the user may set the backup condition to start 3:00 the next day and perform the backup only when the wireless local area network is connected.
In some alternative implementations of the present embodiment, the first application may be an application capable of running independently. That is, the first application runs independent of the second application. For example, the first application and the second application may be application programs that are respectively installed on a mobile phone by a user through an application market. Corresponding to this implementation, step 202 may specifically include:
first, when the current operating environment meets a preset backup condition (for example, the terminal device is in an idle state), the execution main body may simulate an operation of a real user clicking an icon of the second application (that is, the first application inserts an input event into the system as if the user clicked the icon of the second application), and start the second application.
And then, selecting the group session added with the virtual user from the session list of the second application, and opening a session interface of the group session. For example, the execution subject may simulate an operation of a real user sliding a session list, find a group session to which a virtual user "backup assistant" is added from a session list of the second application, and simulate an operation of a real user clicking the group session to enter a session interface of the group session.
In some alternative implementations of the present embodiment, the first application may be a hosted application of the second application. For example, the first application is a plug-in or applet running in the second application.
In some optional implementations of this embodiment, the preset type may include, but is not limited to, at least one of the following: pictures, video, text, links, voice, etc.
In some optional implementations of this embodiment, before step 202, the method for backing up chat records may further include: and setting the preset backup condition and the preset type on a backup configuration interface of the first application. For example, when the first application is an application program capable of running independently, the user may start the first application, and input or select preset condition parameters on a backup configuration interface of the first application to set backup conditions and a backup type.
In some optional implementations of this embodiment, before step 202, the method for backing up chat records may further include: and setting the preset backup condition and the preset type on a backup configuration interface of the virtual user in the second application. For example, when the first application is an applet running in the second application, the user may enter a configuration interface of the virtual user, and input or select preset condition parameters to set the backup condition and the backup type.
In some optional implementations of the embodiment, the condition that the current operating environment meets the preset backup condition may include that the current time reaches a predetermined time, and the preset type includes a picture and/or a video.
Corresponding to this implementation manner, in step 202, the saving the chat record of the preset type in the current group session locally may specifically include: for each picture and/or video in the chat log of the previous period in the current group session, simulating the operation of the real user pressing the picture and/or video, and storing the picture and/or video locally.
As an example, the preset backup condition is the beginning of 3:00 the next day. When the system time is 3 am, the executing body may enter a group session where the virtual user "backup assistant" is located, locate the chat record in the group session to the first session message yesterday, and from the first session message, perform the following backup operation for each session message: if the message is a picture and/or video, the simulation real user presses the message (or the picture and/or video in the message) to save the message (or the picture and/or video in the message) locally.
Although the above-described implementation describes a case where the current time reaches the predetermined time and the preset type includes a picture and/or a video, the present application is not limited thereto. It should be understood that the backup condition may be other trigger conditions, and the preset type may be other types, and those skilled in the art may set the backup condition according to the needs of the actual application scenario. For example, the current operating environment meeting the preset backup condition may indicate that the terminal device is in an idle state, and the preset type is voice (accordingly, the first application may locate the session message in the current group session to the position where the last backup is finished, and then simulate the operation of the real user pressing the voice message for a long time, and save the session message one by one).
In some optional implementations of this embodiment, the method for backing up chat records may further include: and uploading the locally stored chat records to the server. The implementation mode can not only avoid that the chat records cannot be checked due to the loss of the locally stored chat records (for example, the local chat records are lost due to the loss or the mistaken deletion of a mobile phone), but also share or share the chat records of the server to other people so as to reduce the operation of other users (namely, other users can check the chat records without the storage or backup operation).
In some alternative implementations of the present embodiment, only users participating in the group session may access the chat records maintained by the server. By setting the access authority, the privacy of group members can be protected, and the risk of information leakage is reduced.
Compared with the case that the user manually saves the chat records of the specific types one by one, in the embodiment, the backup can be completed without manual operation of the user, and the difficulty of using the IM application by the user is reduced. In addition, because the preset type of chat records are backed up, the chat records are equivalently sorted, so that the efficiency of reviewing the chat records can be improved.
With continuing reference to fig. 3A-3C, one application scenario of a method for backing up chat records according to the present application is shown. In this application scenario, first, as shown in fig. 3A, a holding user "zhang san" of a mobile phone 301 invites a virtual user "backup assistant" 304 bound with an applet "backup assistant" to a group "Family" consisting of 6 Family members by way of invitation. In the group "Family", the group member "senior citizen" sent a picture message 302 and the group member "me" sent a video message 303. Next, as shown in fig. 3B, in a backup setting interface of the virtual user "backup assistant" 304, the user "zhang san" performs setting of backup parameters, for example, selects content to be backed up as "photos and videos", selects backup time as "03: 00 start of the next day", and sets backup network as "WLAN only" and authority as "accessible only to group chat members", and so on. The virtual user "backup assistant" 304 would then start backing up the pictures and videos in the group "Family" at 03:00 of each day. Thus, when a group member wants to flip through family photos and videos, the backup photos and videos can be viewed through the virtual user "backup assistant" (or applet "backup assistant") 304, as shown in FIG. 3C.
According to the method for backing up the chat records, the virtual users which are registered in the IM application and bound with the backup application are added into the group, and then when the current operating environment meets the preset backup condition, the session interface of the group with the virtual users added into the IM application is entered, and the chat records of the preset type in the current group session are stored locally in a mode of simulating the manual operation of a real user, so that the chat records of the group session can be automatically sorted and backed up, the user operation is simplified, and the efficiency of reviewing the chat records is improved.
With continued reference to fig. 4, a flow 400 of one embodiment of a method for backing up chat records in accordance with the present application is shown. The method for backing up chat records can be applied to a first application on a terminal device (for example, terminals 101, 102, 103 shown in fig. 1), and can include the following steps 401 to 402:
step 401, add the virtual user registered in the second application and bound with the first application to the group needing to backup the chat records.
In this embodiment, the first application may be an application installed on the terminal device and used for backing up a chat record in the second application. For example, the first application may be an application "backup assistant" installed on a cell phone. The second application may be an application program that supports instant messaging. For example, the second application may be an IM application installed on the terminal device described above. A provider of a first application (e.g., a developer of the first application) may register a virtual user (e.g., a virtual user registered nickname "backup assistant") in a second application and bind the first application with the virtual user.
The executing agent (i.e., the first application) of the method for backing up chat records may add the virtual user to a group of the second application that requires the backup of chat records. As an example, a user "zhang san" wants to automatically backup a picture sent by a family member in a family group, and a virtual user "backup assistant" may be invited to the family group by means of sharing or inviting in a backup guidance interface or a backup configuration interface of the first application. In this way, the virtual user "backup assistant" as a member of the family group can not only view the chat records of the family group, but also perform conversations with other family members.
Step 402, the following backup operations are executed in a loop: and in response to the detection that the current operating environment meets the preset backup condition, entering a conversation interface of the group added with the virtual user in the second application, and storing the preset type of chat records in the current group conversation locally in a mode of simulating the manual operation of the real user.
In the present embodiment, the execution subject (i.e., the first application) of the method for backing up chat records may cyclically execute a backup operation to be described below. For example, the first application may perform a backup operation once per day.
The backup operation may specifically include: if it is detected that the current operating environment meets the preset backup condition, the execution main body may first open a session interface of the group to which the virtual user is added in the second application, and then store the chat records of the preset type in the current group session locally in a manner of simulating a manual operation of a real user (for example, a holding user of the terminal device). Here, the preset backup condition may refer to a condition for triggering a backup operation. The manual operations may include, but are not limited to: clicking, long pressing, sliding and other operations manually triggered by the user. The preset type may be specified by a user.
As can be seen from fig. 4, compared with the corresponding embodiment of fig. 2, the flow 400 of the method for backing up chat records provided by this embodiment highlights the step of performing the backup operation in a loop. Therefore, the scheme described in this embodiment can continuously back up the chat records of the group to which the virtual user is added only by adding the virtual user bound with the backup application once.
Referring now to fig. 5, shown is a schematic diagram of an electronic device (e.g., the terminals 101, 102, 103 shown in fig. 1) 500 suitable for implementing embodiments of the present application. The electronic device 500 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following devices may be connected to the I/O interface 505 in general: input devices 506 including, for example, a touch screen, keys, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; a storage device 508 including, for example, a memory card; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 5 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program, when executed by the processing device 501, performs the above-described functions defined in the methods of embodiments of the present disclosure. It should be noted that the computer readable medium in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the terminal; or may exist separately and not be assembled into the terminal. The computer readable medium carries one or more programs which, when executed by the terminal, cause the terminal to: adding a virtual user which is registered in a second application and is bound with the first application into a group needing to backup chat records, wherein the second application is an application supporting instant messaging; the following backup operations are performed in a loop: and in response to the detection that the current operating environment meets the preset backup condition, entering a conversation interface of the group added with the virtual user in the second application, and storing the preset type of chat records in the current group conversation locally in a mode of simulating the manual operation of the real user.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept as defined above. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (12)

1. A method for backing up chat records, applied to a first application, the method comprising:
adding a virtual user which is registered in a second application and is bound with the first application into a group needing to backup chat records, wherein the second application is an application supporting instant messaging;
and in response to the fact that the current operating environment meets the preset backup condition, entering a conversation interface of the group added with the virtual user in the second application, and storing the preset type of chat records in the current group conversation locally in a mode of simulating manual operation of a real user.
2. The method of claim 1, wherein the preset type comprises at least one of: pictures, video, links, text, voice.
3. The method of claim 1, wherein prior to opening the session interface, the method further comprises:
setting the preset backup condition and the preset type on a backup configuration interface of the first application; or
And setting the preset backup condition and the preset type on a backup configuration interface of the virtual user in the second application.
4. The method of claim 1, wherein the current operating environment meets a preset backup condition, and comprises at least one of:
the current moment reaches a preset moment;
the current data link is a wireless local area network link;
the terminal device is in an idle state.
5. The method of claim 1, wherein the first application is a stand-alone application; and
the entering of the session interface of the group to which the virtual user is added in the second application in response to the detection that the current operating environment meets the preset backup condition includes:
starting the second application in response to detecting that the current operating environment meets a preset backup condition;
and finding and entering the group session added with the virtual user from the session list of the second application.
6. The method of claim 1, wherein the first application is a hosted application running in the second application.
7. The method according to claim 1, wherein the current operating environment meeting the preset backup condition comprises that a current time reaches a preset time, and the preset type comprises a picture and/or a video; and
the step of locally storing the preset type of chat records in the current group session in a mode of simulating the manual operation of a real user comprises the following steps:
for each picture and/or video in the chat record of the previous period in the current group chat session, simulating the operation of pressing the picture and/or video by a real user, and storing the picture and/or video locally.
8. The method of claim 1, further comprising:
and uploading the locally stored chat records to the server.
9. The method of claim 8, wherein the server maintains chat records accessible only to users participating in the group session.
10. A method for backing up chat records, applied to a first application, the method comprising:
adding a virtual user which is registered in a second application and is bound with the first application into a group needing to backup chat records, wherein the second application is an application supporting instant messaging;
the following backup operations are performed in a loop: and in response to the fact that the current operating environment meets the preset backup condition, entering a conversation interface of the group added with the virtual user in the second application, and storing the preset type of chat records in the current group conversation locally in a mode of simulating manual operation of a real user.
11. A terminal device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-10.
12. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-10.
CN201910922558.8A 2019-09-27 2019-09-27 Method, terminal device and computer readable medium for backing up chat records Active CN110505072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910922558.8A CN110505072B (en) 2019-09-27 2019-09-27 Method, terminal device and computer readable medium for backing up chat records

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910922558.8A CN110505072B (en) 2019-09-27 2019-09-27 Method, terminal device and computer readable medium for backing up chat records

Publications (2)

Publication Number Publication Date
CN110505072A CN110505072A (en) 2019-11-26
CN110505072B true CN110505072B (en) 2021-05-25

Family

ID=68592913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910922558.8A Active CN110505072B (en) 2019-09-27 2019-09-27 Method, terminal device and computer readable medium for backing up chat records

Country Status (1)

Country Link
CN (1) CN110505072B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147400B (en) * 2019-12-04 2022-03-01 杭州迪普科技股份有限公司 Method and device for command line configuration synchronization and electronic equipment
CN111176510A (en) * 2019-12-30 2020-05-19 上海连尚网络科技有限公司 Method and apparatus for changing head portrait
CN111787415B (en) * 2020-07-23 2021-08-17 北京字节跳动网络技术有限公司 Video interaction method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162676A (en) * 2015-04-03 2015-12-16 中国科学院信息工程研究所 Method and system for acquiring WeChat data
CN105245437A (en) * 2015-09-30 2016-01-13 慈溪爱立示信息科技有限公司 Method for recording and preserving communication messages of webpage version instant communication platform
CN107257314A (en) * 2017-06-05 2017-10-17 成都知道创宇信息技术有限公司 A kind of message statistics analysis method based on wechat group
CN108494573A (en) * 2018-03-29 2018-09-04 丁超 Group chat method, apparatus and information terminal
CN109951376A (en) * 2019-02-28 2019-06-28 北京蒂斯科技有限公司 A kind of instant message applications information collecting method, device, system and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040158610A1 (en) * 2003-02-10 2004-08-12 Davis Joel A. Client proxying for instant messaging

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105162676A (en) * 2015-04-03 2015-12-16 中国科学院信息工程研究所 Method and system for acquiring WeChat data
CN105245437A (en) * 2015-09-30 2016-01-13 慈溪爱立示信息科技有限公司 Method for recording and preserving communication messages of webpage version instant communication platform
CN107257314A (en) * 2017-06-05 2017-10-17 成都知道创宇信息技术有限公司 A kind of message statistics analysis method based on wechat group
CN108494573A (en) * 2018-03-29 2018-09-04 丁超 Group chat method, apparatus and information terminal
CN109951376A (en) * 2019-02-28 2019-06-28 北京蒂斯科技有限公司 A kind of instant message applications information collecting method, device, system and storage medium

Also Published As

Publication number Publication date
CN110505072A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
KR101077739B1 (en) User initiated invite for automatic conference participation by invitee
US9330378B2 (en) Management and synchronization of related electronic communications
CN109873757A (en) Message display method, electronic equipment and readable medium for multi-conference
CN110505072B (en) Method, terminal device and computer readable medium for backing up chat records
US20130290434A1 (en) Notifying electronic meeting participants of interesting information
US20120269185A1 (en) System and method for computer based collaboration initiated via a voice call
US20180006976A1 (en) Voice chat mode self-adapting method and apparatus
US9224134B2 (en) Arranging a conversation among a plurality of participants
US20150032809A1 (en) Conference Session Handoff Between Devices
US9531768B2 (en) Detection of shared content viewed by attendees in online meetings
CN112311841B (en) Information pushing method and device, electronic equipment and computer readable medium
WO2013085570A2 (en) Seamless collaboration and communication
CN112311754A (en) Interaction method and device and electronic equipment
CN103812670B (en) Electronic meeting session content is associated with electronic calendar
CN113760145B (en) Interaction method, device, electronic equipment and storage medium
US9270713B2 (en) Mechanism for compacting shared content in collaborative computing sessions
CN112291629B (en) Interaction method, interaction device, electronic equipment and readable medium
US20150058058A1 (en) Automatic Detection of Network Conditions Prior to Engaging in Online Activities
US20160127292A1 (en) Method and system for controlling polling in message conversations across multiple devices
CN110781408A (en) Information display method and device
US11294557B2 (en) Team configuration method, and method and apparatus for sharing team configuration solution
CN107835115A (en) A kind of information operation method, equipment and medium
US8996613B2 (en) Automated activity creation in a mobile device business application
CN112306595A (en) Interaction method and device and electronic equipment
CN112968826B (en) Voice interaction method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant