CN103699538B - A kind of method and device of file-sharing - Google Patents
A kind of method and device of file-sharing Download PDFInfo
- Publication number
- CN103699538B CN103699538B CN201210366455.6A CN201210366455A CN103699538B CN 103699538 B CN103699538 B CN 103699538B CN 201210366455 A CN201210366455 A CN 201210366455A CN 103699538 B CN103699538 B CN 103699538B
- Authority
- CN
- China
- Prior art keywords
- file
- data
- slave unit
- content
- main equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 239000011159 matrix material Substances 0.000 claims abstract description 95
- 230000005540 biological transmission Effects 0.000 claims description 14
- 230000015572 biosynthetic process Effects 0.000 claims description 10
- 238000012517 data analytics Methods 0.000 claims description 6
- 238000003786 synthesis reaction Methods 0.000 claims description 6
- 238000005755 formation reaction Methods 0.000 claims 4
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000006243 chemical reaction Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 230000003044 adaptive effect Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 5
- 230000007704 transition Effects 0.000 description 5
- 241000208340 Araliaceae Species 0.000 description 3
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 3
- 235000003140 Panax quinquefolius Nutrition 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 235000008434 ginseng Nutrition 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000000354 decomposition reaction Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/189—Automatic justification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
Abstract
The embodiment of the present invention provides a kind of file sharing method and device, is related to electronic technology field, can reduce the requirement to slave unit hardware configuration, reduces the volume of transmitted data between main equipment and slave unit, improves the speed of data transfer.This method includes:Main equipment and slave unit are set up be connected after, obtain the display parameters of slave unit, display parameters include the screen size of slave unit, resolution ratio, show font size size, line space and margin away from;The file stored on main equipment is read, it is selected to be sent to the first file of slave unit, or receive the file data of acquisition first request sent from slave unit and search the first file according to the request of the first file data is obtained;The first file is converted into the second file according to display parameters, the second file includes typesetting data and content-data;The second file is sent to slave unit, to cause slave unit according to the dot matrix word library prestored, to show the second file.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and device of file-sharing.
Background technology
With continuing to develop for network technology and information technology, people increasingly get used to obtaining information from network, respectively
The electronic reading of kind of mode with its convenient and swift, mobility it is strong, obtain it is simple, be easy to popularization the features such as, replace electronic equipment
The mode that books provide read resource by people is increasingly received by people.In addition, except being read dedicated for the electronics of reading
Device is read, the user equipment such as mobile phone, tablet personal computer is also widely used in terms of electronic reading.
People can only often read the e-file of user equipment memory storage, such as when being read using user equipment
Text document file, pdf (Portable Document Format, portable document format) file etc., in order to read more
Many e-files or the more preferable reading effect of acquisition, can carry out e-file between the subscriber devices shared reading,
Existing sharing mode generally includes page-images sharing mode or file transmission sharing mode.
But, state in realization e-file between the subscriber devices share during, inventor find, when using text
When part transmits sharing mode, file reception side needs to parse this document and reset, could read, therefore, to file
The hardware configuration of recipient requires very high;Sharing mode is transmitted compared to file, the transmission quantity of page-images sharing mode is larger,
Cause transmission speed slow.
The content of the invention
Embodiments of the invention provide a kind of method and device of file-sharing, can reduce to slave unit hardware configuration
It is required that, reduce the volume of transmitted data between main equipment and slave unit, improve transmission speed.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
On the one hand, the embodiment of the present invention provides a kind of file sharing method, and main equipment is set up with slave unit and is connected, including:
The display parameters of slave unit are obtained, the display parameters include the screen size, resolution ratio, display of the slave unit
Font size size, line space and margin away from;
The file stored on main equipment is read, it is selected to be sent to the first file of the slave unit, or receive from institute
State the file data of acquisition first request of slave unit transmission and the first file is searched according to the acquisition the first file data request;
First file is converted into the second file according to the display parameters, second file includes typesetting data
And content-data;
Second file is sent to the slave unit, to cause the slave unit according to the dot matrix word library prestored,
Show second file.
The slave unit shows second file, specifically included according to the dot matrix word library prestored:
The slave unit reads second file;
The slave unit according to the typesetting data, it is determined that show the line number of the content-data, number of words, font size,
Text point and picture position;
The slave unit obtains literal code corresponding with the content-data and picture number according to the content-data
According to, and the lookup word lattice figure corresponding with the literal code in the dot matrix word library;
The slave unit shows the word lattice figure and view data.
Described to send after second file to the slave unit, methods described also includes:
Obtain the amended display parameters of the slave unit;
When receiving the request of the file data of the acquisition first from the slave unit again, after the modification
Display parameters first file is converted into the 3rd file, the 3rd file includes typesetting data;
The 3rd file is sent to the slave unit, to cause the slave unit according to the dot matrix word library prestored,
Show the content-data and the 3rd file of second file.
The content-data includes literal code data and/or view data.
Paging information of the typesetting data including file, branch's information, display font size information, times of image location information
The combinations for one or more of anticipating.
On the other hand, the embodiment of the present invention provides a kind of file sharing method, and slave unit is set up with main equipment and is connected, and wraps
Include:
Send the display parameters of slave unit and obtain the request of the first file data and arrive main equipment;
The main equipment is received according to the request of the display parameters and the file data of the acquisition first of the slave unit to be referred to
The first fixed file or selected being sent to after the first file of the slave unit changes first file of main equipment are formed
The second file, second file include typesetting data and content-data;
According to the dot matrix word library prestored, second file is shown.
The slave unit shows second file, specifically included according to the dot matrix word library prestored:
The slave unit reads second file;
The slave unit according to the typesetting data, it is determined that show the line number of the content-data, number of words, font size,
Text point and picture position;
The slave unit obtains literal code corresponding with the content-data and picture number according to the content-data
According to, and the lookup word lattice figure corresponding with the literal code in the dot matrix word library;
The slave unit shows the word lattice figure and view data.
On the one hand, the embodiment of the present invention provides a kind of main equipment, including:
Display parameters acquisition module, the display parameters for obtaining slave unit, the display parameters include the slave unit
Screen size, resolution ratio, display font size size, line space and margin away from;
File data request module is received, for receiving the file data of acquisition first request that the slave unit is sent;
Ff module is sent, the file for reading main equipment storage is selected to be sent to the of the slave unit
One file, or asked according to the file data of the acquisition first from the slave unit received, search first text
Part;
File modular converter, for first file to be converted into the second file, described according to the display parameters
Two files include typesetting data and content-data;
Sending module, for sending second file to the slave unit, to cause the slave unit according to depositing in advance
The dot matrix word library of storage, shows second file.
The display parameters acquisition module, is additionally operable to obtain the amended display parameters of the slave unit;
The file modular converter, is additionally operable to receive the number of files of the acquisition first from the slave unit again
During according to request, first file is converted into the 3rd file, the 3rd file bag according to the amended display parameters
Include typesetting data;
The sending module, is additionally operable to send the 3rd file to the slave unit, with cause the slave unit according to
The dot matrix word library prestored, shows the content-data and the 3rd file of second file.
The content-data includes literal code data and/or view data.
Paging information of the typesetting data including file, branch's information, display font size information, times of image location information
The combinations for one or more of anticipating.
On the other hand, the embodiment of the present invention provides a kind of slave unit, including:
Transmitting element, for sending the display parameters and obtaining the first file data solicited message to main equipment;
Receiving unit, for receiving display parameters and the acquisition first text of the main equipment according to the slave unit
Selected the first file for being sent to the slave unit of the first file or main equipment that part request of data is specified will be described first literary
The second file formed after part conversion, second file includes typesetting data and content-data;
Display unit, for according to the dot matrix word library prestored, showing second file.
The display unit also includes:
Reading unit, second file is read for the slave unit;
Typesetting data analytic unit, for the slave unit according to the typesetting data, it is determined that showing the content-data
Line number, number of words, font size, text point and picture position;
Content-data analytic unit, for the slave unit according to the content-data, is obtained and the content-data pair
The literal code answered and view data, and the lookup word lattice figure corresponding with the literal code in the dot matrix word library;
The display unit, is additionally operable to the slave unit and shows the word lattice figure and view data.
The method and device for the file-sharing that the embodiment of the present invention is provided, is connected by being set up in main equipment and slave unit
Afterwards, main equipment obtain screen size, resolution ratio, display font size size, line space and the margin of slave unit including slave unit away from
Display parameters, read the file stored on main equipment, selected to be sent to the first file of slave unit, or receive from slave unit
The file data of acquisition first request of transmission simultaneously searches the first file according to the request of the first file data is obtained, and according to display
First file is converted to the second file including typesetting data and content-data by parameter, so as to send the second file to from setting
It is standby, to cause slave unit according to the dot matrix word library prestored, to show the second file.By the program, due to passing through main equipment
Adaptive transition is carried out to the file needed for slave unit according to the display parameters of slave unit so that file and slave unit after conversion
Screen display match, therefore, slave unit need not carry out complexity document analysis, the dot-matrix prestored according to itself
Storehouse, this document can be shown by carrying out simple synthesis, reduce the requirement to slave unit hardware configuration, reduce main equipment with from setting
Volume of transmitted data between standby, improves the speed of data transfer.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is file sharing method schematic flow sheet one provided in an embodiment of the present invention;
Fig. 2 is file sharing method schematic flow sheet two provided in an embodiment of the present invention;
Fig. 3 is file sharing method schematic flow sheet three provided in an embodiment of the present invention;
Fig. 4 is main equipment structural representation provided in an embodiment of the present invention;
Fig. 5 is slave unit structural representation one provided in an embodiment of the present invention;
Fig. 6 is slave unit structural representation two provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of file sharing method, as shown in figure 1, this method is the method for main equipment side, should
Method includes:
S101, main equipment obtain the display parameters of slave unit.
Wherein, the screen size of display parameters including slave unit, resolution ratio, display font size size, line space and margin away from.
People can only read the e-file of storage in user equipment when being read using user equipment, often, such as
Text document file, pdf files etc., can be with order to read more e-files or obtain more preferable reading effect
E-file is carried out to shared reading between the subscriber devices.
In the embodiment of the present invention, when main equipment needs to carry out shared read with slave unit, main equipment first can be built with slave unit
Vertical connection, it is exemplary, connected mode can for data wire, bluetooth, WIFI (Wireless Fidelity, WLAN),
Mobile communications network, infrared ray etc..
After main equipment is connected with slave unit foundation, main equipment obtains the display parameters of slave unit, and main equipment obtains slave unit
Display parameters have two ways:Main equipment receives the display parameters sent from slave unit, or is previously stored in main equipment
The display parameters of interior slave unit.Wherein, the screen size of display parameters including slave unit, resolution ratio, display font size size, OK
Spacing and margin are away from so that the file that main equipment sends slave unit to can adapt to the screen of slave unit.
You need to add is that, main equipment can be PC (Personal Computer, PC), tablet personal computer, mobile phone
Deng user equipment.
S102, main equipment read the file stored on main equipment, selected to be sent to the first file of slave unit, or master sets
It is standby to receive the file data of acquisition first request sent from slave unit and search first according to the request of the first file data is obtained
File.
Main equipment, which obtains the first file, two ways:Main equipment read itself storage file, it is selected need to be sent to from
First file of equipment, or main equipment receive the file data of acquisition first sent from slave unit and asked and according to acquisition first
The first file is searched in file data request.
The difference operated according to user, if main equipment is a side of active, main equipment reads own files, selected to need to send
To the first file of slave unit.If slave unit is a side of active, main equipment has two ways to obtain the first file:Main equipment to
Slave unit mailing list, slave unit according to inventory select the file to be transmitted, and send acquisition the first file data ask
Main equipment is sought, main equipment receives the file data of acquisition first request from slave unit, searches and want according to the request of data
The first file obtained, or main equipment receive the file data of acquisition first request from slave unit.If slave unit is actively
A side, slave unit directly sends to main equipment and obtains the request of the first file data, and main equipment is according to obtaining the first file data
The first file is searched in request.
First file is converted to the second file by S103, main equipment according to display parameters, and the second file includes typesetting data
And content-data.
Below, with reference to step S102 and S103, to main equipment, how the process that the first file is converted into the second file is entered
Row explanation.
Main equipment and slave unit are set up be connected after, display parameters of the main equipment reception from slave unit, if desired for by file
Be sent to slave unit carry out it is shared read, then the first file got according to main equipment, according to display parameters by the first file
The second file is converted to, wherein, the first file refers to that main equipment needs to send the file of slave unit to.
Wherein, the second file can include typesetting data and content-data.
Content-data can include literal code data and/or view data, and literal code data refer in the second file
The code set of all text informations, view data refers to the set of image information, and view data can be strategically interspersed in
In the coding of text information, or concentration is placed on after the coding of text information.Second file can only include text information
File or the file for only including image information, can also be and both include text information, and the text comprising image information
Part, the present invention is not limited.
Typesetting data can the paging information including file, branch's information, display font size information, times of image location information
The combinations for one or more of anticipating, paging information refers to text information and image information is located at which page of file, such as 1-
100 words are located at page 1 of file, and the 101-200 word is located at page 2 of file, and by that analogy, branch's information refers to word
Which of file information and image information are located at, and such as the 1-10 word is located at the 1st row of file, and the 11-20 word is located at text
2nd row of part, by that analogy, display font size information refer to show font size information used during file, such as 15*16,20*20,24*
The dot matrix font size size such as 24,28*28,32*32, this font size size is the Pixel Dimensions of dot-matrix dot matrix image, picture position letter
Breath refers to position of the image in content data file, and line number and columns shared by the view data.
Specifically, the process that the first file is converted to the second file is included two parts by main equipment:A part is that master sets
Standby that first file is changed to the content-data for generating the second file, another part is, main equipment is by the first file conversion generation the
The typesetting data of two files, is described in detail separately below:
(1) method that the first file changes the content-data for generating the second file is by main equipment:According to the first file
Form, file is parsed, and parses text message and main image information, and the text that text message is converted into specifying
Word is encoded, and then generates literal code information, literal code can using unicode (Unicode, it is a kind of to use on computers
Character code) coded format.
You need to add is that, literal code can not only use unicode coded formats, can also use ASCII character
(American Standard Code for Information Interchange, ASCII), GBK
The coded formats such as (Chinese Internal Code Specification, Chinese Internal Code Specification) coding.
(2) method that the first file changes the typesetting data for generating the second file is by main equipment:According to the aobvious of slave unit
Show parameter, display parameters include screen size, resolution ratio, display font size size, line space and the margin of slave unit away from etc. information,
Line number, every a line that calculating the every page of the second file of the display screen for being adapted to slave unit can show can be shown
Number of words, and need the text point shown to record each start of line position of every page;If including figure in the first file
As data, then position of the view data in content data file, and line number and columns shared by the view data are recorded,
To obtain size and location during view data display, and then change generation typesetting data;Typesetting data includes point of file
Any one or two or more combinations of page information, branch's information, display font size information, image location information.Work as dot-matrix
Equal in width, when often going equidistant, only need to record every page line number, often row number of words, first trip position, you can extrapolate each dot matrix in page
The position of word.On the premise of certain typesetting details is sacrificed, the data of the second file are fairly simple, be conducive to low performance from
Page image is synthesized in equipment.
S104, main equipment send the second file to slave unit, to cause slave unit according to the dot matrix word library prestored, show
Show the second file.
Main equipment sends the second file to slave unit, and the second file can disposably be sent to slave unit, can also be by
Data carry out piecemeal transmission, are such as grouped typesetting data and content-data according to page, chapters and sections, are transmitted respectively, this
The data volume that sample is transmitted every time is small, and the time of transmission is short, and then improves the reading experience of user, and main equipment sends the second file extremely
After slave unit, to cause slave unit according to the dot matrix word library prestored, to show the second file.
It should be noted that when slave unit shows the content-data of the second file, according to specifying that text message is converted into
Literal code, according to the coding information of each word, searched, found out corresponding to literal code in dot matrix word library
The dot chart of the word, displays content data, wherein, dot matrix word library is that according to pictorial symbol Chinese character is designed into dot chart, often
One corresponding dot chart of Chinese character has all corresponded to a lattice codebook, and the storehouse for having gathered these lattice codebooks is exactly dot matrix word library.
Compared to dot-matrix, display vector fonts needs more calculating and drafting, so hardware performance requirements of the display dot chart to system
It is lower.
The embodiment of the present invention provides a kind of file sharing method, as shown in Fig. 2 this method is the method for slave unit side, should
Method includes:
S201, slave unit, which send display parameters and obtain the request of the first file data, arrives main equipment.
When main equipment obtains display parameters to slave unit, slave unit sends display parameters to main equipment.
As a side of the slave unit for actively selection, main equipment has two ways to obtain the first file:Main equipment is to slave unit
Mailing list, slave unit selects the file to be transmitted according to inventory, and sends the request of the first file data of acquisition to master
Equipment, main equipment receives the file data of acquisition first request from slave unit, searches what is obtained according to the request of data
First file, or main equipment receive the file data of acquisition first request from slave unit.If slave unit is a side of active,
Slave unit is directly sent to main equipment obtains the request of the first file data, and main equipment is searched according to the request of the first file data is obtained
First file.
You need to add is that, when main equipment is an actively side of selection, slave unit need to only send display parameters and be set to master
Standby, main equipment is received after the display parameters that slave unit is sent, and reads own files, selected to be sent to the first text of slave unit
Part.
S202, slave unit receive main equipment and specified according to the display parameters of slave unit and acquisition the first file data request
The first file or main equipment it is selected be sent to the first file of slave unit will the first file change after the second file for being formed,
Second file includes typesetting data and content-data.
Slave unit and main equipment are set up after connection, and main equipment obtains the display parameters of slave unit, and main equipment is reading main set
The file of standby upper storage, it is selected to be sent to the first file of slave unit, or receive the text of acquisition first sent from slave unit
Part request of data is simultaneously according to obtaining after the first file data request the first file of lookup, and main equipment is literary by first according to display parameters
Part is converted to the second file and the second file is sent into slave unit, and the second file includes typesetting data and content-data.
Specifically, how the first file is converted to second file above-described embodiment and has been described by main equipment, herein
Repeat no more.
S203, slave unit show the second file according to the dot matrix word library prestored.
Slave unit is the reader device equipped with dot matrix word library, wherein, dot matrix word library is to set Chinese character according to pictorial symbol
Dot chart is counted into, the corresponding dot chart of each Chinese character has corresponded to a lattice codebook, has gathered the storehouse of these lattice codebooks
It is exactly dot matrix word library.
Slave unit is after receiving and carrying out the second file of autonomous device, according to the typesetting data that is included in the second file and interior
Hold data, with reference to dot matrix word library, show the second file.
Exemplary, slave unit reads the typesetting data in the second file first, the page number of the page shown as needed,
The typesetting situation of this page is searched in composition information, line number, the number of words of this page display is determined, shows the size of font size, each
The position of word, if including view data in the page, it needs to be determined that the position of image, according to the information found, obtains interior
Hold the literal code data in data, according to the coding information of each word, searched in dot matrix word library, find out word
The dot chart of the corresponding word of coding, if including view data in the page, obtains view data.Get all the elements
After data, according to composition information, the dot chart and illustration image of each word are shown, so as to show the second file.
It is exemplary, if slave unit needs to show page 1 of file, i.e. from the beginning display data, first in composition information
The typesetting situation of this page is searched, the line number for determining this page display is 20 rows, 400 words of number of words, and the size of display font size is 24*24
Do not include view data in pixel-matrix font size, the page, according to above-mentioned typesetting data, above-mentioned 400 are obtained in content-data
The literal code data of word, and to this 400 words, according to the coding information of each word, searched in dot matrix word library,
The dot chart of the word corresponding to literal code is found out one by one, and the dot chart of each word is plotted to according to the position of typesetting
Relevant position, shows the second file, if slave unit needs to show page 10 of file, searches this page in composition information first
Typesetting situation, the line number for determining this page display is 25 rows, 200 words of number of words, and the size of display font size is lattice pixels 24*24,
Comprising 1 view data in the page, positioned at this page the 15th row to 20 rows and arrange between two parties, according to above-mentioned typesetting data, inside
Hold the literal code data and view data that above-mentioned 200 words are obtained in data, by this 200 words, according to each word
Coding information, searched in 24*24 dot matrix word library, the dot matrix of the word corresponding to literal code found out one by one
Figure, the dot chart size of each word is the pixels of 24 pixel * 24, and the dot chart of each word is plotted to accordingly according to the position of typesetting
Position, view data is plotted to the position specified, and shows the second file.
You need to add is that, slave unit is the reader device equipped with dot matrix word library, and this reader device is (individual compared with PC
People's computer), tablet personal computer, the user equipment such as mobile phone, the hardware configuration to equipment substantially reduces, and has saved cost.
A kind of file sharing method provided in an embodiment of the present invention, it is main by after main equipment and slave unit set up connection
Equipment obtain screen size, resolution ratio, display font size size, line space and the margin of slave unit including slave unit away from display ginseng
Number, reads the file stored on main equipment, selected to be sent to the first file of slave unit, or receives what is sent from slave unit
Obtain the request of the first file data and search the first file according to the request of the first file data is obtained, and will according to display parameters
First file is converted to the second file including typesetting data and content-data, so that the second file is sent to slave unit, so that
Slave unit is obtained according to the dot matrix word library prestored, the second file is shown.By the program, due to by main equipment according to from setting
Standby display parameters carry out adaptive transition to the file needed for slave unit so that the screen of file and slave unit after conversion shows
Show and match, therefore, slave unit need not carry out the document analysis of complexity, and the dot matrix word library prestored according to itself is carried out
Simple synthesis can show this document, reduce the requirement to slave unit hardware configuration, reduce between main equipment and slave unit
Volume of transmitted data, improve the speed of data transfer.
The embodiment of the present invention provides a kind of file sharing method, as shown in figure 3, this method includes:
S301, main equipment and slave unit, which are set up, to be connected.
People can only read the e-file of storage in user equipment when being read using user equipment, often, such as
Text document file, pdf files etc., can be with order to read more e-files or obtain more preferable reading effect
E-file is carried out to shared reading between the subscriber devices.
In the embodiment of the present invention, when main equipment needs to carry out shared read with slave unit, slave unit first can be with main equipment
Connection is set up, exemplary, connected mode can be data wire, bluetooth, WIFI (WLAN), mobile communications network, red
Outside line etc..
S302, main equipment obtain the display parameters of slave unit.
Wherein, display parameters include itself screen size, resolution ratio, display font size size, line space and margin away from.
After main equipment is connected with slave unit foundation, main equipment obtains the display parameters of slave unit, and main equipment obtains slave unit
Display parameters have two ways:Main equipment receives the display parameters sent from slave unit, or is previously stored in main equipment
The display parameters of interior slave unit.Wherein, the screen size of display parameters including slave unit, resolution ratio, display font size size, OK
Spacing and margin are away from so that the file that main equipment sends slave unit to can adapt to the screen of slave unit.
You need to add is that, main equipment can be the user equipmenies such as PC (PC), tablet personal computer, mobile phone.Slave unit
It is the reader device equipped with dot matrix word library, this reader device is compared with users such as PC (PC), tablet personal computer, mobile phones
Equipment, the hardware configuration to equipment is substantially reduced, and has saved cost.
S303, main equipment store the display parameters of slave unit.
After main equipment is connected with slave unit foundation, main equipment receives the display parameters from slave unit, wherein, display parameters
Screen size, resolution ratio including slave unit, display font size size, line space and margin away from etc. information, main equipment storage display
Parameter, when being connected so as to the next main equipment with this slave unit, no longer obtains the display parameters from slave unit, directly using guarantor
There are the display parameters of the slave unit in main equipment.
It should be noted that after the display parameters that main equipment stores slave unit, the slave unit is changed into known device, when this
When main equipment is connected with this slave unit again, the display parameters from slave unit are no longer obtained, directly uses and is stored in main equipment
The slave unit display parameters.Slave unit is not limited only to that slave unit being connected with main equipment, as long as with this from setting
The equipment of standby same model, can all be connected with the main equipment for the display parameters for storing the slave unit, no longer obtain come since
The display parameters of equipment, directly use the display parameters of the slave unit for the model being stored in main equipment.
You need to add is that, some slave unit display parameters can be previously stored in main equipment, when slave unit and main equipment
Connection is set up, if the slave unit display parameters stored in main equipment match with the display parameters for the slave unit being connected, no longer
The display parameters from slave unit are obtained, directly using the display parameters for the slave unit being stored in main equipment, the present invention is not
It is limited.
S304, main equipment read the file stored on main equipment, selected to be sent to the first file of slave unit, or master sets
It is standby to receive the file data of acquisition first request sent from slave unit and search first according to the request of the first file data is obtained
File.
First file is converted to the second file by S305, main equipment according to display parameters, and the second file includes typesetting data
And content-data.
Below, with reference to step S304 and S305, to main equipment, how the process that the first file is converted into the second file is entered
Row explanation.
Main equipment, which obtains the first file, two ways:Main equipment read itself storage file, it is selected need to be sent to from
First file of equipment, or main equipment receive the file data of acquisition first sent from slave unit and asked and according to acquisition first
The first file is searched in file data request.
The difference operated according to user, if main equipment is a side of active, main equipment reads own files, selected to need to send
To the first file of slave unit.If slave unit is a side of active, main equipment has two ways to obtain the first file:Main equipment to
Slave unit mailing list, slave unit according to inventory select the file to be transmitted, and send acquisition the first file data ask
Main equipment is sought, main equipment receives the file data of acquisition first request from slave unit, searches and want according to the request of data
The first file obtained, or main equipment receive the file data of acquisition first request from slave unit.If slave unit is actively
A side, slave unit directly sends to main equipment and obtains the request of the first file data, and main equipment is according to obtaining the first file data
The first file is searched in request.
Main equipment and slave unit are set up be connected after, display parameters of the main equipment reception from slave unit, if desired for by file
Be sent to slave unit carry out it is shared read, then the first file got according to main equipment, according to display parameters by the first file
The second file is converted to, wherein, the first file refers to that main equipment needs to send the file of slave unit to.
Wherein, the second file can include typesetting data and content-data.
Content-data can include literal code data and/or view data, and literal code data refer in the second file
The code set of all text informations, view data refers to the set of image information, and view data can be strategically interspersed in
In the coding of text information, or concentration is placed on after the coding of text information.Second file can only include text information
File or the file for only including image information, can also be and both include text information, and the text comprising image information
Part, the present invention is not limited.
Typesetting data can the paging information including file, branch's information, display font size information, times of image location information
The combinations for one or more of anticipating, paging information refers to text information and image information is located at which page of file, such as 1-
100 words are located at page 1 of file, and the 101-200 word is located at page 2 of file, and by that analogy, branch's information refers to word
Which of file information and image information are located at, and such as the 1-10 word is located at the 1st row of file, and the 11-20 word is located at text
2nd row of part, by that analogy, display font size information refer to show font size information used during file, such as 15*16,20*20,24*
The dot matrix font size size such as 24,28*28,32*32, this font size size is the Pixel Dimensions of dot-matrix dot matrix image, picture position letter
Breath refers to position of the image in content data file, and line number and columns shared by the view data.
Specifically, the process that the first file is converted to the second file is included two parts by main equipment:A part is that master sets
Standby that first file is changed to the content-data for generating the second file, another part is, main equipment is by the first file conversion generation the
The typesetting data of two files, is described in detail separately below:
(1) method that the first file changes the content-data for generating the second file is by main equipment:According to the first file
Form, file is parsed, and parses text message and main image information, and the text that text message is converted into specifying
Word is encoded, and then generates literal code information, literal code can using unicode (Unicode, it is a kind of to use on computers
Character code) coded format.
You need to add is that, literal code can not only use unicode coded formats, can also use ASCII character
(American Standard Code for Information Interchange, ASCII), GBK
The coded formats such as (Chinese Internal Code Specification, Chinese Internal Code Specification) coding.
(2) method that the first file changes the typesetting data for generating the second file is by main equipment:According to the aobvious of slave unit
Show parameter, display parameters include screen size, resolution ratio, display font size size, line space and the margin of slave unit away from etc. information,
Line number, every a line that calculating the every page of the second file of the display screen for being adapted to slave unit can show can be shown
Number of words, and need the text point shown to record each start of line position of every page;If including figure in the first file
As data, then position of the view data in content data file, and line number and columns shared by the view data are recorded,
To obtain size and location during view data display, and then change generation typesetting data;Typesetting data includes point of file
Any one or two or more combinations of page information, branch's information, display font size information, image location information.Work as dot-matrix
Equal in width, when often going equidistant, only need to record every page line number, often row number of words, first trip position, you can extrapolate each dot matrix in page
The position of word.On the premise of certain typesetting details is sacrificed, the data of the second file are fairly simple, be conducive to low performance from
Page image is synthesized in equipment.
S306, main equipment send the second file to slave unit.
Main equipment sends the second file to slave unit, and the second file can disposably be sent to slave unit, can also be by
Data carry out piecemeal transmission, are such as grouped typesetting data and content-data according to page, chapters and sections, are transmitted respectively, this
The data volume that sample is transmitted every time is small, and the time of transmission is short, and then improves the reading experience of user, and main equipment sends the second file extremely
After slave unit, to cause slave unit according to the dot matrix word library prestored, to show the second file.
S307, slave unit show the second file according to the dot matrix word library prestored.
Slave unit is the reader device equipped with dot matrix word library, wherein, dot matrix word library is to set Chinese character according to pictorial symbol
Dot chart is counted into, the corresponding dot chart of each Chinese character has corresponded to a lattice codebook, has gathered the storehouse of these lattice codebooks
It is exactly dot matrix word library.The vector font library used compared to general device is (the stroke decomposition of each character into various straight lines and song
Line, then writes down the parameter of these straight lines and curve, when display, according to specific size, draws these lines,
The method of the original character of reduction), the display speed of dot matrix word library is fast, and then improves the experience sense of user.
Slave unit is after receiving and carrying out the second file of autonomous device, according to the typesetting data that is included in the second file and interior
Hold data, with reference to dot matrix word library, show the second file.
Exemplary, slave unit reads the typesetting data in the second file first, the page number of the page shown as needed,
The typesetting situation of this page is searched in composition information, line number, the number of words of this page display is determined, shows the size of font size, each
The position of word, if including view data in the page, it needs to be determined that the position of image, according to the information found, obtains interior
Hold the literal code data in data, according to the coding information of each word, searched in dot matrix word library, find out word
The dot chart of the corresponding word of coding, if including view data in the page, obtains view data.Get all the elements
After data, according to composition information, the dot chart and illustration image of each word are shown, so as to show the second file.
It is exemplary, if slave unit needs to show page 1 of file, i.e. from the beginning display data, first in composition information
The typesetting situation of this page is searched, the line number for determining this page display is 20 rows, 400 words of number of words, and the size of display font size is 24*24
Do not include view data in pixel-matrix font size, the page, according to above-mentioned typesetting data, above-mentioned 400 are obtained in content-data
The literal code data of word, and to this 400 words, according to the coding information of each word, searched in dot matrix word library,
The dot chart of the word corresponding to literal code is found out one by one, and the dot chart of each word is plotted to according to the position of typesetting
Relevant position, shows the second file, if slave unit needs to show page 10 of file, searches this page in composition information first
Typesetting situation, the line number for determining this page display is 25 rows, 200 words of number of words, and the size of display font size is 24*24 pixel-matrix words
Number, comprising 1 view data in the page, positioned at this page the 15th row to 20 rows and arrange between two parties, according to above-mentioned typesetting data,
The literal code data and view data of above-mentioned 200 words are obtained in content-data, by this 200 words, according to each text
The coding information of word, is searched in 24*24 dot matrix word libraries, and the dot matrix of the word corresponding to literal code is found out one by one
Figure, this dot matrix image is 24*24 pixel sizes, and the dot chart of each word is plotted into relevant position according to the position of typesetting, will
View data is plotted to the position specified, and shows the second file.
You need to add is that, the big I of display font size is set by the user, and the point of each font size is included in dot matrix word library
Battle array coding, such as dot matrix word library includes the matrix font of 5 kinds of sizes, respectively 15*16,20*20,24*24,28*28,32*32.Often
Font size one dot matrix word library of correspondence is planted, the font size size selected according to user is retrieved different dot matrix word libraries and shown respectively.
S308, main equipment obtain the amended display parameters of slave unit.
S309, when main equipment receive again from slave unit the file data of acquisition first request when, after modification
Display parameters the first file is converted into the 3rd file, the 3rd file includes typesetting data.
S310, main equipment send the 3rd file to slave unit, to cause slave unit according to the dot matrix word library prestored, show
Show the content-data and the 3rd file of the second file.
Below, with reference to step S308, S309 and S310, the content-data and the 3rd of the second file how is shown to main equipment
File is illustrated.
If slave unit need to change show font size size, line space, margin away from etc. display parameters, main equipment obtains slave unit
Amended display parameters, when main equipment receive again from slave unit the file data of acquisition first request when, according to
First file is converted to the 3rd file by amended display parameters, and the 3rd file includes typesetting data, and main equipment sends the 3rd
File is to slave unit, to cause slave unit according to the dot matrix word library prestored, to show the content-data and the 3rd of the second file
File.
Specifically, how the first file is converted into the 3rd file process and above-described embodiment is described main equipment
The process that first file is converted to the typesetting data of the second file is identical, and here is omitted.
It should be noted that the content-data due to having been received by the second file for carrying out autonomous device in slave unit, so
The amended display parameters of slave unit need to only be carried out with typesetting parsing, main equipment sends the 3rd file after parsing to from setting
It is standby, to cause slave unit according to the dot matrix word library prestored, to show the content-data and the 3rd file of the second file, wherein,
3rd file only includes typesetting data.
You need to add is that, main equipment obtains the amended display parameters of slave unit, and stores amended display ginseng
Number.
A kind of file sharing method provided in an embodiment of the present invention, it is main by after main equipment and slave unit set up connection
Equipment obtain screen size, resolution ratio, display font size size, line space and the margin of slave unit including slave unit away from display ginseng
Number, reads the file stored on main equipment, selected to be sent to the first file of slave unit, or receives what is sent from slave unit
Obtain the request of the first file data and search the first file according to the request of the first file data is obtained, and will according to display parameters
First file is converted to the second file including typesetting data and content-data, so that the second file is sent to slave unit, so that
Slave unit is obtained according to the dot matrix word library prestored, the second file is shown.By the program, due to by main equipment according to from setting
Standby display parameters carry out adaptive transition to the file needed for slave unit so that the screen of file and slave unit after conversion shows
Show and match, therefore, slave unit need not carry out the document analysis of complexity, and the dot matrix word library prestored according to itself is carried out
Simple synthesis can show this document, reduce the requirement to slave unit hardware configuration, reduce between main equipment and slave unit
Volume of transmitted data, improve the speed of data transfer.
The embodiments of the invention provide a kind of main equipment 1, correspondence such scheme embodiment, each function list of main equipment 1
Member may be incorporated for above method step.As shown in figure 4, including:
Display parameters acquisition module 10, the display parameters for obtaining slave unit, display parameters include the screen of slave unit
Size, resolution ratio, display font size size, line space and margin away from.
File data request module 11 is received, the file data of acquisition first request for receiving slave unit transmission.
Ff module 12 is sent, the file for reading main equipment storage is selected to be sent to the first of slave unit
File, or asked according to the file data of acquisition first from slave unit received, search the first file.
File modular converter 13, for the first file to be converted into the second file according to display parameters, the second file includes
Typesetting data and content-data;
Sending module 14, for sending the second file to slave unit, to cause slave unit according to the dot-matrix prestored
Storehouse, shows the second file.
Further, display parameters acquisition module 10, is additionally operable to obtain the amended display parameters of slave unit.
File modular converter 13, is additionally operable to when receiving the request of the file data of acquisition first from slave unit again,
The first file is converted into the 3rd file according to amended display parameters, the 3rd file includes typesetting data
Sending module 14, is additionally operable to send the 3rd file to slave unit, to cause slave unit according to the dot matrix prestored
Character library, shows the content-data and the 3rd file of the second file.
Further, content-data includes literal code data and/or view data.
Further, typesetting data includes paging information, branch's information, display font size information, the picture position letter of file
Any one or two or more combinations of breath.
A kind of main equipment provided in an embodiment of the present invention, by the way that after main equipment and slave unit set up connection, main equipment is obtained
Take screen size, resolution ratio, display font size size, line space and the margin of slave unit including slave unit away from display parameters, read
The file stored on main equipment is taken, it is selected to be sent to the first file of slave unit, or receive the acquisition sent from slave unit
First file data is asked and searches the first file according to the request of the first file data is obtained, and according to display parameters by first
File is converted to the second file including typesetting data and content-data, so as to send the second file to slave unit, with cause from
Equipment shows the second file according to the dot matrix word library prestored.By the program, due to by main equipment according to slave unit
Display parameters carry out adaptive transition to the file needed for slave unit so that file and the screen display phase of slave unit after conversion
Matching, therefore, slave unit need not carry out the document analysis of complexity, and the dot matrix word library prestored according to itself is carried out simple
Synthesis can show this document, reduce the requirement to slave unit hardware configuration, reduce the number between main equipment and slave unit
According to transmission quantity, the speed of data transfer is improved.
The embodiment of the present invention also provides a kind of slave unit 2, correspondence such scheme embodiment, each function list of slave unit 2
Member may be incorporated for above method step.As shown in figure 5, including:
Transmitting element 20, for sending display parameters and obtaining the first file data solicited message to main equipment.
Receiving unit 21, please according to the display parameters of slave unit 2 and the first file data of acquisition for receiving main equipment 1
Ask the first file specified or main equipment 1 it is selected be sent to what is formed after the first file of slave unit 2 changes the first file
Second file, the second file includes typesetting data and content-data;
Display unit 22, for according to the dot matrix word library prestored, showing the second file.
Further, as described in Figure 6, display unit 22 also includes:
Reading unit 220, second file is read for the slave unit 2;
Typesetting data analytic unit 221, for the slave unit 2 according to the typesetting data, it is determined that showing the content
Line number, number of words, font size, text point and the picture position of data;
Content-data analytic unit 222, for the slave unit 2 according to the content-data, is obtained and the content number
According to corresponding literal code and view data, and the lookup word lattice corresponding with the literal code in the dot matrix word library
Figure;
The display unit 22, is additionally operable to the slave unit 2 and shows the word lattice figure and view data.
A kind of slave unit provided in an embodiment of the present invention, by the way that after main equipment and slave unit set up connection, main equipment is obtained
Take screen size, resolution ratio, display font size size, line space and the margin of slave unit including slave unit away from display parameters, read
The file stored on main equipment is taken, it is selected to be sent to the first file of slave unit, or receive the acquisition sent from slave unit
First file data is asked and searches the first file according to the request of the first file data is obtained, and according to display parameters by first
File is converted to the second file including typesetting data and content-data, so as to send the second file to slave unit, with cause from
Equipment shows the second file according to the dot matrix word library prestored.By the program, due to by main equipment according to slave unit
Display parameters carry out adaptive transition to the file needed for slave unit so that file and the screen display phase of slave unit after conversion
Matching, therefore, slave unit need not carry out the document analysis of complexity, and the dot matrix word library prestored according to itself is carried out simple
Synthesis can show this document, reduce the requirement to slave unit hardware configuration, reduce the number between main equipment and slave unit
According to transmission quantity, the speed of data transfer is improved.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (11)
1. a kind of file sharing method, main equipment is set up with slave unit and is connected, it is characterised in that including:
The display parameters of slave unit are obtained, the display parameters include the screen size, resolution ratio, display font size of the slave unit
Size, line space and margin are away from the slave unit is the reader device equipped with dot matrix word library;
Read the file that stores on main equipment, it is selected to be sent to the first file of the slave unit, or receive from it is described from
The file data of acquisition first that equipment is sent is asked and searches the first file according to the acquisition the first file data request;
First file is converted into the second file according to the display parameters, second file includes typesetting data and interior
Hold data, wherein, the typesetting data includes paging information, branch's information, display font size information, the image location information of file
Any one or two or more combinations;The content-data includes literal code data and/or view data;
Second file is sent to the slave unit, to cause the typesetting of the slave unit in second file
Data and the content-data, with reference to the dot matrix word library prestored, show second file after being synthesized, wherein,
The slave unit reads the typesetting data in second file first, the page number of the page shown as needed,
The typesetting situation of the page is searched in composition information, line number, number of words that the page is shown is determined, the big of font size is shown
It is small, the position of each word, if including described image data in the page, it needs to be determined that the position of image, according to lookup
The information arrived, obtains literal code data described in the content-data, according to the coding information of each word, in dot matrix word library
It is middle to be searched, the dot chart of the word corresponding to the literal code is found out, if including described image number in the page
According to then acquisition described image data, get after the content-data, by the composition information, show the point of each word
The system of battle formations and illustration image, so as to show second file.
2. file sharing method according to claim 1, it is characterised in that the slave unit is according to the dot matrix prestored
Character library, shows second file, specifically includes:
The slave unit reads second file;
The slave unit is according to the typesetting data, it is determined that showing the line number of the content-data, number of words, font size, word
Position and picture position;
The slave unit obtains literal code corresponding with the content-data and view data according to the content-data, and
Word lattice figure corresponding with the literal code is searched in the dot matrix word library;
The slave unit shows the word lattice figure and view data.
3. file sharing method according to claim 1 or 2, it is characterised in that transmission second file to institute
State after slave unit, methods described also includes:
Obtain the amended display parameters of the slave unit;
When receiving the request of the file data of the acquisition first from the slave unit again, according to described amended aobvious
Show that first file is converted to the 3rd file by parameter, the 3rd file includes typesetting data;
The 3rd file is sent to the slave unit, to cause the slave unit according to the dot matrix word library prestored, display
The content-data of second file and the 3rd file.
4. file sharing method according to claim 1 or 2, it is characterised in that the content-data includes literal code
Data and/or view data.
5. a kind of file sharing method, slave unit is set up with main equipment and is connected, it is characterised in that including:
Send the display parameters of slave unit and obtain the request of the first file data and arrive main equipment, the slave unit is that be furnished with dot-matrix
The reader device in storehouse;
Receive the main equipment and ask what is specified according to the display parameters and the file data of the acquisition first of the slave unit
First file or main equipment it is selected be sent to the formed after the first file of the slave unit changes first file
Two files, second file includes typesetting data and content-data, wherein, the paging that the typesetting data includes file is believed
Any one or two or more combinations of breath, branch's information, display font size information, image location information;The content-data
Including literal code data and/or view data;
The typesetting data and the content-data in second file, with reference to the dot matrix word library prestored, enter
Second file is shown after row synthesis, wherein,
The slave unit reads the typesetting data in second file first, the page number of the page shown as needed,
The typesetting situation of the page is searched in composition information, line number, number of words that the page is shown is determined, the big of font size is shown
It is small, the position of each word, if including described image data in the page, it needs to be determined that the position of image, according to lookup
The information arrived, obtains literal code data described in the content-data, according to the coding information of each word, in dot matrix word library
It is middle to be searched, the dot chart of the word corresponding to the literal code is found out, if including described image number in the page
According to then acquisition described image data, get after the content-data, by the composition information, show the point of each word
The system of battle formations and illustration image, so as to show second file.
6. file sharing method according to claim 5, it is characterised in that the slave unit is according to the dot matrix prestored
Character library, shows second file, specifically includes:
The slave unit reads second file;
The slave unit is according to the typesetting data, it is determined that showing the line number of the content-data, number of words, font size, word
Position and picture position;
The slave unit obtains literal code corresponding with the content-data and view data according to the content-data, and
Word lattice figure corresponding with the literal code is searched in the dot matrix word library;
The slave unit shows the word lattice figure and view data.
7. a kind of main equipment, it is characterised in that including:
Display parameters acquisition module, the display parameters for obtaining slave unit, the display parameters include the screen of the slave unit
Curtain size, resolution ratio, display font size size, line space and margin are away from the slave unit is that the reader equipped with dot matrix word library is set
It is standby;
File data request module is received, for receiving the file data of acquisition first request that the slave unit is sent;
Ff module is sent, the file for reading main equipment storage is selected to be sent to the first text of the slave unit
Part, or asked according to the file data of the acquisition first from the slave unit received, search first file;
File modular converter, for first file to be converted into the second file, second text according to the display parameters
Part includes typesetting data and content-data, wherein, the typesetting data includes paging information, branch's information, the display word of file
Any one or two or more combinations of number information, image location information;The content-data include literal code data and/
Or view data;
Sending module, for sending second file to the slave unit, to cause the slave unit according to the described second text
The typesetting data and the content-data in part, with reference to the dot matrix word library prestored, show described after being synthesized
Two files, wherein,
The slave unit reads the typesetting data in second file first, the page number of the page shown as needed,
The typesetting situation of the page is searched in composition information, line number, number of words that the page is shown is determined, the big of font size is shown
It is small, the position of each word, if including described image data in the page, it needs to be determined that the position of image, according to lookup
The information arrived, obtains literal code data described in the content-data, according to the coding information of each word, in dot matrix word library
It is middle to be searched, the dot chart of the word corresponding to the literal code is found out, if including described image number in the page
According to then acquisition described image data, get after the content-data, by the composition information, show the point of each word
The system of battle formations and illustration image, so as to show second file.
8. main equipment according to claim 7, it is characterised in that including:
The display parameters acquisition module, is additionally operable to obtain the amended display parameters of the slave unit;
The file modular converter, being additionally operable to receive the file data of the acquisition first from the slave unit again please
When asking, first file is converted into the 3rd file according to the amended display parameters, the 3rd file includes row
Version data;
The sending module, is additionally operable to send the 3rd file to the slave unit, to cause the slave unit according in advance
The dot matrix word library of storage, shows the content-data and the 3rd file of second file.
9. the main equipment according to claim 7 or 8, it is characterised in that the content-data include literal code data and/or
View data.
10. a kind of slave unit, sets up with main equipment and is connected, it is characterised in that including:
Transmitting element, for sending display parameters and obtaining the first file data solicited message to main equipment, the slave unit is
Reader device equipped with dot matrix word library;
Receiving unit, for receiving display parameters and the acquisition first number of files of the main equipment according to the slave unit
The first file for being sent to the slave unit that the first file or main equipment specified according to request are selected turns first file
The second file formed after changing, second file includes typesetting data and content-data, wherein, the typesetting data includes text
Any one or two or more combinations of the paging information of part, branch's information, display font size information, image location information;Institute
Stating content-data includes literal code data and/or view data;
Display unit, for the typesetting data and the content-data in second file, with reference to prestoring
Dot matrix word library, second file is shown after being synthesized, wherein,
The slave unit reads the typesetting data in second file first, the page number of the page shown as needed,
The typesetting situation of the page is searched in composition information, line number, number of words that the page is shown is determined, the big of font size is shown
It is small, the position of each word, if including described image data in the page, it needs to be determined that the position of image, according to lookup
The information arrived, obtains literal code data described in the content-data, according to the coding information of each word, in dot matrix word library
It is middle to be searched, the dot chart of the word corresponding to the literal code is found out, if including described image number in the page
According to then acquisition described image data, get after the content-data, by the composition information, show the point of each word
The system of battle formations and illustration image, so as to show second file.
11. slave unit according to claim 10, it is characterised in that the display unit also includes:
Reading unit, second file is read for the slave unit;
Typesetting data analytic unit, for the slave unit according to the typesetting data, it is determined that showing the row of the content-data
Number, number of words, font size, text point and picture position;
Content-data analytic unit, for the slave unit according to the content-data, is obtained corresponding with the content-data
Literal code and view data, and the lookup word lattice figure corresponding with the literal code in the dot matrix word library;
The display unit, is additionally operable to the slave unit and shows the word lattice figure and view data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210366455.6A CN103699538B (en) | 2012-09-27 | 2012-09-27 | A kind of method and device of file-sharing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210366455.6A CN103699538B (en) | 2012-09-27 | 2012-09-27 | A kind of method and device of file-sharing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103699538A CN103699538A (en) | 2014-04-02 |
CN103699538B true CN103699538B (en) | 2017-10-31 |
Family
ID=50361069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210366455.6A Active CN103699538B (en) | 2012-09-27 | 2012-09-27 | A kind of method and device of file-sharing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103699538B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107832273B (en) * | 2017-11-17 | 2022-01-25 | 青岛海信移动通信技术股份有限公司 | Ink screen content display method and device and display content pushing method and device |
CN109104635A (en) * | 2018-08-31 | 2018-12-28 | 四川长虹电器股份有限公司 | The method and system of instant delivery screen picture |
CN109857882A (en) * | 2018-12-20 | 2019-06-07 | 惠州Tcl移动通信有限公司 | Image processing method, device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101178729A (en) * | 2007-12-12 | 2008-05-14 | 北京中星微电子有限公司 | Words display process in embedded system and system thereof |
CN101287189A (en) * | 2007-04-09 | 2008-10-15 | 中国移动通信集团公司 | Displaying method of terminal, server and terminal |
CN101640601A (en) * | 2008-07-30 | 2010-02-03 | Tcl集团股份有限公司 | Management method for intelligent device |
CN102012894A (en) * | 2010-11-19 | 2011-04-13 | 百度在线网络技术(北京)有限公司 | Method and system for displaying documents by terminals |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6192383B1 (en) * | 1998-09-10 | 2001-02-20 | International Business Machines Corporation | Method and system in a computer network for automatically adding synchronization points to network documents |
US20030033332A1 (en) * | 2001-07-18 | 2003-02-13 | Lindsley Steven E. | Control/display unit page builder software tool |
CN101754433A (en) * | 2009-12-24 | 2010-06-23 | 深圳市同洲电子股份有限公司 | Method for displaying file content in mobile terminal and mobile terminal |
US20120017172A1 (en) * | 2010-07-15 | 2012-01-19 | Microsoft Corporation | Display-agnostic user interface for mobile devices |
-
2012
- 2012-09-27 CN CN201210366455.6A patent/CN103699538B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101287189A (en) * | 2007-04-09 | 2008-10-15 | 中国移动通信集团公司 | Displaying method of terminal, server and terminal |
CN101178729A (en) * | 2007-12-12 | 2008-05-14 | 北京中星微电子有限公司 | Words display process in embedded system and system thereof |
CN101640601A (en) * | 2008-07-30 | 2010-02-03 | Tcl集团股份有限公司 | Management method for intelligent device |
CN102012894A (en) * | 2010-11-19 | 2011-04-13 | 百度在线网络技术(北京)有限公司 | Method and system for displaying documents by terminals |
Also Published As
Publication number | Publication date |
---|---|
CN103699538A (en) | 2014-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8595643B2 (en) | Scrolling a subsequently displayed block with a delay from a previously displayed block | |
CN1905701B (en) | Method and system for issuing network message to mobile terminal apparatus | |
CN108037920A (en) | Client customizing form generation method, storage medium | |
CN102184202A (en) | Method of enabling network content suitable for small-sized screen | |
CN102750086A (en) | Method for achieving control of wirelessly shared and displayed pages between electronic devices | |
CN102349046A (en) | Method and apparatus for selecting text information | |
CN103699538B (en) | A kind of method and device of file-sharing | |
CN108322807A (en) | A kind of barrage methods of exhibiting and device | |
CN102156569A (en) | Apparatus and method for transmitting handwriting animation message | |
CN102326140A (en) | Method and apparatus for displaying additional information items | |
CN106355219A (en) | Material label barcode updating method, device, PDA and warehouse management system | |
CN104866180A (en) | Picture commenting method and system | |
CN102890670A (en) | Method and system for switching between layout reading mode and flow reading mode | |
CN104010279B (en) | A kind of multimedia message browsing method, system and user terminal | |
CN103870444A (en) | Image cutting method and system for image type texts | |
CN101299182B (en) | Printing device | |
CN103297834B (en) | Control method and device of set top box | |
JP2012113710A (en) | Apparatus and method for changing electronic book contents | |
CN102067093A (en) | Picture selecting system, picture output device, portable terminal, picture selecting method and program | |
CN104662509A (en) | Output device capable of outputting additional page, method for outputting additional page, and recording medium having program recorded thereon for executing method | |
CN102164178B (en) | Content acquiring method and client | |
CN101534419B (en) | Method for browsing pages in digital television and system thereof | |
CN103400319A (en) | Electronic menu display method | |
CN101986288B (en) | Method, device and system for displaying output of mobile terminal | |
KR101688788B1 (en) | Method for syncronizing application menu among electronic devices and electronic device using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240401 Address after: Zone 3B, 3rd Floor, Building 5, No. 8 Dongbei Wangxi Road, Haidian District, Beijing, 100193 Patentee after: BEIJING HANWANG GUOCUI TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 100193, No. 5, building 8, No. three northeast Wang Xi Road, Beijing, Haidian District Patentee before: HANWANG TECHNOLOGY Co.,Ltd. Country or region before: China |