CN112099969A - Text copying and pasting method, terminal equipment and edge server - Google Patents

Text copying and pasting method, terminal equipment and edge server Download PDF

Info

Publication number
CN112099969A
CN112099969A CN202010916124.XA CN202010916124A CN112099969A CN 112099969 A CN112099969 A CN 112099969A CN 202010916124 A CN202010916124 A CN 202010916124A CN 112099969 A CN112099969 A CN 112099969A
Authority
CN
China
Prior art keywords
text
edge server
user
text content
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010916124.XA
Other languages
Chinese (zh)
Other versions
CN112099969B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010916124.XA priority Critical patent/CN112099969B/en
Publication of CN112099969A publication Critical patent/CN112099969A/en
Application granted granted Critical
Publication of CN112099969B publication Critical patent/CN112099969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The embodiment of the disclosure provides a text copying and pasting method, a terminal device, an edge server, a computer device and a storage medium, wherein the method comprises the following steps: after detecting an event that a user selects and copies a text, the terminal device sends a first storage request to the edge server so that the edge server stores the copied text content under a corresponding text name label in a database of the edge server; if the terminal equipment monitors that a user inputs a preset text name, a query request is sent to the edge server, so that the edge server queries text contents under the same text name label in a database of the edge server, and a query result is returned to the terminal equipment; and the terminal equipment receives the query result sent by the edge server and presents the query result to the user. In the embodiment of the disclosure, the user only needs to select and copy the text content once and store the text content in the edge server, and the required text content can be automatically obtained from the edge server when the text name is input next time, so that the user experience is better.

Description

Text copying and pasting method, terminal equipment and edge server
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a text copy and paste method, a terminal device, an edge server, a computer device, and a computer-readable storage medium.
Background
The smart phone has functions of copying and pasting the text, and when a user presses a segment of text on a screen for a long time, a prompt box appears to provide functions of selecting, copying, pasting and the like. In daily use, many contents are often copied, such as identification numbers (including own and family), home addresses, unit addresses, postcodes, telephone numbers, and common names in some chat processes. The common texts need to be copied and pasted after being selected at corresponding positions for use each time. Although the existing scheme can be used for pasting multiple positions by copying once, the selection and copying operation needs to be carried out at the corresponding position, and the user experience is poor.
Therefore, it is an urgent problem to provide a scheme for selecting and copying without going to a corresponding location each time when a text needs to be pasted.
Disclosure of Invention
The present disclosure has been made to at least partially solve the technical problems occurring in the prior art.
According to an aspect of the embodiments of the present disclosure, there is provided a text copy and paste method, the method including:
after detecting an event that a user selects and copies a text, the terminal device sends a first storage request to the edge server, wherein the first storage request carries copied text content, so that the edge server stores the copied text content under a corresponding text name tag in a database of the edge server;
the method comprises the steps that a terminal device monitors user input, if the fact that a preset text name is input by a user is monitored, a query request is sent to an edge server, the monitored text name is carried in the query request, so that the edge server queries text contents under the same text name label in a database of the edge server, and a query result is returned to the terminal device; and the number of the first and second groups,
and the terminal equipment receives the query result sent by the edge server and presents the query result to the user.
According to another aspect of the embodiments of the present disclosure, there is provided a text copy pasting method, the method including:
the method comprises the steps that an edge server receives a first storage request sent by a terminal device after detecting an event that a user selects and copies a text, wherein the first storage request carries copied text content;
the edge server stores the copied text content under a corresponding text name label in a database of the edge server;
the method comprises the steps that an edge server receives a query request sent by a terminal device when the terminal device monitors that a preset text name is input by a user, wherein the query request carries the monitored text name; and the number of the first and second groups,
and the edge server inquires the text content under the text name label which is the same as the monitored text name in the database of the edge server, and returns the inquiry result to the terminal equipment so that the terminal equipment receives the inquiry result and then presents the inquiry result to the user.
According to still another aspect of the embodiments of the present disclosure, there is provided a terminal device, including:
the detection module is arranged for sending a first storage request to the edge server after detecting an event that a user selects and copies a text, wherein the first storage request carries copied text content, so that the edge server stores the copied text content under a corresponding text name label in a database of the edge server;
the monitoring module is set to monitor user input, and if the preset text name input by the user is monitored, a query request is sent to the edge server, wherein the query request carries the monitored text name, so that the edge server queries the text content under the same text name label in a database of the edge server, and returns a query result to the terminal equipment;
the first receiving module is used for receiving the query result sent by the edge server; and the number of the first and second groups,
a display module configured to present the query result to a user.
According to still another aspect of the embodiments of the present disclosure, there is provided an edge server, including:
the second receiving module is arranged for receiving a first storage request sent by the terminal equipment after detecting an event that a user selects and copies a text, wherein the first storage request carries copied text content;
the storage module is used for storing the copied text content under the corresponding text name label in the database;
the second receiving module is further configured to receive a query request sent by the terminal device when the terminal device monitors that a preset text name is input by a user, wherein the query request carries the monitored text name; and the number of the first and second groups,
and the query module is configured to query the text content under the text name label which is the same as the monitored text name in the database, and return a query result to the terminal equipment so that the terminal equipment receives the query result and then presents the query result to the user.
According to a further aspect of the embodiments of the present disclosure, there is provided a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the foregoing text copy and paste method.
According to a further aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the processor executes the aforementioned text copy and paste method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the text copying and pasting method provided by the embodiment of the disclosure, a user only needs to select and copy the text content once and store the text content in the edge server, and the required text content can be automatically obtained from the edge server when the text name is input next time, without needing to go to the corresponding position for selection and copying operation every time, so that the user experience is better.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the disclosure. The objectives and other advantages of the disclosure may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosed embodiments and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the example serve to explain the principles of the disclosure and not to limit the disclosure.
Fig. 1 is a schematic flowchart of a text copy and paste method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another text copy and paste method provided in the embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another text copy and paste method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a terminal device provided in the embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an edge server provided in an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of a text copy and paste system according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a computer device provided in an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, specific embodiments of the present disclosure are described below in detail with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order; also, the embodiments and features of the embodiments in the present disclosure may be arbitrarily combined with each other without conflict.
Fig. 1 is a schematic flowchart of a text copy and paste method according to an embodiment of the present disclosure. As shown in fig. 1, the method includes the following steps S101 to S103.
S101, after detecting an event that a user selects and copies a text, a terminal device sends a first storage request to an edge server, wherein the first storage request carries copied text content, so that the edge server stores the copied text content under a corresponding text name label in a database of the edge server;
s102, the terminal equipment monitors user input, if the preset text name input by the user is monitored, a query request is sent to the edge server, the monitored text name is carried in the query request, so that the edge server queries text contents under the same text name label in a database of the edge server, and a query result is returned to the terminal equipment;
and S103, the terminal equipment receives the query result sent by the edge server and presents the query result to the user.
The terminal equipment can be portable computer equipment such as a smart phone, a tablet computer and a notebook computer.
In step S101, after detecting the event that the user selects and copies the text, the terminal device may also store the copied text content as required, for example, in a specially established storage module.
In step S102, when monitoring the user input, the terminal device mainly monitors whether the user inputs a preset text name, and only when monitoring the preset text name, sends a query request to the edge server. The preset text name may be set by a person skilled in the art according to actual requirements, and may be, for example, an identification number, a home address, a unit address, a zip code, a telephone number, and a common name in a chat process, and the disclosure is not limited thereto, and other text names required by a user should also be within the scope of the disclosure. Moreover, the text name corresponds to the text content, for example, the text name "identity card number" corresponds to eighteen-digit identity card number, the text name "mobile phone number" corresponds to eleven-digit mobile phone number, the text name "unit address" corresponds to the specific location of the working unit, and so on.
In the embodiment of the disclosure, the user only needs to select and copy the text content once and store the text content in the edge server, and the required text content can be automatically obtained from the edge server when the text name is input next time, without needing to go to the corresponding position for selection and copy operation every time, so that the user experience is better.
In a specific implementation manner, if the query result returned by the edge server includes more than one text content, the step S103 of presenting, by the terminal device, the query result to the user specifically includes:
and the terminal equipment presents each text content in the query result to the user in an option mode for the user to select.
In the embodiment of the disclosure, since a plurality of corresponding text contents may be stored under the same text name tag, for example, 18 id numbers of a plurality of people may be stored under the "id number" tag, a plurality of text contents exist in the query result, and the terminal device presents each text content in the query result to the user in the form of an option, so as to facilitate the user to select.
In a specific embodiment, after step S103, the following steps S104 to S105 are further included.
S104, the terminal equipment judges whether the user selects one text content in the query result, if not, the step S105 is executed; if the user selects the input content, jumping out of the current step, returning to the step S102, and continuously monitoring the subsequent input content of the user by the terminal equipment;
and S105, the terminal equipment receives the text content which is subsequently input by the user and corresponds to the text name which is monitored before, and uploads the text content and the text name which is subsequently input by the user and corresponds to the text name which is monitored before to the edge server together, so that the edge server stores the text content which is subsequently input by the user and corresponds to the text name which is monitored before to a text name label which is the same as the text name which is monitored before in a database of the edge server.
In the embodiment of the disclosure, the terminal device presents each item of text content in the query result to the user in the form of an option, if the user does not select the option, it is indicated that the query result does not include the text content required by the user, the user can input or copy and paste the required text content by himself from another place, and the terminal device receives the required text content input by the user or copied and pasted from another place, uploads the required text content to the edge server together with the corresponding text name (i.e. the text name monitored before), and stores the required text content by the edge server so as to be called again when the user needs the next time.
Fig. 2 is a schematic flowchart of another text copy and paste method according to an embodiment of the present disclosure. As shown in fig. 2, the method includes the following steps S201 to S204.
S201, an edge server receives a first storage request sent by a terminal device after detecting an event that a user selects and copies a text, wherein the first storage request carries copied text content;
s202, the edge server stores the copied text content to a corresponding text name label in a database of the edge server;
s203, the edge server receives a query request sent by the terminal equipment when the terminal equipment monitors that a preset text name is input by a user, wherein the query request carries the monitored text name;
and S204, the edge server inquires text content under the text name label which is the same as the monitored text name in a database of the edge server, and returns an inquiry result to the terminal equipment so that the terminal equipment can present the inquiry result to a user after receiving the inquiry result.
In the embodiment of the disclosure, the user only needs to select and copy the text content once and store the text content in the edge server, and the required text content can be automatically obtained from the edge server when the text name is input next time, without needing to go to the corresponding position for selection and copy operation every time, so that the user experience is better. Moreover, the edge server stores the copied text content of the user (namely the user common text), thereby reducing the burden of the terminal equipment.
In one embodiment, step S202 includes the following steps S2021 to S2024.
S2021, the edge server identifies the copied text content to identify a corresponding text name;
s2022, the edge server checks whether the corresponding text name label exists in a database of the edge server, and if the corresponding text name label exists, the step S2023 is executed; if the corresponding text name tag does not exist, executing step S2024;
s2023, the edge server continuously checks whether the text content same as the copied text content is stored under the corresponding text name label in the database, if the text content is the same, the count value of the text content is increased by 1, and if the text content is not the same, the copied text content is stored under the corresponding text name label and is counted as a preset initial value;
and S2024, the edge server adds the corresponding text name label in a database thereof, stores the copied text content under the added text name label, and counts the copied text content as a preset initial value.
Wherein the preset initial value may be set to 1. Each text name tag in the database may correspond to a data table, and the text content corresponding to the text name and its count value may be stored in the data table.
In the embodiment of the present disclosure, the edge server stores the copied text content in the database under the corresponding text name tag, and also counts the text content appearing many times in an accumulated manner, that is, the edge server increments the count by 1 every time the same text content is stored, and the larger the count value is, the higher the frequency of the text content being used is, the closer the result is to the result desired by the user.
Since the foregoing has been counted for the text content stored in the database, in a specific embodiment, the query result returned by the edge server to the terminal device in step S204 includes: and the text contents under the text name label which is the same as the monitored text name and the count value of each text content are displayed to the user in an option form after the terminal equipment receives the query result and sorts the text contents in the query result according to the sequence of the count values from large to small, so that the user can select the text contents.
In the embodiment of the present disclosure, since the query result returned to the terminal device by the edge server includes each text content under the text name label that is the same as the monitored text name, and the count value of each text content, when the terminal device presents the query result to the user, each text content in the query result can be sorted in the order of the count value from large to small (which is equivalent to sorting according to the number of times of use), and then presented to the user in the form of an option, so that the user can make a corresponding selection according to the own requirement, thereby facilitating the editing of the user, and improving the user experience.
In a specific embodiment, after step S204, the following steps S205 and S206 are further included.
S205, the edge server receives a second storage request sent by the terminal equipment after judging that the user selects one text content in the query result, wherein the second storage request carries the text content selected by the user and a corresponding text name;
s206, the edge server adds 1 to the count value of the text content which is the same as the text content selected by the user under the text name label which is the same as the text name carried in the second storage request in the database.
In the embodiment of the present disclosure, after the terminal device presents the query result to the user, if the query result includes text content required by the user, the user may make a selection, and after receiving the selection made by the user, the terminal device may send the text content selected by the user and the text name corresponding to the text content to the edge server, and then the edge server adds 1 to a count value of the text content in the database, which is the same as the text content selected by the user.
In a specific embodiment, after step S204, the following steps S207 and S208 are further included.
S207, the edge server receiving terminal device sends the previously monitored text name and the corresponding text content subsequently input by the user to the edge server receiving terminal device after judging that the user does not select one text content in the query result and receiving the text content subsequently input by the user and corresponding to the previously monitored text name;
and S208, the edge server stores the text content subsequently input by the user to a database under a text name label which is the same as the previously monitored text name, and counts the text content to be a preset initial value.
In the embodiment of the disclosure, after the terminal device presents the query result to the user, if the query result does not include the text content required by the user, and the user cannot make a selection, the user may input or copy and paste the required text content by himself from another place, and after the terminal device receives the required text content input by the user or copied and pasted from another place, the required text content and the corresponding text name (i.e., the text name monitored before) are uploaded to the edge server, and the edge server counts the text content uploaded by the user to be a preset initial value while storing the text content uploaded by the user.
The following takes the text name "identity card number" and the corresponding text content is an eighteen-digit identity card number as an example, and details a detailed flow of the text copy and paste method of the present disclosure are described, specifically referring to fig. 3. Fig. 3 is a schematic flowchart of another text copy and paste method according to an embodiment of the present disclosure. As shown in fig. 3, the method includes the following steps S301 to S312.
S301, when a user selects to copy eighteen identity card numbers, after detecting the event, the terminal equipment sends a first storage request to the edge server, wherein the first storage request carries the copied eighteen identity card numbers;
s302, the edge server identifies the eighteen copied identity card numbers sent by the terminal equipment to identify the corresponding text names of the eighteen copied identity card numbers, then checks whether the database of the edge server has an identity card number label, and executes the step S303 if the database of the edge server has the identity card number label; if the ID card number label does not exist, executing the step S304;
s303, the edge server continuously checks whether a number which is the same as the copied eighteen identity card numbers is stored under the identity card number label in the database, if so, the count value of the same number is added with 1, and if not, the copied eighteen identity card numbers are stored under the identity card number label and are counted as 1;
s304, the edge server adds an 'identity card number' label to a database thereof, then stores the copied eighteen identity card numbers under the added 'identity card number' label, and counts the number to 1;
s305, when the terminal equipment monitors that a user inputs the character of 'identity card number', sending a query request to an edge server, wherein the query request carries a text name of 'identity card number' as a content to be queried;
s306, after receiving the query request, the edge server queries each text content under the 'identity card number' label in the database, namely eighteen-bit identity card numbers and the count value of each eighteen-bit identity card number, and returns the two as query results to the terminal equipment;
s307, after receiving the query result, the terminal equipment sorts the identification numbers of each eighteen bits in the query result according to the sequence of the counting values from large to small, and then presents the identification numbers to a user in an option form for the user to select;
s308, the terminal equipment judges whether the user selects an identification number of eighteen bits in the query result, if the user selects the identification number, the step S309 is executed, and if the user does not select the identification number, the step S311 is executed;
s309, the terminal equipment sends a second storage request to the edge server, wherein the second storage request carries the eighteen-bit identity card numbers selected by the user and the corresponding text name 'identity card number';
s310, the edge server adds 1 to the count value of the number under the 'identity card number' label in the database, wherein the number is the same as the number of the eighteen selected identity cards of the user;
s311, the terminal equipment receives eighteen identity card numbers input by the user subsequently, and uploads the eighteen identity card numbers input by the user and the text name 'identity card number' to an edge server together;
s312, the edge server stores the eighteen ID numbers input by the user under the ID number label in the database, and counts the number to 1.
It should be noted that, when the edge server receives the data sent by the terminal device, it needs to analyze the data first to analyze the text content and then perform subsequent operations; when the terminal equipment receives the data sent by the edge server, the data needs to be analyzed first so as to analyze the text content and then perform subsequent operations.
The text copying and pasting method provided by the embodiment of the disclosure provides a scheme that pasting contents are automatically provided according to user requirements and use conditions without needing to go to corresponding positions for selection and copying operation each time, and can count common texts of users, thereby improving user experience of terminal equipment; and moreover, the edge server is used for storing the user common texts, so that the burden of the terminal equipment is reduced.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure. As shown in fig. 4, the terminal device 4 includes: a detection module 41, a listening module 42, a first receiving module 43 and a display module 44.
The detection module 41 is configured to send a first storage request to the edge server after detecting an event that a user selects and copies a text, where the first storage request carries copied text content, so that the edge server stores the copied text content under a corresponding text name tag in a database of the edge server; the monitoring module 42 is configured to monitor user input, and if it is monitored that a preset text name is input by a user, send a query request to the edge server, where the query request carries the monitored text name, so that the edge server queries text content under the same text name tag in its database, and returns a query result to the terminal device; the first receiving module 43 is configured to receive the query result sent by the edge server; the display module 44 is configured to present the query results to the user.
In a specific embodiment, if the query result returned by the edge server to the terminal device includes more than one text content, the display module 44 is specifically configured to present each text content in the query result to the user in the form of an option for the user to select.
In a specific embodiment, the terminal device 4 further includes: and a decision block 45.
The decision module 45 is arranged to decide whether the user has selected one of the text contents of the query result. The first receiving module 43 is further configured to, when the determining module 45 determines that the user does not select one text content in the query result, receive a text content corresponding to the previously monitored text name and subsequently input by the user, and upload the text content and the previously monitored text name to the edge server together, so that the edge server stores the text content corresponding to the previously monitored text name and subsequently input by the user under a text name tag in a database of the edge server, where the text name tag is the same as the previously monitored text name.
According to the terminal device provided by the embodiment of the disclosure, the text content selected and copied by the user is stored in the edge server, and the required text content is automatically acquired from the edge server when the user inputs the text name next time without going to the corresponding position for selection and copy operation every time, so that the user experience is better.
Fig. 5 is a schematic structural diagram of an edge server according to an embodiment of the present disclosure. As shown in fig. 5, the edge server 5 includes: a second receiving module 51, a storing module 52 and a querying module 53.
The second receiving module 51 is configured to receive a first storage request sent by the terminal device after detecting an event that the user selects and copies a text, where the first storage request carries a copied text content; the storage module 52 is configured to store the copied text content under a corresponding text name tag in its database; the second receiving module 51 is further configured to receive a query request sent by the terminal device when the terminal device monitors that a preset text name is input by the user, where the query request carries the monitored text name; the query module 53 is configured to query the text content under the text name tag in the database, which is the same as the monitored text name, and return the query result to the terminal device, so that the terminal device receives the query result and then presents the query result to the user.
In a specific embodiment, the storage module 52 is specifically configured to:
identifying the copied text content to identify a corresponding text name;
checking whether the corresponding text name tag exists in a database of the mobile terminal;
if the corresponding text name label exists, continuously checking whether the text content which is the same as the copied text content is stored under the corresponding text name label in the database, if so, adding 1 to the count value of the same text content, if not, storing the copied text content under the corresponding text name label, and counting the copied text content to be a preset initial value;
and if the corresponding text name label does not exist, adding the corresponding text name label into a database of the text name label, then storing the copied text content under the added text name label, and counting the copied text content as a preset initial value.
In a specific embodiment, the query result returned by the query module 53 to the terminal device includes: and the text contents under the text name label which is the same as the monitored text name and the count value of each text content are displayed to the user in an option form after the terminal equipment receives the query result and sorts the text contents in the query result according to the sequence of the count values from large to small, so that the user can select the text contents.
In a specific embodiment, the second receiving module 51 is further configured to receive a second storage request sent by the terminal device after determining that the user has selected one text content in the query result, where the second storage request carries the text content selected by the user and a corresponding text name; the storage module 52 is further configured to store the text content selected by the user under the corresponding text name label in the database, and add 1 to the count value.
In a specific embodiment, the second receiving module 51 is further configured to, after determining that the user does not select one text content in the query result and receiving a text content corresponding to the text name that is subsequently input by the user and is monitored before, send the text name that is monitored before and the text content that is subsequently input by the user to the receiving terminal device; the storage module 52 is further configured to store the text content subsequently input by the user under the same text name label as the previously monitored text name in the database, and count the text content to a preset initial value.
According to the edge server provided by the embodiment of the disclosure, a user only needs to select and copy the text content once and store the text content in the edge server, and the required text content can be automatically obtained from the edge server when the text name is input next time, without needing to go to a corresponding position for selection and copy operation every time, so that the user experience is better. Moreover, the edge server stores the copied text content of the user (namely the user common text), thereby reducing the burden of the terminal equipment.
Fig. 6 is a schematic structural diagram of a text copy and paste system according to an embodiment of the present disclosure. As shown in fig. 6, the system includes a terminal device 4 and an edge server 5. Since the terminal device 4 and the edge server 5 have been described in detail in the foregoing, they will not be described in detail here.
Based on the same technical concept, the embodiment of the present disclosure correspondingly provides a computer device, as shown in fig. 7, where the computer device 7 includes a memory 71 and a processor 72, the memory 71 stores a computer program, and when the processor 72 runs the computer program stored in the memory 71, the processor 72 executes the foregoing text copy and paste method.
Based on the same technical concept, embodiments of the present disclosure correspondingly provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the processor executes the foregoing text copy and paste method.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, 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 as known to those skilled in the art.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present disclosure, and not for limiting the same; while the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present disclosure.

