CN110381214A - A kind of online text reading and transfer approach - Google Patents
A kind of online text reading and transfer approach Download PDFInfo
- Publication number
- CN110381214A CN110381214A CN201910681954.6A CN201910681954A CN110381214A CN 110381214 A CN110381214 A CN 110381214A CN 201910681954 A CN201910681954 A CN 201910681954A CN 110381214 A CN110381214 A CN 110381214A
- Authority
- CN
- China
- Prior art keywords
- text
- file
- online
- mobile phone
- transfer approach
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000013459 approach Methods 0.000 title claims abstract description 21
- 238000012546 transfer Methods 0.000 title claims abstract description 21
- 238000003825 pressing Methods 0.000 claims abstract description 13
- 238000012544 monitoring process Methods 0.000 claims abstract description 8
- 238000012986 modification Methods 0.000 claims abstract description 6
- 230000004048 modification Effects 0.000 claims abstract description 6
- 230000006870 function Effects 0.000 claims description 35
- 238000000034 method Methods 0.000 claims description 7
- 238000010276 construction Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 2
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000002513 implantation Methods 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72436—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72445—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of online text reading and transfer approach, belong to technical field of data processing, comprising: store text by specific data structure, be written in file, and save to cloud;Cell phone software reads text file from cloud and is stored in mobile phone;Cell phone software reads text file, is with hyperlink text, in displaying by text resolution;By covering and rewrite, modification mobile phone finger clicks, bounces, long-pressing, movement monitoring, covering system text popup menu provides push function;When executing the push function that step 2 or step 3 are realized, the text chosen is presented in new pop-up window, realizes push function.Online text reading and transfer approach provided by the invention, by text maninulation in conjunction with chat feature, in the way of replacement system text menu bubble and text hyperlink, it can directly push word content in text file reader and promote operating efficiency into chat group and exchange experience with user.
Description
Technical field
The present invention relates to a kind of text reading and transfer approach, more particularly to a kind of online text reading and sender
Method belongs to technical field of data processing.
Background technique
Currently, conventional mobile phone software text file reader is only limitted to word read and duplication, its elsewhere can not be carried out to text
Reason, if wanting, content of text is sent to chat group needs cumbersome operation, for cell phone software, checks text, duplication
Content pastes the method inefficiency sent at chat group again in text.
Summary of the invention
The main object of the present invention is to provide for a kind of online text reading and transfer approach, by text maninulation with chat
Its function combines, and can directly push word content in text file reader and promote operating efficiency into chat group and exchange with user
Experience.
The purpose of the present invention can reach by using following technical solution:
A kind of online text reading and transfer approach, include the following steps:
Step 1: text being stored by specific data structure, is written in file, and save to cloud;
Step 2: cell phone software reads text file from cloud and is stored in mobile phone;
Step 3: cell phone software reads text file, is with hyperlink text, in displaying by text resolution;
Step 4: by covering and rewrite, modification mobile phone finger clicks, bounces, long-pressing, movement monitoring, covering system is literary
This popup menu provides push function;
Step 5: when executing the push function that step 2 or step 3 are realized, the text chosen being presented in new pop-out
In mouthful, push function is realized.
Further, the text is online text.
Further, in step 1, text is stored as in json data type write-in file by specific data structure, and
It saves to cloud;Alternatively, text is stored as json data type by specific data structure and is saved in database.
Further, in step 2, cell phone software passes through java.io.InputStream and java.io.File from cloud
It reads text file and is stored in mobile phone;Alternatively, obtaining json data type text from database resolves to step 3 description for mobile phone
Displaying type.
Further, in step 3, cell phone software reads text file and will be literary by json data structure contents in file
Originally it is standby in displaying to resolve to the android.text.SpannableStringBuilde with hyperlink text.
Further, when parsing json type of data structure is push text type, in android.text.Spann
It is implanted into android.text.style.ClickableSpan in ableStringBuilde and clicks monitoring, can carry out when clicked
Self-defining operation realizes push function;Pass through alternatively, step 2 is resolved to the html page from the text data that cloud obtains
The webview of andorid shows in mobile phone, and text json Context resolution goes out special construction deposit html in text<a></a
In > label, self-defining operation: push function can be carried out when clicked.
Further, in step 4, by covering and rewriteeing android.view.View in cell phone software
OnTouchEvent method modification mobile phone finger clicks, bounce, long-pressing, movement monitoring, covering system text popup menu, mention
For push function;Alternatively, carrying out JavaScript scripting language to the content of text of the html of webview monitors finger point
Hit event: by the way that finger down and the time interval lifted, judgement is long-pressing or clicks.If long-pressing, system text is covered
This popup menu provides push function.
Further, in step 5, when executing the push function that step 2 or step 3 are realized, the text chosen is showed
The function of may be copied in new pop-up window, paste, modifying clicks new pop-up ACK button and is sent to chat content
In chat group, push function is realized.
Advantageous effects of the invention: online text reading and transfer approach provided by the invention, by text maninulation
In conjunction with chat feature, in the way of replacement system text menu bubble and text hyperlink, can directly it push in text file reader
Word content promotes operating efficiency and exchanges experience with user into chat group.
Detailed description of the invention
Fig. 1 is the flow chart of a preferred embodiment of online text reading according to the invention and transfer approach.
Specific embodiment
To make the more clear and clear technical solution of the present invention of those skilled in the art, below with reference to examples and drawings
The present invention is described in further detail, and embodiments of the present invention are not limited thereto.
As shown in Figure 1, online text reading provided in this embodiment and transfer approach, include the following steps:
Step 1: text is stored as saving in json data type write-in file to cloud by specific data structure;Or
Text is stored as json data type by specific data structure and is saved in database by person;
Step 2: cell phone software reads text file from cloud by java.io.InputStream and java.io.File
And it is stored in mobile phone;Alternatively, obtaining json data type text from database resolves to the displaying type that step 3 describes for mobile phone;
Step 3: cell phone software reads text file and is band by text resolution by json data structure contents in file
There is the android.text.SpannableStringBuilde of hyperlink text standby in displaying;
When parsing json type of data structure is push text type, in android.text.SpannableStrin
It is implanted into android.text.style.ClickableSpan in gBuilde and clicks monitoring, customized behaviour can be carried out when clicked
Make: push function;
Alternatively, step 2 is resolved to the webview exhibition that the html page passes through andorid from the text data that cloud obtains
Now in mobile phone, text json Context resolution goes out special construction deposit html in text<a></a>in label, when clicked may be used
Carry out self-defining operation: push function;
Step 4: the onTouchEvent method by covering and rewriteeing android.view.View in cell phone software is modified
Mobile phone finger clicks, bounces, long-pressing, movement monitoring, cover system text popup menu, push function be provided;Alternatively, right
The content of text of the html of webview carries out JavaScript scripting language and monitors finger click event: by finger
The time interval pressed and lifted, judgement are long-pressings or click.If long-pressing, system text popup menu is covered, provides and pushes away
Send function;
Step 5: push function is realized: when executing the push function that step 2 or step 3 are realized, text exhibition that will choose
The function of may be copied, paste, modify in now new pop-up window, clicks new pop-up ACK button and sends chat content
Into chat group.
In the present embodiment, online text reading and transfer approach provided in this embodiment, the interior browsing of cell phone software are read
Read, retrieval, push text related content tool, the functions auxiliary host such as quickly jump with various hyperlinks, chapters and sections and swim
Play, has following several big advantages compared to game under line:
1, it helps host to quickly understand text main action and content, reduces time;
2, key person, clue in extremely simple localization of text, accelerate game rhythm;
3, it easily pushes, show plot content of text, raising, which is played, experiences
In the present embodiment, online text reading and transfer approach provided in this embodiment, have the advantages that
1, it realizes cell phone software text file reader function: cloud text can be loaded, implantation can operate hyperlink in text, can mention
For consulting the functions such as details and push.
2, more online group chatting functions of people, such as wechat, QQ and footpath between fields footpath between fields are realized.
3, replace cell phone software in system text menu bubble, customized push function, such as:
Text can be pushed by clicking, and pop up customized text menu bubble, other than it can replicate, can also click push function
Hyperlink segment word can be pushed in group chatting room;
Text pops up customized text menu bubble and can also click other than it can replicate in long-pressing text file reader
Long-pressing selected portion text is pushed in group chatting room by push function.
In conclusion in the present embodiment, online text reading and transfer approach provided in this embodiment grasp text
Make in conjunction with chat feature, in the way of replacement system text menu bubble and text hyperlink, can directly push text file reader
Interior word content promotes operating efficiency and exchanges experience with user into chat group.
The above, further embodiment only of the present invention, but scope of protection of the present invention is not limited thereto, and it is any
Within the scope of the present disclosure, according to the technique and scheme of the present invention and its design adds those familiar with the art
With equivalent substitution or change, protection scope of the present invention is belonged to.
Claims (8)
1. a kind of online text reading and transfer approach, which comprises the steps of:
Step 1: text being stored by specific data structure, is written in file, and save to cloud;
Step 2: cell phone software reads text file from cloud and is stored in mobile phone;
Step 3: cell phone software reads text file, is with hyperlink text, in displaying by text resolution;
Step 4: by covering and rewrite, modification mobile phone finger clicks, bounces, long-pressing, movement monitoring, covering system text bullet
Menu out provides push function;
Step 5: when executing the push function that step 2 or step 3 are realized, the text chosen being presented in new pop-up window
In, realize push function.
2. a kind of online text reading as described in claim 1 and transfer approach, which is characterized in that the text is online
Text.
3. a kind of online text reading as claimed in claim 2 and transfer approach, which is characterized in that in step 1, by text
It is stored as in json data type write-in file, and is saved to cloud by specific data structure;Alternatively, text is pressed specific data
Structure is stored as json data type and is saved in database.
4. a kind of online text reading as claimed in claim 2 and transfer approach, which is characterized in that in step 2, mobile phone is soft
Part reads text file from cloud by java.io.InputStream and java.io.File and is stored in mobile phone;Alternatively, from number
Json data type text, which is obtained, according to library resolves to the displaying type that step 3 describes for mobile phone.
5. a kind of online text reading as claimed in claim 2 and transfer approach, which is characterized in that in step 3, mobile phone is soft
Part reads text file and is the android. with hyperlink text by text resolution by json data structure contents in file
Text.SpannableStringBuilde is standby in displaying.
6. a kind of online text reading as claimed in claim 5 and transfer approach, which is characterized in that when parsing json data
When structure type is push text type, android.t is implanted into android.text.SpannableStringBuilde
Ext.style.ClickableSpan, which is clicked, to be monitored, and can be carried out self-defining operation when clicked, be realized push function;Alternatively, will
Step 2 resolves to the html page from the text data that cloud obtains and is showed in mobile phone by the webview of andorid, text
Json Context resolution goes out special construction deposit html in text<a></a>in label, self-defining operation can be carried out when clicked:
Push function.
7. a kind of online text reading as claimed in claim 2 and transfer approach, which is characterized in that in step 4, by covering
Lid and the onTouchEvent method modification mobile phone finger for rewriteeing android.view.View in cell phone software are clicked, bounce, are grown
The monitoring press, moved covers system text popup menu, provides push function;Alternatively, the text of the html to webview
This content, which carries out JavaScript scripting language, to be monitored finger and clicks event: by finger down and the time interval lifted,
Judgement is long-pressing or clicks.If long-pressing, system text popup menu is covered, push function is provided.
8. a kind of online text reading as claimed in claim 2 and transfer approach, which is characterized in that in step 5, work as execution
When the push function that step 2 or step 3 are realized, the text chosen is presented in new pop-up window may be copied, paste,
The function of modification clicks new pop-up ACK button and chat content is sent in chat group, realizes push function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910681954.6A CN110381214A (en) | 2019-07-26 | 2019-07-26 | A kind of online text reading and transfer approach |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910681954.6A CN110381214A (en) | 2019-07-26 | 2019-07-26 | A kind of online text reading and transfer approach |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110381214A true CN110381214A (en) | 2019-10-25 |
Family
ID=68256345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910681954.6A Pending CN110381214A (en) | 2019-07-26 | 2019-07-26 | A kind of online text reading and transfer approach |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110381214A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073542A (en) * | 2010-12-22 | 2011-05-25 | 浙大网新科技股份有限公司 | Method for integrating Chinese input method during operation of Linux applications on Android mobile phone |
CN103136181A (en) * | 2013-03-06 | 2013-06-05 | 惠州Tcl移动通信有限公司 | Electronic reading device and text selecting and storing method thereof |
CN103530386A (en) * | 2013-10-18 | 2014-01-22 | 北京奇虎科技有限公司 | Method for editing browser webpages and browser |
EP2887686A1 (en) * | 2013-12-18 | 2015-06-24 | Lutebox Ltd. | Sharing content on devices with reduced user actions |
CN106909286A (en) * | 2017-02-28 | 2017-06-30 | 宇龙计算机通信科技(深圳)有限公司 | A kind of information sharing method and device based on terminal |
CN107517323A (en) * | 2017-09-08 | 2017-12-26 | 咪咕数字传媒有限公司 | A kind of information sharing method, device and storage medium |
CN108052589A (en) * | 2017-12-11 | 2018-05-18 | 福建中金在线信息科技有限公司 | The method, apparatus and storage medium of a kind of text exhibition |
-
2019
- 2019-07-26 CN CN201910681954.6A patent/CN110381214A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073542A (en) * | 2010-12-22 | 2011-05-25 | 浙大网新科技股份有限公司 | Method for integrating Chinese input method during operation of Linux applications on Android mobile phone |
CN103136181A (en) * | 2013-03-06 | 2013-06-05 | 惠州Tcl移动通信有限公司 | Electronic reading device and text selecting and storing method thereof |
CN103530386A (en) * | 2013-10-18 | 2014-01-22 | 北京奇虎科技有限公司 | Method for editing browser webpages and browser |
EP2887686A1 (en) * | 2013-12-18 | 2015-06-24 | Lutebox Ltd. | Sharing content on devices with reduced user actions |
CN106909286A (en) * | 2017-02-28 | 2017-06-30 | 宇龙计算机通信科技(深圳)有限公司 | A kind of information sharing method and device based on terminal |
CN107517323A (en) * | 2017-09-08 | 2017-12-26 | 咪咕数字传媒有限公司 | A kind of information sharing method, device and storage medium |
CN108052589A (en) * | 2017-12-11 | 2018-05-18 | 福建中金在线信息科技有限公司 | The method, apparatus and storage medium of a kind of text exhibition |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105468364B (en) | The processing method and mobile terminal of the notification message of application program | |
CN103399703B (en) | The control method of the system bar of subscriber equipment and subscriber equipment | |
CN101867636B (en) | Method for executing user command and terminal equipment | |
CN103379212B (en) | Method for rapidly replying message and mobile terminal | |
US11893236B2 (en) | Interface display method and apparatus of application, device, and medium | |
CN107066188B (en) | A kind of method and terminal sending screenshot picture | |
CN103051516A (en) | Message prompting method and device of instant messaging client | |
CN104571874B (en) | The method and apparatus of switching at runtime keyboard background | |
CN106168978A (en) | The treating method and apparatus of pop-up in a kind of webpage | |
CN103412716A (en) | Method for previewing and treating unread prompt messages of application program | |
CN103558958A (en) | Application program function calling method and terminal | |
WO2010014853A1 (en) | Data-oriented user interface for mobile device | |
CN102316216A (en) | Terminal adaptive role method and terminal thereof | |
CN103516904A (en) | Method for sharing data in terminal and terminal | |
CN105335383B (en) | Input information processing method and device | |
CN107469350A (en) | A kind of Card Games control method and device | |
CN111901225B (en) | Message prompting method and device, storage medium and electronic device | |
CN106155721A (en) | The deployment method of application program, the generation method and device of the recommendation page | |
CN105988657A (en) | Message replying method and apparatus | |
CN109445677A (en) | Method, apparatus, medium and the electronic equipment that content in document is edited | |
CN107864088A (en) | Chat message selectivity method for cleaning and device | |
CN104156134B (en) | One kind counts methods of exhibiting and device | |
CN106708632A (en) | Information editing method and information editing device | |
CN112486370B (en) | Method, device, terminal and storage medium for inputting information | |
CN111756556B (en) | Message pushing method and device and terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191025 |