CN109684962B - AR electronic book quality detection method - Google Patents
AR electronic book quality detection method Download PDFInfo
- Publication number
- CN109684962B CN109684962B CN201811538681.1A CN201811538681A CN109684962B CN 109684962 B CN109684962 B CN 109684962B CN 201811538681 A CN201811538681 A CN 201811538681A CN 109684962 B CN109684962 B CN 109684962B
- Authority
- CN
- China
- Prior art keywords
- information
- file
- detecting whether
- book
- electronic book
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/40—Document-oriented image-based pattern recognition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Abstract
The invention discloses an AR e-book quality detection method, which comprises the following steps: downloading an AR electronic book file to be detected; detecting the content of the electronic book, wherein the detected content at least comprises: detecting whether the directory structure of the electronic book conforms to the general book structure standard or not; detecting whether the content of the configuration file of the electronic book is abnormal or not; detecting whether resources contained in the electronic book exist and are correct; detecting whether file and folder names in the electronic book are standard or not; detecting whether an identification graph in the electronic book meets standard information or not; and finally, presenting the detected abnormal information to a user. By adopting the technical scheme of the invention, the AR electronic book quality detection can be automated, the labor cost is reduced and the working efficiency is improved.
Description
Technical Field
The invention relates to a method for detecting the quality of an electronic book, in particular to a method for detecting the quality of an AR electronic book, and belongs to the technical field of augmented reality.
Background
Augmented Reality (AR) technology is that virtual information generated by a home computer is superposed on a real scene, virtual and real information is integrated by means of sensing and display equipment, and finally, a new environment with real sensory effect is presented to an observer. The electronic book based on the AR technology is an electronic book capable of displaying virtual three-dimensional scenes by image recognition of augmented reality on the basis of a traditional paper book. The AR e-book retains the form of a conventional book, but enriches the representation of the content, making reading more interesting.
However, since the AR e-book is complicated in the manufacturing process, the types and the number of the related resources are large, some manufacturing errors are inevitable, and if a file producer or a book issuer manually checks the resources one by one, a lot of labor is consumed and the efficiency is very low.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide an AR (augmented reality) electronic book quality detection method, which enables a user to conveniently and specifically detect the problems in the book making process and improves the working efficiency.
In order to achieve the purpose of the invention, the technical scheme adopted by the invention comprises the following steps:
step 1, downloading an AR e-book file to be detected;
step 2, detecting the content of the AR electronic book file, wherein the detection process at least comprises the following steps:
step 21, detecting whether the directory structure of the electronic book meets the general book structure standard, and if so, executing step 22; if not, recording the non-conforming directory structure information as abnormal information, and executing step 25;
step 22, reading the configuration file of the electronic book, detecting whether the content of the configuration file conforms to the specification, and if so, executing step 23; if not, recording the non-compliant file content as abnormal information, and executing step 25;
step 23, analyzing the resource path information in the configuration file, detecting whether corresponding resources exist according to the resource path, if so, detecting whether the naming of the resource file and the folder where the resource file is located is normal, and recording the nonexistent resource information or the nonstandard naming information as abnormal information;
step 24, detecting whether the identification graph in the electronic book meets the standard or not, and recording the identification graph information which does not meet the standard as abnormal information;
step 25, finishing detection;
and 3, presenting the detected abnormal information to a user.
Preferably, the detecting whether the directory structure of the electronic book conforms to the general book structure standard includes: and traversing all directory structures of the electronic book, detecting whether directory missing and/or book structure errors exist, if so, judging that the directory missing and/or book structure errors do not accord with the general book structure standard, and recording the missing directory information and/or book structure errors as abnormal information.
Preferably, the detecting whether the content of the configuration file conforms to a specification includes: and analyzing the content of the configuration file, detecting whether the file structure and/or the field content meet the specification, and recording the file content which does not meet the specification as abnormal information.
Preferably, the step 23 further comprises: if the corresponding resource exists in the resource path, the correctness of the resource is verified in a preview loading mode, and incorrect resource information is recorded as abnormal information.
Preferably, the step 23 of detecting whether the resource file and the name of the folder in which the resource file is located are specified includes: and detecting whether the name has messy codes and/or whether the name is consistent with the description of the field content in the configuration file, and recording the messy code information and/or the name inconsistent information as abnormal information.
Preferably, the detecting whether the recognition graph in the electronic book meets the standard comprises: and detecting whether the picture complexity and/or the recognition degree of the recognition graph meet/meets the standard or not, and recording the picture information which does not meet the standard as abnormal information.
Preferably, the directory structure comprises: the electronic book comprises an electronic book cover, a configuration file directory, an identification file directory and a media resource directory.
Preferably, the resources include: one or more of pictures, characters, audio, video, links and three-dimensional models.
Preferably, the detected abnormality information is presented to the user in a list form.
Preferably, the electronic book files to be detected are downloaded by scanning the two-dimensional code or searching the book name.
Compared with the prior art, the invention has the advantages that: by adopting the technical scheme of the invention, a user can conveniently and detailedly detect the problems encountered in the manufacturing process of the AR electronic book and quickly locate the reasons, thereby more accurately and efficiently solving the problems encountered in the manufacturing process. Moreover, the detection process is automatic, manual judgment is not needed, the detection time can be greatly shortened, and the labor cost is saved.
Drawings
Fig. 1 is a flowchart illustrating a method for detecting quality of an AR electronic book according to an exemplary embodiment of the present invention.
Detailed Description
In view of the deficiencies in the prior art, the inventors of the present invention have made extensive studies and extensive practices to provide technical solutions of the present invention. The technical solution, its implementation and principles, etc. will be further explained as follows.
The invention provides an AR e-book quality detection method, the technical scheme of which is specifically set forth as follows:
s1, downloading an AR electronic book file to be detected;
s2, detecting the content of the AR electronic book file, wherein the detection process at least comprises the following steps:
s21, detecting whether the directory structure of the electronic book conforms to the general book structure standard, and if so, executing the step S22; if not, recording the non-conforming directory structure information as abnormal information, and executing the step S25;
s22, reading the configuration file of the electronic book, detecting whether the content of the configuration file meets the specification, and if so, executing the step S23; if not, recording the non-conforming file content as abnormal information, and executing the step S25;
s23, analyzing the resource path information in the configuration file, detecting whether corresponding resources exist according to the resource path, if so, detecting whether the names of the resource file and the folder where the resource file and the folder are located are standard, and recording the nonexistent resource information or the nonstandard name information as abnormal information;
further, the method can also comprise the following steps: if the resources exist, whether the resources are correct or not is verified in a preview loading mode, and incorrect resource information is recorded as abnormal information.
S24, detecting whether the identification graph in the electronic book meets the standard or not, and recording the identification graph information which does not meet the standard as abnormal information;
s25, finishing detection;
and S3, presenting the detected abnormal information to a user.
In order to make the technical solution of the present invention clearer, the core idea of the present invention will be further described below with reference to the embodiments and the accompanying drawings. Referring to fig. 1, fig. 1 is a flowchart of an AR e-book quality detection method according to an exemplary embodiment of the present invention, which may specifically include the following steps:
the AR electronic book file to be detected can be downloaded by scanning the two-dimensional code or searching the book name, and the downloaded book file is detected by the globally unique identifier Guid.
102, detecting whether the book directory structure meets the general book structure standard;
the directory structure mainly comprises: the electronic book cover, the configuration file directory, the identification file directory and the media resource directory can stop the subsequent detection when detecting that the directory entries are missing and/or the structure is wrong, and step 108 is executed to record the missing directory information and/or the structure wrong information as abnormal information.
103, detecting whether the content of the book configuration file is abnormal;
if no missing and complete correct structure of the directory is detected, the configuration file in the configuration file directory folder is read, and whether the file content in the configuration file meets the specification is detected, which may specifically include detecting whether the file structure and all the field names meet the specification, and if the file content does not meet the specification, step 108 is executed, and the field information that does not meet the specification and the type information that does not meet the definition are recorded as abnormal information.
XML is a structured file whose contents must conform to the XML standard specification, e.g., any start tag must have an end tag, tags must be nested in the proper order, etc. Because the files have universal standard specifications, the detection is well documented, and the detection accuracy is improved. Suppose that each XML file has the following nodes to be detected one by one: event, event _ type, action, and action _ type, then usually first detect whether a node exists, and then resolve whether the content in the node is missing or meets the definition specification.
after confirming that the configuration file is abnormal, analyzing field content corresponding to the resources in the configuration file, acquiring a resource path through analyzing fields, positioning to a relevant position according to the path to find whether corresponding resources exist, if the resources do not exist, executing step 108, and recording nonexistent resource information as abnormal information;
if corresponding resources exist in the resource path, the correctness of the resources can be verified in a preview loading mode, the resources can comprise one or more combinations of pictures, characters, audio, videos, links and three-dimensional models, and the correctness of the resources is verified, namely whether the resources can be normally presented to a user is verified, for example, whether the video resources and the audio resources can be normally played, whether the links are legal and effective and the like.
if the corresponding resource exists in the resource path, detecting whether the naming of the resource file and the folder in which the resource file and the folder are located is normal, for example, whether the name is consistent with the description of the field content in the configuration, and whether a messy code exists, if the naming is not normal, executing step 108, and recording the resource information and/or the messy code information which are described to be inconsistent as abnormal information.
It should be noted here that, both the step 105 and the step 106 are performed based on the fact that the detection result of the step 104 is yes, that is, when the corresponding resource file in the resource path exists, the resource correctness verification and/or the naming validity detection are performed, however, it should be understood by those skilled in the art that the steps 105 and 106 are not limited to the detection order as described above, and if the operation of the step 106 is performed before the operation of the step 105, or the operations of the steps 106 and 105 are performed in parallel, the detection scheme is also true, and both belong to the similar embodiments of the present embodiment.
traversing an identification image (marker picture) under an identification file directory folder, detecting whether the complexity and/or the identification degree of the picture meet/does not meet the standard, if the picture which does not meet the standard exists, executing step 108, and recording marker picture information which does not meet the standard, such as picture ID, as abnormal information.
And presenting the detected abnormal information to a user in the forms of characters, lists, tables and the like so as to help locate and analyze problems in the file making process.
And step 110, finishing detection.
As a better implementation manner, the method described in this embodiment may be developed and implemented based on Unity and Android.
By adopting the technical scheme of the invention, the user can conveniently and more specifically detect the problems in the manufacturing process of the AR electronic book and quickly locate the reasons, thereby more accurately and efficiently solving the problems in the manufacturing process. The books are downloaded in a two-dimensional code scanning or searching mode, and the book files do not need to be copied manually; moreover, the detection process is automatic, manual participation in judgment is not needed, the detection time can be greatly shortened, and the labor cost is saved.
It should be understood that the above-mentioned embodiments are merely illustrative of the technical concepts and features of the present invention, which are intended to enable those skilled in the art to understand the contents of the present invention and implement the present invention, and therefore, the protection scope of the present invention is not limited thereby. All equivalent changes and modifications made according to the spirit of the present invention should be covered within the protection scope of the present invention.
Claims (6)
1. An AR e-book quality detection method is characterized by comprising the following steps:
step 1, downloading an AR e-book file to be detected;
step 2, detecting the content of the AR e-book file, wherein the detection process at least comprises the following steps:
step 21, detecting whether the directory structure of the electronic book meets the general book structure standard, and if so, executing step 22; if not, recording the non-compliant directory structure information as abnormal information, and executing step 25, wherein the detecting whether the directory structure of the electronic book conforms to the general book structure standard includes: traversing all directory structures of the electronic book, detecting whether directory missing exists, if so, judging that the directory missing does not meet the general book structure standard, and recording the missing directory information as abnormal information;
step 22, reading the configuration file of the electronic book, detecting whether the content of the configuration file meets the specification, and if so, executing step 23; if not, recording the content of the file which is not in conformity as abnormal information, and executing step 25, wherein the step of detecting whether the content of the configuration file conforms to the specification includes: analyzing the content of the configuration file, detecting whether the file structure and/or the field content meet the specification, and recording the file content which does not meet the specification as abnormal information;
step 23, analyzing the resource path information in the configuration file, detecting whether the corresponding resource exists according to the resource path, if so, detecting whether the resource file and the name of the folder where the resource file exists are normal, and recording the absent resource information or the abnormal name information as abnormal information, wherein the detecting whether the resource file and the name of the folder where the resource file exists are normal comprises: detecting whether the name has a messy code and/or whether the name is consistent with the description of the field content in the configuration file, and recording messy code information and/or inconsistent name information as abnormal information;
step 24, detecting whether the identification chart in the electronic book meets the standard, and recording the identification chart information which does not meet the standard as abnormal information, wherein the step of detecting whether the identification chart in the electronic book meets the standard comprises the following steps: detecting whether the picture complexity and/or the recognition degree of the recognition picture meet/does not meet the standard, and recording the picture information which does not meet the standard as abnormal information;
step 25, finishing detection;
and 3, presenting the detected abnormal information to a user.
2. The method for detecting the quality of the AR e-book according to claim 1, wherein the step 23 further comprises: if the corresponding resource exists in the resource path, the correctness of the resource is verified in a preview loading mode, and incorrect resource information is recorded as abnormal information.
3. The AR ebook quality detection method of claim 1, wherein the directory structure comprises: the electronic book comprises an electronic book cover, a configuration file directory, an identification file directory and a media resource directory.
4. The AR ebook quality detection method of claim 1, wherein the resources comprise: one or more of pictures, characters, audio, video, links and three-dimensional models.
5. The method for detecting the quality of the AR electronic book of claim 1, wherein: and presenting the detected abnormal information to a user in a text list form.
6. The method for detecting the quality of the AR electronic book of claim 1, wherein: and downloading the AR e-book file to be detected by scanning the two-dimensional code or searching the book name.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811538681.1A CN109684962B (en) | 2018-12-14 | 2018-12-14 | AR electronic book quality detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811538681.1A CN109684962B (en) | 2018-12-14 | 2018-12-14 | AR electronic book quality detection method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109684962A CN109684962A (en) | 2019-04-26 |
CN109684962B true CN109684962B (en) | 2023-04-18 |
Family
ID=66187840
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811538681.1A Active CN109684962B (en) | 2018-12-14 | 2018-12-14 | AR electronic book quality detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109684962B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111274511A (en) * | 2020-01-16 | 2020-06-12 | 明博教育科技股份有限公司 | Method and system for displaying book resources |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104732228A (en) * | 2015-04-16 | 2015-06-24 | 同方知网数字出版技术股份有限公司 | Detection and correction method for messy codes of PDF (portable document format) document |
CN106560866A (en) * | 2016-07-02 | 2017-04-12 | 广州书达信息科技有限公司 | Book personalized customization system and method with AR (augmented reality) function |
CN108230428A (en) * | 2017-12-29 | 2018-06-29 | 掌阅科技股份有限公司 | E-book rendering method, electronic equipment and storage medium based on augmented reality |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180018312A1 (en) * | 2015-11-29 | 2018-01-18 | Vatbox, Ltd. | System and method for monitoring electronic documents |
JP2017146938A (en) * | 2016-02-19 | 2017-08-24 | 富士通株式会社 | Book detection device, book detection method, and computer program for book detection |
-
2018
- 2018-12-14 CN CN201811538681.1A patent/CN109684962B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104732228A (en) * | 2015-04-16 | 2015-06-24 | 同方知网数字出版技术股份有限公司 | Detection and correction method for messy codes of PDF (portable document format) document |
CN106560866A (en) * | 2016-07-02 | 2017-04-12 | 广州书达信息科技有限公司 | Book personalized customization system and method with AR (augmented reality) function |
CN108230428A (en) * | 2017-12-29 | 2018-06-29 | 掌阅科技股份有限公司 | E-book rendering method, electronic equipment and storage medium based on augmented reality |
Also Published As
Publication number | Publication date |
---|---|
CN109684962A (en) | 2019-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107888978B (en) | KEY code burning method and device and computer readable storage medium | |
CN107025174B (en) | Method, device and readable storage medium for user interface anomaly test of equipment | |
CN105183760B (en) | Webpage component loading method and device | |
US20100042929A1 (en) | Verification of software applications | |
CN107133165B (en) | Browser compatibility detection method and device | |
CN109756760A (en) | Generation method, device and the server of video tab | |
CN110554962A (en) | Regression testing process covering method, server and computer readable storage medium | |
CN103152633B (en) | A kind of recognition methods of keyword and device | |
CN109684962B (en) | AR electronic book quality detection method | |
CN103106133A (en) | Software defect location method and software defect location system | |
CN106959869B (en) | Method and system for loading OCX control | |
CN109299352B (en) | Method and device for updating website data in search engine and search engine | |
CN111209418A (en) | Data entry method and device, electronic equipment and readable storage medium | |
US20210397798A1 (en) | Information processing apparatus and non-transitory computer readable medium | |
CN110941616B (en) | Method, device and equipment for generating associated data in publication and storage medium | |
CN113934617A (en) | Data processing method, device, equipment and storage medium | |
CN105069176B (en) | Picture processing method and device and server | |
CN110781418A (en) | Webpage text editing method and device based on URL identification and storage medium | |
WO2014061221A1 (en) | Image sub-region extraction device, image sub-region extraction method and program for image sub-region extraction | |
WO2014061222A1 (en) | Information processing device, information processing method and information processing program | |
CN114529933A (en) | Contract data difference comparison method, device, equipment and medium | |
CN111079375B (en) | Information sorting method and device, computer storage medium and terminal | |
CN112601129A (en) | Video interaction system, method and receiving end | |
CN105808783B (en) | A kind of large file difference analysis method of difference Domain Name Form registering sites | |
CN111241096A (en) | Text extraction method, system, terminal and storage medium for EXCEL document |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |