CN107423013B - 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
CN107423013B
CN107423013B CN201710210734.6A CN201710210734A CN107423013B CN 107423013 B CN107423013 B CN 107423013B CN 201710210734 A CN201710210734 A CN 201710210734A CN 107423013 B CN107423013 B CN 107423013B
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.)
Active
Application number
CN201710210734.6A
Other languages
Chinese (zh)
Other versions
CN107423013A (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.)
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)
  • Data Mining & Analysis (AREA)
  • Computer Graphics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a kind of data display method, device and electronic equipments, are related to data presentation technique field.The data display method of the embodiment of the present invention includes:Set application program with the first display characteristic and with the associated plug-in unit with the second display characteristic of the application program;By the communication interface of the application program, the plug-in unit is connect 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.Scheme through the embodiment of the present invention 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 on electronic equipment of the tool there are two screen Display technology.
Background technology
With the development of smart mobile phone, the personalized difference between smart mobile phone is also more and more apparent.And Dual-band Handy Phone It is a Typical Representative in numerous personalized handsets.Common Dual-band Handy Phone generally sets two display screens of major-minor, including One is located 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 are realized completely on secondary touching display screen, in this way, user can be shown by one-handed performance pair touch-control Display screen controls the operation of mobile phone, so as to fulfill receive calls, the operations such as hang up the telephone.Alternatively situation, can also The front setting of mobile phone is had into high-resolution, can show colored LCD main displays, 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 in the implementation of the present invention Property on have differences, it is same to show content during major and minor screen show, can be due to the display characteristic difference of display screen The inconsistency or even some contents for leading to display are only capable of showing in main screen, and cannot be shown in secondary screen.With Family is during Dual-band Handy Phone is used, it is desirable to be able to give full play to the advantage of Dual-band Handy Phone, and avoid what is thus brought 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 is needed to carry out display control Solution.
Invention content
In view of this, it is at least part of an embodiment of the present invention provides a kind of data display method, device and electronic equipment Solve problems of the prior art.
In a first aspect, an embodiment of the present invention provides a kind of data display method, applied to electronic equipment, including:
Application program with the first display characteristic and associated with the second display characteristic with the application program is set Plug-in unit;
By the communication interface of the application program, the plug-in unit is connect 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 library.
A kind of specific implementation according to embodiments of the present invention, the method further 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, and content of the plug-in unit on second screen is controlled 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 Show the id information of the corresponding reading file of 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, the method further 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 data 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, it is 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 forms stored in the database is parsed using the application program;
The reading text of all forms 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 forms stored in the database;
Judge the form for reading text whether be plug-in unit compatibility form;
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, for set with the first display characteristic application program and with the application program it is associated Plug-in unit with the second display characteristic;
Link block, for by the communication interface of the application program, by the plug-in unit and the number of the application program It is communicated to connect according to library;
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 further include:
Module is built, for building the privately owned communication protocol between the application program and the plug-in unit;
Control module for the application program using the privately owned communication protocol, 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 are 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 are additionally operable to:
Using the plug-in unit, read that the application program preserves in the database from the database with it is current Show the id information of the corresponding reading file of 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 further include:
Second setup module, for the first switching of setting on the display interface of the application program and the plug-in unit respectively Button and the second switching key;
Execution module for being based on first switching key or second switching key, performs the application program And the plug-in unit shows the switching of content.
A kind of specific implementation according to embodiments of the present invention, the display data of the database include different data lattice The reading text of formula.
A kind of specific implementation according to embodiments of the present invention, first display module are additionally operable to:
The application program is made to parse the reading text of all forms stored in the database;
The reading text of all forms is shown on first screen.
A kind of specific implementation according to embodiments of the present invention, second display module are additionally operable to:
Obtain the reading text of all forms stored in the database;
Judge the form for reading text whether be plug-in unit compatibility form;
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, which includes:
At least one processor;And
The memory being connect at least one processor communication;Wherein,
The memory is stored with the instruction that can be performed by least one processor, and the instruction is by least one processor It performs, so that at least one processor is able to carry out the number in any realization method of aforementioned 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 for making the computer perform aforementioned first aspect or the Data display method in any realization method of one side.
5th aspect, the embodiment of the present invention additionally provide a kind of computer program product, which includes The calculation procedure being stored on non-transient computer readable storage medium storing program for executing, which includes program instruction, when the program When instruction is computer-executed, the computer is made to perform the data in aforementioned first aspect or any realization method of 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 It obtains and shows content, ensure that the consistency of display content.
Description of the drawings
It in order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for this field For those of ordinary skill, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram 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 content of the plug-in unit on the second screen being controlled 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 flow diagram 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 structure diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific 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, instead of all the embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its Its embodiment, shall fall within the protection scope of the present 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 includes the following steps:
S101 sets application program with the first display characteristic and associated with the second display with the application program 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 in the form of jar, dex or apk is installed in the application and is inserted Part.Specifically, application program and plug-in unit can support read font size adjust, read style setting, it is self-defined reading theme, Reading progress such as redirects at the operations.In addition to this, 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, are shared with the operations 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.Specifically, the first display characteristic includes the use of more color (such as 24 true color) to express content to be shown, tool There is higher screen resolution, can 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 includes the use of less color (such as 16 rank gray scales) to express content to be shown, have 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.
It, 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 that it is called 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 the data that are generated in system operation or pre- 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 for 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 It can also support multimedia and chapters and sections format and some books essential informations, such as book number.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 realization method, can be stored in the local of electronic equipment using mysql databases as database It shows content, application program and plug-in unit is connect respectively with being stored with the database communication of display data, can ensure in this way should The being consistent property of content shown with program and plug-in unit.
Database can be the private data library 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, is shown with first display characteristic Show the display data in the database.
When user is when the interactive interface of application program sends out the instruction of display operation, application program can pass through key The modes such as word, index retrieve the content in database.When retrieving corresponding display content, can be connect by data Mouth reading e-books content from database, then according to display files such as data format regeneration e-book of display content.
Application program needs to carry out lattice to data content during by the display content generation e-book in database Formula is converted, so that transformed display file can have 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.
Using the plug-in unit, on the second screen of the electronic equipment, institute is shown with second display characteristic by S104 State the display data in database.
When other instruction calls of the application call plug-in unit or the plug-in unit by user, plug-in unit can pass through The modes such as keyword, index retrieve the content in database.When retrieving corresponding display content, number can be passed through According to interface from database reading e-books content, then according to the data format regeneration display text such as e-book of display content Part.
Plug-in unit needs to turn data content into row format during by the display content generation e-book in database It changes, so that transformed display file can have 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, is enabled to same Content can match display on the different screen of same electronic equipment, while ensure that the consistency 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 communicates, and shows the content in the application program of other side.Plug-in unit to be called to be shown on the second screen in application program For showing content, referring to Fig. 2, include the following steps:
S201 builds 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 packets, then a newly-built engineering and by this engineering (such as external in eclipse by reference Library after) quoting this packet, this interface is realized.It compiles this engineering and generates apk or export realization class generation dex, Finally the jar of card i/f (i.e. plug-in unit SDK) is placed under lib catalogues when apk is compiled in main works to be packed into and is come, simultaneously Write proprietary protocol communication cryptology load when needed 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, the order that will call plug-in unit by privately owned communication protocol by card i/f The plug-in unit is being sent to, in order to which content of the plug-in unit on second screen is controlled to show.
Content of the plug-in unit on second screen is controlled to show, content is shown on the second screen including control plug-in unit, Also include forbidding or closing the operation of 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 the 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 sides 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 sets the first switching key on the display interface of the application program and the plug-in unit and second cuts respectively 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 strong with the associated order of a certain hardware button of electronic equipment.
S302 based on first switching key or second switching key, performs the application program and described inserts Part shows the switching of content.
When the first switching key it is associated instruction be 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 With identical, can also be different.
The associated instruction of second switching key is performed, and implementation procedure is held with the associated instruction of the first switching key Process during row is similar, and details are not described herein again.
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 realization method, 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 forms stored in the database, and on first screen Show the reading text of all forms.
Alternatively optional realization method, 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 obtains the reading text of all forms 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.It needs at this time It obtains in database and stores all e-books and its corresponding form.
S402, judge the form for reading text whether be plug-in unit compatibility form.
It is shown since 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 the database The form of subgraph book whether be plug-in unit compatibility form.For example the e-book of html, chm, pdf form is on the second screen The effect of display is poor, when display, needs to filter out the e-book of this type.
S403 parses the reading text compatible with the plug-in unit 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 shows the reading text compatible with the plug-in unit on second screen.
Before plug-in unit shows the reading text compatible with plug-in unit on the second screen, need to read text data into Row format is converted, and the reading text of full color form such as is converted into the reading text of grayscale form, finally in the second reading screen The reading text of gradient style is shown on curtain.
Scheme in through this embodiment, the text style that can be compatible with to application program and plug-in unit carry out compatible mistake 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, which includes:
First setup module 501, for setting the application program with the first display characteristic and being 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 in the form of jar, dex or apk is installed in the application and is inserted Part.Specifically, application program and plug-in unit can support read font size adjust, read style setting, it is self-defined reading theme, Reading progress such as redirects at the operations.In addition to this, 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, are shared with the operations 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.Specifically, the first display characteristic includes the use of more color (such as 24 true color) to express content to be shown, tool There is higher screen resolution, can 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 includes the use of less color (such as 16 rank gray scales) to express content to be shown, have 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.
It, 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 that it is called to be internally integrated The corresponding function of part.
Link block 502, for by the communication interface of 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 the data that are generated in system operation or pre- 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 for 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 It can also support multimedia and chapters and sections format and some books essential informations, such as book number.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 realization method, can be stored in the local of electronic equipment using mysql databases as database It shows content, application program and plug-in unit is connect respectively with being stored with the database communication of display data, can ensure in this way should The being consistent property of content shown with program and plug-in unit.
Database can be the private data library 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 It states the first display characteristic and shows display data in the database.
When user is when the interactive interface of application program sends out the instruction of display operation, application program can pass through key The modes such as word, index retrieve the content in database.When retrieving corresponding display content, can be connect by data Mouth reading e-books content from database, then according to display files such as data format regeneration e-book of display content.
Application program needs to carry out lattice to data content during by the display content generation e-book in database Formula is converted, so that transformed display file can have 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 other instruction calls of the application call plug-in unit or the plug-in unit by user, plug-in unit can pass through The modes such as keyword, index retrieve the content in database.When retrieving corresponding display content, number can be passed through According to interface from database reading e-books content, then according to the data format regeneration display text such as e-book of display content Part.
Plug-in unit needs to turn data content into row format during by the display content generation e-book in database It changes, so that transformed display file can have 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, is enabled to same Content can match display on the different screen of same electronic equipment, while ensure that the consistency of display content.
Referring to Fig. 6, optionally, data presentation device 50 further includes:
Module 601 is built, for building the privately owned communication protocol between the application program and the plug-in unit;
Control module 602 for the application program using the privately owned communication protocol, controls the plug-in unit described the Content on two screens is shown.
Referring to Fig. 7, optionally, data presentation device 50 further 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 being based on first switching key or second switching key, performs described using journey Sequence and the plug-in unit show the switching of content.
In the particular content performed by function module in the corresponding embodiments of Fig. 5-7 and the embodiment of the method corresponding to it Content correspond, do not repeating herein.
Fig. 8 shows the structure diagram 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, the connection communication being used to implement between these components.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 aforementioned any data display methods.Storage Device 802 be non-transient memory (non-transitory memory), can include volatile memory, such as 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, and processor 801 performs program 8021, for holding Content in the aforementioned any data display methods embodiment of row.
The electronic equipment can exist in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that have mobile communication function, and to provide speech, data It communicates as main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, functional mobile phone and low Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the scope of personal computer, there is calculating and processing work( Can, generally also have 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 multimedia content.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, memory, are Bus of uniting etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, is handling Ability, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other have the function of the electronic equipment of data interaction.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this practical relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that Also there are other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment Point just to refer each other, and the highlights of each of the examples are difference from other examples.
For device embodiment, since 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) it uses or combines 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 It puts.The more specific example (non-exhaustive list) of computer-readable medium is including following:Electricity with one or more wiring Connecting portion (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (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 can even is that the paper that can print described program on it or other are suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.
In the above-described embodiment, multiple steps or method can be with storages in memory and by suitably instructing execution The software or firmware that system performs are realized.If for example, being realized with hardware in another embodiment, can use Any one of following technology well known in the art or their combination are realized:With for data-signal realization logic work( The discrete logic of the logic gates of energy has the application-specific integrated circuit of suitable combinational logic gate circuit, programmable gate Array (PGA), field programmable gate array (FPGA) etc..
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, all should by the change or replacement that can be readily occurred in It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (21)

1. a kind of data display method, applied to electronic equipment, which is characterized in that including:
Application program with the first display characteristic and associated slotting with the second display characteristic with the application program is set Part, wherein, the plug-in unit is among the application program;
By the communication interface of the application program, the plug-in unit is connect 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 library;
Using the plug-in unit, on the second screen of the electronic equipment, the database is shown with second display characteristic In identical display data.
2. data display method according to claim 1, which is characterized in that the method further 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, and content of the plug-in unit on second screen is controlled to show.
3. data display method according to claim 2, which is characterized in that the control plug-in unit is in second screen Content on curtain 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 in Hold corresponding display information.
4. data display method according to claim 3, which is characterized 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. data display method according to claim 4, which is characterized 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 the corresponding reading file of content, and/or the reading progress msg.
6. data display method according to claim 3, which is characterized in that the display information includes:
The information shown in the picture of the application program display interface.
7. data display method according to claim 1, which is characterized in that the method further 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, perform the application program and the plug-in unit shows content Switching.
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. data display method according to claim 8, which is characterized in that it is described to utilize the application program, described On first screen of electronic equipment, the display data in the database is shown with first display characteristic, including:
The reading text of all forms stored in the database is parsed using the application program;
The reading text of all forms is shown on first screen.
10. data display method according to claim 8 or claim 9, which is characterized in that it is described to utilize the plug-in unit, described On second screen of electronic equipment, the display data in the database is shown with second display characteristic, including:
Obtain the reading text of all forms stored in the database;
Judge the form for reading text whether be plug-in unit compatibility form;
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.
11. a kind of data presentation device, which is characterized in that including:
First setup module, for set application program with the first display characteristic and with the application program it is associated with The plug-in unit of second display characteristic, wherein, the plug-in unit is among the application program;
Link block, for by the communication interface of the application program, by the plug-in unit and the database of the application program Communication connection;
First display module, it is special with the described first display on the first screen of electronic equipment for utilizing the application program Property 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 display data identical in the database.
12. data presentation device according to claim 11, which is characterized in that described device further includes:
Module is built, for building the privately owned communication protocol between the application program and the plug-in unit;
Control module for the application program using the privately owned communication protocol, controls the plug-in unit in second screen On content show.
13. data presentation device according to claim 12, which is characterized in that 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 in Hold corresponding display information.
14. data presentation device according to claim 13, which is characterized 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.
15. data presentation device according to claim 14, which is characterized in that the control module is additionally operable to:
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 the corresponding reading file of content, and/or the reading progress msg.
16. data presentation device according to claim 13, which is characterized in that the display information includes:
The information shown in the picture of the application program display interface.
17. data presentation device according to claim 11, which is characterized in that described device further includes:
Second setup module, for setting the first switching key on the display interface of the application program and the plug-in unit respectively And second switching key;
Execution module for being based on first switching key or second switching key, performs the application program and institute State the switching that plug-in unit shows content.
18. data presentation device according to claim 11, it is characterised in that:
The display data of the database includes the reading text of different data format.
19. data presentation device according to claim 18, which is characterized in that first display module is additionally operable to:
The application program is made to parse the reading text of all forms stored in the database;
The reading text of all forms is shown on first screen.
20. the data presentation device according to claim 18 or 19, which is characterized in that second display module is also used In:
Obtain the reading text of all forms stored in the database;
Judge the form for reading text whether be plug-in unit compatibility form;
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.
21. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
At least one processor;And
The memory being connect at least one processor communication;Wherein,
The memory is stored with the instruction that can be performed by least one processor, and described instruction is by least one place It manages device to perform, so that at least one processor is able to carry out any data display methods of claim 1-10.
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 CN107423013A (en) 2017-12-01
CN107423013B true 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)

Families Citing this family (2)

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

Citations (3)

* 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
CN105302418A (en) * 2015-11-02 2016-02-03 联想(北京)有限公司 Information processing method and electronic device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503726A (en) * 2014-12-31 2015-04-08 深圳市中兴移动通信有限公司 Display device, display terminal and display control method thereof
CN106201407A (en) * 2016-07-15 2016-12-07 珠海市魅族科技有限公司 A kind of data display method and terminal

Patent Citations (3)

* 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
CN105302418A (en) * 2015-11-02 2016-02-03 联想(北京)有限公司 Information processing method and electronic device

Also Published As

Publication number Publication date
CN107423013A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
KR102107491B1 (en) List scroll bar control method and mobile apparatus
CN101916245B (en) A kind of e-book annotation on electronic reader realizes method and apparatus
CN104636321B (en) Text display method and device
CN107423012B (en) A kind of data display method, device and electronic equipment
CN104360797A (en) Content display method and system for electronic equipment
EP4116806A1 (en) Presentation of tabular information
CN103593370B (en) The method and browser of expanded application are realized in a browser
CN104020950A (en) Input method based on touch screen and input device with touch screen
EP3044698A2 (en) Creating inforgraphics from text data in electronic documents
JP2016502716A (en) Electronic book document processing method, terminal, electronic device, program, and recording medium
CN107423013B (en) A kind of data display method, device and electronic equipment
CN104252311A (en) Modifying stylus input or response using inferred emotion
CN104252312A (en) Stylus lexicon sharing
CN102855107B (en) Method and system for demonstrating file on computer
US20170329756A1 (en) Electronic document editing apparatus capable of inserting memo into paragraph, and operating method thereof
CN109992580A (en) Processing method and processing device, storage medium, the computer equipment of table data
CN106156274A (en) Page content loading method and device and electronic equipment
CN105528334A (en) Method for processing document operation and terminal
JP2012113710A (en) Apparatus and method for changing electronic book contents
CN107241638A (en) The method for configuring navigation bar
CN106506805A (en) Head portrait of contact person generation method and device
CN102411618A (en) Fast paging navigation system for digital network newspaper
CN108804631A (en) Emoticon storage method, device, computer readable storage medium and terminal
CN205103554U (en) Smart watch
CN109947334A (en) A kind of ink marks cancelling method, device and electronic equipment

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