CN113703593A - Equipment interactive communication method, device and storage medium - Google Patents

Equipment interactive communication method, device and storage medium Download PDF

Info

Publication number
CN113703593A
CN113703593A CN202111279283.4A CN202111279283A CN113703593A CN 113703593 A CN113703593 A CN 113703593A CN 202111279283 A CN202111279283 A CN 202111279283A CN 113703593 A CN113703593 A CN 113703593A
Authority
CN
China
Prior art keywords
user
characters
information
prediction information
keyword
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111279283.4A
Other languages
Chinese (zh)
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.)
Xuzhou Zhengda Photoelectric Co ltd
Original Assignee
Xuzhou Zhengda Photoelectric 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 Xuzhou Zhengda Photoelectric Co ltd filed Critical Xuzhou Zhengda Photoelectric Co ltd
Priority to CN202111279283.4A priority Critical patent/CN113703593A/en
Publication of CN113703593A publication Critical patent/CN113703593A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Abstract

The invention provides a device interactive communication method, a device and a storage medium, which relate to the interactive technology and are characterized in that whether preset characters are contained in editing information of a user is detected; if yes, detecting characters input by a user behind the preset characters in real time, and taking the characters as keywords; based on the keywords, carrying out retrieval processing on the text information of the user side to obtain all prediction information in the text information, wherein the prediction information comprises the keywords and a plurality of characters in front of the keywords; the technical scheme that all the prediction information is sent to the user side for display, the selection operation of the user on one prediction information is received, and the cursor is positioned behind the keyword of the prediction information is achieved, so that the problems that the user cannot accurately move the cursor to the target position, the user operation is inconvenient, and the user experience is poor are solved, and the user experience is improved.

Description