Claims (12)

1. A method for copy-and-paste of text, comprising:
after detecting an event that a user selects and copies a text, the terminal device sends a first storage request to the edge server, wherein the first storage request carries copied text content, so that the edge server stores the copied text content under a corresponding text name tag in a database of the edge server;
the method comprises the steps that a terminal device monitors user input, if the fact that a preset text name is input by a user is monitored, a query request is sent to an edge server, the monitored text name is carried in the query request, so that the edge server queries text contents under the same text name label in a database of the edge server, and a query result is returned to the terminal device; and the number of the first and second groups,
and the terminal equipment receives the query result sent by the edge server and presents the query result to the user.
2. The method according to claim 1, wherein if the query result includes more than one text content, the terminal device presents the query result to the user specifically as:
and the terminal equipment presents each text content in the query result to the user in an option mode for the user to select.
3. The method of claim 2, further comprising:
the terminal equipment judges whether the user selects one text content in the query result;
if not, the terminal equipment receives the text content which is subsequently input by the user and corresponds to the text name which is monitored before, and uploads the text content and the text name which is subsequently input by the user and corresponds to the text name which is monitored before to the edge server, so that the edge server stores the text content which is subsequently input by the user and corresponds to the text name which is monitored before to a text name label which is the same as the text name which is monitored before in a database.
4. A method for copy-and-paste of text, comprising:
the method comprises the steps that an edge server receives a first storage request sent by a terminal device after detecting an event that a user selects and copies a text, wherein the first storage request carries copied text content;
the edge server stores the copied text content under a corresponding text name label in a database of the edge server;
the method comprises the steps that an edge server receives a query request sent by a terminal device when the terminal device monitors that a preset text name is input by a user, wherein the query request carries the monitored text name; and the number of the first and second groups,
and the edge server inquires the text content under the text name label which is the same as the monitored text name in the database of the edge server, and returns the inquiry result to the terminal equipment so that the terminal equipment receives the inquiry result and then presents the inquiry result to the user.
5. The method of claim 4, wherein the edge server stores the copied text content under a corresponding text name tag in its database, comprising:
the edge server identifies the copied text content to identify a corresponding text name;
the edge server checks whether the corresponding text name label exists in a database of the edge server;
if the corresponding text name label exists, the edge server continuously checks whether the text content which is the same as the copied text content is stored under the corresponding text name label in the database, if the text content exists, the count value of the same text content is increased by 1, if the text content does not exist, the copied text content is stored under the corresponding text name label, and the count value is a preset initial value;
and if the corresponding text name label does not exist, the edge server adds the corresponding text name label in a database thereof, then stores the copied text content under the added text name label, and counts the copied text content as a preset initial value.
6. The method of claim 5, wherein the query result returned by the edge server to the terminal device comprises: and the text contents under the text name label which is the same as the monitored text name and the count value of each text content are displayed to the user in an option form after the terminal equipment receives the query result and sorts the text contents in the query result according to the sequence of the count values from large to small, so that the user can select the text contents.
7. The method of claim 6, further comprising:
the edge server receives a second storage request sent by the terminal equipment after judging that the user selects one text content in the query result, wherein the second storage request carries the text content selected by the user and a corresponding text name; and the number of the first and second groups,
and the edge server adds 1 to the count value of the text content which is the same as the text content selected by the user under the text name label which is the same as the text name carried in the second storage request in the database.
8. The method of claim 6, further comprising:
after judging that the user does not select one text content in the query result and receiving the text content corresponding to the previously monitored text name and subsequently input by the user, the edge server receiving terminal device sends the previously monitored text name and the corresponding text content subsequently input by the user to the edge server receiving terminal device; and the number of the first and second groups,
and the edge server stores the text content subsequently input by the user to a text name label which is the same as the previously monitored text name in a database of the edge server, and counts the text content to be a preset initial value.
9. A terminal device, comprising:
the detection module is arranged for sending a first storage request to the edge server after detecting an event that a user selects and copies a text, wherein the first storage request carries copied text content, so that the edge server stores the copied text content under a corresponding text name label in a database of the edge server;
the monitoring module is set to monitor user input, and if the preset text name input by the user is monitored, a query request is sent to the edge server, wherein the query request carries the monitored text name, so that the edge server queries the text content under the same text name label in a database of the edge server, and returns a query result to the terminal equipment;
the first receiving module is used for receiving the query result sent by the edge server; and the number of the first and second groups,
a display module configured to present the query result to a user.
10. An edge server, comprising:
the second receiving module is arranged for receiving a first storage request sent by the terminal equipment after detecting an event that a user selects and copies a text, wherein the first storage request carries copied text content;
the storage module is used for storing the copied text content under the corresponding text name label in the database;
the second receiving module is further configured to receive a query request sent by the terminal device when the terminal device monitors that a preset text name is input by a user, wherein the query request carries the monitored text name; and the number of the first and second groups,
and the query module is configured to query the text content under the text name label which is the same as the monitored text name in the database, and return a query result to the terminal equipment so that the terminal equipment receives the query result and then presents the query result to the user.
11. A computer device comprising a memory and a processor, wherein the memory stores therein a computer program, and when the processor runs the computer program stored in the memory, the processor executes the text copy and paste method according to any one of claims 1 to 3, or the text copy and paste method according to any one of claims 4 to 8.
12. A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, executes the text copy pasting method according to any one of claims 1 to 3, or the text copy pasting method according to any one of claims 4 to 8.
CN202010916124.XA 2020-09-03 2020-09-03 Text copying and pasting method, terminal equipment and edge server Active CN112099969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010916124.XA CN112099969B (en) 2020-09-03 2020-09-03 Text copying and pasting method, terminal equipment and edge server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010916124.XA CN112099969B (en) 2020-09-03 2020-09-03 Text copying and pasting method, terminal equipment and edge server

