CN107423013A - A kind of data display method, device and electronic equipment - Google Patents

A kind of data display method, device and electronic equipment Download PDF

Info

Publication number
CN107423013A
CN107423013A CN201710210734.6A CN201710210734A CN107423013A CN 107423013 A CN107423013 A CN 107423013A CN 201710210734 A CN201710210734 A CN 201710210734A CN 107423013 A CN107423013 A CN 107423013A
Authority
CN
China
Prior art keywords
display
application program
plug
unit
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710210734.6A
Other languages
Chinese (zh)
Other versions
CN107423013B (en
Inventor
汪亚磊
陈新港
候琦锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ireader Technology Co Ltd
Zhangyue Technology Co Ltd
Original Assignee
Zhangyue Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhangyue Technology Co Ltd filed Critical Zhangyue Technology Co Ltd
Priority to CN201710210734.6A priority Critical patent/CN107423013B/en
Publication of CN107423013A publication Critical patent/CN107423013A/en
Application granted granted Critical
Publication of CN107423013B publication Critical patent/CN107423013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1438Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using more than one graphics controller
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/0225User interface arrangements, e.g. keyboard, display; Interfaces to other computer systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • G06F15/0291Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for reading, e.g. e-books
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/904Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Computer Graphics (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of data display method, device and electronic equipment, is related to data presentation technique field.The data display method of the embodiment of the present invention includes:Application program with the first display characteristic and the plug-in unit with the second display characteristic associated with the application program are set;By the communication interface of the application program, the plug-in unit is connected with the database communication of the application program;Using the application program, on the first screen of the electronic equipment, the display data in the database is shown with first display characteristic;Using the plug-in unit, on the second screen of the electronic equipment, the display data in the database is shown with second display characteristic.By the scheme of the embodiment of the present invention, it can effectively solve the problem that same content is matching the problem of showing on different screen.

Description

A kind of data display method, device and electronic equipment
Technical field
The present invention relates to data presentation technique field, more particularly to specific data are on the electronic equipment with two screens Display Technique.
Background technology
With the development of smart mobile phone, the personalized difference between smart mobile phone is also more and more obvious.And Dual-band Handy Phone It is a Typical Representative in numerous personalized handsets.Common Dual-band Handy Phone typically sets two display screens of major-minor, including One positioned at the positive main touching display screen of mobile phone and a secondary touching display screen for being located at the mobile phone back side.As a kind of feelings Condition, the area of main touching display screen are more than the area of secondary touching display screen, and the part mobile phone on main touching display screen Function and application method realize that so, user can be shown by one-handed performance pair touch-control completely on secondary touching display screen Display screen controls the operation of mobile phone, so as to realize receive calls, the operation such as hang up the telephone.Alternatively situation, can also The front of mobile phone is set with high-resolution, colored LCD main displays can be shown, the back side is shown using E-ink Electronic Papers Screen.Compared to LCD main screens, E-ink electronic-paper display screens possess the features such as superpower visual under ultra-thin, ultralight, super power saving, sunlight.
Inventor has found that the different types of screen of Dual-band Handy Phone tow sides is special in display during the present invention is realized Property on have differences, same display content, can due to the display characteristic difference of display screen during major and minor screen is shown Cause the inconsistency of display, or even some contents to be only capable of showing in main screen, and can not be shown in secondary screen.With Family is during using Dual-band Handy Phone, it is desirable to be able to gives full play to the advantage of Dual-band Handy Phone, and avoids what is thus brought as far as possible It is constant.
Therefore a kind of electronic equipments such as the Double screen handset with different display properties that are directed to are needed to carry out display control Solution.
The content of the invention
In view of this, it is at least part of the embodiments of the invention provide a kind of data display method, device and electronic equipment Solve problems of the prior art.
In a first aspect, the embodiments of the invention provide a kind of data display method, applied to electronic equipment, including:
Application program with the first display characteristic is set and associated with the application program with the second display characteristic Plug-in unit;
By the communication interface of the application program, the plug-in unit is connected with the database communication of the application program;
Using the application program, on the first screen of the electronic equipment, institute is shown with first display characteristic State the display data in database;
Using the plug-in unit, on the second screen of the electronic equipment, the number is shown with second display characteristic According to the display data in storehouse.
A kind of specific implementation according to embodiments of the present invention, methods described also include:
Build the privately owned communication protocol between the application program and the plug-in unit;
The application program utilizes the privately owned communication protocol, controls content of the plug-in unit on second screen to show Show.
A kind of specific implementation according to embodiments of the present invention, the control plug-in unit is on second screen Content shows, including:
Obtain the display information corresponding to the content that the application program is currently shown;
On the second screen of the electronic equipment, show that the application program is currently shown with second display characteristic Content corresponding to display information.
A kind of specific implementation according to embodiments of the present invention, the display information include:
The id information for the reading file that the application program is shown;And/or
The reading progress msg for the reading file that the application program is shown.
A kind of specific implementation according to embodiments of the present invention, the content for obtaining the application program and currently showing Corresponding display information, including:
Using the plug-in unit, read that the application program preserves in the database from the database with it is current The id information of reading file corresponding to display content, and/or the reading progress msg.
A kind of specific implementation according to embodiments of the present invention, the display information include:
The information shown in the picture of the application program display interface.
A kind of specific implementation according to embodiments of the present invention, methods described also include:
The first switching key and the second switching is set to press on the display interface of the application program and the plug-in unit respectively Key;
Based on first switching key or second switching key, perform the application program and the plug-in unit is shown The switching of content.
A kind of specific implementation according to embodiments of the present invention, the display data of the database include different pieces of information lattice The reading text of formula.
A kind of specific implementation according to embodiments of the present invention, it is described to utilize the application program, set in the electronics On the first standby screen, the display data in the database is shown with first display characteristic, including:
The reading text of all formats stored in the database is parsed using the application program;
The reading text of all formats is shown on first screen.
A kind of specific implementation according to embodiments of the present invention, it is described to utilize the plug-in unit, in the electronic equipment On second screen, the display data in the database is shown with second display characteristic, including:
Obtain the reading text of all formats stored in the database;
Whether the form for judging the reading text is the compatible form of the plug-in unit;
The reading text compatible with the plug-in unit is parsed in the plug-in unit;
The reading text compatible with the plug-in unit is shown on second screen.
Second aspect, the embodiment of the present invention additionally provide a kind of data presentation device, including:
First setup module, associated for application program of the setting with the first display characteristic and with the application program Plug-in unit with the second display characteristic;
Link block, for the communication interface by the application program, by the plug-in unit and the number of the application program Communicated to connect according to storehouse;
First display module, for utilizing the application program, on the first screen of the electronic equipment, with described the One display characteristic shows the display data in the database;
Second display module, it is aobvious with described second on the second screen of the electronic equipment for utilizing the plug-in unit Show that characteristic shows the display data in the database.
A kind of specific implementation according to embodiments of the present invention, described device also include:
Module is built, for building the privately owned communication protocol between the application program and the plug-in unit;
Control module, the privately owned communication protocol is utilized for the application program, controls the plug-in unit described second Content on screen is shown.
A kind of specific implementation according to embodiments of the present invention, the control module, is additionally operable to:
Obtain the display information corresponding to the content that the application program is currently shown;
On the second screen of the electronic equipment, show that the application program is currently shown with second display characteristic Content corresponding to display information.
A kind of specific implementation according to embodiments of the present invention, the display information include:
The id information for the reading file that the application program is shown;And/or
The reading progress msg for the reading file that the application program is shown.
A kind of specific implementation according to embodiments of the present invention, the control module, is additionally operable to:
Using the plug-in unit, read that the application program preserves in the database from the database with it is current The id information of reading file corresponding to display content, and/or the reading progress msg.
A kind of specific implementation according to embodiments of the present invention, the display information include:
The information shown in the picture of the application program display interface.
A kind of specific implementation according to embodiments of the present invention, described device also include:
Second setup module, for setting the first switching on the display interface of the application program and the plug-in unit respectively Button and the second switching key;
Execution module, for based on first switching key or second switching key, performing the application program And the switching of the plug-in unit display content.
A kind of specific implementation according to embodiments of the present invention, the display data of the database include different pieces of information lattice The reading text of formula.
A kind of specific implementation according to embodiments of the present invention, first display module, is additionally operable to:
The application program is set to parse the reading text of all formats stored in the database;
The reading text of all formats is shown on first screen.
A kind of specific implementation according to embodiments of the present invention, second display module, is additionally operable to:
Obtain the reading text of all formats stored in the database;
Whether the form for judging the reading text is the compatible form of the plug-in unit;
The reading text compatible with the plug-in unit is parsed in the plug-in unit;
The reading text compatible with the plug-in unit is shown on second screen.
The third aspect, the embodiment of the present invention additionally provide a kind of electronic equipment, and the electronic equipment includes:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by least one processor Perform, so that at least one processor is able to carry out the number in any implementation of foregoing first aspect or first aspect According to display methods.
Fourth aspect, the embodiment of the present invention additionally provide a kind of non-transient computer readable storage medium storing program for executing, the non-transient meter Calculation machine readable storage medium storing program for executing stores computer instruction, and the computer instruction is used to make the computer perform aforementioned first aspect or the Data display method in any implementation of one side.
5th aspect, the embodiment of the present invention additionally provide a kind of computer program product, and the computer program product includes The calculation procedure being stored on non-transient computer readable storage medium storing program for executing, the computer program includes programmed instruction, when the program When instruction is computer-executed, the computer is set to perform the data in any implementation of aforementioned first aspect or first aspect Display methods.
Data display method provided in an embodiment of the present invention, device, electronic equipment, non-transient computer readable storage medium storing program for executing And computer program, by setting the application program with the first display characteristic and the plug-in unit with the second display characteristic, application Program, plug-in unit distinguish the display of the first screen and the second content on screen of control electronics, solve same electronic equipment Different screen is due to the different caused display compatibility issues of display characteristic.Meanwhile application program, plug-in unit are in same database Display content is obtained, ensure that the uniformity of display content.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area For those of ordinary skill, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of data display method provided in an embodiment of the present invention;
Fig. 2 is the stream provided in an embodiment of the present invention for controlling content of the plug-in unit on the second screen to show based on proprietary protocol Journey schematic diagram;
Fig. 3 is that the flow provided in an embodiment of the present invention for being switched application program and plug-in unit display content based on switching key is shown It is intended to;
Fig. 4 is the compatible schematic flow sheet for reading text of plug-in unit provided in an embodiment of the present invention display;
Fig. 5 is a kind of schematic block diagram of data presentation device provided in an embodiment of the present invention;
Fig. 6 is the schematic block diagram of another data presentation device provided in an embodiment of the present invention;
Fig. 7 is the schematic block diagram of another data presentation device provided in an embodiment of the present invention;
Fig. 8 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
It will be appreciated that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its Its embodiment, belongs to the scope of protection of the invention.
Fig. 1 is a kind of data display method provided in an embodiment of the present invention, and referring to Fig. 1, this method comprises the following steps:
S101, sets the application program with the first display characteristic and what is associated with the application program shows with second The plug-in unit of characteristic.
By taking Android system as an example, can install to integrate in Android system in the form of APK installation kits has read function Application program, the integrated application program with read function is installed in the application in the form of jar, dex or apk and inserted Part.Specifically, application program and plug-in unit can support read font size regulation, read style set, it is self-defined reading theme, Reading progress such as redirects at the operation.In addition, in application program and the interactive interface of plug-in unit, keyword search, automatic is also supported Page turning, page turning special efficacy, read bookmark, be shared with the operation such as good friend, download online e-book.
Application program has the first display characteristic, the first screen display properties phase of the first display characteristic and electronic equipment Match somebody with somebody.Specifically, the first display characteristic including the use of more color (such as 24 RGBs) come the content expressing to be shown, tool There is higher screen resolution, it would be preferable to support the display of the content of all data formats, and support higher screen-refresh frequency Rate.The display mode of first display characteristic can support the display mode of common lcd screen.
Plug-in unit has the second display characteristic, and the second screen display properties of the second display characteristic and electronic equipment match. Specifically, the second display characteristic expresses the content to be shown including the use of less color (such as 16 rank gray scales), it has Relatively low screen resolution, the in most cases only display of the content of support section data format, the relatively low screen of generally use Curtain refreshing frequency.The display mode of second display characteristic can support the display mode of common E-ink screens.
, can by user's click or other triggering modes after application program installs in the electronic equipments such as mobile phone Voluntarily to start, and then corresponding display function is performed, application program can perform slotting by the plug-in unit for calling it to be internally integrated The corresponding function of part.
S102, by the communication interface of the application program, by the plug-in unit and the database communication of the application program Connection.
The content that application program and the plug-in unit are shown can be caused data or pre- in system operation The data being first stored in database.Application program itself carries database, and the content of display in need is stored in database.With The e-book including txt, html, chm, pdf, epub, mobi form can be stored exemplified by common e-book, in database to show Registration evidence, these e-book mainly store eBook content, the wherein e-book such as html, epub, mobi in a file format Multimedia and chapters and sections format and some books essential informations, such as book number can also be supported.Above-mentioned form is all with text The form storage book content of part.For example, an e-book can be stored as a file.
As a kind of implementation, can be stored in the local of electronic equipment using mysql databases as database Display content, application program and plug-in unit are connected with being stored with the database communication of display data respectively, and can so ensure should The being consistent property of content shown with program and plug-in unit.
Database can be the private data storehouse of application program, deposit in the data catalogues of application program, and plug-in unit can be with Operation is written and read to the database.
S103, using the application program, on the first screen of the electronic equipment, shown with first display characteristic Show the display data in the database.
When user sends the instruction of display operation in the interactive interface of application program, application program can pass through key The modes such as word, index are retrieved to the content in database.When retrieving corresponding display content, can be connect by data Mouth reading e-books content from database, the display file such as e-book is then regenerated according to the data format of display content.
Application program is during by the display content generation e-book in database, it is necessary to carry out lattice to data content Formula is changed, to enable the display file after conversion to possess the first display characteristic.Wherein, the first display characteristic be can be with The display characteristic that one screen matches.The display file that application program most generates at last is shown on the first screen.
S104, using the plug-in unit, on the second screen of the electronic equipment, institute is shown with second display characteristic State the display data in database.
When the application call plug-in unit, or the plug-in unit by user other instruction calls when, plug-in unit can pass through The modes such as keyword, index are retrieved to the content in database.When retrieving corresponding display content, number can be passed through According to interface from database reading e-books content, the display text such as e-book is then regenerated according to the data format of display content Part.
Plug-in unit turns during by the display content generation e-book in database, it is necessary to enter row format to data content Change, to enable the display file after conversion to possess the second display characteristic.Wherein, the second display characteristic be can be with the second screen The display characteristic that curtain matches.The display file that plug-in unit most generates at last is shown on the second screen.
Loaded and displayed is carried out to the display content in database by using application program and plug-in unit, enabled to same Content can match display on the different screen of same electronic equipment, while ensure that the uniformity of display content.
During realizing that data are shown, optionally, the privately owned logical of customization can be passed through between application program and plug-in unit Letter interface is communicated, and shows the content in the application program of other side.To call plug-in unit to show on the second screen in application program Exemplified by showing content, referring to Fig. 2, comprise the following steps:
S201, build the privately owned communication protocol between the application program and the plug-in unit.
Specifically, during plug-in unit generates, a card i/f is defined, after finishing writing this interface, this is exported and inserts Part interface generates jar bags, then a newly-built engineering and by this engineering (such as external in eclipse by reference Library after) quoting this bag, this interface is realized.Compile this engineering and generate apk or export and realize that class generates dex, Finally the jar (i.e. plug-in unit SDK) of card i/f is placed under lib catalogues when apk is compiled in main works to be packed into and come, simultaneously Write proprietary protocol communication cryptology loaded when needing call the plug-in unit.
S202, the application program utilize the privately owned communication protocol, control the plug-in unit on second screen Content is shown.
Specifically, application program calls plug-in unit by card i/f, the order of plug-in unit will be called by privately owned communication protocol The plug-in unit is being sent to, in order to control content of the plug-in unit on second screen to show.
Content of the plug-in unit on second screen is controlled to show, including control plug-in unit display content on the second screen, Also include the operation for forbidding or closing the plug-in unit, and then close the display of the second content on screen.
Optionally, content of the plug-in unit on second screen is controlled to show, including:
Obtain the display information corresponding to the content that the application program is currently shown;
On the second screen of the electronic equipment, show that the application program is currently shown with second display characteristic Content corresponding to display information.
Optionally, the display information includes:The id information for the reading file that the application program is shown;It is and/or described The reading progress msg for the reading file that application program is shown.The id information of reading file and the reading progress letter of reading file Breath can be preserved in database, at this point it is possible to using the plug-in unit, the application program is read from database in institute State the id information of the reading file corresponding with present displayed content preserved in database, and/or the reading progress msg.
Optionally, the display information can also include the information shown in the picture of the application program display interface.
Optionally, the embodiment of the invention also discloses the side for switching application program and plug-in unit display content based on switching key Method, referring to Fig. 3, this method comprises the following steps:
S301, the first switching key is set on the display interface of the application program and the plug-in unit respectively and second cut Change button.
Specifically, the first switching key can be set on the interactive interface of application program, on the interactive interface of plug-in unit Second switching key is set.First switching key and the second switching key can be the interaction buttons on software interactive interface, Can be that the order associated with a certain hardware button of electronic equipment is good for.
S302, based on first switching key or second switching key, perform the application program and described insert The switching of part display content.
When the instruction of the first switching key association is performed, the content shown in application program can be projected plug-in unit Display interface in, simultaneously close off the first screen.The content shown in application program can certainly be projected to the aobvious of plug-in unit Show in interface, while the display content of plug-in unit is shown in the application.The content that application program and plug-in unit are shown, can , can also be different with identical.
When the instruction of second switching key association is performed, its implementation procedure is held with the instruction that the first switching key associates Process during row is similar, and here is omitted.
By the scheme in the embodiment, can be controlled using flexible mode on the first screen and the second screen in display The switching of appearance.
As a kind of optional implementation, the display data of database includes the reading text of different data format.When Application program shows the display number in the database with first display characteristic on the first screen of the electronic equipment According to when, application program can parse the reading text of all formats stored in the database, and on first screen Show the reading text of all formats.
Alternatively optional implementation, referring to Fig. 4, plug-in unit on the second screen of the electronic equipment, with When second display characteristic shows the display data in the database, it may include steps of:
S401, obtain the reading text of all formats stored in the database.
By taking common e-book as an example, it can be stored including txt, html, chm, pdf, epub, mobi form in database E-book display data, these e-book mainly store eBook content in a file format, wherein html, epub, The e-book such as mobi can also support multimedia and chapters and sections format and some books essential informations, such as book number.It is above-mentioned Form is all to store book content in the form of a file.For example, an e-book can be stored as a file.Now need Obtain in database and store all e-books and its corresponding form.
S402, whether the form for judging the reading text is the compatible form of the plug-in unit.
Shown because plug-in unit is used for the progress content on the second screen, at this time, it may be necessary to judge the electricity obtained in database Whether the form of subgraph book is the compatible form of the plug-in unit.For example the e-book of html, chm, pdf form is on the second screen The effect of display is poor, it is necessary to which the e-book of this type is filtered out when display.
S403, the reading text compatible with the plug-in unit is parsed in the plug-in unit.
After e-book judged that plug-in unit is compatible in step S402 and supported etc. reads text, plug-in unit solution can be utilized Compatible reading text is analysed, in order to form the content of suitable second screen display based on the reading text after parsing.
S404, the reading text compatible with the plug-in unit is shown on second screen.
, it is necessary to enter to the data for reading text before the reading text compatible with plug-in unit is shown on the second screen in plug-in unit Row format is changed, and the reading text of full color form such as is converted into the reading text of GTG form, finally in the second reading screen The reading text of gradient style is shown on curtain.
By the scheme in the present embodiment, compatible mistake can be carried out to the text style of application program and plug-in unit compatibility Filter, improves display effect of the display content in the first screen and the second screen.
Fig. 5 is a kind of data presentation device provided in an embodiment of the present invention, and referring to Fig. 5, the data presentation device 50 includes:
First setup module 501, there is the application program of the first display characteristic for setting and closed with the application program The plug-in unit with the second display characteristic of connection.
By taking Android system as an example, can install to integrate in Android system in the form of APK installation kits has read function Application program, the integrated application program with read function is installed in the application in the form of jar, dex or apk and inserted Part.Specifically, application program and plug-in unit can support read font size regulation, read style set, it is self-defined reading theme, Reading progress such as redirects at the operation.In addition, in application program and the interactive interface of plug-in unit, keyword search, automatic is also supported Page turning, page turning special efficacy, read bookmark, be shared with the operation such as good friend, download online e-book.
Application program has the first display characteristic, the first screen display properties phase of the first display characteristic and electronic equipment Match somebody with somebody.Specifically, the first display characteristic including the use of more color (such as 24 RGBs) come the content expressing to be shown, tool There is higher screen resolution, it would be preferable to support the display of the content of all data formats, and support higher screen-refresh frequency Rate.The display mode of first display characteristic can support the display mode of common lcd screen.
Plug-in unit has the second display characteristic, and the second screen display properties of the second display characteristic and electronic equipment match. Specifically, the second display characteristic expresses the content to be shown including the use of less color (such as 16 rank gray scales), it has Relatively low screen resolution, the in most cases only display of the content of support section data format, the relatively low screen of generally use Curtain refreshing frequency.The display mode of second display characteristic can support the display mode of common E-ink screens.
, can by user's click or other triggering modes after application program installs in the electronic equipments such as mobile phone Voluntarily to start, and then corresponding display function is performed, application program can perform slotting by the plug-in unit for calling it to be internally integrated The corresponding function of part.
Link block 502, for the communication interface by the application program, by the plug-in unit and the application program Database communication connects.
The content that application program and the plug-in unit are shown can be caused data or pre- in system operation The data being first stored in database.Application program itself carries database, and the content of display in need is stored in database.With The e-book including txt, html, chm, pdf, epub, mobi form can be stored exemplified by common e-book, in database to show Registration evidence, these e-book mainly store eBook content, the wherein e-book such as html, epub, mobi in a file format Multimedia and chapters and sections format and some books essential informations, such as book number can also be supported.Above-mentioned form is all with text The form storage book content of part.For example, an e-book can be stored as a file.
As a kind of implementation, can be stored in the local of electronic equipment using mysql databases as database Display content, application program and plug-in unit are connected with being stored with the database communication of display data respectively, and can so ensure should The being consistent property of content shown with program and plug-in unit.
Database can be the private data storehouse of application program, deposit in the data catalogues of application program, and plug-in unit can be with Operation is written and read to the database.
First display module 503, for utilizing the application program, on the first screen of the electronic equipment, with institute State the first display characteristic and show display data in the database.
When user sends the instruction of display operation in the interactive interface of application program, application program can pass through key The modes such as word, index are retrieved to the content in database.When retrieving corresponding display content, can be connect by data Mouth reading e-books content from database, the display file such as e-book is then regenerated according to the data format of display content.
Application program is during by the display content generation e-book in database, it is necessary to carry out lattice to data content Formula is changed, to enable the display file after conversion to possess the first display characteristic.Wherein, the first display characteristic be can be with The display characteristic that one screen matches.The display file that application program most generates at last is shown on the first screen.
Second display module 504, for utilizing the plug-in unit, on the second screen of the electronic equipment, with described the Two display characteristics show the display data in the database.
When the application call plug-in unit, or the plug-in unit by user other instruction calls when, plug-in unit can pass through The modes such as keyword, index are retrieved to the content in database.When retrieving corresponding display content, number can be passed through According to interface from database reading e-books content, the display text such as e-book is then regenerated according to the data format of display content Part.
Plug-in unit turns during by the display content generation e-book in database, it is necessary to enter row format to data content Change, to enable the display file after conversion to possess the second display characteristic.Wherein, the second display characteristic be can be with the second screen The display characteristic that curtain matches.The display file that plug-in unit most generates at last is shown on the second screen.
Loaded and displayed is carried out to the display content in database by using application program and plug-in unit, enabled to same Content can match display on the different screen of same electronic equipment, while ensure that the uniformity of display content.
Referring to Fig. 6, optionally, data presentation device 50 also includes:
Module 601 is built, for building the privately owned communication protocol between the application program and the plug-in unit;
Control module 602, the privately owned communication protocol is utilized for the application program, control the plug-in unit described Content on two screens is shown.
Referring to Fig. 7, optionally, data presentation device 50 also includes:
Second setup module 701, for setting first on the display interface of the application program and the plug-in unit respectively Switching key and the second switching key.
Execution module 702, for based on first switching key or second switching key, execution is described to apply journey The switching of sequence and the plug-in unit display content.
In the particular content performed by functional module in embodiment corresponding to Fig. 5-7 and the embodiment of the method corresponding to it Content correspond, do not repeating herein.
Fig. 8 shows the structural representation of electronic equipment 80 provided in an embodiment of the present invention, and electronic equipment 80 is included at least One processor 801 (such as CPU), at least one input/output interface 804, memory 802, and at least one communication bus 803, for realizing the connection communication between these parts.At least one processor 801 is used to perform what is stored in memory 802 Computer instruction, so that at least one processor 801 is able to carry out the embodiment of foregoing any data display methods.Storage Device 802 is non-transient memory (non-transitory memory), and it can include volatile memory, for example, at a high speed with Machine access memory (RAM:Random Access Memory), nonvolatile memory (non-volatile can also be included Memory), a for example, at least magnetic disk storage.(can be wired or wireless by least one input/output interface 804 Communication interface) realize and the communication connection between at least one other equipment or unit.
In some embodiments, memory 802 stores program 8021, the configuration processor 8021 of processor 801, for holding Content in the foregoing any data display methods embodiment of row.
The electronic equipment can exist in a variety of forms, include but is not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data Communicate as main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and it is low Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, there is calculating and processing work( Can, typically also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes:Audio, Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigation equipment.
(4) particular server:The equipment for providing the service of calculating, the composition of server include processor, hard disk, internal memory, are Bus of uniting etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, therefore handling Ability, stability, reliability, security, scalability, manageability etc. require higher.
(5) other electronic equipments with data interaction function.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.
For device embodiment, because it is substantially similar to embodiment of the method, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.
In the above-described embodiment, multiple steps or method can use storage to be performed in memory and by suitable instruction The software or firmware that system performs are realized.If for example, being realized with hardware, with another embodiment, can use Any one of following technology well known in the art or their combination are realized:With for realizing logic work(to data-signal The discrete logic of the logic gates of energy, there is the application specific integrated circuit of suitable combinational logic gate circuit, programmable gate Array (PGA), field programmable gate array (FPGA) etc..
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, the change or replacement that can readily occur in, all should It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

  1. A kind of 1. data display method, applied to electronic equipment, it is characterised in that including:
    The inserting with the second display characteristic that application program with the first display characteristic is set and associated with the application program Part;
    By the communication interface of the application program, the plug-in unit is connected with the database communication of the application program;
    Using the application program, on the first screen of the electronic equipment, the number is shown with first display characteristic According to the display data in storehouse;
    Using the plug-in unit, on the second screen of the electronic equipment, the database is shown with second display characteristic In display data.
  2. 2. data display method according to claim 1, it is characterised in that methods described also includes:
    Build the privately owned communication protocol between the application program and the plug-in unit;
    The application program utilizes the privately owned communication protocol, controls content of the plug-in unit on second screen to show.
  3. 3. the data display method according to right wants 2, it is characterised in that the control plug-in unit is in second screen On content show, including:
    Obtain the display information corresponding to the content that the application program is currently shown;
    On the second screen of the electronic equipment, show that the application program is currently shown with second display characteristic in Hold corresponding display information.
  4. 4. data display method according to claim 3, it is characterised in that the display information includes:
    The id information for the reading file that the application program is shown;And/or
    The reading progress msg for the reading file that the application program is shown.
  5. 5. data display method according to claim 4, it is characterised in that the acquisition application program is currently shown Content corresponding to display information, including:
    Using the plug-in unit, it is preserving in the database with current display that the application program is read from the database The id information of reading file corresponding to content, and/or the reading progress msg.
  6. 6. data display method according to claim 3, it is characterised in that the display information includes:
    The information shown in the picture of the application program display interface.
  7. 7. data display method according to claim 1, it is characterised in that methods described also includes:
    First switching key and the second switching key are set on the display interface of the application program and the plug-in unit respectively;
    Based on first switching key or second switching key, the application program and the plug-in unit display content are performed Switching.
  8. 8. data display method according to claim 1, it is characterised in that:
    The display data of the database includes the reading text of different data format.
  9. A kind of 9. data presentation device, it is characterised in that including:
    First setup module, for application program with the first display characteristic is set and associated with the application program with The plug-in unit of second display characteristic;
    Link block, for the communication interface by the application program, by the plug-in unit and the database of the application program Communication connection;
    First display module, it is aobvious with described first on the first screen of the electronic equipment for utilizing the application program Show that characteristic shows the display data in the database;
    Second display module, it is special with the described second display on the second screen of the electronic equipment for utilizing the plug-in unit Property shows the display data in the database.
  10. 10. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
    At least one processor;And
    The memory being connected with least one processor communication;Wherein,
    The memory storage has can be by the instruction of at least one computing device, and the instruction is by least one place Manage device to perform, so that at least one processor is able to carry out the data display method described in foregoing any claim 1-8.
CN201710210734.6A 2017-03-31 2017-03-31 A kind of data display method, device and electronic equipment Active CN107423013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710210734.6A CN107423013B (en) 2017-03-31 2017-03-31 A kind of data display method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710210734.6A CN107423013B (en) 2017-03-31 2017-03-31 A kind of data display method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN107423013A true CN107423013A (en) 2017-12-01
CN107423013B CN107423013B (en) 2018-06-08

Family

ID=60423445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710210734.6A Active CN107423013B (en) 2017-03-31 2017-03-31 A kind of data display method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107423013B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992230A (en) * 2019-03-27 2019-07-09 联想(北京)有限公司 Control method and electronic equipment
CN113282811A (en) * 2021-05-27 2021-08-20 广州文石信息科技有限公司 MOBI document display method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163146A (en) * 2010-02-15 2011-08-24 索尼欧洲有限公司 Customisation of actions selectable by a user interface
CN104360797A (en) * 2014-10-16 2015-02-18 广州三星通信技术研究有限公司 Content display method and system for electronic equipment
CN104503726A (en) * 2014-12-31 2015-04-08 深圳市中兴移动通信有限公司 Display device, display terminal and display control method thereof
CN105302418A (en) * 2015-11-02 2016-02-03 联想(北京)有限公司 Information processing method and electronic device
CN106201407A (en) * 2016-07-15 2016-12-07 珠海市魅族科技有限公司 A kind of data display method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102163146A (en) * 2010-02-15 2011-08-24 索尼欧洲有限公司 Customisation of actions selectable by a user interface
CN104360797A (en) * 2014-10-16 2015-02-18 广州三星通信技术研究有限公司 Content display method and system for electronic equipment
CN104503726A (en) * 2014-12-31 2015-04-08 深圳市中兴移动通信有限公司 Display device, display terminal and display control method thereof
CN105302418A (en) * 2015-11-02 2016-02-03 联想(北京)有限公司 Information processing method and electronic device
CN106201407A (en) * 2016-07-15 2016-12-07 珠海市魅族科技有限公司 A kind of data display method and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992230A (en) * 2019-03-27 2019-07-09 联想(北京)有限公司 Control method and electronic equipment
CN113282811A (en) * 2021-05-27 2021-08-20 广州文石信息科技有限公司 MOBI document display method, device and equipment

Also Published As

Publication number Publication date
CN107423013B (en) 2018-06-08

Similar Documents

Publication Publication Date Title
CN101916245B (en) A kind of e-book annotation on electronic reader realizes method and apparatus
US20130239020A1 (en) Electronic-book system and method for sharing additional page information thereof
CN107423012B (en) A kind of data display method, device and electronic equipment
CN104636321B (en) Text display method and device
CN109324813A (en) Electronic control system writes with a brush dipped in Chinese ink method, apparatus and computer media
CN103593370B (en) The method and browser of expanded application are realized in a browser
EP2711848A2 (en) System and method for creating e-book including user effects
CN105549760B (en) Data inputting method and device
CN103186632A (en) Method and device for customizing operation and maintenance form
CN106168944A (en) Document conversion method
CN104252247A (en) Stylus shorthand
CN104252311A (en) Modifying stylus input or response using inferred emotion
CN107423013B (en) A kind of data display method, device and electronic equipment
CN104252312A (en) Stylus lexicon sharing
KR20110001105A (en) Mobile terminal and control method thereof
CN109992580A (en) Processing method and processing device, storage medium, the computer equipment of table data
JP2012113710A (en) Apparatus and method for changing electronic book contents
CN102855107A (en) Method and system for demonstrating file on computer
CN106506805A (en) Head portrait of contact person generation method and device
US20160253556A1 (en) Ink stroke grouping based on stroke attributes
KR101659928B1 (en) Method, system and recording medium for providing word meaning
CN107734125A (en) A kind of contact person's method of calling, device, terminal and readable storage medium storing program for executing
CN103970498A (en) Electronic Device And Music Visualization Method Thereof
CN107102748A (en) Method and input method for inputting words
CN102682066A (en) Dictionary information display device and dictionary information display method

Legal Events

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