CN112291133A - Method, device, equipment and medium for sending files across terminals - Google Patents

Method, device, equipment and medium for sending files across terminals Download PDF

Info

Publication number
CN112291133A
CN112291133A CN201910662333.3A CN201910662333A CN112291133A CN 112291133 A CN112291133 A CN 112291133A CN 201910662333 A CN201910662333 A CN 201910662333A CN 112291133 A CN112291133 A CN 112291133A
Authority
CN
China
Prior art keywords
terminal
file
user
sending
authorization
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.)
Granted
Application number
CN201910662333.3A
Other languages
Chinese (zh)
Other versions
CN112291133B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910662333.3A priority Critical patent/CN112291133B/en
Publication of CN112291133A publication Critical patent/CN112291133A/en
Application granted granted Critical
Publication of CN112291133B publication Critical patent/CN112291133B/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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2149Restricted operating environment

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for sending files across terminals, wherein the method comprises the following steps: the method comprises the steps that a first terminal displays a chat session interface of a social client, wherein the chat session interface is an interface for chatting between a home terminal account and an opposite terminal account; when the chat session interface receives trigger operation of a cross-terminal sending function, the first terminal acquires preview information of a file on the second terminal according to the trigger operation; the first terminal displays a file list, and the file list is used for displaying preview information of files on the second terminal; and when receiving the selection operation on the file list, the first terminal sends the selected file to the opposite terminal account according to the selection operation. The file preview information on the second terminal is displayed on the first terminal by triggering the cross-terminal sending function, and a user can send the file on the second terminal through the first terminal only by selecting the file to be sent.

Description