Equipment interactive communication method, device and storage medium
Technical Field
The present invention relates to interactive technologies, and in particular, to a device interactive communication method, apparatus, and storage medium.
Background
Currently, users of communication devices are increasing, and large-screen, touch-controlled electronic devices for interactive communication are becoming popular.
Taking a mobile terminal as an example, a large-screen touch mobile terminal has been developed to enable a user to acquire more information more conveniently. However, as the number of hard keys of a large-screen touch mobile terminal is reduced, operations such as control of an operation prompt identifier of a cursor, invocation of a function of the mobile terminal, and the like become inconvenient.
For example, in an existing touch mobile terminal, when a user edits or operates a content, for example, delete, paste copy, etc., the user often needs to click a corresponding position on the touch mobile terminal with a finger to move a cursor to a designated position to implement the operation. However, when the content displayed by the touch mobile terminal is more and the text is smaller, the accuracy of the finger operation is poor, and the cursor cannot be accurately moved to the target position, so that the user operation is inconvenient and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides a device interactive communication method, a device and a storage medium, which solve the problems that a user cannot accurately move a cursor to a target position, the user operation is inconvenient, and the user experience is poor, and improve the user experience.
In a first aspect of embodiments of the present invention, a device interaction communication method is provided, including:
detecting whether the editing information of the user contains preset characters;
if yes, detecting characters input by a user behind the preset characters in real time, and taking the characters as keywords;
based on the keywords, carrying out retrieval processing on the text information of the user side to obtain all prediction information in the text information, wherein the prediction information comprises the keywords and a plurality of characters in front of the keywords;
and sending all the prediction information to a user side for display, receiving the selection operation of the user on one prediction information, and positioning the cursor behind the keyword of the prediction information.
Optionally, in a possible implementation manner of the first aspect, sending the prediction information to a user side for display includes:
and sending the prediction information to a user side, and displaying the prediction information by the user side based on a preset rule.
Optionally, in a possible implementation manner of the first aspect, the preset rule is that different pieces of prediction information are displayed in an up-to-down arrangement based on a front-to-back order of the prediction information in the text information.
Optionally, in a possible implementation manner of the first aspect, based on the keyword, the text information of the user side is retrieved, and all prediction information in the text information is obtained, including:
taking the keyword as a reference, and acquiring a plurality of characters in front of the keyword;
and splicing the characters and the keywords to obtain the prediction information.
Optionally, in a possible implementation manner of the first aspect, the obtaining a plurality of characters before the keyword includes:
at least 5 characters preceding the keyword are obtained.
Optionally, in a possible implementation manner of the first aspect, the obtaining a plurality of characters before the keyword includes:
the 10 characters preceding the keyword are obtained.
Optionally, in a possible implementation manner of the first aspect, detecting whether the editing information of the user contains a preset character includes:
and traversing the editing information of the user by using the preset characters, and judging whether the editing information contains the preset characters.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
and receiving the clicking operation of the user on the preset characters in the editing information, and adding the preset characters into the editing information.
In a second aspect of the embodiments of the present invention, an apparatus for device-to-device communication is provided, including:
the judging module is used for detecting whether the editing information of the user contains preset characters;
the detection module is used for detecting the character input by the user behind the preset character in real time if the character exists, and taking the character as a keyword;
the prediction module is used for retrieving and processing the text information of the user side based on the keywords and acquiring all prediction information in the text information, wherein the prediction information comprises the keywords and a plurality of characters in front of the keywords;
and the positioning module is used for sending all the prediction information to a user side for displaying, receiving the selection operation of the user on one prediction information, and positioning the cursor behind the keyword of the prediction information.
In a third aspect of the embodiments of the present invention, an apparatus for device-to-device communication is provided, including: memory, a processor and a computer program, the computer program being stored in the memory, the processor running the computer program to perform the first aspect of the invention and the various possible methods involved in the first aspect of the invention.
In a fourth aspect of the embodiments of the present invention, a storage medium is provided, in which a computer program is stored, and the computer program is used for implementing the first aspect of the present invention and various methods that may be involved in the first aspect of the present invention when the computer program is executed by a processor.
The invention provides a device interactive communication method, a device and a storage medium, which detect whether the editing information of a user contains preset characters; if yes, detecting characters input by a user behind the preset characters in real time, and taking the characters as keywords; based on the keywords, carrying out retrieval processing on the text information of the user side to obtain all prediction information in the text information, wherein the prediction information comprises the keywords and a plurality of characters in front of the keywords; the technical scheme includes that all prediction information is sent to a user side for display, selection operation of a user on one prediction information is received, a cursor is positioned behind a keyword of the prediction information, follow-up operation of a server can be triggered by a preset character, the keyword is input behind the preset character to pre-position the cursor, the server inquires the keyword in text information, one or more prediction information is obtained based on the keyword, then the user selects the prediction information, and the cursor is moved to the rear side of the selection, so that the cursor is accurately positioned, the problems that the user cannot accurately move the cursor to a target position, operation is not convenient for the user, user experience is poor are solved, and user experience is improved.
Drawings
Fig. 1 is a schematic flow chart of device interactive communication provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of an interface provided by an embodiment of the present invention;
FIG. 3 is a schematic view of another interface provided by an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus for interactive communication according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a device-to-device communication device according to an embodiment of the present invention.
In the figure, 1, an editing information input area; 2. a text information input area; 40. a device interaction communication means; 41. a judgment module; 42. a detection module; 43. a prediction module; 44. a positioning module; 50. a device interaction communication device; 51. a processor; 52. a memory; 53. a bus.
Detailed Description
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Referring to fig. 1, which is a flowchart illustrating a device interactive communication method according to an embodiment of the present invention, an execution main body of the method shown in fig. 1 may be a software and/or hardware device. The execution subject of the present application may include, but is not limited to, at least one of: user equipment, network equipment, etc. The user equipment may include, but is not limited to, a computer, a smart phone, a Personal Digital Assistant (PDA), the above mentioned electronic equipment, and the like. The network device may include, but is not limited to, a single network server, a server group of multiple network servers, or a cloud of numerous computers or network servers based on cloud computing, wherein cloud computing is one type of distributed computing, a super virtual computer consisting of a cluster of loosely coupled computers. The present embodiment does not limit this. The device interactive communication method comprises steps S101 to S103, and specifically comprises the following steps:
s101, detecting whether the editing information of a user contains preset characters;
if yes, detecting the character input by the user behind the preset character in real time, and taking the character as a keyword.
Firstly, the above words are contrasted and explained, referring to fig. 2, the information of the editing information input area 1 is the information being edited by the user, the information is not yet added to the text information, and the text information input area 2 is already located in the chat frame to be sent, and is already in a stable state compared with the editing information.
The server detects whether the editing information of the user contains the preset characters in real time, if so, the server triggers subsequent operation, namely, the server acquires the characters input by the user after the preset payment, and then the characters are used as keywords.
The preset character may be "L", for example, when L is input in the editing information input by the user, the server starts to perform detection of the character input after "L", for example, the information input by the user is "L terminal", and then "terminal" is a keyword.
Whether the editing information of the user contains the preset characters or not is detected, and the editing information of the user can be subjected to traversal processing by the preset characters, so that whether the editing information contains the preset characters or not is judged.
S102, based on the keywords, retrieving and processing the text information of the user side, and acquiring all prediction information in the text information, wherein the prediction information comprises the keywords and a plurality of characters in front of the keywords.
The method may include acquiring a plurality of characters before the keyword based on the keyword, and performing a stitching process on the plurality of characters and the keyword to acquire the prediction information, where at least 5 characters before the keyword is acquired may be acquired, and for example, 10 characters may be acquired.
Referring to fig. 3, the information input by the user is exemplified by "L terminal", and the text information is "to make the user more conveniently obtain more information, and a large-screen touch mobile terminal has been developed. However, as the large screen touch mobile terminal has fewer hard keys. . . "by way of example, the following is illustrated:
if the keywords are 'terminal', the server searches the text information based on the 'terminal' to find the prediction information, and if the characters are 10 characters, the prediction information is 'large screen touch mobile terminal is developed', and 'the mobile terminal is touched with the large screen'.
S103, all the prediction information is sent to a user side for displaying, the selection operation of the user on one prediction information is received, and the cursor is positioned behind the keyword of the prediction information.
Specifically, after the prediction information is found, the prediction information is displayed to the user, for example, the prediction information of "a large-screen touch mobile terminal is developed" and "the prediction information is displayed to the user along with the large-screen touch mobile terminal".
If a user wants to move the cursor to the rear of the 'large screen touch mobile terminal is developed', the user clicks the prediction information of the 'large screen touch mobile terminal is developed', and the method is convenient and quick.
Wherein, send prediction information to user's side and demonstrate, include:
and sending the prediction information to a user side, and displaying the prediction information by the user side based on a preset rule, wherein the preset rule is that different prediction information is displayed from top to bottom based on the front and back sequence of the prediction information in the text information.
It is understood that the user may observe a plurality of top and bottom prediction information, and the prediction information may be used for the user to perform the clicking operation.
According to the embodiment, the follow-up operation of the server can be triggered by the aid of the preset characters, the cursor is pre-positioned by inputting the keywords behind the preset characters, the server inquires the keywords in the text information and obtains one or more pieces of prediction information based on the keywords, then the user selects the prediction information and moves the cursor to the rear of the cursor, so that the cursor is accurately positioned, the problems that the user cannot accurately move the cursor to the target position, the user operation is inconvenient and the user experience is poor are solved, and the user experience is improved.
In practical application, the click operation of the user on the preset character in the editing information can be received, and the preset character is added to the editing information. It can be understood that if the user wants to input the preset character into the text information, the user can add the preset character into the text information by clicking the preset character, so that the requirement that the user normally needs to input the preset character is met.
Referring to fig. 4, which is a schematic structural diagram of an apparatus interactive communication device according to an embodiment of the present invention, the apparatus interactive communication device 40 includes:
the judging module 41 is configured to detect whether the editing information of the user contains preset characters;
the detection module 42 is used for detecting the characters input by the user behind the preset characters in real time if the characters exist, and taking the characters as keywords;
the prediction module 43 is configured to perform search processing on the text information of the user side based on the keyword, and obtain all prediction information in the text information, where the prediction information includes the keyword and a plurality of characters before the keyword;
and the positioning module 44 is configured to send all the prediction information to a user side for display, receive a selection operation of the user on one of the prediction information, and position the cursor behind a keyword of the prediction information.
The apparatus in the embodiment shown in fig. 4 can be correspondingly used to perform the steps in the method embodiment shown in fig. 1, and the implementation principle and technical effect are similar, which are not described herein again.
Referring to fig. 5, which is a schematic diagram of a hardware structure of an apparatus interactive communication apparatus according to an embodiment of the present invention, the apparatus interactive communication apparatus 50 includes: a processor 51, a memory 52 and computer programs; wherein
A memory 52 for storing a computer program, which may also be a flash memory (flash). The computer program is, for example, an application program, a functional module, or the like that realizes the above method.
A processor 51 for executing the computer program stored in the memory to implement the steps performed by the apparatus in the above method. Reference may be made in particular to the description relating to the preceding method embodiment.
Alternatively, the memory 52 may be separate or integrated with the processor 51.
When the memory 52 is a device separate from the processor 51, the apparatus may further include:
a bus 53 for connecting the memory 52 and the processor 51.
The present invention also provides a storage medium, in which a computer program is stored, and the computer program is used for implementing the methods provided by the above-mentioned various embodiments when being executed by a processor.
The present invention also provides a program product comprising execution instructions stored in a storage medium. The at least one processor of the device may read the execution instructions from the storage medium, and the execution of the execution instructions by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art 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 the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A device interactive communication method, comprising:
detecting whether the editing information of the user contains preset characters;
if yes, detecting characters input by a user behind the preset characters in real time, and taking the characters as keywords;
based on the keywords, carrying out retrieval processing on the text information of the user side to obtain all prediction information in the text information, wherein the prediction information comprises the keywords and a plurality of characters in front of the keywords;
and sending all the prediction information to a user side for display, receiving the selection operation of the user on one prediction information, and positioning the cursor behind the keyword of the prediction information.
2. The method of claim 1, wherein sending the prediction information to a client presentation comprises:
and sending the prediction information to a user side, and displaying the prediction information by the user side based on a preset rule.
3. The method of claim 2, wherein the predetermined rule is to display different prediction information from top to bottom based on the sequence of the prediction information in the text information.
4. The method of claim 1, wherein the retrieving the text information of the user side based on the keyword to obtain all the prediction information in the text information comprises:
taking the keyword as a reference, and acquiring a plurality of characters in front of the keyword;
and splicing the characters and the keywords to obtain the prediction information.
5. The method of claim 4, wherein obtaining a plurality of characters preceding a keyword comprises:
at least 5 characters preceding the keyword are obtained.
6. The method of claim 5, wherein obtaining a plurality of characters preceding a keyword comprises:
the 10 characters preceding the keyword are obtained.
7. The method of claim 1, wherein detecting whether the editing information of the user contains the preset characters comprises:
and traversing the editing information of the user by using the preset characters, and judging whether the editing information contains the preset characters.
8. The method of claim 1, further comprising:
and receiving the clicking operation of the user on the preset characters in the editing information, and adding the preset characters into the editing information.
9. An apparatus for device-to-device communication, comprising:
the judging module is used for detecting whether the editing information of the user contains preset characters;
the detection module is used for detecting the character input by the user behind the preset character in real time if the character exists, and taking the character as a keyword;
the prediction module is used for retrieving and processing the text information of the user side based on the keywords and acquiring all prediction information in the text information, wherein the prediction information comprises the keywords and a plurality of characters in front of the keywords;
and the positioning module is used for sending all the prediction information to a user side for displaying, receiving the selection operation of the user on one prediction information, and positioning the cursor behind the keyword of the prediction information.
10. A storage medium, characterized in that the storage medium has stored thereon a computer program for implementing the method of any one of claims 1 to 8 when the computer program is executed by a processor.
CN202111279283.4A 2021-11-01 2021-11-01 Equipment interactive communication method, device and storage medium Pending CN113703593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111279283.4A CN113703593A (en) 2021-11-01 2021-11-01 Equipment interactive communication method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111279283.4A CN113703593A (en) 2021-11-01 2021-11-01 Equipment interactive communication method, device and storage medium