Publications (2)

Publication Number Publication Date
CN112099969A true CN112099969A (en) 2020-12-18
CN112099969B CN112099969B (en) 2023-06-27

Family

ID=73757180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010916124.XA Active CN112099969B (en) 2020-09-03 2020-09-03 Text copying and pasting method, terminal equipment and edge server

Country Status (1)

Country Link
CN (1) CN112099969B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008186217A (en) * 2007-01-30 2008-08-14 Kyocera Mita Corp Paste command system
CN103139244A (en) * 2011-11-24 2013-06-05 腾讯科技(深圳)有限公司 Cloud copying and pasting method and system
CN103425395A (en) * 2013-08-29 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Text copying method and mobile terminal
CN105426094A (en) * 2015-10-28 2016-03-23 小米科技有限责任公司 Information pasting method and apparatus
CN106033407A (en) * 2015-03-19 2016-10-19 珠海金山办公软件有限公司 Data paste method and device
CN107643923A (en) * 2017-09-06 2018-01-30 维沃移动通信有限公司 The processing method and mobile terminal of Copy Info
CN107765958A (en) * 2017-10-30 2018-03-06 中国联合网络通信集团有限公司 One kind replicates method of attaching and system and user terminal
CN109343980A (en) * 2018-09-29 2019-02-15 广州视源电子科技股份有限公司 Cloud copy/paste method, apparatus, system and equipment and storage medium
US20190213249A1 (en) * 2018-01-05 2019-07-11 International Business Machines Corporation Intelligent Copy and Paste
CN110008043A (en) * 2019-04-09 2019-07-12 中国联合网络通信集团有限公司 Method of attaching and affixing system
CN110018762A (en) * 2019-03-15 2019-07-16 维沃移动通信有限公司 A kind of text clone method and mobile terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008186217A (en) * 2007-01-30 2008-08-14 Kyocera Mita Corp Paste command system
CN103139244A (en) * 2011-11-24 2013-06-05 腾讯科技(深圳)有限公司 Cloud copying and pasting method and system
CN103425395A (en) * 2013-08-29 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Text copying method and mobile terminal
CN106033407A (en) * 2015-03-19 2016-10-19 珠海金山办公软件有限公司 Data paste method and device
CN105426094A (en) * 2015-10-28 2016-03-23 小米科技有限责任公司 Information pasting method and apparatus
CN107643923A (en) * 2017-09-06 2018-01-30 维沃移动通信有限公司 The processing method and mobile terminal of Copy Info
CN107765958A (en) * 2017-10-30 2018-03-06 中国联合网络通信集团有限公司 One kind replicates method of attaching and system and user terminal
US20190213249A1 (en) * 2018-01-05 2019-07-11 International Business Machines Corporation Intelligent Copy and Paste
CN109343980A (en) * 2018-09-29 2019-02-15 广州视源电子科技股份有限公司 Cloud copy/paste method, apparatus, system and equipment and storage medium
CN110018762A (en) * 2019-03-15 2019-07-16 维沃移动通信有限公司 A kind of text clone method and mobile terminal
CN110008043A (en) * 2019-04-09 2019-07-12 中国联合网络通信集团有限公司 Method of attaching and affixing system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ANIL DADA WARBHE 等: "A Survey on Keypoint Based Copy-paste Forgery Detection Techniques", 《PROCEDIA COMPUTER SCIENCE》, pages 61 - 67 *
麻会东 等: "基于提取关键词的中文文档复制检测研究", 《计算机工程与科学》, pages 63 - 64 *

