CN108459950A - verification method and verification device - Google Patents

verification method and verification device Download PDF

Info

Publication number
CN108459950A
CN108459950A CN201710090020.6A CN201710090020A CN108459950A CN 108459950 A CN108459950 A CN 108459950A CN 201710090020 A CN201710090020 A CN 201710090020A CN 108459950 A CN108459950 A CN 108459950A
Authority
CN
China
Prior art keywords
application program
inlet point
program module
verification
market demand
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710090020.6A
Other languages
Chinese (zh)
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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN201710090020.6A priority Critical patent/CN108459950A/en
Publication of CN108459950A publication Critical patent/CN108459950A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3616Software analysis for verifying properties of programs using software metrics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)

Abstract

A kind of verification method of present invention proposition and verification device.Verification method includes receiving market demand file and software loading content inventory, wherein market demand file includes the inlet point information of multiple application programs in multiple product lines, and software loading content inventory includes the name information and version information of the application program in one of product line.Verification method further includes that the first inlet point information to be verified is obtained according to market demand file and software loading content inventory, wherein the first inlet point information corresponds to the first application program in above application program.Verification method further includes the first application program module for finding corresponding first application program from application database according to the name information or version information of the first application program.Verification method further includes whether the inlet point path of the first application program module of verification is effective.

Description