Publications (1)

Publication Number Publication Date
CN113703593A true CN113703593A (en) 2021-11-26

Family

ID=78647585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111279283.4A Pending CN113703593A (en) 2021-11-01 2021-11-01 Equipment interactive communication method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113703593A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101785001A (en) * 2007-08-23 2010-07-21 京瓷株式会社 Input device
CN104246663A (en) * 2013-12-31 2014-12-24 华为终端有限公司 Character string input control method and device
CN104932771A (en) * 2014-03-20 2015-09-23 Lg电子株式会社 Method and mobile terminal for text editing and correction
CN110471609A (en) * 2019-08-15 2019-11-19 Oppo广东移动通信有限公司 Text information edit methods, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101785001A (en) * 2007-08-23 2010-07-21 京瓷株式会社 Input device
CN104246663A (en) * 2013-12-31 2014-12-24 华为终端有限公司 Character string input control method and device
CN104932771A (en) * 2014-03-20 2015-09-23 Lg电子株式会社 Method and mobile terminal for text editing and correction
CN110471609A (en) * 2019-08-15 2019-11-19 Oppo广东移动通信有限公司 Text information edit methods, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US9483518B2 (en) Queryless search based on context
US20170024226A1 (en) Information processing method and electronic device
RU2609752C2 (en) Method and mobile terminal device for independent video image playback
WO2022002066A1 (en) Method and apparatus for browsing table in document, and electronic device and storage medium
WO2017032089A1 (en) Search method and terminal
US9934202B1 (en) Managing paginated data
CN107615270B (en) Man-machine interaction method and device
US11157576B2 (en) Method, system and terminal for performing search in a browser
CN110096665B (en) Method, device, equipment and medium for displaying picture comment data
CN113407086B (en) Object dragging method, device and storage medium
CN102929492A (en) Method for adjusting candidate item sequence in input methods as well as client terminal and character library
JP2021111403A (en) Landing page processing method, apparatus, device and medium
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN102663070B (en) Method and system for supporting browser application
CN112698762B (en) Icon display method and device and electronic equipment
CN113849092A (en) Content sharing method and device and electronic equipment
WO2023241583A1 (en) Method and apparatus for page interaction, device, and storage medium
CN111316618A (en) Network page storage method and terminal
WO2022228433A1 (en) Information processing method and apparatus, and electronic device
CN108549695B (en) Data interaction method and device, terminal equipment and storage medium
WO2022257883A1 (en) Presentation method and presentation apparatus
CN113703593A (en) Equipment interactive communication method, device and storage medium
CN114595391A (en) Data processing method and device based on information search and electronic equipment
CN111796733B (en) Image display method, image display device and electronic equipment
WO2018194853A1 (en) Enhanced inking capabilities for content creation applications

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