Also Published As

Publication number Publication date
CN112099969B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
US11023533B2 (en) Node task data display method and apparatus, storage medium and computer equipment
CN113704243A (en) Data analysis method, data analysis device, computer device, and storage medium
CN103548016A (en) Dynamic rule reordering for message classification
CN110392155B (en) Notification message display and processing method, device and equipment
CN110135590B (en) Information processing method, information processing apparatus, information processing medium, and electronic device
CN112860997A (en) Medical resource recommendation method, device, equipment and storage medium
CN109918984A (en) Insurance policy number identification method, device, electronic equipment and storage medium
CN113505272B (en) Control method and device based on behavior habit, electronic equipment and storage medium
CN105991722B (en) Downloader recommendation method, application server, terminal and system
CN111651595A (en) Abnormal log processing method and device
CN105516444A (en) Short message display method and mobile terminal
CN106227483B (en) Display control method and mobile terminal
CN102568049B (en) Method, device and system for sending student card reading data
CN111259207A (en) Short message identification method, device and equipment
CN112860416A (en) Annotating task assignment strategy method and device
CN104182416A (en) File downloading system and method
CN113568934A (en) Data query method and device, electronic equipment and storage medium
CN111737443A (en) Answer text processing method and device and key text determining method
CN112036579A (en) Self-learning online updating method, system and device for multi-classification model
CN112099969B (en) Text copying and pasting method, terminal equipment and edge server
CN108810916B (en) Wi-Fi hotspot recommendation method and device and storage medium
CN111553749A (en) Activity push strategy configuration method and device
CN108268545B (en) Method and device for establishing hierarchical user label library
CN113595884B (en) Message reminding method and application terminal
CN115080504A (en) File management method, terminal and storage medium

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