CN114817161A - Copying and pasting method and computing device - Google Patents
Copying and pasting method and computing device Download PDFInfo
- Publication number
- CN114817161A CN114817161A CN202210394212.7A CN202210394212A CN114817161A CN 114817161 A CN114817161 A CN 114817161A CN 202210394212 A CN202210394212 A CN 202210394212A CN 114817161 A CN114817161 A CN 114817161A
- Authority
- CN
- China
- Prior art keywords
- copy
- combined
- paste
- clipboard
- index
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/168—Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
-
- 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
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- 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
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机及操作系统技术领域,尤其涉及一种复制粘贴方法及计算设备。The present invention relates to the technical field of computers and operating systems, and in particular, to a copy and paste method and a computing device.
背景技术Background technique
目前,主流操作系统的复制粘贴逻辑均只支持单次复制、多次粘贴。每次通过Ctrl+c快捷键或者鼠标触发复制操作后,会将前一次复制的内容覆盖,粘贴时仅能粘贴最后一次复制的内容,而无法粘贴前几次复制的内容。现有的单次复制粘贴的模式已无法满足当前用户对便捷化的需要。At present, the copy and paste logic of mainstream operating systems only supports single copy and multiple paste. Each time the copy operation is triggered by the Ctrl+c shortcut key or the mouse, the previous copied content will be overwritten. When pasting, only the last copied content can be pasted, but the previous copied content cannot be pasted. The existing single copy and paste mode can no longer meet the needs of current users for convenience.
另外,现有技术中的方案也仅局限于对文件管理器中的文件进行复制,无法满足用户在多种场景下跨应用进行多次复制的需求。In addition, the solutions in the prior art are also limited to copying files in the file manager, and cannot meet the user's requirement for multiple copies across applications in various scenarios.
为此,需要一种复制粘贴方法,以解决现有技术中存在的问题。Therefore, a copy and paste method is required to solve the problems existing in the prior art.
发明内容SUMMARY OF THE INVENTION
为此,本发明提供一种复制粘贴方法,以解决或至少缓解上面存在的问题。Therefore, the present invention provides a copy and paste method to solve or at least alleviate the above problems.
根据本发明的一个方面,提供一种复制粘贴方法,在计算设备中执行,包括步骤:接收多次复制操作,基于复制顺序将每次复制操作的数据块映射到剪切板上相应的索引;基于多个索引生成组合索引;基于所述组合索引对所述多个索引对应的多个数据块进行粘贴。According to one aspect of the present invention, a copy and paste method is provided, executed in a computing device, comprising the steps of: receiving multiple copy operations, and mapping data blocks of each copy operation to corresponding indexes on the clipboard based on the copy sequence; A combined index is generated based on the multiple indexes; and multiple data blocks corresponding to the multiple indexes are pasted based on the combined index.
可选地,在根据本发明的复制粘贴方法中,接收多次复制操作,基于复制顺序将每次复制操作的数据块映射到剪切板上相应的索引的步骤包括:响应于进入组合复制模式的请求,进入组合复制模式;接收多次复制操作,基于复制顺序将所述多次复制操作的数据块映射到剪切板上的一个组合索引,以便基于所述组合索引对所述多次复制操作的多个数据块进行粘贴。Optionally, in the copy and paste method according to the present invention, receiving multiple copy operations, the step of mapping the data block of each copy operation to the corresponding index on the clipboard based on the copy sequence includes: in response to entering the combined copy mode. request, enter the combined copy mode; receive multiple copy operations, map the data blocks of the multiple copy operations to a combined index on the clipboard based on the copy sequence, so that the multiple copy operations are based on the combined index. The operation of multiple data blocks to paste.
可选地,在根据本发明的复制粘贴方法中,基于复制顺序将多次复制操作的数据块映射到剪切板上的一个组合索引的步骤包括:将每次复制操作的数据块进行累计,得到累计数据块,以便基于所述组合索引对所述累计数据块进行粘贴。Optionally, in the copy and paste method according to the present invention, the step of mapping the data blocks of multiple copy operations to a composite index on the clipboard based on the copy sequence includes: accumulating the data blocks of each copy operation, A cumulative data block is obtained for pasting the cumulative data block based on the combined index.
可选地,在根据本发明的复制粘贴方法中,基于多个索引生成组合索引的步骤包括:响应于唤起剪切板界面的请求,显示所述剪切板界面,并在剪切板界面上显示每次复制操作的数据块对应的索引;接收在所述剪切板界面上选择多个索引并进行组合的请求,基于选择的多个索引生成组合索引。Optionally, in the copy and paste method according to the present invention, the step of generating a combined index based on multiple indexes includes: in response to a request for evoking a clipboard interface, displaying the clipboard interface, and displaying the clipboard interface on the clipboard interface. Displaying an index corresponding to the data block of each copy operation; receiving a request for selecting and combining multiple indexes on the clipboard interface, and generating a combined index based on the selected multiple indexes.
可选地,在根据本发明的复制粘贴方法中,所述接收多次复制操作包括:接收在一个或多个目录下对文件和/或文本进行的多次复制操作。Optionally, in the copy and paste method according to the present invention, the receiving multiple copy operations includes: receiving multiple copy operations performed on files and/or texts in one or more directories.
可选地,在根据本发明的复制粘贴方法中,基于所述组合索引对所述多个索引对应的多个数据块进行粘贴的步骤包括:接收在目标路径下的粘贴操作,基于所述组合索引将对应的多个数据块粘贴在所述目标路径下。Optionally, in the copy and paste method according to the present invention, the step of pasting the multiple data blocks corresponding to the multiple indexes based on the combined index includes: receiving a paste operation under the target path, and based on the combined index The index pastes the corresponding plurality of data blocks under the target path.
可选地,在根据本发明的复制粘贴方法中,响应于进入组合复制模式的请求包括:响应于基于预定组合键触发的进入组合复制模式的请求。Optionally, in the copy and paste method according to the present invention, responding to the request to enter the combined copy mode includes: responding to a request to enter the combined copy mode triggered based on a predetermined key combination.
可选地,在根据本发明的复制粘贴方法中,接收多次复制操作包括:接收基于复制快捷键或点击复制功能选项触发的多次复制操作。Optionally, in the copy and paste method according to the present invention, receiving multiple copy operations includes: receiving multiple copy operations triggered based on copy shortcut keys or clicking on a copy function option.
可选地,在根据本发明的复制粘贴方法中,接收在目标路径下的粘贴操作包括:接收基于粘贴快捷键或点击粘贴功能选项触发的粘贴操作。Optionally, in the copy and paste method according to the present invention, receiving the paste operation under the target path includes: receiving a paste operation triggered based on a paste shortcut key or clicking a paste function option.
可选地,在根据本发明的复制粘贴方法中,响应于唤起剪切板的请求包括:响应于基于预定快捷键触发的唤起剪切板的请求。Optionally, in the copy-paste method according to the present invention, responding to the request for evoking the clipboard includes: responding to a request for evoking the clipboard triggered based on a predetermined shortcut key.
可选地,在根据本发明的复制粘贴方法中,所述文件包括文本文件、视频文件、图片文件、演示文件中的一种或多种。Optionally, in the copy and paste method according to the present invention, the files include one or more of text files, video files, picture files, and presentation files.
根据本发明的一个方面,提供一种计算设备,包括:至少一个处理器;存储器,存储有程序指令,其中,程序指令被配置为适于由上述至少一个处理器执行,所述程序指令包括用于执行如上所述的复制粘贴方法的指令。According to one aspect of the present invention, there is provided a computing device comprising: at least one processor; a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising using Instructions for executing the copy-paste method described above.
根据本发明的一个方面,提供一种存储有程序指令的可读存储介质,当该程序指令被计算设备读取并执行时,使得该计算设备执行如上所述的复制粘贴方法。According to one aspect of the present invention, there is provided a readable storage medium storing program instructions, which, when the program instructions are read and executed by a computing device, cause the computing device to execute the copy-paste method as described above.
根据本发明的技术方案,提供了一种复制粘贴方法,在单次复制模式、组合复制模式下均能实现将多次复制数据进行组合粘贴。其中,在默认的单次复制模式下,将用户每次复制操作的数据块分别映射到剪切板上相应的索引,并在用户唤起剪切板界面后,在剪切板界面上显示每次复制操作的数据块对应的索引,用户可以选择剪切板界面上的多个索引来进行粘贴操作,通过将用户选择的多个索引组合为组合索引,基于组合索引可以对多个索引对应的多个数据块进行单次统一粘贴。另外,用户可以进入组合复制模式,在组合复制模式下通过将用户每次复制操作的数据块映射到剪切板上的同一个组合索引,在进行粘贴操作时,可以基于组合索引来对多次复制操作的多个数据块进行单次统一粘贴。这样,根据本发明的复制粘贴方法,能在多种模式下实现对多次复制操作数据的统一粘贴,从而减少了复制粘贴操作的次数,降低来回切换应用或界面的繁琐步骤,提高了用户的操作效率。According to the technical solution of the present invention, a copy and paste method is provided, which can realize the combination and paste of multiple copied data in both the single copy mode and the combined copy mode. Among them, in the default single copy mode, the data blocks of each copy operation of the user are respectively mapped to the corresponding indexes on the clipboard, and after the user wakes up the clipboard interface, the data blocks of each copy operation are displayed on the clipboard interface. The index corresponding to the data block of the copy operation, the user can select multiple indexes on the clipboard interface to perform the paste operation. By combining the multiple indexes selected by the user into a combined index, based on the combined index, the One data block for a single unified paste. In addition, the user can enter the combined copy mode. In the combined copy mode, by mapping the data block of each copy operation of the user to the same combined index on the clipboard, when the paste operation is performed, multiple Copy multiple blocks of data for a single unified paste. In this way, according to the copy and paste method of the present invention, the unified paste of the data of multiple copy operations can be realized in multiple modes, thereby reducing the number of copy and paste operations, reducing the tedious steps of switching applications or interfaces back and forth, and improving the user experience. operational efficiency.
此外,根据本发明的复制粘贴方法,用户在多次复制操作过程中,可以同时对文件和文本进行复制操作,从而能实现统一粘贴文件和文本,进一步简化用户操作。In addition, according to the copy and paste method of the present invention, the user can perform copy operations on files and texts at the same time during multiple copy operations, thereby realizing unified pasting of files and texts, and further simplifying user operations.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.
附图说明Description of drawings
为了实现上述以及相关目的,本文结合下面的描述和附图来描述某些说明性方面,这些方面指示了可以实践本文所公开的原理的各种方式,并且所有方面及其等效方面旨在落入所要求保护的主题的范围内。通过结合附图阅读下面的详细描述,本公开的上述以及其它目的、特征和优势将变得更加明显。遍及本公开,相同的附图标记通常指代相同的部件或元素。To achieve the above and related objects, certain illustrative aspects are described herein in conjunction with the following description and drawings, which are indicative of the various ways in which the principles disclosed herein may be practiced, and all aspects and their equivalents are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent by reading the following detailed description in conjunction with the accompanying drawings. Throughout this disclosure, the same reference numbers generally refer to the same parts or elements.
图1示出了根据本发明一个实施例的计算设备100的示意图;FIG. 1 shows a schematic diagram of a computing device 100 according to an embodiment of the present invention;
图2、图3分别示出了根据本发明一个实施例的复制粘贴方法200的流程图;2 and 3 respectively show a flowchart of a copy and
图4示出了根据本发明一个实施例中每次复制操作的数据块与剪切板上索引的对应关系示意图;FIG. 4 shows a schematic diagram of the corresponding relationship between the data block of each copy operation and the index on the clipboard according to an embodiment of the present invention;
图5示出了根据本发明的一个实施例的剪切板界面的示意图;FIG. 5 shows a schematic diagram of a shear plate interface according to an embodiment of the present invention;
图6示出了根据本发明一个实施例中累计数据块与剪切板上索引的对应关系示意图。FIG. 6 is a schematic diagram showing the corresponding relationship between the accumulated data block and the index on the clipboard according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.
本发明提供了一种适于在计算设备中执行的复制粘贴方法,能够实现将多次复制的文件和/或文本进行统一粘贴,有利于提高复制粘贴操作的效率。The present invention provides a copy-and-paste method suitable for execution in a computing device, which can realize unified paste of files and/or texts copied multiple times, and is beneficial to improve the efficiency of copy-paste operations.
图1示出了的计算设备100的物理组件(即,硬件)的框图。在基本配置中,计算设备100包括至少一个处理单元102和系统存储器104。根据一个方面,取决于计算设备的配置和类型,处理单元102可以实现为处理器。系统存储器104包括但不限于易失性存储(例如,随机存取存储器)、非易失性存储(例如,只读存储器)、闪速存储器、或者这样的存储器的任何组合。根据一个方面,系统存储器104中包括操作系统105,操作系统105中包括复制处理模块150,复制处理模块150被配置为执行本发明的复制粘贴方法200和复制粘贴方法300。FIG. 1 shows a block diagram of the physical components (ie, hardware) of computing device 100 . In a basic configuration, computing device 100 includes at least one processing unit 102 and system memory 104 . According to one aspect, depending on the configuration and type of computing device, processing unit 102 may be implemented as a processor. System memory 104 includes, but is not limited to, volatile storage (eg, random access memory), nonvolatile storage (eg, read only memory), flash memory, or any combination of such memories. According to one aspect, the system memory 104 includes an operating system 105, and the operating system 105 includes a
根据一个方面,操作系统105例如适合于控制计算设备100的操作。此外,示例结合图形库、其他操作系统、或任何其他应用程序而被实践,并且不限于任何特定的应用或系统。在图1中通过在虚线108内的那些组件示出了该基本配置。根据一个方面,计算设备100具有额外的特征或功能。例如,根据一个方面,计算设备100包括额外的数据存储设备(可移动的和/或不可移动的),例如磁盘、光盘、或者磁带。这样额外的存储在图1中是由可移动存储设备109和不可移动存储设备110示出的。According to one aspect, the operating system 105 is adapted, for example, to control the operation of the computing device 100 . Furthermore, the examples are practiced in conjunction with graphics libraries, other operating systems, or any other application, and are not limited to any particular application or system. This basic configuration is shown in FIG. 1 by those components within
如在上文中所陈述的,根据一个方面,在系统存储器104中存储有程序模块。根据一个方面,程序模块可以包括一个或多个应用程序,本发明不限制应用程序的类型,例如应用程序可以包括:电子邮件和联系人应用程序、文字处理应用程序、电子表格应用程序、数据库应用程序、幻灯片展示应用程序、绘画或计算机辅助应用程序、网络浏览器应用程序等。As stated above, according to one aspect, program modules are stored in system memory 104 . According to one aspect, a program module may include one or more applications, the present invention does not limit the types of applications, for example applications may include: email and contacts applications, word processing applications, spreadsheet applications, database applications programs, slideshow applications, drawing or computer aided applications, web browser applications, etc.
根据一个方面,可以在包括分立电子元件的电路、包含逻辑门的封装或集成的电子芯片、利用微处理器的电路、或者在包含电子元件或微处理器的单个芯片上实践示例。例如,可以经由其中在图1中所示出的每个或许多组件可以集成在单个集成电路上的片上系统(SOC)来实践示例。根据一个方面,这样的SOC设备可以包括一个或多个处理单元、图形单元、通信单元、系统虚拟化单元、以及各种应用功能,其全部作为单个集成电路而被集成(或“烧”)到芯片基底上。当经由SOC进行操作时,可以经由在单个集成电路(芯片)上与计算设备100的其他组件集成的专用逻辑来对在本文中所描述的功能进行操作。还可以使用能够执行逻辑操作(例如AND、OR和NOT)的其他技术来实践本发明的实施例,所述其他技术包括但不限于机械、光学、流体、和量子技术。另外,可以在通用计算机内或在任何其他任何电路或系统中实践本发明的实施例。According to one aspect, the examples may be practiced on a circuit comprising discrete electronic components, a packaged or integrated electronic chip containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic components or a microprocessor. For example, the examples may be practiced via a system-on-chip (SOC) in which each or many of the components shown in FIG. 1 may be integrated on a single integrated circuit. According to one aspect, such SOC devices may include one or more processing units, graphics units, communication units, system virtualization units, and various application functions, all integrated (or "burned") into a single integrated circuit on the chip substrate. When operating via the SOC, the functions described herein may operate via dedicated logic integrated with other components of the computing device 100 on a single integrated circuit (chip). Embodiments of the invention may also be practiced using other technologies capable of performing logical operations such as AND, OR, and NOT, including but not limited to mechanical, optical, fluid, and quantum technologies. Additionally, embodiments of the invention may be practiced within a general purpose computer or in any other circuit or system.
根据一个方面,计算设备100还可以具有一个或多个输入设备112,例如键盘、鼠标、笔、语音输入设备、触摸输入设备等。还可以包括输出设备114,例如显示器、扬声器、打印机等。前述设备是示例并且也可以使用其他设备。计算设备100可以包括允许与其他计算设备118进行通信的一个或多个通信连接116。合适的通信连接116的示例包括但不限于:RF发射机、接收机和/或收发机电路;通用串行总线(USB)、并行和/或串行端口。According to one aspect, computing device 100 may also have one or more input devices 112, such as a keyboard, mouse, pen, voice input device, touch input device, and the like. Output devices 114 may also be included, such as displays, speakers, printers, and the like. The aforementioned devices are examples and other devices may also be used. Computing device 100 may include one or
如在本文中所使用的术语计算机可读介质包括计算机存储介质。计算机存储介质可以包括以任何用于存储信息(例如,计算机可读指示、数据结构、或程序模块)的方法或技术来实现的易失性的和非易失性的、可移动的和不可移动的介质。系统存储器104、可移动存储设备109、和不可移动存储设备110都是计算机存储介质的示例(即,存储器存储)。计算机存储介质可以包括随机存取存储器(RAM)、只读存储器(ROM)、电可擦只读存储器(EEPROM)、闪速存储器或其他存储器技术、CD-ROM、数字通用盘(DVD)或其他光存储、盒式磁带、磁带、磁盘存储器或其他磁存储设备、或者可用于存储信息并且可以由计算机设备100访问的任何其他制品。根据一个方面,任何这样的计算机存储介质都可以是计算设备100的一部分。计算机存储介质不包括载波或其他经传播的数据信号。The term computer readable medium as used herein includes computer storage medium. Computer storage media may include volatile and nonvolatile, removable and non-removable implemented in any method or technology for storage of information (eg, computer readable instructions, data structures, or program modules) medium. System memory 104, removable storage device 109, and non-removable storage device 110 are all examples of computer storage media (ie, memory storage). Computer storage media may include random access memory (RAM), read only memory (ROM), electrically erasable read only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disk (DVD), or other Optical storage, magnetic tape cassettes, magnetic tape, disk storage or other magnetic storage devices, or any other article of manufacture that may be used to store information and that may be accessed by computer device 100 . According to one aspect, any such computer storage medium may be part of computing device 100 . Computer storage media does not include carrier waves or other propagated data signals.
根据一个方面,通信介质是由计算机可读指令、数据结构、程序模块、或者经调制的数据信号(例如,载波或其他传输机制)中的其他数据实施的,并且包括任何信息传递介质。根据一个方面,术语“经调制的数据信号”描述了具有一个或多个特征集或者以将信息编码在信号中的方式改变的信号。作为示例而非限制,通信介质包括诸如有线网络或直接有线连接之类的有线介质,以及诸如声学、射频(RF)、红外线的、以及其他无线介质之类的无线介质。According to one aspect, communication media are embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal (eg, carrier wave or other transport mechanism) and include any information delivery media. According to one aspect, the term "modulated data signal" describes a signal that has one or more sets of characteristics or is altered in such a way as to encode information in the signal. By way of example and not limitation, communication media includes wired media such as a wired network or direct wired connection, as well as wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media.
在本发明的一个实施例中,计算设备100包括一个或多个处理器、以及存储有程序指令的一个或多个可读存储介质。当程序指令被配置为由一个或多个处理器执行时,使得计算设备执行本发明实施例中的复制粘贴方法200。In one embodiment of the invention, computing device 100 includes one or more processors, and one or more readable storage media having program instructions stored thereon. When the program instructions are configured to be executed by one or more processors, the computing device is caused to perform the copy-
图2、图3分别示出了根据本发明一个实施例的复制粘贴方法200的流程图。方法200适于在计算设备(前述计算设备100)的操作系统中执行。具体地,操作系统105中包括复制处理模块150,复制处理模块150被配置为执行本发明的复制粘贴方法200。FIG. 2 and FIG. 3 respectively show a flowchart of a copy and
如图2所示,方法200包括步骤S210~S230。需要说明的是,步骤S210~S230。根据本发明的复制粘贴方法200,在单次复制模式、组合复制模式下均能实现将多次复制数据进行组合粘贴。As shown in FIG. 2, the
在步骤S210中,连续接收用户的多次复制操作,基于复制顺序分别将每次复制操作的数据块映射到剪切板上相应的索引。In step S210, multiple copying operations of the user are continuously received, and the data blocks of each copying operation are respectively mapped to corresponding indexes on the clipboard based on the copying sequence.
需要说明的是,剪切板位于操作系统的内核中。复制操作的数据块即是复制操作所在内存中的数据块。在接收到用户的每次复制操作后,还可以对每次复制操作的数据块进行标记,以便后续进行粘贴。需要说明的是,复制顺序是指复制操作的时间顺序。It should be noted that the clipboard is located in the kernel of the operating system. The data block of the copy operation is the data block in the memory where the copy operation is performed. After each copy operation of the user is received, the data block of each copy operation can also be marked for subsequent pasting. It should be noted that the copying sequence refers to the time sequence of copying operations.
图4示出了根据本发明一个实施例中每次复制操作的数据块与剪切板上索引的对应关系示意图。如图4所示,越高位的数据块对应的时间线越近,对应的索引越新。例如,最新复制的数据块5对应最新的索引1。FIG. 4 shows a schematic diagram of the correspondence between the data blocks of each copy operation and the indexes on the clipboard according to an embodiment of the present invention. As shown in FIG. 4 , the time line corresponding to the higher-order data block is closer, and the corresponding index is newer. For example, the latest replicated
在一个实施例中,如图3所示,在单次复制模式下,在接收到用户的每次复制操作后,分别在剪切板上新增一个索引,并将本次复制操作的数据块映射到新增的索引。In one embodiment, as shown in FIG. 3 , in the single copy mode, after each copy operation from the user is received, an index is added to the clipboard, and the data blocks of this copy operation are added to the clipboard. Map to the newly added index.
需要说明的是,在单次复制模式下,用户可以连续进行多次复制操作,并且,对于用户的每次复制操作,基于复制顺序在剪切板上添加与每次复制操作的数据块相对应的索引,并将最新复制操作的数据块映射到剪切板上的新添加的索引,以实现将每次复制操作的数据块映射到剪切板上相应的索引。在下一次进行复制操作时,并不会清除先前的复制操作记录。It should be noted that in the single copy mode, the user can continuously perform multiple copy operations, and, for each copy operation performed by the user, the data blocks corresponding to each copy operation are added to the clipboard based on the copy sequence. , and map the data block of the latest copy operation to the newly added index on the clipboard, so as to map the data block of each copy operation to the corresponding index on the clipboard. The record of the previous copy operation will not be cleared when the next copy operation is performed.
随后,在步骤S220中,基于多个索引生成组合索引。这里,组合索引对应的数据即是多个索引对应的多个数据块。Subsequently, in step S220, a combined index is generated based on the plurality of indexes. Here, the data corresponding to the combined index is a plurality of data blocks corresponding to the plurality of indexes.
最后,在步骤S230中,基于组合索引对多个索引对应的多个数据块进行粘贴。Finally, in step S230, the multiple data blocks corresponding to the multiple indexes are pasted based on the combined index.
在一个实施例中,在单次复制模式下,在完成多次复制操作后,用户在需要进行粘贴操作时可以唤起剪切板界面。唤起剪切板界面表示复制操作完成,进入粘贴操作。In one embodiment, in the single copy mode, after completing multiple copy operations, the user can invoke the clipboard interface when a paste operation is required. Arousing the clipboard interface indicates that the copy operation is completed, and the paste operation is entered.
具体地,在单次复制模式下,步骤S220~S230可以根据以下方法来实现:Specifically, in the single copy mode, steps S220 to S230 can be implemented according to the following methods:
响应于用户唤起剪切板界面的请求,显示剪切板界面,并在剪切板界面上显示每次复制操作的数据块对应的索引。在一种实现方式中,用户可以通过按压预定快捷键来唤起剪切板界面。预定快捷键例如可以实现为ctrl+alt+v,但本发明不限于此。In response to the user's request for evoking the clipboard interface, the clipboard interface is displayed, and the index corresponding to the data block of each copy operation is displayed on the clipboard interface. In one implementation, the user may invoke the clipboard interface by pressing a predetermined shortcut key. The predetermined shortcut key may be implemented as ctrl+alt+v, for example, but the present invention is not limited thereto.
随后,接收用户在剪切板界面上选择多个索引并进行组合的请求,基于选择的多个索引生成组合索引,该组合索引对应的是用户选择的多个索引对应的多个数据块。这里,在基于多个索引组合得到组合索引时,相应地会将多个索引对应的数据块映射到该组合索引,相当于修改了数据块与索引的映射关系。Subsequently, a request from the user to select and combine multiple indexes on the clipboard interface is received, and a combined index is generated based on the selected multiple indexes, and the combined index corresponds to multiple data blocks corresponding to the multiple indexes selected by the user. Here, when a combined index is obtained based on a combination of multiple indexes, the data blocks corresponding to the multiple indexes are correspondingly mapped to the combined index, which is equivalent to modifying the mapping relationship between the data block and the index.
最后,可以基于组合索引对用户选择的多个索引对应的多个数据块进行组合粘贴,实现对多次复制的数据块进行单次统一粘贴,以便将整合后的内存数据提供给调用应用进行下一步处理。Finally, multiple data blocks corresponding to multiple indexes selected by the user can be combined and pasted based on the combined index, so as to realize a single unified paste of the data blocks copied multiple times, so as to provide the integrated memory data to the calling application for downloading. one-step processing.
需要说明的是,在剪切板界面上可以显示出在步骤S210中进行的每次复制操作的数据块对应的索引。用户在剪切板界面上选择的多个索引可以是剪切板界面上的一部分索引、或者是剪切板界面上的全部索引。也就是说,用户可以选择剪切板界面上的一部分索引或全部索引并请求进行组合为组合索引,以便基于组合索引对用户选择的多个索引对应的多个数据块进行粘贴。It should be noted that the index corresponding to the data block of each copy operation performed in step S210 may be displayed on the clipboard interface. The multiple indexes selected by the user on the clipboard interface may be a part of the indexes on the clipboard interface, or all the indexes on the clipboard interface. That is, the user can select a part of the indexes or all indexes on the clipboard interface and request to combine them into a combined index, so as to paste multiple data blocks corresponding to the multiple indexes selected by the user based on the combined indexes.
图5示出了根据本发明的一个实施例的剪切板界面的示意图。如图5所示,剪切板界面上的每一项包括一次复制操作的数据块对应的索引,每个索引中包括复制操作的数据块的数据类型(文件或者文本)、复制操作的时间等信息。用户可以通过在剪切板界面上对多个索引进行框选操作或者多选操作来实现选择多个索引。Figure 5 shows a schematic diagram of a shear panel interface according to one embodiment of the present invention. As shown in Figure 5, each item on the clipboard interface includes an index corresponding to a data block of a copy operation, and each index includes the data type (file or text) of the data block of the copy operation, the time of the copy operation, etc. information. The user can select multiple indexes by performing a frame selection operation or a multi-selection operation on the multiple indexes on the clipboard interface.
另外,如图5所示,剪切板界面上还提供有“组合”控件、“清除”控件、“全选”控件。用户在通过多选或框选操作选择多个索引后,可以点击“组合”控件来实现对选择的多个索引进行组合生成一个组合索引。例如在对剪切板界面上框选第一个索引(文件)和第二个索引(文本)后,通过点击“组合”控件可以将第一个索引和第二个索引组合生成组合索引,组合索引中的数据类型包含文件和文本。In addition, as shown in Figure 5, the clipboard interface also provides a "group" control, a "clear" control, and a "select all" control. After the user selects multiple indexes through the multi-selection or box-selection operation, the user can click the "combine" control to realize the combination of the selected indexes to generate a combined index. For example, after selecting the first index (file) and the second index (text) on the clipboard interface, the first index and the second index can be combined to generate a combined index by clicking the "combination" control to generate a combined index. The data types in the index include file and text.
另外,根据本发明的复制粘贴方法,还可以进入组合复制模式来进行复制操作。如图3所示,在进行多次复制操作之前,如果接收到用户触发的进入组合复制模式的请求,则可以进入组合复制模式。这样,可以在组合复制模式下对多次复制的数据进行组合粘贴。In addition, according to the copy and paste method of the present invention, it is also possible to enter a combined copy mode to perform a copy operation. As shown in FIG. 3 , before performing multiple copy operations, if a user-triggered request for entering the combined copy mode is received, the combined copy mode can be entered. In this way, data copied multiple times can be combined and pasted in combined copy mode.
在一个实施例中,步骤S210可以根据以下方法来实现:响应于进入组合复制模式的请求,进入组合复制模式。随后,接收用户的多次复制操作,基于复制顺序将多次复制操作的数据块映射到剪切板上的同一个组合索引。具体地,如图3所示,在进入组合复制模式后,首先在剪切板上新增一个组合索引,接着,在(退出组合复制模式之前)接收到用户的每次复制操作后,基于复制操作顺序分别将每次复制操作的数据块映射到剪切板上的同一个组合索引上。这样,在退出组合复制模式后,自动生成组合索引,该组合索引对应多次复制操作的多个数据块,从而在步骤S230中,可以直接基于该组合索引来对组合复制模式下的多次复制操作的多个数据块进行组合粘贴,实现对多次复制操作的多个数据块进行单次统一粘贴。In one embodiment, step S210 may be implemented according to the following method: in response to a request to enter the combined copy mode, enter the combined copy mode. Subsequently, multiple copy operations of the user are received, and the data blocks of the multiple copy operations are mapped to the same composite index on the clipboard based on the copy order. Specifically, as shown in FIG. 3, after entering the combined copy mode, a combined index is first added to the clipboard, and then (before exiting the combined copy mode) after receiving each copy operation from the user, based on the copy The sequence of operations maps the data blocks of each copy operation to the same composite index on the clipboard, respectively. In this way, after exiting the combined copy mode, a combined index is automatically generated, and the combined index corresponds to multiple data blocks of multiple copy operations, so that in step S230, multiple copies in the combined copy mode can be directly based on the combined index. The multiple data blocks of the operation are combined and pasted to realize a single unified paste of multiple data blocks of multiple copy operations.
在一种实现方式中,用户可以通过按压预定组合键来触发进入组合复制模式,即,可以响应于用户基于预定组合键触发的进入组合复制模式的请求,进入组合复制模式。这里,本发明对预定组合键不做具体限制。例如,预定组合键可以实现为Ctrl+Shift+c。In one implementation, the user can trigger entering the combined copy mode by pressing a predetermined key combination, that is, the user can enter the combined copy mode in response to a user request to enter the combined copy mode triggered by the predetermined key combination. Here, the present invention does not specifically limit the predetermined key combination. For example, the predetermined key combination can be implemented as Ctrl+Shift+c.
在一个实施例中,在完成多次复制操作后,用户可以通过再次按压预定组合键来请求退出组合复制模式。此时,组合索引对应的是在组合复制模式下进行的多次复制操作的数据块。In one embodiment, after completing multiple copy operations, the user may request to exit the combined copy mode by pressing the predetermined key combination again. At this time, the combined index corresponds to the data blocks of multiple copy operations performed in the combined copy mode.
进一步地,如图3所示,在组合复制模式下,在接收到每次复制操作后,还可以将每次复制操作的数据块进行累计(累计到先前复制操作的数据块),得到累计数据块。这样,在退出组合复制模式后,可以得到与组合索引相对应的最终的累计数据块,在用户退出组合复制模式并进行粘贴时,可以基于组合索引直接对累计数据块进行粘贴,以便将整合后的内存数据提供给调用应用进行下一步处理。Further, as shown in FIG. 3, in the combined copy mode, after each copy operation is received, the data blocks of each copy operation can also be accumulated (accumulated to the data blocks of the previous copy operation) to obtain accumulated data. piece. In this way, after exiting the combined copy mode, the final accumulated data block corresponding to the combined index can be obtained. When the user exits the combined copy mode and pastes, the accumulated data block can be directly pasted based on the combined index, so that the integrated data block can be directly pasted. The memory data is provided to the calling application for further processing.
图6示出了根据本发明一个实施例中累计数据块与剪切板上索引的对应关系示意图。例如,如图6所示,在最近一次组合复制模式下,最新的组合索引1对应的累计数据块包括数据块5和数据块4,组合索引2对应的累计数据块包括数据块3和数据块2。FIG. 6 is a schematic diagram showing the corresponding relationship between the accumulated data block and the index on the clipboard according to an embodiment of the present invention. For example, as shown in Figure 6, in the latest combined copy mode, the accumulated data blocks corresponding to the latest combined
应当指出,在退出组合复制模式之后,当用户再次进行复制操作时,再次复制操作的数据块不再映射到上一次组合复制模式下的组合索引,而是新的单次复制操作,复制操作的数据块对应的是剪切板上的最新的索引1。而上一次组合复制模式下的组合索引(组合索引1)变更为组合索引2。It should be pointed out that after exiting the combined copy mode, when the user performs the copy operation again, the data block of the copy operation is no longer mapped to the combined index in the previous combined copy mode, but a new single copy operation. The data block corresponds to the
需要说明的是,在组合复制模式下,如果只进行了一次复制操作,对应的组合索引也即只对应单一数据块的索引。It should be noted that, in the combined copy mode, if only one copy operation is performed, the corresponding combined index only corresponds to the index of a single data block.
根据一个实施例,在步骤S210中,接收多次复制操作具体可以实现为:接收在一个或多个目录下对文件和/或文本进行的多次复制操作。也就是说,本发明中的多次复制操作可以包括用户在一个或多个目录下进行的复制操作,用户在每次复制操作后可以切换到另一个目录下继续进行复制操作,其中,每次复制操作可以是对目录下的文件的复制操作、或者是对文本(包括文件中的文本内容、文件的描述信息等)的复制操作。文件例如可以包括文本文件、视频文件、图片文件、演示文件中的一种或多种。According to an embodiment, in step S210, receiving multiple copy operations may specifically be implemented as: receiving multiple copy operations performed on files and/or texts in one or more directories. That is to say, the multiple copying operations in the present invention may include copying operations performed by the user in one or more directories, and the user may switch to another directory to continue the copying operation after each copying operation. The copy operation may be a copy operation of a file in a directory, or a copy operation of text (including text content in the file, description information of the file, etc.). The files may include, for example, one or more of text files, video files, picture files, and presentation files.
根据一个实施例,在完成多次复制操作后,用户可以在目标路径下进行粘贴操作。具体地,在步骤S230中,操作系统在接收到用户在目标路径下的粘贴操作后,基于组合索引将对应的多个数据块粘贴在目标路径下。应当指出,目标路径可以对应文件管理器中的任意目录(文件夹),还可以对应网页或网盘等应用场景下的目录。另外,目标路径还可以对应文件中的内容区域。According to one embodiment, after completing multiple copy operations, the user can perform a paste operation under the target path. Specifically, in step S230, after receiving the user's paste operation under the target path, the operating system pastes the corresponding multiple data blocks under the target path based on the combination index. It should be pointed out that the target path may correspond to any directory (folder) in the file manager, and may also correspond to a directory in an application scenario such as a web page or a network disk. In addition, the target path can also correspond to the content area in the file.
例如,在一个应用实例中,用户在编写文本文件或者演示文件的过程中,当需要在编写的文件中插入视频文件、图片文件以及文件的描述信息(文本)时,可以分别复制需要插入的文件和文件的描述信息(例如文件名),在复制操作完成后,可以在文本文件或者演示文件中进行粘贴操作,实现单次统一粘贴文件和文本,从而实现简化操作的目的。For example, in an application example, in the process of writing a text file or a presentation file, when a user needs to insert a video file, a picture file and the description information (text) of the file into the written file, he can copy the files to be inserted separately. and the description information of the file (such as file name), after the copy operation is completed, the paste operation can be performed in the text file or the presentation file, and the file and text can be pasted in a single unified manner, thereby realizing the purpose of simplifying the operation.
在一种实现方式中,用户可以通过按压粘贴快捷键或点击粘贴功能选项来触发粘贴操作。也就是说,操作系统可以接收到用户接收基于粘贴快捷键或点击粘贴功能选项触发的粘贴操作。这里,点击粘贴功能选项触发粘贴操作,具体可以通过鼠标右键点击操作来唤出菜单页面,并在菜单页面中点击粘贴功能选项来触发粘贴操作;还可以在各种各样的应用中,点击应用提供的粘贴功能选项来触发粘贴操作。In an implementation manner, the user can trigger the paste operation by pressing the paste shortcut key or clicking the paste function option. That is, the operating system may receive a paste operation triggered by a user receiving a paste shortcut key or clicking a paste function option. Here, click the paste function option to trigger the paste operation. Specifically, you can right-click the mouse to call up the menu page, and click the paste function option in the menu page to trigger the paste operation; you can also click the application in various applications. Provides the paste function option to trigger the paste operation.
应当指出,本发明对粘贴快捷键不做具体限定,例如,在一种实现方式中,粘贴快捷键可以实现为Ctrl+v。It should be noted that the present invention does not specifically limit the paste shortcut key, for example, in an implementation manner, the paste shortcut key can be implemented as Ctrl+v.
具体地,在单次复制模式下,组合索引对应的是用户在剪切板界面上选择的多个索引对应的多个数据块,从而,在接收到用户在目标路径下的粘贴操作后,基于组合索引将用户选择的多个索引对应的多个数据块粘贴在目标路径下。Specifically, in the single copy mode, the combined index corresponds to multiple data blocks corresponding to multiple indexes selected by the user on the clipboard interface. Therefore, after receiving the user's paste operation under the target path, based on The combined index pastes multiple data blocks corresponding to multiple indexes selected by the user under the target path.
在组合复制模式下,组合索引对应的是步骤S210中的多次复制操作的多个数据块,从而,在接收到用户在目标路径下的粘贴操作后,基于组合索引将步骤S210中的多次复制操作的多个数据块(累计数据块)粘贴在目标路径下。In the combined copy mode, the combined index corresponds to multiple data blocks of the multiple copy operations in step S210, so after receiving the user's paste operation under the target path, the multiple data blocks in step S210 are copied based on the combined index Multiple data blocks (cumulative data blocks) of the copy operation are pasted under the destination path.
根据一个实施例,用户可以通过按压复制快捷键或点击复制功能选项来触发每次复制操作。也就是说,在步骤S210中,可以接收用户基于复制快捷键或点击复制功能选项触发的多次复制操作。这里,点击复制功能选项触发复制操作,具体可以通过鼠标右键点击操作来唤出菜单页面,并在菜单页面中点击复制功能选项来触发复制操作;还可以在各种各样的应用中,点击应用提供的复制功能选项来触发复制操作。According to one embodiment, the user can trigger each copy operation by pressing the copy shortcut key or clicking the copy function option. That is to say, in step S210, multiple copy operations triggered by the user based on the copy shortcut key or click on the copy function option may be received. Here, click the copy function option to trigger the copy operation. Specifically, you can call out the menu page by right-clicking the mouse, and click the copy function option in the menu page to trigger the copy operation; you can also click the application in various applications. Provides the copy function option to trigger the copy operation.
应当指出,本发明对复制快捷键不做具体限定,例如,在一种实现方式中,复制快捷键可以实现为Ctrl+c。It should be noted that the present invention does not specifically limit the copy shortcut key, for example, in an implementation manner, the copy shortcut key may be implemented as Ctrl+c.
根据本发明的一种实现方式,如图3所示,在执行本发明的复制粘贴方法200之前,操作系统首先判断用户是否触发进入组合复制模式(是否接收到进入组合复制模式的请求),即确定是否接收到用户进入组合复制模式的请求。如果未触发进入组合复制模式,则根据单次复制模式下的具体实现方式来执行复制粘贴方法200。具体地,在单次复制模式下,在每次接收到复制操作后,分别在剪切板上新增一个索引,并将复制操作的数据块映射到该新增的索引。在进行复制操作后,用户可以在目标路径下直接进行粘贴操作,这种情况下,会直接基于对应的索引将最新一次复制操作的数据块粘贴到目标路径下。另外,用户可以通过预定快捷键来唤起剪切板界面,随后可以在剪切板界面上选择多个索引并进行组合。在接收到用户在剪切板界面上选择多个索引并进行组合的请求后,基于用户选择的多个索引生成组合索引。接着,用户可以在目标路径下进行粘贴操作,在接收到用户的粘贴操作后,基于组合索引对对应的多个数据块(即,用户选择的多个索引对应的多个数据块)进行粘贴,从而实现将多次复制操作的数据块统一粘贴到目标路径下。According to an implementation manner of the present invention, as shown in FIG. 3 , before executing the copy and
如果确定进入组合复制模式,则根据组合复制模式下的具体实现方式来执行复制粘贴方法200。具体地,在组合复制模式下,响应于进入组合复制模式的请求,进入组合复制模式。接着,在剪切板上新增一个组合索引(组合索引1),在组合复制模式下每次接收到每次复制操作后,将复制操作的数据块映射到剪切板上的该组合索引,并对复制操作的数据块(与上一次复制操作后的数据块)进行累计得到累计数据块,这样,对于组合复制模式下的多次复制操作,可以将多次复制操作的多个数据块映射到剪切板上的同一个组合索引。在多次复制操作之后,用户可以请求退出组合复制模式,并可以在目标路径下进行粘贴操作,在接收到用户的粘贴操作后,基于组合索引对多次复制操作的多个数据块进行粘贴,从而实现将多次复制操作的数据块统一粘贴到目标路径下。If it is determined to enter the combined copy mode, the copy and
根据本发明的复制粘贴方法,在单次复制模式、组合复制模式下均能实现将多次复制数据进行组合粘贴。其中,在默认的单次复制模式下,将用户每次复制操作的数据块分别映射到剪切板上相应的索引,并在用户唤起剪切板界面后,在剪切板界面上显示每次复制操作的数据块对应的索引,用户可以选择剪切板界面上的多个索引来进行粘贴操作,通过将用户选择的多个索引组合为组合索引,基于组合索引可以对多个索引对应的多个数据块进行单次统一粘贴。另外,用户可以进入组合复制模式,在组合复制模式下通过将用户每次复制操作的数据块映射到剪切板上的同一个组合索引,在进行粘贴操作时,可以基于组合索引来对多次复制操作的多个数据块进行单次统一粘贴。这样,根据本发明的复制粘贴方法,能在多种模式下实现对多次复制操作的内存数据的统一粘贴,从而减少了复制粘贴操作的次数,降低来回切换应用或界面的繁琐步骤,提高了用户的操作效率。According to the copy and paste method of the present invention, combining and pasting of multiple times of copied data can be realized in both the single copy mode and the combined copy mode. Among them, in the default single copy mode, the data blocks of each copy operation of the user are respectively mapped to the corresponding indexes on the clipboard, and after the user wakes up the clipboard interface, the data blocks of each copy operation are displayed on the clipboard interface. The index corresponding to the data block of the copy operation, the user can select multiple indexes on the clipboard interface to perform the paste operation. By combining the multiple indexes selected by the user into a combined index, based on the combined index, the One data block for a single unified paste. In addition, the user can enter the combined copy mode. In the combined copy mode, by mapping the data block of each copy operation of the user to the same combined index on the clipboard, when the paste operation is performed, multiple Copy multiple blocks of data for a single unified paste. In this way, according to the copy and paste method of the present invention, unified paste of memory data of multiple copy operations can be realized in multiple modes, thereby reducing the number of copy and paste operations, reducing the tedious steps of switching applications or interfaces back and forth, and improving User efficiency.
此外,根据本发明的复制粘贴方法,用户在多次复制操作过程中,可以同时对文件和文本进行复制操作,从而能实现统一粘贴文件和文本,进一步简化用户操作。In addition, according to the copy and paste method of the present invention, the user can perform copy operations on files and texts at the same time during multiple copy operations, thereby realizing unified pasting of files and texts, and further simplifying user operations.
这里描述的各种技术可结合硬件或软件,或者它们的组合一起实现。从而,本发明的方法和设备,或者本发明的方法和设备的某些方面或部分可采取嵌入有形媒介,例如可移动硬盘、U盘、软盘、CD-ROM或者其它任意机器可读的存储介质中的程序代码(即指令)的形式,其中当程序被载入诸如计算机之类的机器,并被所述机器执行时,所述机器变成实践本发明的设备。The various techniques described herein can be implemented in conjunction with hardware or software, or a combination thereof. Thus, the method and apparatus of the present invention, or certain aspects or portions of the method and apparatus of the present invention, may take the form of an embedded tangible medium, such as a removable hard disk, a USB stick, a floppy disk, a CD-ROM, or any other machine-readable storage medium. in the form of program code (ie, instructions) that, when the program is loaded into a machine, such as a computer, and executed by the machine, the machine becomes an apparatus for practicing the invention.
在程序代码在可编程计算机上执行的情况下,移动终端一般包括处理器、处理器可读的存储介质(包括易失性和非易失性存储器和/或存储元件),至少一个输入装置,和至少一个输出装置。其中,存储器被配置用于存储程序代码;处理器被配置用于根据该存储器中存储的所述程序代码中的指令,执行本发明的复制粘贴方法。Where the program code is executed on a programmable computer, the mobile terminal generally includes a processor, a storage medium readable by the processor (including volatile and nonvolatile memory and/or storage elements), at least one input device, and at least one output device. Wherein, the memory is configured to store program codes; the processor is configured to execute the copy and paste method of the present invention according to the instructions in the program codes stored in the memory.
以示例而非限制的方式,可读介质包括可读存储介质和通信介质。可读存储介质存储诸如计算机可读指令、数据结构、程序模块或其它数据等信息。通信介质一般以诸如载波或其它传输机制等已调制数据信号来体现计算机可读指令、数据结构、程序模块或其它数据,并且包括任何信息传递介质。以上的任一种的组合也包括在可读介质的范围之内。By way of example and not limitation, readable media include readable storage media and communication media. Readable storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
在此处所提供的说明书中,算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与本发明的示例一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。In the specification provided herein, the algorithms and displays are not inherently related to any particular computer, virtual system, or other device. Various general purpose systems may also be used with examples of the present invention. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not directed to any particular programming language. It is to be understood that various programming languages may be used to implement the inventions described herein, and that the descriptions of specific languages above are intended to disclose the best mode for carrying out the invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together into a single embodiment, figure, or its description. This disclosure, however, should not be interpreted as reflecting an intention that the invention as claimed requires more features than are expressly recited in each claim. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员应当理解在本文所公开的示例中的设备的模块或单元或组件可以布置在如该实施例中所描述的设备中,或者可替换地可以定位在与该示例中的设备不同的一个或多个设备中。前述示例中的模块可以组合为一个模块或者此外可以分成多个子模块。Those skilled in the art will appreciate that the modules or units or components of the apparatus in the examples disclosed herein may be arranged in the apparatus as described in this embodiment, or alternatively may be positioned differently from the apparatus in this example in one or more devices. The modules in the preceding examples may be combined into one module or further divided into sub-modules.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will appreciate that although some of the embodiments described herein include certain features, but not others, included in other embodiments, that combinations of features of different embodiments are intended to be within the scope of the invention within and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
此外,所述实施例中的一些在此被描述成可以由计算机系统的处理器或者由执行所述功能的其它装置实施的方法或方法元素的组合。因此,具有用于实施所述方法或方法元素的必要指令的处理器形成用于实施该方法或方法元素的装置。此外,装置实施例的在此所述的元素是如下装置的例子:该装置用于实施由为了实施该发明的目的的元素所执行的功能。Furthermore, some of the described embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other means for performing the described functions. Thus, a processor having the necessary instructions for implementing the method or method element forms means for implementing the method or method element. Furthermore, an element of an apparatus embodiment described herein is an example of a means for carrying out the function performed by the element for the purpose of carrying out the invention.
如在此所使用的那样,除非另行规定,使用序数词“第一”、“第二”、“第三”等等来描述普通对象仅仅表示涉及类似对象的不同实例,并且并不意图暗示这样被描述的对象必须具有时间上、空间上、排序方面或者以任意其它方式的给定顺序。As used herein, unless otherwise specified, the use of the ordinal numbers "first," "second," "third," etc. to describe common objects merely refers to different instances of similar objects, and is not intended to imply such The objects being described must have a given order in time, space, ordinal, or in any other way.
尽管根据有限数量的实施例描述了本发明,但是受益于上面的描述,本技术领域内的技术人员明白,在由此描述的本发明的范围内,可以设想其它实施例。此外,应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的而非限制性的,本发明的范围由所附权利要求书限定。While the invention has been described in terms of a limited number of embodiments, those skilled in the art will appreciate, having the benefit of the above description, that other embodiments are conceivable within the scope of the invention thus described. Furthermore, it should be noted that the language used in this specification has been principally selected for readability and teaching purposes, rather than to explain or define the subject matter of the invention. Accordingly, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. This disclosure is intended to be illustrative and not restrictive with regard to the scope of the present invention, which is defined by the appended claims.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210394212.7A CN114817161A (en) | 2022-04-14 | 2022-04-14 | Copying and pasting method and computing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210394212.7A CN114817161A (en) | 2022-04-14 | 2022-04-14 | Copying and pasting method and computing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114817161A true CN114817161A (en) | 2022-07-29 |
Family
ID=82536907
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210394212.7A Pending CN114817161A (en) | 2022-04-14 | 2022-04-14 | Copying and pasting method and computing device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114817161A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107992371A (en) * | 2017-11-30 | 2018-05-04 | 努比亚技术有限公司 | Replicate method of attaching, device and computer-readable recording medium |
| CN109947523A (en) * | 2019-03-28 | 2019-06-28 | 努比亚技术有限公司 | Replicate method of attaching, terminal and computer readable storage medium |
| CN111796952A (en) * | 2020-08-12 | 2020-10-20 | Oppo(重庆)智能科技有限公司 | Content operation method and device and computer readable storage medium |
-
2022
- 2022-04-14 CN CN202210394212.7A patent/CN114817161A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107992371A (en) * | 2017-11-30 | 2018-05-04 | 努比亚技术有限公司 | Replicate method of attaching, device and computer-readable recording medium |
| CN109947523A (en) * | 2019-03-28 | 2019-06-28 | 努比亚技术有限公司 | Replicate method of attaching, terminal and computer readable storage medium |
| CN111796952A (en) * | 2020-08-12 | 2020-10-20 | Oppo(重庆)智能科技有限公司 | Content operation method and device and computer readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107832099B (en) | A client version compatible method, device and storage medium | |
| CN109471626B (en) | Page logic structure, page generation method, page data processing method and device | |
| US12056468B2 (en) | Code execution and data processing pipeline | |
| CN110688145B (en) | Android MVP code automatic generation method and device, medium and electronic equipment | |
| JP7082701B2 (en) | Magnetic disk management methods, magnetic disk management devices, electronic devices, computer programs and computer readable storage media | |
| CN114489648A (en) | Page generation method, system, terminal and medium | |
| CN115016717A (en) | A kind of interaction method and computing device based on address bar | |
| CN118605936A (en) | A code comment generation method and related device | |
| CN118120212A (en) | A file deduplication method, device and equipment | |
| CN113656347A (en) | File directory export method, file directory import method and computing device | |
| CN114995699B (en) | Interface interaction method and device | |
| CN108140043B (en) | Read-write protocol for attaching only distributed database | |
| CN115033537A (en) | File processing method and computing device | |
| CN114880289A (en) | File grouping display method and computing device | |
| CN114253536A (en) | Calling method of interface design component, terminal device and readable storage medium | |
| CN114817161A (en) | Copying and pasting method and computing device | |
| CN114816772B (en) | Debugging method, debugging system and computing device for application running based on compatible layer | |
| CN113110846B (en) | A method and device for obtaining environment variables | |
| WO2024066995A1 (en) | Text code editing method and system | |
| CN114840312A (en) | Virtual machine management method and device and computing equipment | |
| CN113569182B (en) | Data processing method, device, storage medium and electronic device | |
| CN117312250A (en) | File operation method, computing device and storage medium | |
| CN116414580A (en) | Copy and paste method, computing device and readable storage medium | |
| CN116167103A (en) | Storage device writing control method, device, computing device and storage medium | |
| CN118535535A (en) | File management method, device, computer equipment, storage medium and program product |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |