WO2020147022A1 - 文件内容的分享方法、终端及计算机可读存储介质 - Google Patents
文件内容的分享方法、终端及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2020147022A1 WO2020147022A1 PCT/CN2019/071840 CN2019071840W WO2020147022A1 WO 2020147022 A1 WO2020147022 A1 WO 2020147022A1 CN 2019071840 W CN2019071840 W CN 2019071840W WO 2020147022 A1 WO2020147022 A1 WO 2020147022A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sharing
- terminal
- content
- file
- shared
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
Definitions
- the present invention relates to the field of communication technology, in particular to a method for sharing file content, a terminal and a computer-readable storage medium.
- the main purpose of the present invention is to provide a file content sharing method, terminal, and computer-readable storage medium, which can simplify the operation of file content sharing.
- the present invention provides a method for sharing file content, which is applied to a terminal for real-time sharing of file content with a target terminal.
- the sharing method includes:
- the terminal entering the sharing mode means that the terminal and the target terminal have established a communication connection to share content
- the terminal enters the sharing mode, detecting a selection operation for selecting shared content in the current page;
- the present invention also provides a terminal.
- the terminal includes a processor and a memory, the memory stores a file content sharing program, and the processor executes the sharing program to implement the foregoing sharing method.
- the present invention provides a computer-readable storage medium, the computer-readable storage medium stores a file content sharing program, and the above-mentioned method is implemented when the sharing program is executed by a processor.
- the file content sharing method, terminal, and computer-readable storage medium provided by the present invention can allow users to select the content to be shared in the currently displayed file page, and generate the corresponding shared file and send the content selected by the user to the corresponding It is very convenient to share the target end of the file, which simplifies the operation of file content sharing.
- FIG. 1 is a schematic flowchart of a method for sharing file content provided by the first embodiment of the present invention.
- FIG. 2 is a schematic diagram of the operating environment of the method for sharing file content provided by the first embodiment of the present invention.
- Fig. 3 is a schematic diagram of a sub-flow of step S103 in Fig. 1 in the first embodiment.
- Fig. 4 is a schematic diagram of a sub-flow of step S107 in Fig. 1 in the first embodiment.
- Fig. 5 is a schematic diagram of a sub-flow of step S107 in Fig. 1 in the second embodiment.
- Fig. 6 is a schematic diagram of a sub-flow of step S107 in Fig. 1 in the third embodiment.
- FIG. 7 is a schematic flowchart of a method for sharing file content provided by the second embodiment of the present invention.
- 8a to 8c are schematic diagrams of user graphical interfaces of the method for sharing file content provided by the first embodiment of the present invention.
- FIG. 9 is a schematic flowchart of a method for sharing file content provided by the third embodiment of the present invention.
- FIG. 10 is a schematic flowchart of a method for sharing file content provided by the fourth embodiment of the present invention.
- FIG. 11 is a schematic flowchart of a method for sharing file content provided by a fifth embodiment of the present invention.
- 12a to 12b are schematic diagrams of user graphical interfaces of a method for sharing file content provided by the second embodiment of the present invention.
- FIG. 13 is a schematic structural block diagram of a terminal provided by the first embodiment of the present invention.
- first, second, etc. in the present invention are only for descriptive purposes, and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of indicated technical features .
- the features defined as “first” and “second” may include at least one of the features either explicitly or implicitly.
- the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of those skilled in the art to achieve. When the combination of technical solutions conflicts with each other or cannot be realized, it should be considered that the combination of such technical solutions does not exist , Nor within the scope of protection required by the present invention.
- the terminal in the present invention may include other functions such as personal digital assistants (PDA) and/or portable multimedia player (PMP) functions such as electronic paper, e-books, car display screens, tablet computers, Smart phones, smart watches, smart bracelets, etc.
- PDA personal digital assistants
- PMP portable multimedia player
- Exemplary embodiments of the portable terminal include, but are not limited to, portable terminals equipped with other operating systems of iOS@Android@Windows Phone@.
- the terminal usually supports multiple applications, such as one or more of the following: drawing applications, rendering applications, word processing applications, web page creation applications, disk editing applications, spreadsheet applications, game applications, Phone application, video conferencing application, email application, instant messaging application, exercise support application, photo management application, digital camera application, digital video camera application, web browsing application, digital music player application Programs, and/or digital video player applications.
- the method, terminal, and computer-readable storage medium for sharing file content provided by the present invention can allow users to select the content to be shared in the currently displayed file page, and generate corresponding shared files and send the content selected by the user. It is very convenient to share with the corresponding target.
- FIG. 1 is a schematic flowchart of a method for sharing file content provided by the first embodiment.
- FIG. 2 is a schematic diagram of the execution environment of the method for sharing file content provided by the first embodiment.
- the sharing method includes the following steps.
- the sharing method is executed on the terminal 1 and is used to allow the terminal 1 to select the shared content in the currently displayed file page when the terminal 1 shares the content of a file with another terminal 2.
- the other terminal 2 is collectively referred to as the target terminal 2.
- the terminal 1 includes a display component 10 and a communication component 14.
- the communication component 14 is used to enable the terminal 1 and the target terminal 2 to establish a communication connection.
- the communication component 14 is a wireless communication component, which includes but is not limited to a WIFI module, a Bluetooth module, an NFC module, and so on. In other feasible embodiments, the communication component 14 may also be a wired communication component. In this embodiment, the display component 14 is integrated in the terminal 1. In other feasible embodiments, the display component 10 may also be an external device that is communicatively connected with the terminal 1.
- Step S101 using the display component 10 to display the current page in the file.
- the current page 101 displayed by the display component 10 includes content 1010a-c.
- the display component 10 is a touch screen.
- the file is used to record the touch track generated by the external object performing a touch operation on the display assembly 10.
- the current page includes a track composed of a pixel set, and each pixel coordinate in the pixel set corresponds to the position coordinate of the display component 10 in a one-to-one correspondence.
- the external object can be, but is not limited to, a stylus, a finger, etc.
- the file may also be, but not limited to, a data file, a graphic file, or a web page file.
- the data file can be file, Files, etc.
- graphics files can be JPEG, BMP, GIF, PNG format files, etc.
- web files can be htm files, asp files, etc.
- the display component 10 may be a display screen without touch function.
- Step S103 It is detected whether the terminal 1 enters the sharing mode.
- the terminal 1 entering the sharing mode means that the terminal 1 and the target terminal 2 have established a communication connection for sharing content.
- the terminal 1 and the target terminal 2 establish the shared communication connection through short-range communication technologies such as WIFI and Bluetooth.
- the terminal 1 and the target terminal 2 may also establish the shared communication connection through a network (such as a communication network or the Internet).
- Step S105 If the terminal 1 enters the sharing mode, it detects the selection operation for selecting the sharing content in the current page.
- the selection operation is a touch operation of an external object on the display assembly 10.
- the selection operation may also be an operation performed on the current page using an input device, for example, a mouse, a keyboard, and the like. For example, use the mouse to circle the content to be shared or select the content to be shared in the current page.
- Step S107 Obtain shared content from the current page according to the selection operation.
- different acquisition methods can be selected according to the selection operation to acquire the shared content, which will be described in detail below.
- Step S109 Generate a sharing file according to the sharing content.
- the shared file is a page displaying the shared content.
- Step S111 Send the shared file to the target terminal 2 to display the shared content in the target terminal 2.
- the user only needs to select the content to be shared in the current page displayed by the terminal 1 to generate a corresponding shared file and send it to the target terminal 2, which is very convenient.
- Step S103 includes the following steps.
- Step S301 It is detected whether the terminal 1 moves according to a preset rule.
- a motion sensor on the terminal 1 for example, an acceleration sensor, a gravity sensor, etc., is used to sense whether the terminal 1 moves according to a preset rule.
- the preset rule may be to continuously shake the terminal 1 a preset number of times in a preset direction, such as shaking left and right or shaking up and down.
- Step S303 If the terminal 1 moves according to the preset rule, it is detected whether the sharing request sent by the target terminal 2 is received.
- the terminal 1 may send the sharing request through short-range communication technologies such as Bluetooth, NFC, WIFI, etc.
- the terminal 1 may also send the sharing request through a communication network (4G/5G) or the Internet (Internet).
- Step S305 If it is detected that the sharing request is received, it is detected whether the sharing request includes an authentication tag.
- the authentication label is the authentication label authorized by the terminal 1 to the target terminal 2.
- the authentication label can be, but is not limited to, the authorized identity of the target terminal 2.
- Step S307 if the sharing request includes an authentication tag, establish a communication connection with the target terminal 2 for sharing content.
- the terminal 1 can establish a communication connection with the target terminal 2 to share content by moving according to a preset rule, which is more convenient.
- the terminal 1 may also detect the sharing request sent by the target terminal 2 and establish a communication connection with the target terminal 2, without the need to perform authentication tag detection.
- the terminal 1 and the target terminal 2 communicate through short-range wireless communication technology, and detecting whether a content sharing request sent by the target terminal is received specifically includes: turning on the short-range wireless communication component 14 provided in the terminal 1, and determining Whether to receive the content sharing request sent by the target end.
- Step S107 includes the following steps.
- Step S401 Obtain a touch track generated by a touch operation.
- the touch track may be, but is not limited to, a closed curve, an unclosed curve, and the like.
- the touch trajectory can be enclosed in a regular pattern or an irregular pattern.
- Step S403 Determine a touch area on the touch screen according to the touch track.
- the touch area is an area enclosed by the touch track, such as a circular area, an elliptical area, or other irregular graphic areas.
- the external object operates on the touch screen to generate a touch track 1011.
- the touch trajectory 1011 determines the touch area 1012. That is, the content that the user chooses to share is the content 1010a in the touch area 1012.
- Step S405 Obtain the page area corresponding to the current page and the touch area. In this step, as shown in FIG. 8a, the page area corresponding to the touch area 1012 is acquired.
- step S407 the displayed content falling in the page area is used as the shared content.
- the display content 1012 falling in the page area is used as the sharing area.
- FIG. 5 is a schematic flowchart of part of the sub-steps of step S107 provided in the second embodiment.
- the touch component 10 is a touch screen
- the selection operation is a touch operation of an external object on the touch screen.
- the difference between the step S107 sub-step provided in the second embodiment and the sub-step provided in the first embodiment is that the step S107 sub-step provided in the second embodiment includes after determining the touch area on the touch screen according to the touch track:
- Step S501 Obtain an image of the displayed content falling in the page area. Understandably, a screenshot of the content of the current page in the touch area is taken to obtain an image of the displayed content that falls within the page area. As shown in FIG. 8a, after the touch area 1102 is determined according to the touch trajectory 1101, a screenshot of the content 1010a corresponding to the touch area 1102 is taken to form an image.
- Step S503 Use the acquired image as sharing content.
- the shared content is obtained by taking a screenshot of the content of the touch area. As long as the content displayed on the terminal 1 can be shared, the compatibility is better.
- FIG. 6 provides a schematic diagram of a partial flow of the sub-steps of step S107 for the third embodiment.
- the difference between the sub-step of step S107 provided in the third embodiment and the sub-step of step S107 provided in the first and second embodiments is that the sub-step of step S107 provided in the third embodiment is based on the touch track on the touch screen. Before determining the touch area, it also includes:
- Step S601 It is judged whether the detected operation track meets a preset condition.
- a preset condition of the operation track is set.
- the preset condition is that the operation trajectory needs to enclose a closed area on the touch screen, that is, the operation trajectory is a closed-loop trajectory, such as a circle, a rectangle, etc.
- other conditions can be set according to actual needs, such as arc shape, semicircle shape, etc.
- Step S603 If the preset condition is met, the touch area is determined on the touch screen according to the detected operation track.
- FIG. 7 is a partial flowchart of a method for sharing file content provided by the second embodiment.
- the difference between the file content sharing method provided in the third embodiment and the file content sharing method provided in the first embodiment is that the file content sharing method provided in the second embodiment further includes the following steps.
- a sharing prompt interface is displayed, and the sharing prompt interface is for the user to input a sharing instruction.
- the sharing prompt interface is for the user to input a sharing instruction.
- display a sharing prompt interface for the user to input a sharing instruction As shown in FIG. 8b, a sharing option 1020 is provided in the sharing prompt interface 102, and the user can select the 1021 through an external object touch or input device to input a sharing instruction.
- Step S703 If the sharing prompt interface receives the sharing instruction input by the user, the sharing file is sent to the target terminal 2.
- a corresponding sharing prompt interface 102 is also provided to further avoid misoperation.
- users can also voice input sharing instructions without displaying the sharing prompt interface. For example, when the shared content is obtained, the voice "Does it need to be sent to the target 2" can be output for the user to answer “Need” or "No need”. The shared file is sent only after the user answers "needed" to avoid misoperation.
- FIG. 9 is a partial flowchart of a method for sharing file content provided by the third embodiment.
- the difference between the file content sharing method provided in the fourth embodiment and the file content sharing methods provided in the first to second embodiments is that the file content sharing method provided in the third embodiment further includes the following steps.
- a naming prompt interface is displayed, and the naming prompt interface is for the user to input a name.
- the naming prompt interface is displayed.
- a name input box 1030 is provided in the name prompt interface 103, and the user can input a corresponding name through an external object touch or input device.
- the name input box 1030 displays a number of preset names for the user to choose to input corresponding names. The several preset names can be sent to the terminal 1 when the target terminal 2 establishes a communication connection with the target terminal 1 to share content.
- Step S903 If the name input by the user is received in the naming prompt interface, the shared file is named according to the name to generate the file name.
- the name may be a brief description of the shared content or an explanation of the shared content.
- the foregoing embodiment can allow the user to name the shared file, and can also facilitate the target terminal 2 to quickly understand the shared content according to the corresponding file name.
- FIG. 10 is a partial flowchart of the file content sharing method provided by the fourth embodiment.
- the difference between the file content sharing method provided in the fourth embodiment and the file content sharing methods provided in the first to third embodiments is that the file content sharing method provided in the fourth embodiment further includes the following steps.
- Step S1001 Detect the shared file transfer process between the terminal 1 and the target terminal 2.
- the file transfer process includes an ongoing process and a termination process.
- the ongoing process is used to indicate that the shared file is being transferred between the terminal 1 and the target terminal 2.
- the termination process is used to indicate that the shared file is not transferred between the terminal 1 and the target terminal 2.
- step S1003 the terminal 1 is controlled to emit different prompt lights according to the process of sharing the file transmission, and the different prompt lights are illuminated by a light emitting element provided in the terminal. Specifically, when the process is an ongoing process, the first prompt light, such as green light, is emitted. When the process is a termination process, the second prompt light, such as a red light, is emitted.
- the first prompt light such as green light
- the second prompt light such as a red light
- the terminal 1 shares the file content with the target terminal 2.
- the terminal 1 may also share the file content of the target terminal 2. That is, the target terminal 2 also shares the file content with the terminal 1.
- FIG. 10 is a schematic partial flowchart of a method for sharing file content provided by the fifth embodiment.
- the difference between the file content sharing method provided in the fifth embodiment and the file content sharing methods provided in the first to fourth embodiments is that the file content sharing method provided in the fifth embodiment further includes the following steps.
- step S1101 if the shared file sent by the target terminal 2 is received, the content of the shared file sent by the target terminal 2 is displayed. As shown in FIG. 12a, the terminal 1 displays a page 210 sent by the target terminal 2 and containing shared content 2101. In this step, it is executed before step S105.
- the display component 10 when the terminal 1 displays the current page in the file, the display component 10 only displays the content of the shared file sent by the target terminal 2. In some feasible embodiments, when the terminal 1 displays the current page in the file, the display component 10 may display the content of the shared file sent by the display target terminal 2 and the current page displayed by the terminal 1 together.
- step S1103 the shared file sent by the target terminal 2 is stored.
- the terminal 1 receives the shared file from the target terminal 2 and stores the shared file.
- the terminal 1 may store the shared file according to a preset path.
- the preset path can be set by the user as needed.
- Step S1105 Provide a directory interface, and display the received shared file sent by the target 2 on the directory interface.
- the shared file is displayed on the directory interface as a thumbnail of the page displaying the shared content, and the content of the shared file sent by the target terminal is displayed in the thumbnail.
- the terminal 1 also displays a thumbnail 2120 of the sharing page 210 in the directory interface 212.
- FIG. 13 is a schematic diagram of the internal structure of the terminal 1 provided in the first embodiment.
- the terminal 1 includes a memory 11, a processor 12, and a bus 13.
- the memory 11 includes at least one type of readable storage medium, the readable storage medium includes flash memory, hard disk, multimedia card, card type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc.
- the memory 11 may be an internal storage unit of the terminal 1 in some embodiments, such as a hard disk of the terminal 1. In other embodiments, the memory 11 may also be an external storage device of the terminal 1, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (SD) card equipped on the terminal 1. Flash Card, etc. Further, the memory 11 may also include both an internal storage unit of the terminal 1 and an external storage device.
- the memory 11 can be used not only to store application software and various data installed in the terminal 1, such as the code of the file content sharing program 01, etc., but also to temporarily store data that has been output or will be output.
- the bus 13 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc.
- PCI peripheral component interconnect
- EISA extended industry standard architecture
- the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only a thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.
- the terminal 1 may also include a display component.
- the display component 10 may be an LED display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
- the display component may also be appropriately called a display device or a display unit, which is used to display the information processed in the terminal 1 and to display a visualized user interface.
- the terminal 1 may also include a communication component 14.
- the communication component 14 may optionally include a wired communication component and/or a wireless communication component (such as a WI-FI communication component, a Bluetooth communication component, etc.), which is usually used to communicate with the terminal 1 Establish communication connections between other electronic devices.
- a wireless communication component such as a WI-FI communication component, a Bluetooth communication component, etc.
- the terminal 1 may also include a motion sensor 15, and the motion sensor 15 may optionally include an acceleration sensor, a gravity sensor, etc., for sensing the motion of the terminal 1.
- the processor 12 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments, and is used to run the program code or processing stored in the memory 11 data. Specifically, the processor 12 executes the file content sharing program 01 to implement the aforementioned file content sharing method.
- CPU central processing unit
- controller microcontroller
- microprocessor microprocessor
- FIG. 13 only shows the terminal 1 with the components 10-15 and the first computer executable program 01. Those skilled in the art can understand that the structure shown in FIG. 13 does not constitute a limitation on the terminal 1, and may include Fewer or more parts are shown, or some parts are combined, or different parts are arranged.
- the computer program product includes one or more computer instructions.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
- the computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
- the computer instruction can be transmitted from a website, computer, server, or data center through a cable (Such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center.
- a cable such as coaxial cable, optical fiber, digital subscriber line (DSL)
- wireless such as infrared, wireless, microwave, etc.
- the computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or data center integrated with one or more available media.
- the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
- the disclosed system, device, and method may be implemented in other ways.
- the device embodiments described above are only schematic.
- the division of the unit is only a division of logical functions.
- there may be another division manner for example, multiple units or components may be combined or may Integration into another system, or some features can be ignored, or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical, or other forms.
- the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or software function unit.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
- the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method in each embodiment of the present application.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种文件内容的分享方法,其应用于终端中以与目标端进行文件内容即时分享。该方法包括:利用显示组件显示文件中的当前页面;检测所述终端是否进入分享模式,其中,所述终端进入所述分享模式为所述终端与目标端已建立分享内容的通信连接;若所述终端进入分享模式,检测当前页面中用于选择分享内容的选择操作;根据所述选择操作从所述当前页面中获取分享内容;根据分享内容生成分享文件;发送分享文件给目标端,以在目标端中显示分享内容。本发明还公开了一种终端以及计算机可读存储介质。本发明可以在显示的当前页面中供用户选择需要分享的内容、将分享内容生成分享文件以及发送目标端来实现分享,非常便捷。
Description
本发明涉及通信技术领域,尤其涉及一种文件内容的分享方法、终端及计算机可读存储介质。
随着电子通信技术的发展,电子设备,如手机、平板电脑、穿戴式智能设备等成为了人们生活中主要的沟通工具。在电子设备中,文件是主要的信息载体,文件可以为文档文件、图片文件、网页文件等。人们在沟通过程中往往需要浏览自己持有的电子设备的文件内容。如果用户需要将当前浏览的页面中的内容分享给另一用户,需要从自己持有的电子设备中将文件发送给对方的电子设备。然而,电子设备中往往存储有较多文件,人们需要从众多的文件中进行选择后才可以发送给对方电子设备,且对方电子设备接收到文件后还需要打开浏览到对应的页面,操作较麻烦,影响用户的体验。
发明内容
本发明的主要目的在于提供一种文件内容的分享方法、终端、计算机可读存储介质,可以简化文件内容分享的操作。
为实现上述目的,本发明提供了一种文件内容的分享方法,其应用于终端中以与目标端进行文件内容即时分享,所述分享方法包括:
利用显示组件显示文件中的当前页面;
检测所述终端是否进入分享模式,其中,所述终端进入所述分享模式为所述终端与目标端已建立分享内容的通信连接;
若所述终端进入分享模式,检测当前页面中用于选择分享内容的选择操作;
根据所述选择操作从所述当前页面中获取分享内容;
根据分享内容生成分享文件;以及
发送所述分享文件给所述目标端。
为实现上述目的,本发明还提供了一种终端。该终端包括处理器和存储器,所述存储器存储有文件内容的分享程序,所述处理器执行所述分享程序 实现上述分享方法。
本发明提供的一种计算机可读存储介质,所述计算机可读存储介质存储有文件内容的分享程序,所述分享程序被处理器执行时实现上述方法。
本发明提供的文件内容的分享方法、终端、以及计算机可读存储介质,可以在当前显示的文件页面中供用户选择需要分享的内容,并将用户选择的内容生成相应的分享文件以及发送给相应的目标端以进行分享,非常便捷,简化了文件内容分享的操作。
图1为本发明第一实施例提供的文件内容的分享方法流程示意图。
图2为本发明第一实施例提供的文件内容的分享方法的运行环境示意图意图。
图3为图1中的步骤S103在第一实施例中的子流程示意图。
图4为图1中的步骤S107在第一实施例中的子流程示意图。
图5为图1中的步骤S107在第二实施例中的子流程示意图。
图6为图1中的步骤S107在第三实施例中的子流程示意图。
图7为本发明第二实施例提供的文件内容的分享方法流程示意图。
图8a~8c为本发明第一实施例提供的文件内容的分享方法的用户图形界面示意图。
图9为本发明第三实施例提供的文件内容的分享方法流程示意图。
图10为本发明第四实施例提供的文件内容的分享方法流程示意图。
图11为本发明第五实施例提供的文件内容的分享方法流程示意图。
图12a~12b为本发明第二实施例提供的文件内容的分享方法的用户图形界面示意图。
图13为本发明第一实施例提供的一种终端的结构框图示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施 例仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
需要说明的是,在本发明中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。
本发明中的终端可包含其它功能诸如个人数字助理(PDA)和/或使携式多媒体播放器(PMP)功能的使携式通信设备,诸如电子纸、电子书、车载显示屏、平板电脑、智能手机、智能手表、智能手环等。使携式终端的示例性实施例包括但不限于搭载iOS@Android@Windows Phone@者其它操作系统的使携式终端。终端通常支持多种应用程序,诸如以下中的一种或多种:画图应用程序、呈现应用程序、文字处理应用程序、网页创建应用程序、盘编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、锻炼支持应用程序、相片管理应用程序、数字相机应用程序、数字视频摄像机应用程序、网络浏览应用程序、数字音乐播放器应用程序、和/或数字视频播放器应用程序。
本发明提供的一种文件内容的分享方法、终端、及计算机可读存储介质, 可以在当前显示的文件页面中供用户选择需要分享的内容,并将用户选择的内容生成相应的分享文件以及发送给相应的目标端以进行分享,非常便捷。
请参看图1和图2,图1为第一实施方式提供的文件内容的分享方法流程示意图。图2为第一实施方式提供的该文件内容的分享方法的执行环境示意图。该分享方法包括下面步骤。该分享方法执行于终端1,用于当终端1向另一个终端2分享文件内容时,允许终端1在当前显示的文件页面中选择分享的内容。以下将另一终端2统称为目标端2。终端1包括显示组件10以及通信组件14。通信组件14用于使终端1和目标端2建立通信连接。在本实施例中,通信组件14为无线通信组件,其包括但不限于WIFI模块、蓝牙模块、NFC模块等。在另一些可行的实施例中,该通信组件14也可以为有线通信组件。在本实施方式中,显示组件14集成于终端1,在另一些可行的实施例中,显示组件10还可以为与终端1通信连接的外部设备。
步骤S101,利用显示组件10显示文件中的当前页面。如图8a所示,显示组件10显示的当前页面101包括内容1010a~c。在本实施例中,显示组件10为触摸屏。在本实施例中,文件用于记录外部对象在显示组件10上进行触摸操作而生成的触摸轨迹。具体地,当前页面包括轨迹,该轨迹由像素集组成,像素集中的各像素坐标与显示组件10的位置坐标一一对应。该外部对象可以为但不限于触控笔、手指等。在一些可行的实施例中,该文件还可以为但不限于数据文件、图形文件、网页文件。例如:数据文件可以为
文件、
文件等;图形文件可以为JPEG、BMP、GIF、PNG格式文件等;网页文件可以为htm文件、asp文件等。在另一些可行的实施例中,该显示组件10可以为不具有触摸功能的显示屏。
步骤S103,检测终端1是否进入分享模式。其中,终端1进入该分享模式为终端1与目标端2已建立分享内容的通信连接。在本实施例中,终端1与目标端2通过WIFI、蓝牙等近距离通信技术建立该分享通信连接。在另一些可行的实施例中,终端1和目标端2还可以通过网络(如通信网络或者互联网)建立该分享通信连接。
步骤S105,若终端1进入分享模式,检测当前页面中用于选择分享内容的选择操作。在本实施例中,该选择操作为外部对象在显示组件10上触摸操作。在另一些可行的本实施例中,该选择操作也可以为利用输入装置,例如, 鼠标、键盘等在当前页面中进行的操作。例如,利用鼠标在当前页面中圈出要分享的内容或者选中要分享的内容等。
步骤S107,根据该选择操作从当前页面中获取分享内容。该步骤中,可以根据选择操作选择不同获取方法进行获取该分享的内容,具体将在后面下文详细描述。
步骤S109,根据该分享内容生成分享文件。在该步骤中,该分享文件为显示该分享内容的页面。
步骤S111,发送该分享文件给目标端2,以在目标端2中显示该分享内容。
上述实施例,用户只需在终端1显示的当前页面中选择需要分享的内容即可生成相应的分享文件发送给目标端2,非常便捷。
请结合参看图3,其为第一实施例提供的步骤S103的流程示意图。步骤S103包括下面步骤。
步骤S301,检测终端1是否按照预设规则运动。在该步骤中,利用终端1上的运动传感器,例如,加速度传感器、重力传感器等,感测终端1是否按照预设规则运动。具体地,该预设规则可以为在预设的方向上连续摇晃终端1预设次数,例如左右摇晃或上下摇晃。
步骤S303,若终端1按照该预设规则运动,检测是否接收到目标端2发送的分享请求。在本实施例中,终端1可以通过蓝牙、NFC、WIFI等近距离通信技术发送该分享请求。终端1还可以通过通信网络(4G/5G)或者因特网(Internet)发送该分享请求。
步骤S305,若检测接收到该分享请求,检测该分享请求是否包含鉴权标签。该鉴权标签为终端1授权给目标端2的鉴权标签。该鉴权标签可以但不限于目标端2的授权身份标识。
步骤S307,若该分享请求包含鉴权标签,与目标端2建立分享内容的通信连接。
在本实施例中,终端1按照预设规则运动就可以与目标端2建立分享内容的通信连接,较便捷。在一些可行的实施例中,终端1也可以检测到目标端2发送的分享请求即与目标端2建立通信连接,无需进行鉴权标签的检测。
在一些实施例中,终端1与目标端2通过近距离无线通信技术进行通信, 检测是否接到目标端发送的内容分享请求具体包括:开启设置于终端1的近距离无线通信组件14,并判断是否接收到目标端发送的内容内分享请求。
请参看图4,其为第一实施例提供的步骤S107的子步骤流程示意图。步骤S107包括下面步骤。
步骤S401,获取触摸操作所产生的触摸轨迹。在本实施例中,该触摸轨迹可以为但不限于闭合曲线、非闭合曲线等。该触摸轨迹可以围成规则图形,也可以围成非规则图形。
步骤S403,根据该触摸轨迹在触摸屏中确定触摸区域。在本实施例中,触摸区域为触摸轨迹围成的区域,例如圆形区域,椭圆形区域、或者其他不规则图形区域。如图8a所示,该外部对象在触摸屏中操作产生触摸轨迹1011。触摸轨迹1011确定了触摸区域1012。即,用户选择分享的内容为该触摸区域1012中内容1010a。
步骤S405,获取当前页面与触摸区域所对应的页面区域。该步骤中,如图8a所示,获取触摸区域1012所对应的页面区域。
步骤S407,将落入页面区域内的显示内容作为分享的内容。在该步骤,如图8a所示,将落入页面区域内的显示内容1012作为分享区域。
上述实施例中,若用户需要对当前页面部分内容进行分享时,可以通过外部对象,如手指在触摸屏中滑动选择需要分享的内容,即可将当前页中构成所述分享内容的像素选择出来进行分享,操作比较方便。
请参看图5,其为第二实施例提供的步骤S107的部分子步骤流程示意图。在本实施例中,触摸组件10为触摸屏,该选择操作为外部对象在触摸屏中的触摸操作。第二实施例提供的步骤S107子步骤与第一实施例提供的子步骤的差异在于:第二实施例提供的步骤S107子步骤在根据触摸轨迹在触摸屏中确定触摸区域之后包括:
步骤S501,获取落入页面区域内的显示内容的图像。可以理解地,对当前页面在触摸区域的内容进行截图,从而获得落入页面区域内的显示内容的图像。如图8a所示,根据触摸轨迹1101确定了触摸区域1102后,对触摸区域1102所对应的内容1010a进行截图形成图像。
步骤S503,将获取到的图像作为分享内容。
在本实施例中,通过对触摸区域的内容进行截图来获得分享的内容,只 要能够在终端1显示的内容都可以进行分享,兼容性较佳。
请结合参看图6,其为第三实施例提供步骤S107的子步骤部分流程示意图。第三实施例提供的步骤S107的子步骤与第一实施例和第二实施例提供的步骤S107的子步骤差异在于:第三实施例提供的步骤S107的子步骤在根据所述触摸轨迹在触摸屏中确定触摸区域之前还包括:
步骤S601,判断检测到的操作轨迹是否符合预设条件。本实施例设定了操作轨迹的预设条件。该预设条件为该操作轨迹在触摸屏上需围成封闭区域,即操作轨迹为闭环轨迹,如圆形,矩形等轨迹。在另一些可行的实施例中,还可以根据实际需要设置为其他条件,例如,弧形,半圆形等。
步骤S603,若符合预设条件,根据检测到的操作轨迹在触摸屏中确定触摸区域。
在本实施例中,由于设定了操作轨迹的预设条件,可以避免误操作。
请参看图7,图7为第二实施方式提供的文件内容的分享方法的部分流程图。第三实施例提供的文件内容的分享方法与第一实施例提供的文件内容的分享方法区别在于:第二实施例提供的文件内容的分享方法还包括下面步骤。
步骤S701,显示分享提示界面,该分享提示界面供用户输入分享指令。其中,本实施例在根据选择操作从当前页面中获取分享内容之后以及在发送所述分享文件给目标端之前,执行显示分享提示界面以供用户输入分享指令。如图8b所示,分享提示界面102中提供了分享选项1020,用户可以通过外部对象触摸或者输入装置选择该1021,从而输入分享指令。
步骤S703,若该分享提示界面接收到用户输入的分享指令,发送该分享文件给目标端2。
在本实施例中,当获取分享内容后还提供了相应的分享提示界面102,进一步避免误操作。在一些可行的实施例中,还可以供用户语音输入分享指令,无需显示分享提示界面。例如,当获取分享内容后可以输出语音“是否需要发送给目标端2”,以供用户应答“需要”或者“不需要”。当用户应答“需要”后才发送分享文件,从而避免误操作。
请参看图9,图9为第三实施方式提供的文件内容的分享方法的部分流程图。第四实施例提供的文件内容的分享方法与第一~二实施例提供的文件内容的分享方法区别在于:第三实施例提供的文件内容的分享方法还包括下面步 骤。
步骤S901,显示命名提示界面,该命名提示界面供用户输入名称。其中,本实施例在根据选择操作从当前页面中获取分享内容之后以及在发送所述分享文件给目标端之前,执行显示命名提示界面。如图8c所示,命名提示界面103中提供了命名输入框1030,用户可以通过外部对象触摸或者输入装置输入相应的名称。在一些可行的实施例中,命名输入框1030显示若干预设名称供用户选择以输入相应的名称。该若干预设名称可以由目标端2与目标端1建立分享内容的通信连接时,发送给终端1。
步骤S903,若该命名提示界面接收到用户输入的名称,按照该名称对该分享文件命名以生成该文件名称。例如,该名称可以是对分享内容的简述或者是对分享内容的说明。
上述实施例可以供用户对分享文件进行命名,还可以方便目标端2根据相应的文件名称快速了解所分享的内容。
请参看图10,图10为第四实施方式提供的文件内容的分享方法的部分流程图。第四实施例提供的文件内容的分享方法与第一~三实施例提供的文件内容的分享方法区别在于:第四实施例提供的文件内容的分享方法还包括下面步骤。
步骤S1001,检测终端1和目标端2之间的分享文件传输进程。该文件传输进程包括进行中进程和终止进程。进行中进程用于表示终端1和目标端2之间正在传输分享文件。终止进程用于表示终端1和目标端2之间未传输分享文件。
步骤S1003,根据分享文件传输的进程控制终端1发射不同提示光,所述不同提示光由设置于所述终端中发光元件发光。具体地,当所述进程为进行中进程,发射所述第一提示光,如绿光。当所述进程为终止进程,发射所述第二提示光,如红光。
可以理解地,上述第一~第四实施例提供的文件内容的分享方法中,终端1向目标端2分享文件内容。在一些可行的实施例中,终端1还可以分享目标端2的文件内容。即,目标端2还向终端1分享文件内容。
请参看图10,其为第五实施例提供的一种文件内容的分享方法的部分流程示意图。第五实施例提供的文件内容的分享方法跟第一~四实施例提供的文 件内容的分享方法差异在于:第五实施例提供的文件内容的分享方法还包括下面步骤。
步骤S1101,若接收到目标端2发送的分享文件,将目标端2发送的分享文件的内容进行显示。如图12a所示,终端1显示目标端2发送的且包含分享内容2101的页面210。在该步骤中执行于步骤S105之前。在一些可行的实施例中,当终端1显示文件中的当前页面时,显示组件10只显示目标端2发送的分享文件的内容。在一些可行的实施例中,当终端1显示文件中的当前页面时,显示组件10可以将显示目标端2发送的分享文件的内容和终端1显示当前页面共同显示。
步骤S1103,将目标端2发送的分享文件进行存储。在该步骤中,终端1接收到目标端2的分享文件还将该分享文件进行存储。具体地,终端1可以将分享文件按照预设的路径进行存储。该预设的路径可以由用户根据需要进行设置。
步骤S1105,提供目录界面,将接收到的目标端2发送的分享文件显示于目录界面。其中,该分享文件以显示述分享内容的页面的缩略图显示于目录界面,缩略图中显示有目标端发送的分享文件的内容。如图12b所示,在该步骤中,终端1还在目录界面212中显示分享页面210的缩略图2120。
请参看图13,其为第一施例提供的终端1的内部结构示意图。终端1包括存储器11、处理器12和总线13。
其中,存储器11至少包括一种类型的可读存储介质,该可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器11在一些实施例中可以是终端1的内部存储单元,例如终端1的硬盘。存储器11在另一些实施例中也可以是终端1的外部存储设备,例如终端1上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器11还可以既包括终端1的内部存储单元也包括外部存储设备。存储器11不仅可以用于存储安装于终端1的应用软件及各类数据,例如文件内容分享程序01的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。
总线13可以是外设部件互连标准(peripheral component interconnect,简称 PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
进一步地,终端1还可以包括显示组件。显示组件10可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示组件也可以适当的称为显示装置或显示单元,用于显示在终端1中处理的信息以及用于显示可视化的用户界面。
进一步地,终端1还可以包括通信组件14,通信组件14可选的可以包括有线通信组件和/或无线通信组件(如WI-FI通信组件、蓝牙通信组件等),通常用于在终端1与其他电子设备之间建立通信连接。
进一步地,终端1还可以包括运动传感器15,运动传感器15可选的可以包括加速度传感器、重力传感器等,用于感测终端1的运动。
处理器12在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器11中存储的程序代码或处理数据。具体地,处理器12执行文件内容分享程序01以实现上述文件内容分享方法。
图13仅示出了具有组件10-15以及第一计算机可执行程序01的终端1,本领域技术人员可以理解的是,图13示出的结构并不构成对终端1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。
该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地产生按照本发明实施例的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机 能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存 储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例该方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
需要说明的是,上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。并且本文中的术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (20)
- 一种文件内容的分享方法,应用于终端中以与目标端进行文件内容即时分享,其特征在于,所述分享方法包括:利用显示组件显示文件中的当前页面;检测所述终端是否进入分享模式,其中,所述终端进入所述分享模式为所述终端与目标端已建立分享内容的通信连接;若所述终端进入分享模式,检测当前页面中用于选择分享内容的选择操作;根据所述选择操作从所述当前页面中获取分享内容;根据分享内容生成分享文件;以及发送所述分享文件给所述目标端。
- 如权利要求1所述的分享方法,其特征在于,所述显示组件为触摸屏,所述选择操作为外部对象在所述触摸屏中的触摸操作;根据所述选择操作从所述当前页面中获取分享内容具体包括:获取所述触摸操作所产生的触摸轨迹;根据所述触摸轨迹在所述触摸屏中确定触摸区域;获取所述当前页面与所述触摸区域所对应的页面区域;将落入所述页面区域内的显示内容作为所述分享内容。
- 如权利要求1所述的分享方法,其特征在于,所述显示组件为触摸屏,所述选择操作为外部对象在所述触摸屏中的触摸操作;根据所述选择操作从所述当前页面中获取分享内容具体包括:获取所述触摸操作所产生的触摸轨迹;根据所述触摸轨迹在所述触摸屏中确定触摸区域;获取所述当前页面与所述触摸区域相对应的页面区域;获取落入所述页面区域内的显示内容的图像;以及将获取到的图像作为分享内容。
- 如权利要求2或者3所述的分享方法,其特征在于,在根据所述触摸轨迹在所述触摸屏中确定触摸区域之前,所述方法还包括:判断检测到的操作轨迹是否符合预设条件;以及若符合预设条件,根据检测到的操作轨迹在所述触摸屏中确定触摸区域。
- 如权利要求4所述的分享方法,其特征在于,所述预设条件为所述操作轨迹在触摸屏上需围成封闭区域。
- 如权利要求1所述的分享方法,其特征在于,所述检测所述终端是否进入分享模式包括:检测所述终端是否按照预设规则运动;若按照所述预设规则运动,检测是否接收到目标端发送的内容分享请求;以及若检测接收到目标端发送的内容分享请求,与所述目标端建立分享内容的通信连接。
- 如权利要求6所述的分享方法,其特征在于,在与所述目标端建立分享内容的通信连接之前,所述方法还包括:检测所述分享请求是否包含鉴权标签;以及若所述分享请求包含鉴权标签,与所述目标端建立分享内容的通信连接。
- 如权利要求6所述的分享方法,其特征在于,所述检测是否接到目标端发送的内容分享请求包括:开启设置于所述终端的近距离无线通信组件,并判断所述无线通信组件是否接收到目标端发送的内容分享请求。
- 如权利要求1所述的分享方法,其特征在于,在根据所述选择操作从所述当前页面中获取分享内容之后,所述方法还包括:显示分享提示界面,所述分享提示界面用于供用户输入分享指令;若所述分享提示界面接收到用户输入的分享指令,发送所述分享文件给所述目标端。
- 如权利要求1所述的分享方法,其特征在于,所述分享文件包括文件名称,在根据所述分享内容生成分享文件之后,所述方法还包括:显示命名提示界面,所述命名提示界面用于供用户输入名称;以及若所述命名提示界面接收到用户输入的名称,按照所述名称对所述分享文件命名以生成所述文件名称。
- 如权利要求10所述的分享方法,其特征在于,所述命名提示界面包括若干预设的名称选项,每一名称选项用于供用户选择以输入名称。
- 如权利要求11所述的分享方法,其特征在于,所述若干预设名称由所述目标端在所述终端与所述目标端建立分享内容的通信连接时发送。
- 如权利要求1所述的分享方法,其特征在于,在检测当前页面中用于选择分享内容的选择操作之前,所述方法还包括:若接收到目标端发送的分享文件,将所述目标端发送的分享文件的内容进行显示。
- 如权利要求13所述的分享方法,其特征在于,所述方法还包括:将所述目标端发送的分享文件进行存储。
- 如权利要求13所述的分享方法,其特征在于,所述方法还包括:提供目录界面,以及将接收到的所述目标端发送的分享文件显示于所述目录界面。
- 如权利要求15所述的分享方法,其特征在于,将接收到的所述目标端发送的分享文件显示于所述目录界面具体包括:将接收到的所述目标端发送的分享文件的缩略图显示于所述目录界面,所述缩略图中显示有所述目标端发送的分享文件的内容。
- 如权利要求1所述的分享方法,其特征在于,所述方法还包括:检测所述终端和所述目标端之间的分享文件传输进程;以及根据分享文件传输的进程控制所述终端发射不同提示光,所述提示光由设置于所述终端中的发光元件发射。
- 如权利要求17所述的分享方法,其特征在于,所述分享文件传输进程包括进行中进程和终止进程;所述进行中进程用于表示所述终端和所述目标端之间正在传输分享文件;所述终止进程用于表示终端和目标端之间未传输分享文件;所述不同的提示光包括第一提示光和第二提示光;根据分享文件传输的进程控制所述终端发射不同的提示光具体包括:当所述进程为进行中进程,发射所述第一提示光;或者当所述进程为终止进程,发射所述第二提示光。
- 一种终端,其包括处理器和存储器,其特征在于,所述存储器存储有文件内容的分享程序,所述处理器执行所述分享程序实现如权利要求1~18所述的任意一项所述的分享方法。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存 储有文件内容的分享程序,所述分享程序被处理器执行时实现如权利要求1~18所述的任意一项所述的分享方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201980073506.6A CN113260950A (zh) | 2019-01-16 | 2019-01-16 | 文件内容的分享方法、终端及计算机可读存储介质 |
| PCT/CN2019/071840 WO2020147022A1 (zh) | 2019-01-16 | 2019-01-16 | 文件内容的分享方法、终端及计算机可读存储介质 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2019/071840 WO2020147022A1 (zh) | 2019-01-16 | 2019-01-16 | 文件内容的分享方法、终端及计算机可读存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020147022A1 true WO2020147022A1 (zh) | 2020-07-23 |
Family
ID=71613518
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/071840 Ceased WO2020147022A1 (zh) | 2019-01-16 | 2019-01-16 | 文件内容的分享方法、终端及计算机可读存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113260950A (zh) |
| WO (1) | WO2020147022A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117033327A (zh) * | 2023-06-14 | 2023-11-10 | 深圳市大富网络技术有限公司 | 一种虚拟世界数据共享的方法、装置、系统及存储介质 |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102968274A (zh) * | 2012-11-22 | 2013-03-13 | 广东欧珀移动通信有限公司 | 一种在移动设备中自由截屏的方法和系统 |
| CN104429107A (zh) * | 2012-05-21 | 2015-03-18 | 诺基亚公司 | 用于检测邻近设备的装备和方法 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102929483B (zh) * | 2012-10-25 | 2017-07-14 | 东莞宇龙通信科技有限公司 | 终端和资源分享方法 |
| US10437549B2 (en) * | 2017-05-19 | 2019-10-08 | Vmware, Inc. | Selective screen sharing |
-
2019
- 2019-01-16 CN CN201980073506.6A patent/CN113260950A/zh active Pending
- 2019-01-16 WO PCT/CN2019/071840 patent/WO2020147022A1/zh not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104429107A (zh) * | 2012-05-21 | 2015-03-18 | 诺基亚公司 | 用于检测邻近设备的装备和方法 |
| CN102968274A (zh) * | 2012-11-22 | 2013-03-13 | 广东欧珀移动通信有限公司 | 一种在移动设备中自由截屏的方法和系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113260950A (zh) | 2021-08-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112136099B (zh) | 来自远程设备的直接输入 | |
| US10068134B2 (en) | Identification of objects in a scene using gaze tracking techniques | |
| KR102330829B1 (ko) | 전자 장치에서 증강현실 기능 제공 방법 및 장치 | |
| CN103870132B (zh) | 基于情境提供信息的方法和系统 | |
| US20160370987A1 (en) | Touch-Based Gesture Recognition and Application Navigation | |
| US20200073903A1 (en) | Method and device of tagging links included in a screenshot of webpage | |
| CN107258072B (zh) | 聊天软件的对话内容管理方法和系统及记录介质 | |
| CN112230909A (zh) | 小程序的数据绑定方法、装置、设备及存储介质 | |
| CN108476257A (zh) | 电子设备和管理其应用程序的方法 | |
| WO2018076269A1 (zh) | 数据处理方法以及电子终端 | |
| US20200065052A1 (en) | Enhanced techniques for merging content from separate computing devices | |
| KR20180086639A (ko) | 전자 장치 및 전자 장치 제어 방법 | |
| CN110168588A (zh) | 基于位置、使用模式以及内容来识别文档 | |
| KR102733653B1 (ko) | 프로필 사진을 추천하는 방법과 시스템 및 비-일시적인 컴퓨터 판독 가능한 기록 매체 | |
| WO2020147022A1 (zh) | 文件内容的分享方法、终端及计算机可读存储介质 | |
| US20160085433A1 (en) | Apparatus and Method for Displaying Preference for Contents in Electronic Device | |
| KR101261753B1 (ko) | 전자책 상의 애너테이션을 생성 및 관리하는 방법 및 그 시스템 | |
| KR20180026998A (ko) | 장소 기반 소셜 네트워킹 서비스의 게시물 작성 방법, 이를 수행하는 단말, 서버 및 시스템 | |
| CN111414507A (zh) | 一种信息显示方法、设备、装置及计算机可读存储介质 | |
| KR20170055345A (ko) | 만화에서의 이미지 추출과 변형 시스템을 활용한 소셜 네트워크 서비스 및 방법 | |
| US11599828B2 (en) | Management and operation of loosely coupled internet of things devices | |
| CN105745648A (zh) | 桌面页和移动页之间的不平衡映射 | |
| JP7192929B2 (ja) | 情報処理システム、情報処理装置、情報処理方法及びプログラム | |
| US20260037280A1 (en) | Utilizing generative artificial intelligence (ai) within the context of collaborative wallpaper as communication platform | |
| KR101388327B1 (ko) | 전자책 상의 컨텐츠에 대해 토론하기 위한 방법 및 시스템 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19910169 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19910169 Country of ref document: EP Kind code of ref document: A1 |