Verification method and verification device
Technical field
The present invention relates to a kind of verification method and verification devices, more particularly to one kind to be detected in advance before arrangement image shelves Application program module whether accord with the demands of the market file specification verification method and verification device.
Background technology
Market demand file (Marketing Requirement document, MRD) is a kind of to the production of keyholed back plate difference Application program binding under product line (for example, household version, professional version, Ultimate etc.) and different hardware specification is regular and applies journey The framework of sequence inlet point (Entry point/Touch point).For the specification defined in file that accords with the demands of the market, application The path of application program inlet point must be stored in specific document in advance and this document is packaged in using journey by program module In sequence module.
When market demand FileVersion change (for example, application program contract expires) when have updated part application program about When the definition of program entry point and application version be not with update, image shelves deployment tool is disposed into row image shelves When can because application program module in deployment program is interrupted there is no inlet point path file.This can lead to factory testing journey Sequence is forced to interrupt.At this moment the image shelves that test program interrupts are redisposed again after must then differentiating problem.
If shipment region defined in market demand file for example has 15, and the product line in each shipment region for example has It 6, then just needs to carry out 90 tests per a market demand file.In addition, image shelves arrangement program each time needs Several hours etc. are spent, test of market demand file to be taken excessive time and cost for this.
Invention content
A kind of verification method of present invention offer and verification device, to detect application in advance when market demand file updates Whether program module accords with the demands of the market file specification, to reduce error rate when image shelves arrangement, and then increases factory testing Efficiency simultaneously reduces image shelves Production Time and cost.
The present invention proposes a kind of verification method, including receives market demand file (Marketing Requirement Document, MRD) and software loading content inventory (Softload Content List, SCL), wherein market demand file packet The inlet point information of multiple application programs in multiple product lines is included, and software loading content inventory includes one of product line In application program name information and version information.Above-mentioned verification method further includes according to market demand file and software loading Content inventory obtains the first inlet point information to be verified, wherein the first inlet point information corresponds to first in above application program Application program.Above-mentioned verification method further includes according to the name information of the first application program or version information from application data The first application program module of corresponding first application program is found in library.Above-mentioned verification method further includes the first application program of verification Whether the inlet point path of module is effective.
In one embodiment of this invention, above-mentioned first inlet point information includes the first application program product wherein It is located at the shortcut sequence for starting menu or Facility Column in line.
In one embodiment of this invention, whether the inlet point path of the first application program module of above-mentioned verification effectively walks Suddenly include:Judge that the first application program module whether there is in application database, if the first application program module is present in Application database then decompresses the first application program module and installs the first application program module.
In one embodiment of this invention, whether the inlet point path of the first application program module of above-mentioned verification effectively walks Suddenly further include:Judge to whether there is inlet point path in the file of the first application program module.
In one embodiment of this invention, whether the inlet point path of the first application program module of above-mentioned verification effectively walks Suddenly further include:If there are inlet point paths in the file of the first application program module, comparing inlet point path and market needs Whether seek file effective to verify inlet point path.
A kind of verification device of proposition of the present invention, including processor and the memory for being couple to processor.Wherein processor Market demand file and software loading content inventory are received, wherein market demand file includes multiple applications in multiple product lines The inlet point information of program, and software loading content inventory include the application program in one of product line name information and Version information.Wherein processor obtains the first inlet point to be verified according to market demand file and software loading content inventory and believes Breath, wherein the first inlet point information corresponds to the first application program in above application program.Wherein processor is according to the first application The name information or version information of program find the first application program of corresponding first application program from application database Module.Whether the inlet point path of wherein the first application program module of processor verification is effective.
In one embodiment of this invention, above-mentioned first inlet point information includes the first application program product wherein It is located at the shortcut sequence for starting menu or Facility Column in line.
In one embodiment of this invention, above-mentioned processor judges that the first application program module whether there is in application program Database, if the first application program module is present in application database, processor decompresses the first application program module And the first application program module is installed.
In one embodiment of this invention, above-mentioned processor judges to whether there is in the file of the first application program module Inlet point path.
In one embodiment of this invention, if there are inlet point path in the file of the first application program module, locate Whether inlet point path is verified in reason device comparison inlet point path with market demand file effective.
Based on above-mentioned, of the invention verification method and verification device in the inlet point path for verifying the first application program module Whether it is effective when, can first judge the first application program module whether there is in application database.If the first application program mould Block is present in application database, then decompresses the first application program module and install the first application program module.Then sentence It whether there is inlet point path in the file of disconnected first application program module.Finally inlet point path and the market demand are compared again Whether file is effective to verify inlet point path.Thus, you can whether detection application program module meets market and need in advance File specification is sought, to reduce error rate when image shelves arrangement.
To make the foregoing features and advantages of the present invention clearer and more comprehensible, special embodiment below, and it is detailed to coordinate attached drawing to make Carefully it is described as follows.
Description of the drawings
Fig. 1 is the block diagram according to a kind of verification device of one embodiment of the invention;
Fig. 2 is the flow chart according to a kind of verification method of one embodiment of the invention.
Reference sign:
100:Verify device
110:Processor
120:Memory
S201、S203、S205、S206、S207、S209、S211、S213、S215、S217:The step of verification method
Specific implementation mode
Fig. 1 is the block diagram according to a kind of verification device of one embodiment of the invention.
Fig. 1 is please referred to, verification device 100 of the invention includes processor 110 and the memory for being couple to processor 110 120.Processor can be central processing unit (Central Processing Unit, CPU), microprocessor (Microprocessor), digital signal processor (Digital Signal Processor, DSP), programmable controller, Microcontroller, Application Specific Integrated Circuit (Application Specific Integrated Circuits, ASIC), can journey Sequence logic device (Programmable Logic Device, PLD) or other similar devices.Memory 120 may include volatilizing Property memory (for example, dynamic random access memory) and non-volatility memorizer are (for example, hard disk, solid state disk or flash memory The storage devices such as reservoir), be configured to temporarily store or long-time storage verification device 100 data.
Fig. 2 is the flow chart according to a kind of verification method of one embodiment of the invention.
Fig. 2 is please referred to, in step s 201, verification device 100 can receive market demand file (Marketing Requirement Document, MRD) and software loading content inventory (Softload Content List, SCL).Market needs Ask the entrance for multiple application programs that file may include in multiple product lines (product line, also known as form factor) Point information, and software loading content inventory includes the name information and version information of the application program in one of product line.
Specifically, when the version updating of market demand file, the product manager of software can send out the market need of new edition Seek file.In order to be verified into row image shelves, image shelves verification personnel can arrive Production Lifecycle Management (Product Lifecycle Management, PLM) servomechanism application software loading content inventory.Software loading content inventory is in addition to wherein Except the name information and version information of application program in one product line, it may also include the application in one of product line Quiet installation (Silent Install) information of program.Peace and quiet installation refers to use in application program installation process The interaction of person, therefore alternatively referred to as automatic installation.
It is worth noting that, the inlet point information of application program be application program this it is specific go out goods area (or language area) It is located at beginning menu (Start Screen) in specific product line or the shortcut (shortcut) of Facility Column (Taskbar) is suitable Sequence.For example, the shortcut that inlet point information has recorded application program is which correspondence started in menu or Facility Column Image.
In step S203, processor 110 can obtain to be verified according to market demand file and software loading content inventory The first inlet point information, wherein the first inlet point information corresponds to the first application program in above application program.That is, Processor 110 can be obtained according to the application name information and version information of software loading content inventory needs what is be verified to answer With program and the inlet point information of this application program.
In step S205, processor 110 can be according to the name information or version information of the first application program from using journey The first application program module of corresponding first application program is found in sequence database.In another embodiment, processor 110 also may be used Corresponding first application program is found from application database according to the quiet mount message of the first application program first answers Use program module.
In step S206, processor 110 can verify that whether the inlet point path of the first application program module is effective.Specifically For, step S206 may include step S207, step S209, step S211 and step S213 again.
In step S207, processor 110 can determine whether that the first application program module whether there is in application database.
If the first application program module is present in application database, in step S209, processor 110 decompresses First application program module simultaneously installs the first application program module.If the first application program module is not present in application data Library then enters step S217, authentication failed.
In step S211, processor 110 can further judge to whether there is in the file of the first application program module Inlet point path.If inlet point path is not present in the file of the first application program module, S217 is entered step, verification is lost It loses.
If there are inlet point paths in the file of the first application program module, in step S213, processor 110 can Whether inlet point path is verified in comparison inlet point path with market demand file effective.If inlet point path is effective, that is, It is answered with first of this product line described in market demand file in inlet point path in the file of first application program module It is identical with the inlet point path of program, then S215 is entered step, is proved to be successful.If inlet point path is invalid, that is, first answers With first application program in inlet point path and this product line described in market demand file in the file of program module Inlet point path it is different, then enter step S217, authentication failed.
Table one is the example according to the inlet point information of one embodiment of the invention.
Table one
Specifically, the inlet point information of the application program in a product line can be recorded in market demand file.Into Access point information includes into vertex type (for example, starting menu or working line etc.), and having recorded this application program can be where Establish shortcut.Inlet point information further includes the inlet point title in market demand file.Inlet point information further includes application program Mould inlet point file name in the block.After decompression contracts installation application program module, processor 110 can check installation first The file established after application program module whether there is the first application program that this product line is corresponded in market demand file Inlet point archives (for example, AUMID*.txt).If there are correspond to the first of this product line in market demand file for this file Whether the inlet point archives of application program, processor 110 can further judge the inlet point path described in this inlet point archives Be identical to the inlet point path being recorded in market demand file, with judge inlet point be proved to be successful or failure.
In conclusion the verification method and verification device of the present invention are in the inlet point path for verifying the first application program module Whether it is effective when, can first judge the first application program module whether there is in application database.If the first application program mould Block is present in application database, then decompresses the first application program module and install the first application program module.Then sentence It whether there is inlet point path in the file of disconnected first application program module.Finally inlet point path and the market demand are compared again Whether file is effective to verify inlet point path.Thus, you can whether detection application program module meets market and need in advance File specification is sought, to reduce error rate when image shelves arrangement, and then increases factory testing efficiency and reduces image shelves and make again The time of work and cost.
Although the present invention is disclosed as above with embodiment, however, it is not to limit the invention, any technical field Middle technical staff, without departing from the spirit and scope of the present invention, when can make a little change with retouching, therefore the present invention protection Subject to range ought be defined depending on claim.