Method, device, equipment and medium for sending files across terminals
Technical Field
The present application relates to the field of network communications, and in particular, to a method, an apparatus, a device, and a storage medium for sending a file across terminals.
Background
The instant messenger allows the user to use the same instant messenger on at least one terminal, for example, user a may use the same instant messenger on both a smart phone and a personal computer, and user a sends a message to user B using the instant messenger installed on the personal computer, and the message types include: text, pictures, video, audio, expressions, voice, files, etc.
When a user A sends a message to a user B through an instant messaging program installed on a personal computer, for example, if the user A wants to send a mobile phone picture to the user B, the mobile phone picture is stored in a mobile phone of the user A, the user A needs to open the instant messaging program in the mobile phone, find a message session for sending the message to the user B on the mobile phone, call an album in the mobile phone through the instant messaging program, select a picture to be sent from the album and send the picture to the user B.
Based on the above situation, when the user a sends the file stored on the other terminal to the user B, the user a needs to switch between different terminals, the steps are complicated, and the process of the user a performing message transmission with the user B on the original terminal is interrupted.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for sending a file across terminals, which can solve the problem that in the related art, when a user sends a file stored on another terminal, switching between different terminals is needed. The technical scheme is as follows:
according to an aspect of the present application, there is provided a method for sending a file across terminals, the method including:
the method comprises the steps that a first terminal displays a chat session interface of a social client, wherein the chat session interface is an interface for chatting between a home terminal account and an opposite terminal account;
when the chat session interface receives trigger operation of a cross-terminal sending function, the first terminal acquires preview information of a file on the second terminal according to the trigger operation;
the first terminal displays a file list, and the file list is used for displaying preview information of files on the second terminal;
and when receiving the selection operation on the file list, the first terminal sends the selected file to the opposite terminal account according to the selection operation.
According to another aspect of the present application, there is provided an apparatus for transmitting a file across terminals, the apparatus including:
the display module is used for displaying a chat session interface of the social client by the first terminal, wherein the chat session interface is an interface for chatting between a home terminal account and an opposite terminal account;
the receiving module is used for acquiring preview information of a file on a second terminal according to a trigger operation when the first terminal receives the trigger operation of a cross-terminal sending function on the chat session interface;
the display module is further configured to display a file list on the first terminal, where the file list is used to display preview information of a file on the second terminal;
the receiving module is further configured to, when the first terminal receives the selection operation on the file list, send the selected file to the opposite-end account according to the selection operation.
According to another aspect of the present application, there is provided a computer device comprising a processor and a memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by the processor to implement a method of sending files across terminals as described above.
According to another aspect of the present application, there is provided a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by the processor to implement the method of sending a file across terminals as described in the above aspect.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
by providing the cross-terminal sending function in the chat session interface of the instant messaging program, when a file required to be sent by a user is on the second terminal, the file preview information on the second terminal is displayed on the first terminal by triggering the cross-terminal sending function, the user can send the file on the second terminal through the first terminal only by selecting the file required to be sent, and the user is not required to switch between different terminals.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of a chat session interface for sending pictures across terminals according to an exemplary embodiment of the present application;
FIG. 2 is a block diagram of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 3 is a flowchart of a method for sending a file across endpoints provided by an exemplary embodiment of the present application;
FIG. 4 is a diagram illustrating a chat session interface on a first terminal provided by an exemplary embodiment of the application;
FIG. 5 is an interface diagram of a first terminal displaying a list of preview documents according to an exemplary embodiment of the present application;
FIG. 6 is an interface diagram of a first terminal displaying a list of preview documents provided by another exemplary embodiment of the present application;
fig. 7 is a schematic structural diagram of a connection between a first terminal and a second terminal according to an exemplary embodiment of the present application;
fig. 8 is a schematic interface diagram of a first terminal displaying an updated file list according to an exemplary embodiment of the present application;
FIG. 9 is a schematic illustration of an authorization interface of a first terminal provided by an exemplary embodiment of the present application;
FIG. 10 is a schematic illustration of an authorization interface of a second terminal provided by an exemplary embodiment of the present application;
fig. 11 is a flowchart of a method for a second terminal to authorize a first terminal according to an example embodiment of the present application;
FIG. 12 is a block diagram illustrating an apparatus for sending a file across nodes according to an exemplary embodiment of the present application;
fig. 13 is a schematic device structure diagram of a computer apparatus according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms referred to in the embodiments of the present application will be described:
the instant messaging program: refers to an application program for transmitting messages in an Instant Messaging (IM) manner, and the Instant Messaging program allows a user to use the messages on different terminals at the same time. Instant messaging refers to a terminal service that allows at least two people to use a network to transmit messages in real time, and a user can communicate with other users by inputting text, sending messages in voice form, or starting a video function. Alternatively, the user can send at least one type of information such as files (e.g., documents, data tables, fantasy lights), pictures, audio, video, emoticons, animations, etc. to other users through the instant messaging program. Alternatively, the above type of information may be stored in a terminal installed with instant messaging, which realizes sending the above type of information by calling a corresponding application program.
Fig. 1 is a schematic diagram illustrating a chat session interface for sending pictures across terminals in the related art according to an exemplary embodiment of the present application.
Schematically, the description will be given taking an example in which a picture is transmitted and the terminal is a personal computer, as shown in fig. 1 (a). A picture sending control 101 is displayed on the chat session interface 10, and optionally, the picture sending control 101 is used for sending a picture on a terminal where the instant messaging program is located; or sending the picture by calling an application program on the terminal; alternatively, in the case where the terminal is connected to a network, the send picture control 101 is used to send a network picture.
The user a sends a message to the user B through the instant messaging program, and optionally, the message type includes: at least one of characters, pictures, expressions (including GIF moving picture expressions, facial characters, etc.), files, virtual item packs, audio, video, voice messages. Illustratively, the user name of the user B is small a, and in some embodiments, "small K" may also be a nickname of the user B, or a remark name set by the user a in the contact list, which is not limited in this application. When the user a sends a message of a picture type to the user B, the user a searches for a picture to be sent by calling an application program through the instant messaging program, and optionally, the called application program may be an album application program in a personal computer system, or the called application program may be an application program installed in the personal computer system (for example, an application program capable of editing or beautifying a picture). In some embodiments, the photo album application is also named gallery or camera roll, and the application is not limited in this regard. If the picture sent by the user a to the user B is stored in another terminal of the user a, the user a needs to send the picture to the user B through another terminal, and illustratively, the another terminal may be a smart phone or a tablet computer. The other terminal is a smart phone for example. Illustratively, the user a needs to open the same instant messaging program in the smart phone, find a session corresponding to the message sent by the user B in the message list, and select a target picture to send.
As shown in fig. 1 (b), the chat session interface 11 of the smartphone displays: a send picture control 102, a target picture 103, a send control 104, and a sent picture 105.
The send picture control 102 is configured to send a picture stored in the smart phone, and by invoking a local application (e.g., an album) in the smart phone, optionally, the user a may select at least one picture in a picture list to send, illustratively, the user a selects the target picture 103 in the picture list. Optionally, the number of pictures that need to be sent is displayed on send picture control 102, target picture 103, and send control 104. Illustratively, the user a selects a target picture 103, and numbers 1 are displayed on the sending picture control 102, the target picture 103, and the sending control 104, and optionally, the number of the target pictures is displayed in the form of a corner mark on the sending picture control 102, and the number of the pictures is displayed in the form of characters on the sending control 104, which is not limited in the present application. The user A sends the target picture 103 by clicking the sending control 104, and after the picture is sent successfully, the sent picture 105 is displayed in a chat interface between the user A and the user B.
Based on the above situation, when the file that the user a needs to send is stored in another terminal, the user a needs to continue sending the target file (i.e. the selected file) to the user B through another terminal, the steps are cumbersome, and the process of the user a performing message transmission with the user B on the original terminal is interrupted.
The method provided by the embodiment of the application can be applied to the situation that when a user sends files stored on different terminals, the message transmission process of the user on the original terminal is not required to be interrupted.
Fig. 2 shows a block diagram of a computer system provided in an exemplary embodiment of the present application. The computer system 100 includes: a first terminal 120, a server 140, and a second terminal 160.
The first terminal 120 is installed and operated with an instant messenger program or a program supporting an instant messenger function. The first terminal 120 is a terminal used by a user, and optionally, the user enters an instant messaging program by logging in a user account. The first terminal 120 stores a file that the user needs to send, and optionally, the user sends the selected file (i.e., the target file) after performing an authorization operation through the instant messaging program on the first terminal 120, or the user directly sends the target file through the instant messaging program on the first terminal 120.
The first terminal 120 is connected to the server 140 through a wireless network or a wired network.
The server 140 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. Illustratively, the server 140 includes a processor 144 and a memory 142, the memory 142 in turn including a display module 1421, a receiving and transmitting module 1422, and an acquisition module 1423. The server 140 is configured to provide a background service for supporting the instant messaging program, illustratively, a file storage service, a communication channel establishment service, and a file update service. Alternatively, the server 140 undertakes primary computational work and the first and second terminals 120, 160 undertake secondary computational work; alternatively, the server 140 undertakes the secondary computing work and the first terminal 120 and the second terminal 160 undertakes the primary computing work; alternatively, the server 140, the first terminal 120, and the second terminal 160 perform cooperative computing by using a distributed computing architecture.
The second terminal 160 is installed and operated with an instant messenger program or a program supporting an instant messenger function, and the second terminal 160 is also a terminal used by a user, and optionally, the user can use the same instant messenger program on both the first terminal 120 and the second terminal 160. Optionally, the user may send the target file stored in the first terminal 120 by downloading the target file in the first terminal 120 to the second terminal 160, or the second terminal 160 may control the first terminal 120 to send the target file.
Alternatively, the instant messaging programs installed on the first terminal 120 and the second terminal 160 may be the same or different, or the instant messaging programs installed on the two terminals may be the same type of instant messaging program in different control systems. The first terminal 120 may generally refer to one of a plurality of terminals, and the second terminal 160 may generally refer to one of a plurality of terminals, and this embodiment is only illustrated by the first terminal 120 and the second terminal 160. Optionally, the device types of the first terminal 120 and the second terminal 160 are the same or different, and the embodiments in this application are described in the context of the device types of the first terminal 120 and the second terminal 160 being different. The device types include: at least one of a smartphone, a tablet, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer. The following embodiments are illustrated with terminals including smart phones and personal computers.
Those skilled in the art will appreciate that the number of terminals described above may be greater or fewer. For example, the number of the terminals may be only one, or several tens or hundreds of the terminals, or more. The number of terminals and the type of the device are not limited in the embodiments of the present application.
Fig. 3 illustrates a method for sending a file across terminals according to an exemplary embodiment of the present application, which is applied to the first terminal 120 or the second terminal 160 in the computer system shown in fig. 2 or other terminals in the computer system. The method comprises the following steps:
step 301, the first terminal displays a chat session interface of the social client, where the chat session interface is an interface for chatting between a home terminal account and an opposite terminal account.
Optionally, the first terminal 120 is a mobile phone, a tablet computer, a notebook computer or a desktop computer. Illustratively, a chat session interface with social clients is displayed on the desktop. The home terminal refers to a terminal currently used by the user, and is schematically a terminal used by the user a. The opposite terminal refers to a terminal used by a chat object for chatting with a user, illustratively, the opposite terminal is a terminal used by a user B, and optionally, the type of the terminal used by the user B may be the same as or different from the type of the terminal used by the user a. In one example, user a chats with user B (user B via a mobile phone) via a desktop computer, and the chat session interface is an interface for chatting between an account of user a in an instant messenger (running on the desktop computer) and an account of user B (running on the mobile phone) in the instant messenger.
In the embodiment of the present application, the first terminal 120 is a personal computer of the user a, and the second terminal 160 is a mobile phone of the user a.
Fig. 4 shows a schematic diagram of a chat session interface on a personal computer, provided by an exemplary embodiment of the present application, where a picture control 201, a picture sending mode 202, and a chat record of a user a and a user B are displayed on the chat session interface 200, and illustratively, a nickname of the user B is a small K.
The user a may send a message, such as a picture or a file, to the user B through the instant messaging program, which is schematic, when the user a sends the picture to the user B through the instant messaging program, the user a needs to perform a selection operation on the picture control 201, and optionally, the selection operation is a single-click operation, a double-click operation, a long-press operation, a drag operation, or a slide operation, which is not limited in this application. In the embodiment of the present application, the selection operation is a single-click operation as an example.
Step 302, when the first terminal receives the trigger operation of the cross-terminal sending function in the chat session interface, the first terminal acquires the file preview information on the second terminal according to the trigger operation.
Optionally, the trigger operation is a single-click operation, a double-click operation, a drag operation, a slide operation, or a long-press operation, which is not limited in this application. Optionally, there is a control of the cross-end sending function on the chat session interface in the instant messaging program on the first terminal 120, or the cross-end sending function is triggered by performing a specific trigger operation on the chat session interface (for example, the user triggers the cross-end sending function by shaking the mobile phone).
In one example, the user a performs a trigger operation on a personal computer to a control of the cross-end sending function, and obtains file preview information on the second terminal 160 (e.g., a mobile phone) according to the trigger operation. Optionally, a social client corresponding to the instant messenger program on the first terminal 120 is simultaneously run on the second terminal 160, or a same type of social client or a non-same type of social client corresponding to the instant messenger program on the first terminal 120 is run on the second terminal 160, or a plug-in or an applet (applet refers to a program running depending on a host program) supporting a cross-terminal function is run on the second terminal 160, and this embodiment of the present application is described by taking as an example that a social client corresponding to the instant messenger program on the first terminal 120 is simultaneously run on the second terminal 160.
Alternatively, user a may enter the instant messenger by logging into an account on the instant messenger. Optionally, the account is obtained by the user a through a registration operation, or the account is an account corresponding to the user a through another application (for example, an account corresponding to a mailbox application). Optionally, the account is registered by user personal information, for example, a social client account corresponding to the instant messenger is registered by a communication authentication number, a mailbox address, an identification card number, and the like of the user a.
For example, an instant messenger program T is run on a personal computer, a user a enters the instant messenger program T by logging in a social client account corresponding to the instant messenger program T, and an instant messenger program T (i.e., a mobile phone version of the instant messenger program T) is also run on a mobile phone, and the user a can also log in the social client account of the user a to enter the instant messenger program T on the mobile phone.
As shown in fig. 4, when the user a clicks the picture control 201, a picture transmission mode 202 is displayed on the chat session interface 200. Optionally, the picture sending mode 202 is displayed in a message prompt box, or different controls are provided for different picture sending modes 202, or different picture sending modes 202 are displayed by performing different operations on a terminal installed with an instant messaging program, for example, a picture stored in the terminal is sent to the user B by a sliding operation. Illustratively, the send picture mode 202 is displayed in the form of a message prompt box.
Optionally, the sending picture mode 202 includes at least one of the following modes: sending local pictures 2021, sending other terminal pictures 2022, selecting pictures 2023 from other programs, searching from the internet (not shown in the figure). Sending the local picture 2021 refers to sending a picture stored on a terminal where the instant messaging is located, and the instant messaging program selects a target picture by calling a corresponding picture application program and sends the picture; sending other terminal pictures 2022 means that the target picture is stored in other terminals, and the other terminals are different from the terminals currently used by the user a; selecting 2023 from another program means selecting a target picture to be sent from another program on the terminal currently used by the user a, and optionally, the another program is a program different from the instant messaging program used by the user a, or a program which is the same type as the instant messaging program used by the user a but different from the instant messaging program used by the user a; searching from the internet means that the user A calls a browser in the terminal to search a target picture from the internet through the instant messaging program and sends the target picture.
Illustratively, the user a obtains the file preview information on the second terminal 160 by selecting to send the other terminal picture 2022.
Step 303, the first terminal displays a file list, where the file list is used to display file preview information on the second terminal.
Illustratively, the list of files is displayed on user A's personal computer. Optionally, the file list is used to display preview information of the file on the second terminal 160, or to display details of the file on the second terminal 160 (for example, if the type of the file is a document, the contents of the text included in the document are displayed).
Taking the example that the user a sends a picture on the second terminal 160 as an example, fig. 5 shows an interface schematic diagram of the first terminal displaying the file preview information on the second terminal according to an exemplary embodiment of the present application. The file preview information interface 300 displays: a sending control 301, a cancel control 302, preview information 303, sending terminal information 304, and a set 305 corresponding to files. The sending control 301 is used for sending the target picture; the cancel control 302 is used for canceling sending the target picture or quitting the interface for loading the preview information; the preview information 303 is used for displaying thumbnails of pictures in the mobile phone album, and optionally, the preview information 303 may also be used for displaying names of the pictures in the mobile phone album, for example, the names of the pictures are fig. 30; the sending terminal information 304 is used to indicate a terminal where a file to be sent is located, for example, a picture of a sending mobile phone (a mobile phone with a small C), and in some embodiments, the sending terminal information 304 may not be displayed in a file list, which is not limited in this application; the file corresponding set 305 is used to indicate the name of the storage location where the file needs to be sent on the second terminal 160, for example, the name of the storage location where the picture to be sent by the user a is located on the second terminal 160 is a camera film.
Optionally, thumbnails of the recently added pictures in the mobile phone album are displayed on the personal computer. Alternatively, the thumbnails are displayed in an array or in a collection. Schematically, the thumbnail images are shown in a 6 × 6 array. Alternatively, the array may be an asymmetric array, for example, in the form of a 7 x 4 array. This is not limited in this application. The thumbnails are illustratively displayed in sets, for example, images of people and scenery types in the recently added images form two sets respectively, and the user a searches for the set to which the target image belongs. In one example, 50 pictures recently added to the mobile phone of the user a are displayed on the personal computer in an array, in some embodiments, the number of the pictures recently added to the mobile phone of the user a is 100, and the number of the pictures recently added to the mobile phone is not limited in the present application. In some embodiments, the user a may continue to load the thumbnail of the picture on the mobile phone album by sliding the preview information interface 300 or dragging the sliding bar on the preview information interface 300, which is not limited in this application.
Alternatively, the user a may also select to send a file stored on the second terminal 160, where the file refers to a file with a format different from a picture format, such as video, audio, document, data table, animation, and the like.
Fig. 6 illustrates a first terminal displaying file preview information on a second terminal provided by another exemplary embodiment of the present application.
As shown in fig. 6 (a), the file preview information interface 310 displays: a send control 301, a cancel control 302, sending terminal information 304, a set 305 corresponding to a file, and preview information 306. Illustratively, the collection 305 of file correspondences is a folder. Optionally, the preview information 306 includes a file name, illustratively file 1, and a schematic representation representing the folder. Optionally, the preview information 306 may also display different schematic diagrams according to different files, for example, when a file is a video, a schematic diagram representing the video is displayed.
Alternatively, the file preview information in the file list may be displayed in a list form, as shown in fig. 6 (b). Displayed on the document preview information interface 320 are: a sending control 301, a canceling control 302, sending terminal information 304, a set 305 corresponding to a file, and preview information 307. Optionally, the preview information 307 includes: at least one of the name of the file, the creation time, the last modification time, the format of the file and the size of the file (namely the space of the file occupying the memory of the terminal). Optionally, the display form of the file preview information on the file list is set in the instant messaging program (default setting), or the terminal displays the file in different forms according to the type of the file, or the user sets the display form of the preview information according to personal habits or preferences.
And step 304, when receiving the selection operation on the file list, the first terminal sends the selected file to the opposite terminal account according to the selection operation.
Optionally, the user a performs a selection operation on the file displayed in the file list, and the first terminal 120 downloads the selected file in the file list from the second terminal 160 to the first terminal 120 according to the selection operation.
Fig. 7 is a schematic diagram illustrating a connection between a first terminal and a second terminal according to an exemplary embodiment of the present application.
A transmission channel is established between the first terminal 120 and the second terminal 160, through which the information instruction is transmitted. Illustratively, the second terminal 160 sends a file to the first terminal 120. The first terminal 120 receives a selection operation on the preview information of the selected file, and sends a download request to the second terminal 160 according to the selection operation, which may be, optionally, a single-click operation, a double-click operation, a sliding operation, a dragging operation, or a long-press operation, but is not limited in this application. The second terminal 160 sends a download Address to the first terminal 120 according to the download request, and optionally, the download Address is an Internet Protocol Address (IP Address). The first terminal 120 receives a download address of the second terminal 160, and optionally, the download address includes a storage location of the target file (i.e. the selected file) on the second terminal 160, for example, in a picture folder of the second terminal 160. According to the download address, the first terminal 120 downloads the target file in the file list.
Illustratively, after the user a selects the target file, the target file will be downloaded to the personal computer, for example, the user a selects the file with the file name corresponding to the file 1. Optionally, the target file is stored in a folder of the personal computer of the user a, where the folder is a default folder of the personal computer, or a target folder which is created by the user a and is available for downloading the target file, or a folder for storing the instant messaging program, or a folder corresponding to the instant messaging program and storing the downloaded file.
After the target file is downloaded to the first terminal 120, the first terminal 120 sends the target file to the third terminal 180, where the third terminal 180 is a terminal used by the user B, that is, the user a sends the downloaded target file to the terminal used by the user B, that is, sends the downloaded target file to an opposite-end account (a social client account corresponding to the user B in an instant messaging program). Illustratively, when user a clicks on send control 301, the sent target file is a target file downloaded from a cell phone to a personal computer.
In summary, according to the method provided in this embodiment, by providing the cross-terminal sending function in the chat session interface of the instant messaging program, when a file that a user needs to send is on the second terminal, by triggering the cross-terminal sending function to display the file preview information on the second terminal on the first terminal, the user can send the file on the second terminal through the first terminal only by selecting the file that needs to be sent, and the user does not need to switch between different terminals.
Alternatively, the first terminal 120 may further transmit a transmission instruction to the second terminal 160 after receiving the selection operation on the preview information of the selected file, the transmission instruction instructing the second terminal 160 to transmit the selected file to the social account number. Illustratively, after the user a selects a target file (i.e., a selected file) through an instant messaging program on a personal computer, a transmission instruction is sent to the second terminal 160 (e.g., a mobile phone used by the user a), and the second terminal 160 sends the target file according to the transmission instruction, i.e., the target file is sent from the mobile phone of the user a to the third terminal 180.
Optionally, in this process, the sending progress of the target file may be displayed on the first terminal 120 (e.g., the sending progress of the target file is represented by a progress bar or a percentage), or the sending progress of the virtual target file may be displayed (e.g., the content is displayed on the first terminal 120: sending is in progress, please later), or the sending progress of the target file is not displayed. This is not limited in this application.
The above method can be applied to the following scenarios: first, when the second terminal 160 is connected to the internet network or the mobile communication network, the first terminal 120 is connected with the second terminal 160; second, the first terminal 120 is connected with the second terminal 160 through the short-range wireless communication technology.
Alternatively, the second terminal 160 may be connected to the internet network through a world wide web, a metropolitan area network, an intranet, a Wireless local or WiFi (Wireless Fidelity) network, or a network cable. Optionally, the second terminal 160 implements the above network mode by using an online Peer-to-Peer technology (Peer-to-Peer, P2P), which refers to a distributed application architecture that distributes tasks and work loads among peers (peers), and is a networking or network mode formed by Peer-to-Peer computer models in the application layer. In a network mode of a Client (Client) and a Server (Server), a special Server is adopted for data distribution, a plurality of clients acquire data from the Server, and in a P2P network architecture, each Client is a Server and does not have a central Server, and each Client can obtain services (acquire data) from other clients and can provide services (send data) to other clients.
Optionally, the second terminal 160 may also be connected with the first terminal 120 through a mobile communication network. Illustratively, the mobile communication network is a respective generation mobile communication network (2G, or 3G, or 4G, or 5G, or a combination thereof).
Alternatively, when the first terminal 120 and the second terminal 160 are connected, the two terminals may be located under the same network or under different networks. Illustratively, the first terminal 120 is a laptop, the second terminal 160 is a mobile phone, the first terminal 120 is connected to the internet network through a WiFi network, the second terminal 160 is connected to a mobile communication network, and the first terminal 120 and the second terminal 160 can be connected. Illustratively, the first terminal 120 is a desktop computer, the second terminal 160 is a tablet computer, the first terminal 120 is connected to the internet network through a network cable, the second terminal 160 is connected to the internet network through a WiFi network, and the first terminal 120 and the second terminal 160 can be connected.
Optionally, the short-range wireless communication technology is a bluetooth technology, a Zigbee technology, an Airdrop technology, and the like, and schematically, the first terminal 120 is a tablet computer, the second terminal 160 is a mobile phone, and the first terminal 120 and the second terminal 160 are connected by opening a bluetooth function in the terminals.
When the first terminal 120 connects with the second terminal 160 in the above method, the connection may be optionally periodic, continuous, or triggered. Illustratively, the connection between the first terminal 120 and the second terminal 160 is periodic, for example, the first terminal 120 and the second terminal are disconnected every 10 minutes and need to be reconnected; the connection between the first terminal 120 and the second terminal 160 is triggered, for example, there is a connection triggering control on the chat session interface, and after the user needs to perform triggering operation on the control, the first terminal 120 and the second terminal 160 are connected; the connection between the first terminal 120 and the second terminal 160 is continuous, for example, the first terminal 120 and the second terminal 160 are always connected, and if any one of the first terminal 120 or the second terminal 160 is disconnected from the internet network or the mobile communication network, or the short-distance communication mode is disconnected, the first terminal 120 and the second terminal 160 are disconnected.
Alternatively, if a new file is added to the second terminal 160 after the first terminal 120 and the second terminal 160 are connected, the first terminal 120 will synchronously display the newly added file. Upon receiving the update signal of the second terminal 160, the newly added file is displayed on the file list. Wherein the newly added file is a file newly generated in the process of acquiring preview information of the file on the second terminal 160.
Illustratively, the first terminal 120 is a personal computer of user A and the second terminal 160 is a handset of user A. The description will be given by taking the example that the newly added file is a picture. After the personal computer and the mobile phone of the user a are connected, if a picture is newly added to the mobile phone album of the user a, the update interface 330 is displayed on the personal computer. FIG. 8 illustrates a schematic diagram of an update interface on a personal computer provided by an exemplary embodiment of the present application. Displayed on the update interface 330 are: a sending control 301, a canceling control 302, sending terminal information 304, a set 308 corresponding to an update file, and update information 309. The corresponding set 308 of update files is used to indicate the state of the corresponding file or folder when the second terminal 160 generates the update signal, and optionally, a loading identifier (e.g., a circular loading identifier) is also displayed in the corresponding set 308 of update files. The update information 309 is used to indicate that a newly added picture on the cell phone is displayed on the personal computer of user a. Optionally, the newly added picture is a picture that the user a adds to the mobile phone album by capturing the screen, or the newly added picture is a picture that the user a receives the picture and stores the picture in the mobile phone album, which is not limited in the present application.
Optionally, all the newly added pictures in the second terminal 160 are displayed simultaneously in the file list displayed by the first terminal 120, or the newly added pictures in the second terminal 160 are displayed in batches in the file list displayed by the first terminal 120. Optionally, the user may set the number of the newly added pictures displayed in the file list by himself, or the first terminal 120 may intelligently control the number of the newly added pictures displayed in the file list according to the number of the newly added pictures, or the first terminal 120 may set the number of the newly added pictures displayed in the file list (default setting).
Alternatively, the second terminal 160 grants an access right with a limited condition to the first terminal 120 before the first terminal 120 makes a connection with the second terminal 160. Illustratively, the first terminal 120 is a personal computer, the second terminal 160 is a mobile phone, when the file sent by the user a to the user B is on the mobile phone of the user a, the user a is required to perform an authorization operation on the mobile phone, and the personal computer obtains a valid right to access the storage location of the file on the mobile phone of the user a.
Fig. 11 is a flowchart illustrating a method for authorizing a first terminal by a second terminal according to an exemplary embodiment of the present application. The method is applied to the first terminal 120 or the second terminal 160 in the computer system or other terminals in the computer system as shown in fig. 2. The method comprises the following steps:
step 1101, receiving an authorization operation on a chat session interface.
Optionally, the second terminal 160 grants access rights with limited conditions to the first terminal 120, the access rights being for accessing a storage location of the file on the second terminal 160. Optionally, the limited conditions include: at least one of a limited time and a limited number of times. The limited number of times means that after the second terminal 160 performs an authorization operation to the first terminal 120, the first terminal 120 can access a storage location of the file on the second terminal 160 within the limited number of times; the limited time refers to a time period after the second terminal 160 authorizes the first terminal 120, and the first terminal 120 can access the storage location of the file on the second terminal 160 within a certain time period.
Alternatively, the second terminal 160 grants the access right with the limited condition to the first terminal 120 in three forms.
First, when receiving a first authorization indication of the second terminal 160, the first terminal 120 acquires a valid right having one-time access to a storage location of a file on the second terminal 160 according to the first authorization indication.
In one example, user a performs an authorization operation on a cell phone, by which the personal computer can obtain valid rights to access a storage location of a file on the cell phone only once.
Secondly, when receiving a second authorization instruction of the second terminal 160, the first terminal 120 obtains valid permission having n times of access to the storage location of the file on the second terminal 160 according to the second authorization instruction, where n > 1 and n is an integer.
Illustratively, n has a value of 3, and the number of times the first terminal 120 can access the storage location of the file on the second terminal 160 is three after the second terminal 160 authorizes the first terminal 120. If the limited number of times is exceeded, the first terminal 120 cannot access the storage location of the file on the second terminal 160, and the second terminal 160 is required to perform the authorization operation again.
Thirdly, upon receiving a third authorization indication from the second terminal 160, the first terminal 120 obtains a valid right with a storage location of the access file on the second terminal 160 within a duration t according to the third authorization indication, where t > 0.
Illustratively, t has a value of 10, and after the second terminal 160 authorizes the first terminal 120, the first terminal 120 can access the storage location of the file on the second terminal 160 within 10 minutes. If the time exceeds 10 minutes, the first terminal 120 cannot access the storage location of the file on the second terminal 160, and the second terminal 160 is required to perform the authorization operation again.
Taking the example that the first terminal 120 is a personal computer, the second terminal 160 is a mobile phone, and the file to be sent is a picture, in one example, the user a performs an authorization operation on the mobile phone, where the authorization operation is to grant the personal computer valid permission to access the storage location (e.g., a mobile phone album) of the picture on the mobile phone, and the limited condition of the valid permission is that the personal computer can access the storage location of the picture on the mobile phone within 30 minutes.
Step 1102, sending an authorization request to the second terminal according to the authorization operation.
Illustratively, the first terminal 120 is a personal computer. The authorization interface is displayed at the authorization operation of the user a as shown in fig. 9.
Fig. 9 is a diagram illustrating an authorization interface of a first terminal according to an exemplary embodiment of the present application.
A prompt message 401 is displayed on the authorization interface 400 of the first terminal 120, where the prompt message 401 is used to prompt the user a to perform an authorization operation on the mobile phone, for example, please open a program mobile phone version to confirm authorization. Optionally, sending terminal information 304 is further displayed on the authorization interface 400 of the first terminal 120, and is used to indicate a terminal where the file to be sent is located and a name of another terminal, where optionally, the sending terminal information 304 is: and sending the mobile phone picture (the mobile phone of the small C). In some embodiments, the prompt 401 may be a request to open a tablet version of the program to confirm authorization; the transmission terminal information 304 is: and sending the picture of the tablet computer, and connecting the picture of the tablet computer with the tablet computer of the small C. The content of the prompt message and the position of the prompt message are not limited in the present application. Optionally, the authorization interface 400 of the first terminal 120 displays different prompt messages 401 according to authorization operations between different terminals, or the user may set the prompt messages 401 according to his preference, or the server displays the prompt messages 401 that are the same as or similar to the latest authorization operation according to the latest authorization operation of the user, which is not limited in this application.
Step 1103, receiving an authorization indication of the second terminal.
Optionally, the first terminal 120 receives an indication of authorization of the second terminal 160. Illustratively, the first terminal 120 is a personal computer and the second terminal 160 is a cell phone.
And step 1104, granting the access right with limited conditions to the first terminal according to the authorization indication.
Alternatively, the second terminal 160 grants an access right with a limited condition to the first terminal 120 according to the authorization indication, as shown in fig. 10.
Fig. 10 is a schematic diagram illustrating an authorization interface of a second terminal according to an exemplary embodiment of the present application. When the user a sends an authorization request to the second terminal 160 through the first terminal 120, the user a opens the instant messenger program on the second terminal 160, as shown in fig. 10 (a). Illustratively, the second terminal 160 is a handset. Optionally, the same or different instant messaging program as that of the first terminal 120 is installed on the mobile phone, and the example of installing the same instant messaging program as that of the first terminal 120 on the mobile phone is described. A chat list interface 500 is displayed on the mobile phone, and an authorization prompt message 501 is displayed on the chat list interface 500, where the authorization prompt message 501 is used to prompt the user a to grant an access right with a limited condition to the first terminal 120. Optionally, the content of the prompt message 501 is: is the computer allowed to export the mobile phone album? And a "yes" or "no" option, in some embodiments, the content of the hint information 501 may also be: please allow the computer to access the phone album or the computer is connected to the phone. The content of the prompt information 501 is not limited in the present application.
Illustratively, user A clicks on the "YES" option, and the page jumps to the connection interface 510, as shown in FIG. 10 (b). A connection prompt 502 and a disconnection control 503 are displayed on the connection interface 510. The connection prompt message 502 is used to indicate that two terminals used by the user a are being connected, optionally, the content of the connection prompt message 502 includes at least one of a picture and a text, and the picture content may be schematic diagrams of the two terminals that are connected, such as a computer and a mobile phone; the text content is: please later in the connection. Optionally, the connection prompt information 502 may actually have different contents according to different connection terminals, and the content of the connection prompt information 502 is not limited in the present application.
The disconnect control 503 is used to cancel the connection of the first terminal 120 and the second terminal 160.
When the first terminal 120 and the second terminal 160 are successfully connected, a jump is made to the successful connection interface 420, as shown in (c) of fig. 10. On the successful connect interface 520 are displayed: disconnect control 503 and connect prompt message 504. The disconnection control 503 is used to disconnect the first terminal 120 and the second terminal 160 at any time, and after the disconnection, the first terminal 120 cannot access the program on the second terminal 160; the connection prompt message 504 is used to prompt the user that the first terminal 120 and the second terminal 160 have been successfully connected. Optionally, the content of the connection prompt information 504 includes at least one of a picture and a text. Optionally, the text content of the connection prompt information 504 is: if the computer is connected, please not exit the program or lock the screen. In some embodiments, the text content of the connection prompt 504 may also be: has been successfully connected to the computer. This is not limited in this application.
The following are embodiments of the apparatus of the present application, and for details that are not described in detail in the embodiments of the apparatus, reference may be made to corresponding descriptions in the above method embodiments, and details are not described herein again.
Fig. 12 is a schematic structural diagram illustrating an apparatus for sending a file across terminals according to an exemplary embodiment of the present application. The apparatus can be implemented as all or a part of a terminal by software, hardware or a combination of both, and includes: a display module 1210, a receiving module 1220, an obtaining module 1230, a connecting module 1240, a downloading module 1250, and a sending module 1260, wherein the receiving module 1220 is an optional module.
A display module 1210, configured to display, by a first terminal, a chat session interface of a social client, where the chat session interface is an interface for performing a chat between a home-end account and an opposite-end account;
the receiving module 1220 is configured to, when the first terminal receives a trigger operation of the cross-end sending function in the chat session interface, obtain preview information of a file on the second terminal according to the trigger operation;
the display module 1210 is further configured to display, by the first terminal, a file list, where the file list is used to display preview information of a file on the second terminal;
the receiving module 1220 is further configured to, when the first terminal receives the selection operation on the file list, send the selected file to the opposite-end account according to the selection operation.
In an alternative embodiment, the downloading module 1250 is further configured to download the selected file in the file list from the second terminal to the first terminal according to the selection operation; the sending module 1260 is further configured to send the downloaded selected file to the social account.
In an optional embodiment, the receiving module 1220 is further configured to receive a selection operation on preview information of a selected file; the sending module 1260 is further configured to send a download request to the second terminal according to the selection operation; the receiving module 1220 is further configured to receive a download address of the second terminal; the downloading module 1250 is further configured to download the selected file in the file list according to the downloading address.
In an optional embodiment, the receiving module 1220 is further configured to receive a selection operation on preview information of a selected file; the sending module 1260 is further configured to send a transmission instruction to the second terminal, where the transmission instruction is used to instruct the second terminal to send the selected file to the social account.
In an optional embodiment, the connection module 1240 is further configured to connect the first terminal with the second terminal when the second terminal is connected to the internet network or the mobile communication network; or the first terminal is connected with the second terminal through the short-distance wireless communication technology.
In an optional embodiment, the receiving module 1220 is further configured to display a newly added file on the file list when an update signal of the second terminal is received; wherein the newly added file is a file newly generated in the process of acquiring the preview information of the file on the second terminal.
In an optional embodiment, the receiving module 1220 is further configured to receive an authorization operation on the chat session interface; the sending module 1260 is further configured to send an authorization request to the second terminal according to the authorization operation; the receiving module 1220 is further configured to receive an authorization indication of the second terminal; and granting the first terminal access rights with limited conditions according to the authorization indication, wherein the access rights are used for accessing the storage position of the file on the second terminal.
In an alternative embodiment, the limited conditions include: at least one of a limited time and a limited number of times: the receiving module 1220 is further configured to, when receiving the first authorization instruction of the second terminal, obtain, according to the first authorization instruction, a valid right having one-time access to a storage location of the file on the second terminal; or when receiving a second authorization instruction of the second terminal, obtaining the effective authority of the storage position of the file on the second terminal with n times of access according to the second authorization instruction; or when a third authorization instruction of the second terminal is received, obtaining the effective authority which has the storage position of the access file on the second terminal within the time length t according to the third authorization instruction; wherein n is greater than 1, n is an integer, and t is greater than 0.
Reference is now made to fig. 13, which is a block diagram illustrating an exemplary embodiment of a computer device 1300. The computer device 1300 may be a portable mobile terminal, such as: smart phones, tablet computers, MP3 players (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4). Computer device 1300 may also be referred to by other names such as user equipment, portable terminal, etc.
Generally, computer device 1300 includes: a processor 1301 and a memory 1302.
Processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Processor 1301 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content required to be displayed by the display screen. In some embodiments, processor 1301 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
The memory 1302 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1302 is used to store at least one instruction for execution by processor 1301 to implement the method of sending files across endpoints provided herein.
In some embodiments, computer device 1300 may also optionally include: a peripheral interface 1303 and at least one peripheral. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1304, touch display 1305, camera 1306, audio circuitry 1307, positioning component 1308, and power supply 1309.
Peripheral interface 1303 may be used to connect at least one peripheral associated with I/O (Input/Output) to processor 1301 and memory 1302. In some embodiments, processor 1301, memory 1302, and peripheral interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral device interface 1303 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1304 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area network, intranet, generations of mobile communication networks (2G, or 3G, or 4G, or 5G, or combinations thereof), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1304 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The touch display 1305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. The touch display 1305 also has the capability to collect touch signals on or over the surface of the touch display 1305. The touch signal may be input to the processor 1301 as a control signal for processing. The touch display 1305 is used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the touch display 1305 may be one, providing the front panel of the computer device 1300; in other embodiments, the touch display 1305 may be at least two, respectively disposed on different surfaces of the computer device 1300 or in a folded design; in some embodiments, the touch display 1305 may be a flexible display disposed on a curved surface or on a folded surface of the computer device 1300. Even more, the touch screen 1305 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The touch Display 1305 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 1306 is used to capture images or video. Optionally, camera assembly 1306 includes a front camera and a rear camera. Generally, a front camera is used for realizing video call or self-shooting, and a rear camera is used for realizing shooting of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera and a wide-angle camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting function and a VR (Virtual Reality) shooting function. In some embodiments, camera assembly 1306 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1307 is used to provide an audio interface between the user and the computer device 1300. The audio circuit 1307 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1301 for processing, or inputting the electric signals to the radio frequency circuit 1304 for realizing voice communication. The microphones may be multiple and placed at different locations on the computer device 1300 for stereo sound acquisition or noise reduction purposes. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1301 or the radio frequency circuitry 1304 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, and converting the electric signal into a sound wave inaudible to the human being to measure a distance. In some embodiments, audio circuitry 1307 may also include a headphone jack.
The Location component 1308 is used to locate the current geographic Location of the computer device 1300 for navigation or LBS (Location Based Service). The Positioning component 1308 can be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
The power supply 1309 is used to supply power to the various components in the computer device 1300. The power source 1309 may be alternating current, direct current, disposable or rechargeable. When the power source 1309 comprises a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge techniques.
In some embodiments, computer device 1300 also includes one or more sensors 1310. The one or more sensors 1310 include, but are not limited to: acceleration sensor 1311, gyro sensor 1312, pressure sensor 1313, fingerprint sensor 1314, optical sensor 1315, and proximity sensor 1316.
The acceleration sensor 1311 can detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the computer apparatus 1300. For example, the acceleration sensor 1311 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1301 may control the touch display screen 1305 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1311. The acceleration sensor 1311 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1312 may detect the body direction and the rotation angle of the computer device 1300, and the gyro sensor 1312 may cooperate with the acceleration sensor 1311 to acquire a 3D motion of the user with respect to the computer device 1300. Processor 1301, based on the data collected by gyroscope sensor 1312, may perform the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensors 1313 may be disposed on the side bezel of the computer device 1300 and/or underneath the touch display 1305. When the pressure sensor 1313 is provided on the side frame of the computer device 1300, a user's grip signal for the computer device 1300 can be detected, and left-right hand recognition or shortcut operation can be performed based on the grip signal. When the pressure sensor 1313 is disposed on the lower layer of the touch display 1305, it is possible to control an operability control on the UI interface according to a pressure operation of the user on the touch display 1305. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
The fingerprint sensor 1314 is used for collecting a fingerprint of a user to identify the user's identity according to the collected fingerprint. When the identity of the user is identified as a trusted identity, the processor 1301 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 1314 may be disposed on the front, back, or side of the computer device 1300. When a physical key or vendor Logo is provided on the computer device 1300, the fingerprint sensor 1314 may be integrated with the physical key or vendor Logo.
The optical sensor 1315 is used to collect the ambient light intensity. In one embodiment, the processor 1301 can control the display brightness of the touch display screen 1305 according to the intensity of the ambient light collected by the optical sensor 1315. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1305 is increased; when the ambient light intensity is low, the display brightness of the touch display 1305 is turned down. In another embodiment, the processor 1301 can also dynamically adjust the shooting parameters of the camera assembly 1306 according to the ambient light intensity collected by the optical sensor 1315.
A proximity sensor 1316, also known as a distance sensor, is typically disposed on the front face of the computer device 1300. The proximity sensor 1316 is used to capture the distance between the user and the front face of the computer device 1300. In one embodiment, the touch display 1305 is controlled by the processor 1301 to switch from the bright screen state to the rest screen state when the proximity sensor 1316 detects that the distance between the user and the front face of the computer device 1300 gradually decreases; the touch display 1305 is controlled by the processor 1301 to switch from the breath-screen state to the light-screen state when the proximity sensor 1316 detects that the distance between the user and the front surface of the computer device 1300 is gradually increasing.
Those skilled in the art will appreciate that the architecture shown in FIG. 13 is not intended to be limiting of the computer device 1300, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
The present application also provides a computer device, comprising: the system comprises a processor and a memory, wherein at least one instruction, at least one program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to realize the method for sending the file across the terminals, which is provided by the method embodiments.
The present application further provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or an instruction set is stored, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the method for sending a file across terminals provided by the above method embodiments.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, indicating that there may be three relationships, e.g., a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the contextual objects are in an "or" relationship.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (11)

1. A method for sending a file across terminals, the method comprising:
the method comprises the steps that a first terminal displays a chat session interface of a social client, wherein the chat session interface is an interface for chatting between a home terminal account and an opposite terminal account;
when the chat session interface receives trigger operation of a cross-terminal sending function, the first terminal acquires preview information of a file on the second terminal according to the trigger operation;
the first terminal displays a file list, and the file list is used for displaying preview information of files on the second terminal;
and when receiving the selection operation on the file list, the first terminal sends the selected file to the opposite terminal account according to the selection operation.
2. The method according to claim 1, wherein the sending, by the first terminal, the selected file to the peer account according to the selection operation when receiving the selection operation on the file list, comprises:
downloading the selected file in the file list from the second terminal to the first terminal according to the selection operation;
sending the downloaded selected file to the social account.
3. The method according to claim 2, wherein the downloading the selected file in the file list from the second terminal to the first terminal according to the selection operation comprises:
receiving the selection operation on the preview information of the selected file;
sending a downloading request to the second terminal according to the selection operation;
receiving a download address of the second terminal;
and downloading the selected file in the file list according to the download address.
4. The method of claim 1, further comprising:
receiving the selection operation on the preview information of the selected file;
and sending a transmission instruction to the second terminal, wherein the transmission instruction is used for instructing the second terminal to send the selected file to the social account.
5. The method of any of claims 1 to 4, further comprising:
when the second terminal is connected to the internet network or the mobile communication network, the first terminal is connected with the second terminal;
or the like, or, alternatively,
the first terminal is connected with the second terminal through a short-distance wireless communication technology.
6. The method of any of claims 1 to 4, further comprising:
when an update signal of the second terminal is received, displaying a newly added file on the file list;
and the newly added file is a file newly generated in the process of acquiring the preview information of the file on the second terminal.
7. The method of claim 5, wherein before connecting with the second terminal, the method comprises:
receiving an authorization operation on the chat session interface;
sending an authorization request to the second terminal according to the authorization operation;
receiving an authorization indication of the second terminal;
and obtaining access right with a limited condition according to the authorization indication, wherein the access right is used for accessing the storage position of the file on the second terminal.
8. The method of claim 7, wherein the limited conditions comprise: at least one of a limited time and a limited number of times;
the granting of the access right with a limited condition to the first terminal according to the authorization indication comprises:
when a first authorization instruction of the second terminal is received, obtaining effective permission with one-time access to a storage position of the file on the second terminal according to the first authorization instruction; or when receiving a second authorization instruction of the second terminal, obtaining the effective authority with n times of access to the storage position of the file on the second terminal according to the second authorization instruction; or, when receiving a third authorization instruction of the second terminal, acquiring an effective right having a storage location of the file on the second terminal for accessing within a time length t according to the third authorization instruction;
wherein n is greater than 1, n is an integer, and t is greater than 0.
9. An apparatus for sending a file across terminals, the apparatus comprising:
the display module is used for displaying a chat session interface of the social client by the first terminal, wherein the chat session interface is an interface for chatting between a home terminal account and an opposite terminal account;
the receiving module is used for acquiring preview information of a file on a second terminal according to a trigger operation when the first terminal receives the trigger operation of a cross-terminal sending function on the chat session interface;
the display module is further configured to display a file list on the first terminal, where the file list is used to display preview information of a file on the second terminal;
the receiving module is further configured to, when the first terminal receives the selection operation on the file list, send the selected file to the opposite-end account according to the selection operation.
10. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement a cross-peer method according to any one of claims 1 to 10.
11. A computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by a processor to implement a method of sending files across terminals as claimed in any one of claims 1 to 10.
CN201910662333.3A 2019-07-22 2019-07-22 Method, device, equipment and medium for sending files in cross-terminal mode Active CN112291133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910662333.3A CN112291133B (en) 2019-07-22 2019-07-22 Method, device, equipment and medium for sending files in cross-terminal mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910662333.3A CN112291133B (en) 2019-07-22 2019-07-22 Method, device, equipment and medium for sending files in cross-terminal mode

