CN111273973B - Copy and paste method, apparatus and storage medium - Google Patents

Copy and paste method, apparatus and storage medium Download PDF

Info

Publication number
CN111273973B
CN111273973B CN201811481608.5A CN201811481608A CN111273973B CN 111273973 B CN111273973 B CN 111273973B CN 201811481608 A CN201811481608 A CN 201811481608A CN 111273973 B CN111273973 B CN 111273973B
Authority
CN
China
Prior art keywords
content
shared notepad
module
notepad
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.)
Active
Application number
CN201811481608.5A
Other languages
Chinese (zh)
Other versions
CN111273973A (en
Inventor
周杨
杨莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811481608.5A priority Critical patent/CN111273973B/en
Publication of CN111273973A publication Critical patent/CN111273973A/en
Application granted granted Critical
Publication of CN111273973B publication Critical patent/CN111273973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The present disclosure relates to copy-and-paste methods, apparatuses, and storage media. The method comprises the following steps: copying the first object when a copy operation for the first object is detected; when a pasting operation is detected, adjusting the content of the first object to obtain an adjusted first object; pasting the adjusted first object. According to the method and the device, when the copy operation for the first object is detected, the first object is copied, when the paste operation is detected, the content of the first object is adjusted, the adjusted first object is obtained, and the adjusted first object is pasted, so that the content of the first object can be automatically adjusted, the workload of manually modifying the content is reduced, and the copy and paste efficiency can be improved.

Description

Copy and paste method, apparatus and storage medium
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a copy and paste method, a copy and paste device and a storage medium.
Background
In video editing of more complex videos (e.g., videos of world cup games), multiple people are often required to work cooperatively because of special requirements for understanding the content of the videos and high familiarity of the staff with the content. In the related art, the staff working cooperatively transmits information through chat software, the copying and pasting process is low in efficiency, and multiple modifications are often required after pasting.
Disclosure of Invention
In view of this, the present disclosure proposes a copy-and-paste method, apparatus, and storage medium.
According to an aspect of the present disclosure, there is provided a copy-paste method including:
copying the first object when a copy operation for the first object is detected;
when a pasting operation is detected, adjusting the content of the first object to obtain an adjusted first object;
pasting the adjusted first object.
In one possible implementation manner, adjusting the content of the first object to obtain an adjusted first object includes:
and performing one or more of content filtering processing, sentence grouping processing and content replacing processing on the first object to obtain an adjusted first object.
In one possible implementation manner, performing content filtering processing on the first object includes:
one or more of a time stamp, a category stamp, and a disable word in the first object are filtered out.
In one possible implementation manner, performing sentence forming processing on the first object includes:
acquiring paste template content corresponding to the first object;
adding the paste template content to the first object.
In one possible implementation manner, performing content replacement processing on the first object includes:
and if the first object contains the word to be replaced, replacing the word to be replaced with a replacement word corresponding to the word to be replaced.
In one possible implementation, the copy operation for the first object is a single click operation for the first object corresponding region.
In one possible implementation, the first object is an object in a shared notepad, and the method is applied to collaborative editing of the shared notepad.
In one possible implementation, the method further includes:
acquiring a new request for a shared notepad, wherein the new request comprises identification information corresponding to the shared notepad;
and sending the new request to a server so that the server establishes the shared notepad.
In one possible implementation, the method further includes:
obtaining an object addition request for the shared notepad, wherein the object addition request comprises a second object requesting to be added to the shared notepad;
the object addition request is sent to a server to cause the server to add the second object to the shared notepad.
In one possible implementation, the method further includes:
acquiring a joining request aiming at the shared notepad, wherein the joining request comprises identification information corresponding to the shared notepad;
and sending the joining request to a server to obtain the authority of viewing and/or editing the shared notepad.
According to another aspect of the present disclosure, there is provided a copy-and-paste apparatus including:
a copying module for copying the first object when a copying operation for the first object is detected;
the content adjusting module is used for adjusting the content of the first object when the pasting operation is detected, so as to obtain an adjusted first object;
and the pasting module is used for pasting the adjusted first object.
In one possible implementation, the content adjustment module is configured to:
and performing one or more of content filtering processing, sentence grouping processing and content replacing processing on the first object to obtain an adjusted first object.
In one possible implementation, the content adjustment module includes:
and the content filtering sub-module is used for filtering one or more of time marks, category marks and forbidden words in the first object.
In one possible implementation manner, the content adjustment module includes a sentence-grouping processing sub-module, where the sentence-grouping processing sub-module is configured to:
acquiring paste template content corresponding to the first object;
adding the paste template content to the first object.
In one possible implementation, the content adjustment module includes:
and the content replacement sub-module is used for replacing the word to be replaced with the replacement word corresponding to the word to be replaced if the first object contains the word to be replaced.
In one possible implementation, the copy operation for the first object is a single click operation for the first object corresponding region.
In one possible implementation, the first object is an object in a shared notepad, and the apparatus is applied in collaborative editing of the shared notepad.
In one possible implementation, the apparatus further includes:
the first acquisition module is used for acquiring a new request for the shared notepad, wherein the new request comprises identification information corresponding to the shared notepad;
and the first sending module is used for sending the new request to a server so that the server can establish the shared notepad.
In one possible implementation, the apparatus further includes:
a second obtaining module, configured to obtain an object addition request for the shared notepad, where the object addition request includes a second object that requests to be added to the shared notepad;
and the second sending module is used for sending the object adding request to a server so that the server adds the second object to the shared notepad.
In one possible implementation, the apparatus further includes:
a third obtaining module, configured to obtain a join request for the shared notepad, where the join request includes identification information corresponding to the shared notepad;
and the third sending module is used for sending the joining request to a server so as to obtain the authority for viewing and/or editing the shared notepad.
According to another aspect of the present disclosure, there is provided a copy-and-paste apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer program instructions, wherein the computer program instructions, when executed by a processor, implement the above-described method.
In the embodiment of the disclosure, when the copy operation for the first object is detected, the first object is copied, when the paste operation is detected, the content of the first object is adjusted to obtain the adjusted first object, and the adjusted first object is pasted, so that the content of the first object can be automatically adjusted, the workload of manually modifying the content is reduced, and the copy and paste efficiency can be improved.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features and aspects of the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 illustrates a flow chart of a copy-and-paste method according to an embodiment of the present disclosure.
Fig. 2 illustrates a schematic diagram of an application scenario of collaborative editing of a shared notepad in a copy-and-paste method according to an embodiment of the disclosure.
Fig. 3 illustrates another schematic view of an application scenario of collaborative editing of a shared notepad in a copy-and-paste method according to an embodiment of the disclosure.
Fig. 4 illustrates a schematic diagram of a single click operation for a first object corresponding region in a copy-and-paste method according to an embodiment of the present disclosure.
Fig. 5 shows a block diagram of a copy-and-paste apparatus according to an embodiment of the disclosure.
Fig. 6 is a block diagram illustrating an apparatus 800 for responsible for pasting, according to an example embodiment.
Fig. 7 is a block diagram illustrating an apparatus 1900 for responsible for pasting, according to an example embodiment.
Detailed Description
Various exemplary embodiments, features and aspects of the disclosure will be described in detail below with reference to the drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Although various aspects of the embodiments are illustrated in the accompanying drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
In addition, numerous specific details are set forth in the following detailed description in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements, and circuits well known to those skilled in the art have not been described in detail in order not to obscure the present disclosure.
FIG. 1 illustrates a flow chart of a copy-and-paste method according to an embodiment of the present disclosure. The execution subject of the copy-and-paste method may be a copy-and-paste apparatus. For example, the copy-and-paste method may be performed by a terminal device or a server or other processing device. The terminal device may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle mounted device, a wearable device, or the like. In some possible implementations, the copy-and-paste method may be implemented by way of a processor invoking computer readable instructions stored in a memory. As shown in fig. 1, the copy-and-paste method includes steps S11 to S13.
In step S11, upon detecting a copy operation for the first object, the first object is copied.
An object in an embodiment of the present disclosure may refer to an object that contains text. A first object refers to an object, and "first" in the first object is only convenient for expression and reference herein, and does not mean that there must be a first object corresponding thereto in a specific implementation of the present disclosure. Similarly, the "second" in the second object hereinafter is also merely for convenience of expression and specification, and does not mean that there must be a second object corresponding thereto in the specific implementation of the present disclosure.
In one possible implementation, the first object is an object in a shared notepad, and the method is applied to collaborative editing of the shared notepad. In this implementation, a shared notepad may refer to a notepad that may be shared by multiple people, e.g., a shared notepad may refer to a notepad that may be viewed and/or edited by multiple people. In this implementation, the data of the shared notepad may be stored in the cloud, i.e., the data of the shared notepad may be stored in the server.
Fig. 2 illustrates a schematic diagram of an application scenario of collaborative editing of a shared notepad in a copy-and-paste method according to an embodiment of the disclosure. As shown in fig. 2, in one possible implementation, the collaborative editing application scenario for the shared notepad may be video editing. For example, where video editing requires finding a highlight from a long video and outputting a short video, the process of video editing may include selecting a start time point and an end time point of the highlight, titling the highlight, determining a category, and so forth. The beginning time point, ending time point, title, and category of the highlight can be recorded in the shared notepad. For example, each object in the shared notepad includes a start time point, an end time point, a title, and a category of the corresponding video clip.
Fig. 3 illustrates another schematic view of an application scenario of collaborative editing of a shared notepad in a copy-and-paste method according to an embodiment of the disclosure. As shown in fig. 3, for example, the video clip corresponding to the object a has a start time point of 0643 (i.e., 06:43), an end time point of 0651, a category of "foul", and a title of "mixed battle-! The forecourt of brazil is entangled with the mexico team and the referee sounds whistle fouls.
In one possible implementation, the copy operation for the first object is a single click operation for the region corresponding to the first object. In this implementation manner, the copy operation of the first object may be implemented by clicking on an arbitrary position of the corresponding region of the first object. In the implementation manner, the first object can be quickly copied by clicking the corresponding area of the first object without selecting characters, so that the copying speed can be improved. Fig. 4 illustrates a schematic diagram of a single click operation for a first object corresponding region in a copy-and-paste method according to an embodiment of the present disclosure. As shown in fig. 4, the first object corresponding region may refer to a frame where the first object is located. As shown in fig. 4, the first object may be copied by clicking on the first object corresponding region.
The copy operation for the first object in the embodiment of the present disclosure may also be the same as the copy operation in the related art, and is not limited herein.
In step S12, when a paste operation is detected, the content of the first object is adjusted to obtain an adjusted first object.
In the embodiment of the disclosure, adjusting the content of the first object may include adjusting characters in the first object, and may also include adjusting other characters except for the characters in the first object. The adjustment mode can comprise one or more of filtering, adding, replacing and the like.
In one possible implementation manner, adjusting the content of the first object to obtain an adjusted first object includes: and performing one or more of content filtering processing, sentence grouping processing and content replacing processing on the first object to obtain an adjusted first object.
As an example of this implementation, performing content filtering processing on the first object includes: one or more of the time stamp, the category stamp, and the disable word in the first object are filtered out. For example, the first object is "0643-0651 [ foul ] hybrid battle in FIG. 3 ]! The forecourt of Brazil is entangled with the Mexico team, the referee sounds whistle foul, the time mark in the first object is "0643-0651", the category mark is "foul", the content filtering processing on the first object can include filtering the time mark "0643-0651" and the category mark "foul", and the result of the content filtering processing can be "war mixing-! The forecourt of brazil is entangled with the mexico team and the referee sounds whistle fouls. In this example, since the person who copies the object generally wants to copy only the title of the object, the time stamp and the category stamp are generally only used for prompting and referencing them, filtering the time stamp and the category stamp in the object enables the object to be used without modification after pasting, and thus the production efficiency can be improved.
In this example, if the first object contains a disable word, the disable word in the first object may be filtered out. Wherein, the forbidden words can be determined according to the related technology, and are not described herein. By filtering out forbidden words in the first object, security can be improved.
As an example of this implementation, performing sentence-grouping processing on the first object includes: acquiring paste template content corresponding to a first object; paste template content is added to the first object. For example, if the title template format of a video program (e.g., a variety program) is program name + video title + 6-bit video date, then sentence-making the first object may include adding the program name before the video title and adding the 6-bit video date after the video title. In this example, the paste template content includes a program name and a 6-bit video date. By adding the pasting template content to the first object, the video production efficiency can be improved, and the probability of manual errors can be reduced.
As an example of this implementation, performing content replacement processing on the first object includes: and if the first object contains the word to be replaced, replacing the word to be replaced with the replacement word corresponding to the word to be replaced. In this example, some words need to be uniformly spoken to be output, for example, in a world cup, the same player may have different scales, and the content replacement process can be conveniently and quickly used for realizing uniformity through copy and paste. For example, if a certain to-be-replaced word is "surname a", and the replacement word corresponding to the to-be-replaced word is "first name B, surname a", and if the first object is "surname a is surging behind a defender in a forbidden area," content replacement processing is performed on the first object to "surging behind a defender in the forbidden area of first name B, surname a", where "surname a" is a public name of a certain ball star, and "first name B" is a surname of the ball star.
In step S13, the adjusted first object is pasted.
In the embodiment of the disclosure, when the copy operation for the first object is detected, the first object is copied, when the paste operation is detected, the content of the first object is adjusted to obtain the adjusted first object, and the adjusted first object is pasted, so that the content of the first object can be automatically adjusted, the workload of manually modifying the content is reduced, and the copy and paste efficiency can be improved.
In one possible implementation, the method further includes: acquiring a new request for the shared notepad, wherein the new request comprises identification information corresponding to the shared notepad; and sending the new request to the server so that the server establishes the shared notepad.
As an example of this implementation, the identification information corresponding to the shared notepad may include a number corresponding to the shared notepad. The shared notepad can be uniquely determined by the number corresponding to the shared notepad. For example, the number corresponding to the shared notepad may be the program ID of the program corresponding to the shared notepad, so that a person responsible for the production of the same program may uniquely determine the shared notepad corresponding to the program according to the program ID.
As another example of this implementation, the identification information corresponding to the shared notepad may include a password corresponding to the shared notepad. By setting the password corresponding to the shared notepad, the security of the shared notepad can be improved. For example, in the example shown in FIG. 4, the shared notepad may be uniquely determined by the password to which the shared notepad corresponds.
It should be noted that, although the identification information corresponding to the shared notepad is described above by taking the number and the password corresponding to the shared notepad as examples, those skilled in the art can understand that the disclosure should not be limited thereto. The identification information corresponding to the shared notepad can be flexibly set by a person skilled in the art according to the actual application scene requirement and/or personal preference.
In one possible implementation, the method further includes: obtaining an object addition request for the shared notepad, wherein the object addition request comprises a second object requesting to be added to the shared notepad; an object addition request is sent to the server to cause the server to add the second object to the shared notepad. As shown in fig. 3, a second object to be added to the shared notepad may be input in an input box to the left of the add button. When the adding button is detected to be triggered, if a second object exists in an input box on the left side of the adding button, an object adding request for the sharing notepad is generated according to the second object.
In one possible implementation, the method further includes: acquiring a joining request aiming at the shared notepad, wherein the joining request comprises identification information corresponding to the shared notepad; a join request is sent to the server to obtain permission to view and/or edit the shared notepad. For example, in the example shown in fig. 4, the permission to view and/or edit the shared notepad may be obtained by joining the share with the password corresponding to the shared notepad.
Fig. 5 shows a block diagram of a copy-and-paste apparatus according to an embodiment of the disclosure. As shown in fig. 5, the apparatus includes: a copying module 51 for copying the first object when a copying operation for the first object is detected; the content adjustment module 52 is configured to adjust the content of the first object when the pasting operation is detected, so as to obtain an adjusted first object; and a pasting module 53, configured to paste the adjusted first object.
In one possible implementation, the content adjustment module 52 is configured to: and performing one or more of content filtering processing, sentence grouping processing and content replacing processing on the first object to obtain an adjusted first object.
In one possible implementation, the content adjustment module 52 includes: and the content filtering sub-module is used for filtering one or more of time marks, category marks and forbidden words in the first object.
In one possible implementation, the content adaptation module 52 includes a sentence-grouping processing sub-module for: acquiring paste template content corresponding to a first object; paste template content is added to the first object.
In one possible implementation, the content adjustment module 52 includes: and the content replacement sub-module is used for replacing the word to be replaced with the replacement word corresponding to the word to be replaced if the first object contains the word to be replaced.
In one possible implementation, the copy operation for the first object is a single click operation for the region corresponding to the first object.
In one possible implementation, the first object is an object in a shared notepad, and the device is applied to collaborative editing of the shared notepad.
In one possible implementation, the apparatus further includes: the first acquisition module is used for acquiring a new request aiming at the shared notepad, wherein the new request comprises identification information corresponding to the shared notepad; and the first sending module is used for sending the new request to the server so as to enable the server to establish the shared notepad.
In one possible implementation, the apparatus further includes: a second obtaining module, configured to obtain an object addition request for the shared notepad, where the object addition request includes a second object that is requested to be added to the shared notepad; and the second sending module is used for sending an object adding request to the server so that the server adds the second object to the shared notepad.
In one possible implementation, the apparatus further includes: the third acquisition module is used for acquiring a joining request aiming at the shared notepad, wherein the joining request comprises identification information corresponding to the shared notepad; and the third sending module is used for sending the joining request to the server so as to obtain the authority for viewing and/or editing the shared notepad.
In the embodiment of the disclosure, when the copy operation for the first object is detected, the first object is copied, when the paste operation is detected, the content of the first object is adjusted to obtain the adjusted first object, and the adjusted first object is pasted, so that the content of the first object can be automatically adjusted, the workload of manually modifying the content is reduced, and the copy and paste efficiency can be improved.
Fig. 6 is a block diagram illustrating an apparatus 800 for responsible for pasting, according to an example embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 6, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including computer program instructions executable by processor 820 of apparatus 800 to perform the above-described methods.
Fig. 7 is a block diagram illustrating an apparatus 1900 for responsible for pasting, according to an example embodiment. For example, the apparatus 1900 may be provided as a server. Referring to fig. 7, the apparatus 1900 includes a processing component 1922 that further includes one or more processors and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by the processing component 1922. The application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions. Further, processing component 1922 is configured to execute instructions to perform the methods described above.
The apparatus 1900 may further include a power component 1926 configured to perform power management of the apparatus 1900, a wired or wireless network interface 1950 configured to connect the apparatus 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 1932, including computer program instructions executable by processing component 1922 of apparatus 1900 to perform the above-described methods.
The present disclosure may be a system, method, and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for performing the operations of the present disclosure can be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present disclosure are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information of computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description of the embodiments of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvement of the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (18)

1. A copy-and-paste method, wherein the method is applied to collaborative editing of a shared notepad, and comprises:
copying a first object when a copying operation aiming at the first object is detected, wherein the first object is an object in the shared notepad;
when the pasting operation is detected, performing one or more of content filtering processing, sentence grouping processing and content replacing processing on the first object according to the setting to obtain an adjusted first object;
pasting the adjusted first object.
2. The method of claim 1, wherein performing content filtering processing on the first object comprises:
one or more of a time stamp, a category stamp, and a disable word in the first object are filtered out.
3. The method of claim 1, wherein performing sentence-grouping processing on the first object comprises:
acquiring paste template content corresponding to the first object;
adding the paste template content to the first object.
4. The method of claim 1, wherein performing content replacement processing on the first object comprises:
and if the first object contains the word to be replaced, replacing the word to be replaced with a replacement word corresponding to the word to be replaced.
5. The method of claim 1, wherein the copy operation for the first object is a single click operation for a corresponding region of the first object.
6. The method according to claim 1, wherein the method further comprises:
acquiring a new request for a shared notepad, wherein the new request comprises identification information corresponding to the shared notepad;
and sending the new request to a server so that the server establishes the shared notepad.
7. The method of claim 6, wherein the method further comprises:
obtaining an object addition request for the shared notepad, wherein the object addition request comprises a second object requesting to be added to the shared notepad;
the object addition request is sent to a server to cause the server to add the second object to the shared notepad.
8. The method of claim 6, wherein the method further comprises:
acquiring a joining request aiming at the shared notepad, wherein the joining request comprises identification information corresponding to the shared notepad;
and sending the joining request to a server to obtain the authority of viewing and/or editing the shared notepad.
9. A copy-and-paste apparatus for use in collaborative editing of a shared notepad, comprising:
the copying module is used for copying the first object when the copying operation aiming at the first object is detected, wherein the first object is an object in the shared notepad;
the content adjusting module is used for carrying out one or more of content filtering processing, sentence grouping processing and content replacing processing on the first object according to the setting when the pasting operation is detected, so as to obtain an adjusted first object;
and the pasting module is used for pasting the adjusted first object.
10. The apparatus of claim 9, wherein the content adjustment module comprises:
and the content filtering sub-module is used for filtering one or more of time marks, category marks and forbidden words in the first object.
11. The apparatus of claim 9, wherein the content adaptation module comprises a sentence-grouping processing sub-module for:
acquiring paste template content corresponding to the first object;
adding the paste template content to the first object.
12. The apparatus of claim 9, wherein the content adjustment module comprises:
and the content replacement sub-module is used for replacing the word to be replaced with the replacement word corresponding to the word to be replaced if the first object contains the word to be replaced.
13. The apparatus of claim 9, wherein the copy operation for the first object is a single click operation for a corresponding region of the first object.
14. The apparatus of claim 9, wherein the apparatus further comprises:
the first acquisition module is used for acquiring a new request for the shared notepad, wherein the new request comprises identification information corresponding to the shared notepad;
and the first sending module is used for sending the new request to a server so that the server can establish the shared notepad.
15. The apparatus of claim 14, wherein the apparatus further comprises:
a second obtaining module, configured to obtain an object addition request for the shared notepad, where the object addition request includes a second object that requests to be added to the shared notepad;
and the second sending module is used for sending the object adding request to a server so that the server adds the second object to the shared notepad.
16. The apparatus of claim 14, wherein the apparatus further comprises:
a third obtaining module, configured to obtain a join request for the shared notepad, where the join request includes identification information corresponding to the shared notepad;
and the third sending module is used for sending the joining request to a server so as to obtain the authority for viewing and/or editing the shared notepad.
17. A copy-and-paste apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1 to 8.
18. A non-transitory computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1 to 8.
CN201811481608.5A 2018-12-05 2018-12-05 Copy and paste method, apparatus and storage medium Active CN111273973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811481608.5A CN111273973B (en) 2018-12-05 2018-12-05 Copy and paste method, apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811481608.5A CN111273973B (en) 2018-12-05 2018-12-05 Copy and paste method, apparatus and storage medium

Publications (2)

Publication Number Publication Date
CN111273973A CN111273973A (en) 2020-06-12
CN111273973B true CN111273973B (en) 2024-04-02

Family

ID=70999979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811481608.5A Active CN111273973B (en) 2018-12-05 2018-12-05 Copy and paste method, apparatus and storage medium

Country Status (1)

Country Link
CN (1) CN111273973B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1740955A (en) * 2004-08-26 2006-03-01 京瓷株式会社 Mobile terminal, and computer controlling method and program for use in the same
CN101281539A (en) * 2007-04-06 2008-10-08 道康宁公司 Collaborative workspace
CN101458632A (en) * 2007-12-12 2009-06-17 国际商业机器公司 Data object copy/paste transfer method and device
CN101996165A (en) * 2009-08-28 2011-03-30 中国移动通信集团公司 Copy processing method, device and equipment for webpage information on intelligent terminal
CN103139244A (en) * 2011-11-24 2013-06-05 腾讯科技(深圳)有限公司 Cloud copying and pasting method and system
CN104049841A (en) * 2014-05-16 2014-09-17 可牛网络技术(北京)有限公司 Pasting method and device
CN104899269A (en) * 2015-05-26 2015-09-09 北京金山安全软件有限公司 Method and device for accessing website link
CN105117380A (en) * 2015-09-24 2015-12-02 百度在线网络技术(北京)有限公司 Paste processing method and device
CN105302784A (en) * 2014-07-16 2016-02-03 腾讯科技(深圳)有限公司 Method and system for copying/ cutting and pasting data
CN105843510A (en) * 2016-04-01 2016-08-10 广东欧珀移动通信有限公司 Copy and paste processing method and device as well as terminal device
CN106201746A (en) * 2016-07-21 2016-12-07 东莞酷派软件技术有限公司 A kind of data editing method based on shear plate and device
CN106603823A (en) * 2016-11-28 2017-04-26 努比亚技术有限公司 Content sharing method and device and terminal
CN107229529A (en) * 2017-06-23 2017-10-03 广州神马移动信息科技有限公司 Content of pages copyright information management method, device, computing device and storage medium
CN107589895A (en) * 2017-08-23 2018-01-16 努比亚技术有限公司 Select method, mobile terminal and the computer-readable recording medium of text
CN108228058A (en) * 2018-03-19 2018-06-29 网易(杭州)网络有限公司 Information stickup method and device, electronic equipment, storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8433751B2 (en) * 2005-03-08 2013-04-30 Hewlett-Packard Development Company, L.P. System and method for sharing notes
US20140164506A1 (en) * 2012-12-10 2014-06-12 Rawllin International Inc. Multimedia message having portions of networked media content
US9298689B2 (en) * 2013-05-02 2016-03-29 International Business Machines Corporation Multiple template based search function
CN107291560A (en) * 2016-03-31 2017-10-24 北京三星通信技术研究有限公司 A kind of content of smart machine determines method and apparatus

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1740955A (en) * 2004-08-26 2006-03-01 京瓷株式会社 Mobile terminal, and computer controlling method and program for use in the same
CN101281539A (en) * 2007-04-06 2008-10-08 道康宁公司 Collaborative workspace
CN101458632A (en) * 2007-12-12 2009-06-17 国际商业机器公司 Data object copy/paste transfer method and device
CN101996165A (en) * 2009-08-28 2011-03-30 中国移动通信集团公司 Copy processing method, device and equipment for webpage information on intelligent terminal
CN103139244A (en) * 2011-11-24 2013-06-05 腾讯科技(深圳)有限公司 Cloud copying and pasting method and system
CN104049841A (en) * 2014-05-16 2014-09-17 可牛网络技术(北京)有限公司 Pasting method and device
CN105302784A (en) * 2014-07-16 2016-02-03 腾讯科技(深圳)有限公司 Method and system for copying/ cutting and pasting data
CN104899269A (en) * 2015-05-26 2015-09-09 北京金山安全软件有限公司 Method and device for accessing website link
CN105117380A (en) * 2015-09-24 2015-12-02 百度在线网络技术(北京)有限公司 Paste processing method and device
CN105843510A (en) * 2016-04-01 2016-08-10 广东欧珀移动通信有限公司 Copy and paste processing method and device as well as terminal device
CN106201746A (en) * 2016-07-21 2016-12-07 东莞酷派软件技术有限公司 A kind of data editing method based on shear plate and device
CN106603823A (en) * 2016-11-28 2017-04-26 努比亚技术有限公司 Content sharing method and device and terminal
CN107229529A (en) * 2017-06-23 2017-10-03 广州神马移动信息科技有限公司 Content of pages copyright information management method, device, computing device and storage medium
CN107589895A (en) * 2017-08-23 2018-01-16 努比亚技术有限公司 Select method, mobile terminal and the computer-readable recording medium of text
CN108228058A (en) * 2018-03-19 2018-06-29 网易(杭州)网络有限公司 Information stickup method and device, electronic equipment, storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
笨笨虎 ; .资源共享 Google牌记事本.电脑迷.2006,(第12期),全文. *

Also Published As

Publication number Publication date
CN111273973A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
US10728196B2 (en) Method and storage medium for voice communication
CN106170004B (en) Method and device for processing verification code
EP2922004A1 (en) Method for creating group, method for exiting from group and apparatus
CN108495168B (en) Bullet screen information display method and device
CN105426094B (en) Information pasting method and device
JP2017539101A (en) Image acquisition method and apparatus
CN106126025B (en) Interactive method and device for copying and pasting
CN109947981B (en) Video sharing method and device
CN111554382B (en) Medical image processing method and device, electronic equipment and storage medium
EP3147802A1 (en) Method and apparatus for processing information
EP2950486B1 (en) Method and device for managing instant message
WO2016173246A1 (en) Telephone call method and device based on name card in cloud
US20220391446A1 (en) Method and device for data sharing
CN108174269B (en) Visual audio playing method and device
CN104850643B (en) Picture comparison method and device
US10079787B2 (en) Method and apparatus for creating group and exiting group
CN109992754B (en) Document processing method and device
CN109756783B (en) Poster generation method and device
EP2985697A1 (en) Method and device for controlling router plug-in
CN111273973B (en) Copy and paste method, apparatus and storage medium
CN107241432B (en) Message receiving method and device, electronic equipment and computer storage medium
CN106484261B (en) Information acquisition method and device, information transmission method and device, and terminal
US20150277991A1 (en) Method and terminal device for executing application chain
CN107885746B (en) Page sharing method and device
CN105607958B (en) Information input method and device

Legal Events

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