Claims (10)

1. a kind of verification method, which is characterized in that including:
A market demand file and a software loading content inventory are received, wherein the market demand file includes multiple product lines In multiple application programs an inlet point information, and the software loading content inventory includes one of them the multiple product A name information and a version information for the multiple application program in line;
One first inlet point information to be verified is obtained according to the market demand file and the software loading content inventory, Described in the first inlet point information correspond to one first application program in the multiple application program;
It is found from an application database according to the name information of first application program or the version information One first application program module of corresponding first application program;And
Whether the inlet point path for verifying first application program module is effective.
2. verification method according to claim 1, which is characterized in that the first inlet point information includes described first answering It is located at a shortcut of menu or Facility Column sequence at the beginning in one of them described the multiple product line with program.
3. verification method according to claim 1, which is characterized in that verification first application program module it is described into The whether effective step in access point path includes:
Judge that first application program module whether there is in the application database;And
If first application program module is present in the application database, the first application program mould is decompressed Block simultaneously installs first application program module.
4. verification method according to claim 3, which is characterized in that verification first application program module it is described into The whether effective step in access point path further includes:
Judge to whether there is the inlet point path in a file of first application program module.
5. verification method according to claim 4, which is characterized in that verification first application program module it is described into The whether effective step in access point path further includes:
If there are the inlet point paths in the file of first application program module, the inlet point road is compared Whether diameter verifies the inlet point path with the market demand file effective.
6. a kind of verification device, which is characterized in that including:
Processor;And
Memory is couple to the processor,
The wherein described processor receives a market demand file and a software loading content inventory, wherein the market demand file An inlet point information including multiple application programs in multiple product lines, and the software loading content inventory includes wherein one A name information and a version information for the multiple application program in a the multiple product line,
The wherein described processor obtains to be verified 1 according to the market demand file and the software loading content inventory One inlet point information, wherein the first inlet point information corresponds to one first application program in the multiple application program,
The wherein described processor applies journey according to the name information or the version information of first application program from one One first application program module of corresponding first application program is found in sequence database,
Whether the inlet point path that the wherein described processor verifies first application program module is effective.
7. verification device according to claim 6, which is characterized in that the first inlet point information includes described first answering It is located at a shortcut of menu or Facility Column sequence at the beginning in one of them described the multiple product line with program.
8. verification device according to claim 6, which is characterized in that the processor judges the first application program mould Block whether there is in the application database, if wherein first application program module is present in the application program number According to library, then the processor decompresses first application program module and installs first application program module.
9. verification device according to claim 8, which is characterized in that the processor judges the first application program mould It whether there is the inlet point path in one file of block.
10. verification device according to claim 9, which is characterized in that if the text of first application program module There are the inlet point path in part folder, then the processor compares the inlet point path with the market demand file to test Whether effective demonstrate,prove the inlet point path.
CN201710090020.6A 2017-02-20 2017-02-20 verification method and verification device Pending CN108459950A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710090020.6A CN108459950A (en) 2017-02-20 2017-02-20 verification method and verification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710090020.6A CN108459950A (en) 2017-02-20 2017-02-20 verification method and verification device

Publications (1)

Publication Number Publication Date
CN108459950A true CN108459950A (en) 2018-08-28

Family

ID=63221969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710090020.6A Pending CN108459950A (en) 2017-02-20 2017-02-20 verification method and verification device

Country Status (1)

Country Link
CN (1) CN108459950A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6353926B1 (en) * 1998-07-15 2002-03-05 Microsoft Corporation Software update notification
CN101794222A (en) * 2010-01-13 2010-08-04 腾讯科技(深圳)有限公司 Software version collecting method, management system and software upgrading detection method and system
TW201116998A (en) * 2009-11-09 2011-05-16 Inventec Corp Method for checking preinstall software
CN102981830A (en) * 2012-11-02 2013-03-20 北京航空航天大学 Configurable method for file fast recognition and damaged file intelligent repair
US20150046917A1 (en) * 2013-03-14 2015-02-12 International Business Machines Corporation Automatic quality assurance for software installers
US20160371493A1 (en) * 2012-06-29 2016-12-22 Intel Corporation Mobile platform software update with secure authentication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6353926B1 (en) * 1998-07-15 2002-03-05 Microsoft Corporation Software update notification
TW201116998A (en) * 2009-11-09 2011-05-16 Inventec Corp Method for checking preinstall software
CN101794222A (en) * 2010-01-13 2010-08-04 腾讯科技(深圳)有限公司 Software version collecting method, management system and software upgrading detection method and system
US20160371493A1 (en) * 2012-06-29 2016-12-22 Intel Corporation Mobile platform software update with secure authentication
CN102981830A (en) * 2012-11-02 2013-03-20 北京航空航天大学 Configurable method for file fast recognition and damaged file intelligent repair
US20150046917A1 (en) * 2013-03-14 2015-02-12 International Business Machines Corporation Automatic quality assurance for software installers

Similar Documents

Publication Publication Date Title
CN102521081B (en) Repair destroyed software
CN105144074B (en) It is stored using the block of hybrid memory device
CN107729198B (en) Android system firmware verification method and device
US20130227356A1 (en) Apparatus and method for handling rebooting of mobile terminal
US11036491B1 (en) Identifying and resolving firmware component dependencies
CN109086079B (en) Mounting management method and device for storage equipment
US7536599B2 (en) Methods and systems for validating a system environment
CN110162429B (en) System repair method, server and storage medium
CN109446753A (en) Detect method, apparatus, computer equipment and the storage medium of pirate application program
CN111615688A (en) Assertion verification code binding method and device
CN105138352B (en) Method and device for installing application plug-in
CN105677394B (en) Application program upgrading method and device of terminal equipment
CN112818314A (en) Equipment detection method, device, equipment and storage medium
CN106843947B (en) Method and device for processing code defects
CN110597662B (en) Backup data automatic verification method and device, user equipment and storage medium
US20150242599A1 (en) Cluster license server
US8347285B2 (en) Embedded agent for self-healing software
CN108196975B (en) Data verification method and device based on multiple checksums and storage medium
US20120310849A1 (en) System and method for validating design of an electronic product
CN110471828B (en) Operating system testing method, device and equipment thereof
KR102110340B1 (en) Method for EEPROM Recovery of Slave Device in PLC Communication Module
CN108459950A (en) verification method and verification device
CN114391136A (en) Enhanced virtual machine image management system
CN111371818B (en) Data request verification method, device and equipment
US20180240049A1 (en) Verifying method and verifying device

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180828