Publications (2)

Publication Number Publication Date
CN112291133A true CN112291133A (en) 2021-01-29
CN112291133B CN112291133B (en) 2022-06-28

Family

ID=74418660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910662333.3A Active CN112291133B (en) 2019-07-22 2019-07-22 Method, device, equipment and medium for sending files in cross-terminal mode

Country Status (1)

Country Link
CN (1) CN112291133B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873447A (en) * 2021-09-26 2021-12-31 展讯通信(天津)有限公司 Fast transmission method and device, electronic equipment and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009076843A1 (en) * 2007-11-30 2009-06-25 Tencent Technology (Shenzhen) Limited Object sharing among multiple im users
CN101834905A (en) * 2010-05-13 2010-09-15 中兴通讯股份有限公司 Remote document sharing method and remote document sharing server
CN102868665A (en) * 2011-07-05 2013-01-09 华为软件技术有限公司 Method and device for data transmission
US20140240440A1 (en) * 2013-02-28 2014-08-28 Lg Uplus Corp. Method for sharing function between terminals and terminal thereof
CN104462366A (en) * 2014-12-08 2015-03-25 北京安奇智联科技有限公司 Browser of computing device and thumbnail display method of browser
CN104462367A (en) * 2014-12-08 2015-03-25 北京安奇智联科技有限公司 Browser of computing device and thumbnail display method of browser
CN105653909A (en) * 2016-01-26 2016-06-08 腾讯科技(深圳)有限公司 Information processing method, first terminal, second terminal, server and system
US20160234135A1 (en) * 2015-02-09 2016-08-11 Line Corporation Apparatus for providing document sharing service based on messaging service, and method using apparatus
US20160323231A1 (en) * 2015-05-01 2016-11-03 Facebook, Inc. Techniques for coordinating a messaging experience across platforms
CN106385603A (en) * 2016-09-12 2017-02-08 腾讯科技(深圳)有限公司 Message transmission method and device for media file
CN106850815A (en) * 2017-02-15 2017-06-13 华为技术有限公司 A kind of Office document sending methods, terminal and system
US20180255007A1 (en) * 2016-01-21 2018-09-06 Tencent Technology (Shenzhen) Company Limited Message sending method and apparatus, computer terminal, and storage medium
CN108804615A (en) * 2018-05-30 2018-11-13 维沃移动通信(深圳)有限公司 A kind of sharing method and server
CN108809799A (en) * 2017-04-28 2018-11-13 腾讯科技(深圳)有限公司 Method for sending information, method for information display, apparatus and system
CN109474512A (en) * 2018-09-30 2019-03-15 深圳市彬讯科技有限公司 Background update method, terminal device and the storage medium of instant messaging

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009076843A1 (en) * 2007-11-30 2009-06-25 Tencent Technology (Shenzhen) Limited Object sharing among multiple im users
CN101834905A (en) * 2010-05-13 2010-09-15 中兴通讯股份有限公司 Remote document sharing method and remote document sharing server
CN102868665A (en) * 2011-07-05 2013-01-09 华为软件技术有限公司 Method and device for data transmission
US20140240440A1 (en) * 2013-02-28 2014-08-28 Lg Uplus Corp. Method for sharing function between terminals and terminal thereof
CN104462366A (en) * 2014-12-08 2015-03-25 北京安奇智联科技有限公司 Browser of computing device and thumbnail display method of browser
CN104462367A (en) * 2014-12-08 2015-03-25 北京安奇智联科技有限公司 Browser of computing device and thumbnail display method of browser
US20160234135A1 (en) * 2015-02-09 2016-08-11 Line Corporation Apparatus for providing document sharing service based on messaging service, and method using apparatus
US20160323231A1 (en) * 2015-05-01 2016-11-03 Facebook, Inc. Techniques for coordinating a messaging experience across platforms
US20180255007A1 (en) * 2016-01-21 2018-09-06 Tencent Technology (Shenzhen) Company Limited Message sending method and apparatus, computer terminal, and storage medium
CN105653909A (en) * 2016-01-26 2016-06-08 腾讯科技(深圳)有限公司 Information processing method, first terminal, second terminal, server and system
CN106385603A (en) * 2016-09-12 2017-02-08 腾讯科技(深圳)有限公司 Message transmission method and device for media file
CN106850815A (en) * 2017-02-15 2017-06-13 华为技术有限公司 A kind of Office document sending methods, terminal and system
CN108809799A (en) * 2017-04-28 2018-11-13 腾讯科技(深圳)有限公司 Method for sending information, method for information display, apparatus and system
CN108804615A (en) * 2018-05-30 2018-11-13 维沃移动通信(深圳)有限公司 A kind of sharing method and server
CN109474512A (en) * 2018-09-30 2019-03-15 深圳市彬讯科技有限公司 Background update method, terminal device and the storage medium of instant messaging

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
傅城洲: "跨平台多协议即时通讯系统的研究与实现", 《万方学位论文》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873447A (en) * 2021-09-26 2021-12-31 展讯通信(天津)有限公司 Fast transmission method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112291133B (en) 2022-06-28

Similar Documents

Publication Publication Date Title
CN109905318B (en) Equipment control method, device and storage medium
CN110932963B (en) Multimedia resource sharing method, system, device, terminal, server and medium
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
CN111050189A (en) Live broadcast method, apparatus, device, storage medium, and program product
CN111131531B (en) Method and device for generating nickname in chat group and readable storage medium
CN110569220B (en) Game resource file display method and device, terminal and storage medium
CN110109608B (en) Text display method, text display device, text display terminal and storage medium
CN113206781B (en) Client control method, device, equipment and storage medium
CN111083039B (en) Message unread mark processing method and device, storage medium and terminal
CN112751679A (en) Instant messaging message processing method, terminal and server
CN112163406A (en) Interactive message display method and device, computer equipment and storage medium
CN110286839B (en) Message sending method, device, terminal and storage medium
CN112291133B (en) Method, device, equipment and medium for sending files in cross-terminal mode
CN111130985B (en) Incidence relation establishing method, device, terminal, server and storage medium
CN113709020A (en) Message sending method, message receiving method, device, equipment and medium
CN108837509B (en) method for configuring setting parameters of virtual scene, computer device and storage medium
CN113965539A (en) Message sending method, message receiving method, device, equipment and medium
CN114143280B (en) Session display method and device, electronic equipment and storage medium
CN114327197B (en) Message sending method, device, equipment and medium
CN111158780B (en) Method, device, electronic equipment and medium for storing application data
CN109618018B (en) User head portrait display method, device, terminal, server and storage medium
CN114546188A (en) Interaction method, device and equipment based on interaction interface and readable storage medium
CN111444289A (en) Incidence relation establishing method
CN114826800B (en) Information acquisition method, device, terminal and storage medium
CN112612397B (en) Multimedia list management method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40037807

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant