CN109144883A - APP configuration data detection method, device, computer equipment and storage medium - Google Patents

APP configuration data detection method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109144883A
CN109144883A CN201811139990.1A CN201811139990A CN109144883A CN 109144883 A CN109144883 A CN 109144883A CN 201811139990 A CN201811139990 A CN 201811139990A CN 109144883 A CN109144883 A CN 109144883A
Authority
CN
China
Prior art keywords
configuration data
app
app configuration
detection
detection method
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
CN201811139990.1A
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201811139990.1A priority Critical patent/CN109144883A/en
Publication of CN109144883A publication Critical patent/CN109144883A/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/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present application provides a kind of APP configuration data detection method, device, computer equipment and storage medium.The described method includes: judging whether the detection instruction for receiving APP configuration data if APP is in operating status;If receiving the detection instruction of APP configuration data, it is whether abnormal that the APP configuration data is detected according to preset rules, wherein the preset rules refer to the preset content that the APP configuration data is detected according to preset order;And testing result is obtained, and prompt the testing result.The embodiment of the present application is by carrying out intellectualized detection to the APP configuration data being filled in manually, the data of mistake being avoided to be configured in production environment, ensure that the stability of system operation before APP configuration is published to outer net production environment.

Description

APP configuration data detection method, device, computer equipment and storage medium
Technical field
This application involves Internet technical field more particularly to a kind of APP configuration data detection methods, device, computer Equipment and computer readable storage medium.
Background technique
(full name in English: Application, english abbreviation: APP refers generally to install on the mobile terminals such as smart phone APP Third party application) operation when need dynamic to read some configuration datas from server back end, for example control certain functions Closing, or configuration resource packet download address etc., the part configuration data by manually server configure backstage carry out It is filled in manually.But easy error is filled in manually, depends on artificial detection, can not many times find that existing configuration data is filled in Mistake, to influence the stability of system operation.
Summary of the invention
The embodiment of the present application provides a kind of APP configuration data detection method, device, computer equipment and computer-readable Storage medium is able to solve since APP configuration data fills in the problem of mistake leads to system fluctuation of service.
In a first aspect, the embodiment of the present application provides a kind of APP configuration data detection method, which comprises if APP It is in operating status, judge whether the detection instruction for receiving APP configuration data;If judgement receives the inspection of APP configuration data Instruction is surveyed, whether abnormal, wherein the preset rules refer to according to default if detecting the APP configuration data according to preset rules The preset content of APP configuration data described in sequence detection;And testing result is obtained, and prompt the testing result.
Second aspect, the embodiment of the present application also provides a kind of APP configuration data detection devices comprising for executing State the unit of APP configuration data detection method.
The third aspect, the embodiment of the present application also provides a kind of computer equipments comprising memory and processor, it is described Computer program is stored on memory, the processor realizes the APP configuration data inspection when executing the computer program Survey method.
Fourth aspect, the embodiment of the present application also provides a kind of computer readable storage medium, the storage medium storage There is computer program, the computer program makes the processor execute the APP configuration data detection when being executed by processor Method.
The embodiment of the present application provides a kind of APP configuration data detection method, device, computer equipment and computer-readable Storage medium.The described method includes: judging whether the detection instruction for receiving APP configuration data if APP is in operating status; It is whether abnormal according to the preset rules detection APP configuration data if judgement receives the detection instruction of APP configuration data, In, the preset rules refer to the preset content that the APP configuration data is detected according to preset order;And obtain detection knot Fruit, and prompt the testing result.The embodiment of the present application by by APP configuration be published to outer net production environment before, to people The APP configuration data that work is filled in carries out intellectualized detection, avoids the data of mistake from being configured in production environment, ensure that system The stability of operation.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the application scenarios schematic diagram of APP configuration data detection method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of APP configuration data detection method provided by the embodiments of the present application;
Fig. 3 is the sub-process schematic diagram of APP configuration data detection method provided by the embodiments of the present application;
Fig. 4 is the flow diagram for the APP configuration data detection method that another embodiment of the application provides;
Fig. 5 is the schematic block diagram of APP configuration data detection device provided by the embodiments of the present application;
Fig. 6 is the schematic block diagram for the APP configuration data detection device that another embodiment of the application provides;And
Fig. 7 is the schematic block diagram of computer equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
Referring to Fig. 1, Fig. 1 is the application scenarios schematic diagram of APP configuration data detection method provided by the embodiments of the present application. The application scenarios include:
(1) user uses developer, maintenance personnel or the tester etc. of APP by terminal.
(2) terminal, APP is equipped in the terminal, and the detection function that user passes through the APP of the installation in terminal detects APP configuration data, the terminal can be smart phone, smartwatch, laptop, tablet computer or desktop computer etc. Electronic equipment, terminal are connect by cable network or wireless network with server.
(3) server, a kind of computer equipment for storing APP configuration data, and provide and read the APP configuration number According to by wired or wirelessly connect with terminal.
Each body of work process in Fig. 1 is as follows: by manually by APP configuration data after platform is filled in upon configuration, Before APP configuration data is published to outer net production environment, terminal is passed through by developer, maintenance personnel or tester On APP interface on the one key detection function of APP configuration data that is arranged, the APP configuration data on server is detected, If detecting, APP configuration data is correct, and APP configuration data is published to outer net production environment, so that in outer net production environment APP client in terminal obtains the APP configuration data, if detecting, APP configuration data is abnormal, according to abnormal prompt, The APP configuration data of mistake is revised as correct APP configuration data, and after detection is errorless, the APP configuration data is sent out Cloth is into outer net production environment.Wherein, production environment refers to what formal offer externally serviced, can generally turn off error reporting, beat Open error log.
It should be noted that a user and terminal are only illustrated in Fig. 1, in the actual operation process, with server The terminal being connected can have multiple, and it is more that server, which also may include, be server cluster or Cloud Server etc., above-mentioned The application scenarios of APP configuration data detection method are merely illustrative technical scheme, are not used to limit the application skill Art scheme.
Fig. 2 is the schematic flow chart of APP configuration data detection method provided by the embodiments of the present application.The APP configures number It is applied in the terminal in Fig. 1 according to detection method, the terminal can be smart phone, smartwatch, laptop, plate The electronic equipments such as computer or desktop computer, to complete all or part of function of APP configuration data detection method.
Fig. 2 is the flow diagram of APP configuration data detection method provided by the embodiments of the present application.As shown in Fig. 2, the party Method includes the following steps S210-S230:
If S210, APP are in operating status, judge whether the detection instruction for receiving APP configuration data.
Wherein, APP configuration data refers to the data in the control APP client control logic of server back end setting.? In some embodiments, APP client run when, need dynamically from server back end read it is some independent of APP version more New configuration data, such as under the premise of not updating APP version controls the closing and unlatching, resource packet of the certain functions of APP The APP configuration datas such as the data of download address or certain functions setting.For example, in scheduled dates such as Valentine's Days, for wechat The configuration data of the red packet amount of money upper limit setting of APP, under the premise of not updating wechat APP version, wechat APP client is from micro- Believe that APP server back end reads the adjustment red packet amount of money and adjusts the configuration data in time limit, to control wechat APP in Valentine's Day etc. The control logic of the red packet amount of money upper limit of wechat APP client in time limit scheduled date.
Specifically, since the configuration data of APP entirety is very more, and easy error, such as file address is filled in manually Mismatch, md5 check value are wrongly write, and depend on artificial detection, it is not easy to find this partial error.It therefore, can be in APP in advance The hiding interface addition one key detection function of APP configuration data being arranged.
APP configuration data by manually server background fill in configuration it is good after.It is outer APP configuration data to be published to It, can be by APP developer in order to avoid the stability run due to APP configuration data erroneous effects APP before net production environment Or APP tester use APP one key detection function of APP configuration data, in advance intra-company to APP configuration data into Row detection, finds potential configuration error.If the APP client that APP developer or APP tester use is in operation State, the APP client judge whether to receive the detection instruction of APP configuration data.
If S220, the detection instruction for receiving APP configuration data, detecting the APP configuration data according to preset rules is No exception, wherein the preset rules refer to the preset content that the APP configuration data is detected according to preset order.
Wherein, the preset rules refer to the control logic for being set in advance in the APP configuration data detection at default interface, institute It states default detected rule and refers to the preset content for detecting the APP configuration data according to preset order.The preset rules are by APP Client developer and tester use, and are hiding to the user in outer net production environment.Specifically, according in detection The importance of appearance determines the sequence of detection content, detects following content in the following order: detecting the text of APP configuration data first Whether part download address is correct;Whether the file validation for detecting APP configuration data again is legal;Terminal check APP configuration data MD5 value it is whether normal.
Specifically, if APP client receives the detection instruction of APP configuration data, the APP detection data is obtained, according to It is secondary that the file download address of APP configuration data, the file validation and MD5 of APP configuration data are carried out to the APP configuration data It is worth the detection of verification, if above-mentioned all detections are all normal, judge that the APP configuration data is normal, otherwise, judge that the APP matches Set data exception.
S230, testing result is obtained, and prompts the testing result.
Specifically, APP client obtains the testing result of APP configuration data, and prompts the testing result, with Just developer and tester know testing result.If the APP configuration data is abnormal, the developer, tester Or maintenance personnel corrects the APP configuration data according to testing result, so that the APP data of mistake be avoided to be configured to production Environment causes production problem, guarantees the stability of APP system operation.
Further, the testing result is prompted, can by the testing result described in APP interface display, or Person is prompted by voice mode, or by being prompted in APP interface display combination voice mode, and the detection is tied Fruit is exported, to realize that the testing result is prompted to developer, tester or maintenance personnel by various ways.
APP configuration is arranged by presetting interface in APP in APP configuration data detection method provided by the embodiments of the present application The detection function of data, relative to, to the artificial detection of APP configuration data, may be implemented to human configuration in traditional technology APP configuration data carries out intellectualized detection, and the data of mistake is avoided to be configured in production environment, causes production problem, guarantees The stability of system operation, and improve the efficiency and accuracy of APP configuration data detection.
Referring to Fig. 4, Fig. 4 is the process signal for the APP configuration data detection method that another embodiment of the application provides Figure.As shown in figure 4, in this embodiment, if the APP is in operating status, judging whether the inspection for receiving APP configuration data Before the step of surveying instruction further include:
S200, the detection menu of APP configuration data is set at the default interface of the APP.
Specifically, APP configuration data is detected, intelligent measurement, starting can be carried out by the function button being arranged on APP After function button, APP automatically detects APP configuration data.Wherein, the function button for detecting APP configuration data can lead to The form for crossing detection menu is realized.In order to which the correctness to all APP configuration datas carries out a key intelligent measurement, need in APP Pre-set interface on be arranged APP configuration data detection function, the APP configuration data detection function is in the form of program Included in the installation file of APP.The APP configuration data detection function is started by way of key, and the key can also Button is thought, as long as the APP configuration data detection function can be started.For example, can be set on " setting " interface of APP The menu key for setting an APP configuration data detection function starts APP when click " detection of APP configuration data " menu key The automatic detection of configuration data.
In one embodiment, the method also includes: by the detection menu of the APP configuration data hide setting.
Specifically, due to the APP configuration data detection be by APP configuration data be published to outer net production environment it Before, the APP of configuration is configured using the detection function of the APP configuration data by developer, maintenance personnel or tester The correctness of data is detected, so the APP configuration data detection function can in the client in outer net production environment Not open, when APP to be published in outer net production environment, the detection menu of the APP configuration data is hidden into setting, Do not show the detection menu of APP configuration data in the APP client in outer net production environment exactly, only exploitation environment or The detection menu of APP configuration data is shown in test environment, to realize one key detection function of APP configuration data only to exploit person Member, maintenance personnel and tester are open, are hiding to user, and APP configuration data is being published to outer net to realize A key intelligent measurement is carried out to the correctness of all APP configuration datas before production environment.Wherein, environment is developed, refers to use In the server of development and application program, configuration can be more casual, convenient in order to develop debugging, general to open whole false alarms It accuses;Test environment: referring to the configuration for cloning a production environment, and a program is abnormal in test environmental work, cannot be It is published in manufacturing machine.
Referring to Fig. 3, Fig. 3 is the sub-process schematic diagram of APP configuration data detection method provided by the embodiments of the present application, such as Shown in Fig. 3, in this embodiment, if the detection instruction for receiving APP configuration data, detect according to preset rules described in Whether APP configuration data is abnormal, wherein the preset rules, which refer to, detects the pre- of the APP configuration data according to preset order If the step of content, includes:
Whether S2201, the file download address of the detection APP configuration data are correct;
Whether S2202, the file of the detection APP configuration data are legal;
Whether S2203, the MD5 value of the verification APP configuration data are correct.
Specifically, if APP client receives the detection instruction of APP configuration data, the APP detection data is obtained, is pressed The APP configuration data is detected according to preset rules, the preset rules include detecting the APP configuration data according to preset order Preset content, the text of the file download address of APP configuration data, APP configuration data is successively carried out to the APP configuration data The detection of part legitimacy and the verification of MD5 value, wherein the sequence of detection content is determined according to the importance of detection content.If above-mentioned All detections are all normal, judge that the APP configuration data is normal, otherwise, judge that the APP configuration data is abnormal.It is specific as follows:
1) whether the file download address for detecting the APP configuration data is correct.
Specifically, since APP configuration data will be by test environmental testing, test environmental testing is out of question, could be sent out Cloth is downloaded for user and is used into production environment, due to testing the high similarity of environment and production environment, it is easy to will survey The file download address in test ring border and the file download address obfuscation of production environment therefore will be under the files to APP configuration data Whether set address is detected, correctly detect to the file download address of APP configuration data.The file of APP configuration data Download address detection refers to that detecting file download address according to the domain name of download address is production environment or tests environment, thus Whether correct detect file download address.Test the file download address of the APP configuration data of the corresponding test environment of environment, production Environment corresponds to the file download address of the APP configuration data of production environment, otherwise the file download address of the APP configuration data Be it is incorrect, the APP configuration data cannot be distributed in production environment.
2) whether the file for detecting the APP configuration data is legal.
Specifically, the file validation detection of the APP configuration data refers to the validity inspection of detection APP configuration file It surveys, whether the file format including detecting APP configuration data is legal and the APP configuration data whether there is.For example, institute Can the file that APP configuration data be stated normally decompress to open the file of the APP configuration data, the APP configuration data lattice Whether formula is complete, for example whether brace is complete.The file of the APP configuration data whether there is in file download address, from Whether and it is effective to detect the APP configuration file.
3) whether the MD5 value for verifying the APP configuration data is correct.
It specifically, after being generated due to the MD5 of APP configuration data, therefore is easy the MD5 value by being filled in manually Input error or APP configuration data are tampered, and also result in MD5 value and inconsistent situation occur, so needing to match APP The MD5 value for setting data is verified, to ensure the integrality of APP configuration data.Wherein, MD5 verification and (checksum) pass through Hash operations are executed to check the correctness of data to received transmission data, are brought by calculated hashed value and with data The hashed value of transmission compares.If two values are identical, illustrate that the data of transmission are completely errorless, was not tampered (on condition that dissipating Train value is not tampered), so as to safe to use.The md5 value verification of APP configuration data refers to that verifying APP by md5 value matches Set the integrality of data.To guarantee that APP configuration data is the complete errorless, data that are not tampered with.
In one embodiment, the acquisition testing result, and the step of prompting the testing result includes:
If detecting, the APP configuration data is normal, prompts the APP configuration data normal;
If it is abnormal to detect that the APP configuration data exists, prompt the APP configuration data abnormal.
Specifically, APP client obtains the testing result of APP configuration data, if the APP configuration data is normal, output APP configuration data regular prompt, so that the APP configuration data can be deployed on server, to make the APP configuration number According to production environment is configured to, obtained with the APP client for users to use;If there is exception in the APP configuration data, APP configuration data abnormity prompt is exported, so that developer and tester have found the potential mistake of APP configuration data, After the error correction of the APP configuration data, the APP configuration data is configured in production environment.
In one embodiment, if described detect that the APP configuration data has exception, the APP configuration number is prompted According to abnormal step further include:
Prompt the particular content of the APP configuration data exception.
Specifically, if the APP judges that the APP configuration data has exception, APP configuration data abnormity prompt is exported, Meanwhile the APP exports the APP configuration data exception in terms of which, for example is the file download address of APP configuration data Abnormal, APP configuration data file validation is abnormal, APP configuration data md5 value is abnormal, and abnormal concrete embodiment is prompted Out.For example, which details is the mistake of the APP configuration data file download address exception appear in etc., it is artificial to facilitate It modifies, improves the efficiency for modifying the APP configuration data.
Referring to Fig. 4, Fig. 4 is the process signal for the APP configuration data detection method that another embodiment of the application provides Figure.As shown in figure 4, in this embodiment, the method also includes steps:
The modification of S240, reception to the APP configuration data, and detected again.
Specifically, if terminal detects that the APP configuration data has exception, the APP configuration data is prompted to mention extremely It wakes up, prompts the particular content of the APP configuration data exception, the APP is targetedly manually modified according to prompt and is configured The anomalies of data, after manual amendment finishes the APP configuration data, can according to the instruction received, automatically again into The row APP configuration data, if the APP configuration data is without exception, the APP configuration data can just be distributed to the life of outer net It produces in environment.
It should be noted that APP configuration data detection method described in above-mentioned each embodiment, can according to need will not Re-start combination with the technical characteristic for including in method, with obtain combination after embodiment, but all this application claims Within protection scope.
Referring to Fig. 5, Fig. 5 is the schematic block diagram of APP configuration data detection device provided by the embodiments of the present application.It is corresponding In above-mentioned APP configuration data detection method, the embodiment of the present application also provides a kind of APP configuration data detection device.Please refer to figure 5, which includes the unit for executing above-mentioned APP configuration data detection method, which can be by It is configured in the electronic equipments such as smart phone.Specifically, referring to Fig. 5, the APP configuration data detection device 500 includes judgement Unit 501, detection unit 502 and prompt unit 503.
Wherein, if judging unit 501 judge whether the inspection for receiving APP configuration data in operating status for APP Survey instruction;
Detection unit 502 detects institute according to preset rules if the detection instruction for judging to receive APP configuration data Whether abnormal state APP configuration data, wherein the preset rules, which refer to, detects the APP configuration data according to preset order Preset content;
Prompt unit 503 for obtaining testing result, and prompts the testing result.
Referring to Fig. 6, Fig. 6 is the schematic frame for the APP configuration data detection device that another embodiment of the application provides Figure.As shown in fig. 6, in this embodiment, described device 600 further include:
Setting unit 504, for the detection menu in the default interface of APP setting APP configuration data.
In one embodiment, described device 500 further include:
Hidden unit, for the detection menu of the APP configuration data to be hidden setting.
In one embodiment, the detection unit 502 includes:
Whether the first detection sub-unit, the file download address for detecting the APP configuration data are correct;
Whether the second detection sub-unit, the file for detecting the APP configuration data are legal;And
Subelement is verified, whether the MD5 value for verifying the APP configuration data is correct.
In one embodiment, the prompt unit 503 includes:
First prompt unit, if prompting the APP configuration data normal for detecting that the APP configuration data is normal;
Second prompt unit, if prompting the APP configuration data for detecting that it is abnormal that the APP configuration data exists It is abnormal.
In one embodiment, second prompt unit further include: for prompting the tool of the APP configuration data exception Hold in vivo.
Please continue to refer to Fig. 6, as shown in fig. 6, in this embodiment, described device 600 further include:
Receiving unit 505 for receiving the modification to the APP configuration data, and is detected again.
It should be noted that it is apparent to those skilled in the art that, above-mentioned APP configuration data detection dress Set the specific implementation process with each unit, can with reference to the corresponding description in preceding method embodiment, for convenience of description and Succinctly, details are not described herein.
Meanwhile in above-mentioned APP configuration data detection device the division of each unit and connection type be only used for for example, In other embodiments, APP configuration data detection device can be divided into different units as required, APP can also be configured Each unit takes the different order of connection and mode in data detection device, to complete above-mentioned APP configuration data detection device All or part of function.
Above-mentioned APP configuration data detection device can be implemented as a kind of form of computer program, which can To be run in computer equipment as shown in Figure 7.
Referring to Fig. 7, Fig. 7 is a kind of schematic block diagram of computer equipment provided by the embodiments of the present application.The computer Equipment 700 can be terminal, the component or component being also possible in other equipment, wherein terminal can be smart phone, intelligence The computer equipments with communication function such as energy wrist-watch, tablet computer.
Refering to Fig. 7, which includes processor 702, memory, the network connected by system bus 701 Interface 705 and audio input interface 706, wherein memory may include non-volatile memory medium 703 and built-in storage 704.
The non-volatile memory medium 703 can storage program area 7031 and computer program 7032.The computer program 7032 are performed, and processor 702 may make to execute a kind of above-mentioned APP configuration data detection method.
The processor 702 is for providing calculating and control ability, to support the operation of entire electronic equipment 700.
The built-in storage 704 provides environment for the operation of the computer program 7032 in non-volatile memory medium 703, should When computer program 7032 is executed by processor 702, processor 702 may make to execute a kind of above-mentioned APP configuration data detection side Method.
The network interface 705 is used to carry out network communication with other equipment.It will be understood by those skilled in the art that in Fig. 7 The structure shown, only the block diagram of part-structure relevant to application scheme, does not constitute and is applied to application scheme The restriction of electronic equipment 700 thereon, specific electronic equipment 700 may include than more or fewer portions as shown in the figure Part perhaps combines certain components or with different component layouts.
Wherein, the processor 702 is for running computer program 7032 stored in memory, to realize following step It is rapid: if APP is in operating status, to judge whether the detection instruction for receiving APP configuration data;If judgement receives APP configuration Whether abnormal the detection instruction of data detects the APP configuration data according to preset rules, wherein the preset rules refer to The preset content of the APP configuration data is detected according to preset order;And testing result is obtained, and the detection is prompted to tie Fruit.
In one embodiment, when the processor 702 states step in realization, if the APP is in operating status, judgement Before the step of whether receiving the detection instruction of APP configuration data further include:
In the detection menu of the default interface of APP setting APP configuration data.
In one embodiment, when the processor 702 states step in realization, the method also includes: the APP is matched The detection menu for setting data hides setting.
In one embodiment, when the processor 702 states step in realization, if the judgement receives APP configuration number According to detection instruction, detect the APP configuration data according to preset rules whether Yi Chang step include: the detection APP and match Whether the file download address for setting data is correct;Whether the file for detecting the APP configuration data is legal;And described in verification Whether the MD5 value of APP configuration data is correct.
In one embodiment, when the processor 702 states step in realization, the acquisition testing result, and prompt institute The step of stating testing result include:
If detecting, the APP configuration data is normal, prompts the APP configuration data normal;
If it is abnormal to detect that the APP configuration data exists, prompt the APP configuration data abnormal.
In one embodiment, when the processor 702 states step in realization, if described detect the APP configuration number According to the step of there is exception, prompting the APP configuration data abnormity prompt further include:
Prompt the particular content of the APP configuration data exception.
In one embodiment, when the processor 702 states step in realization, the method also includes:
The modification to the APP configuration data is received, and is detected again.
It should be appreciated that in the embodiment of the present application, processor 702 can be central processing unit (Central ProcessingUnit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices Part, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or The processor is also possible to any conventional processor etc..
Those of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of the process, It is that relevant hardware can be instructed to complete by computer program.The computer program includes program instruction, computer journey Sequence can be stored in a storage medium, which is computer readable storage medium.The program instruction is by the department of computer science At least one processor in system executes, to realize the process step of the embodiment of the above method.
Therefore, the application also provides a kind of computer readable storage medium.The computer-readable recording medium storage has meter Calculation machine program, the computer program make processor execute following steps when being executed by processor:
A kind of computer program product, when run on a computer, so that computer executes in the above various embodiments The step of described APP configuration data detection method.
The storage medium can be USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), magnetic disk Or the various computer readable storage mediums that can store program code such as CD.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond scope of the present application.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary.For example, the division of each unit, only Only a kind of logical function partition, there may be another division manner in actual implementation.Such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.
Step in the embodiment of the present application method can be sequentially adjusted, merged and deleted according to actual needs.This Shen Please the unit in embodiment device can be combined, divided and deleted according to actual needs.In addition, in each implementation of the application Each functional unit in example can integrate in one processing unit, is also possible to each unit and physically exists alone, can also be with It is that two or more units are integrated in one unit.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can store in one storage medium.Based on this understanding, the technical solution of the application is substantially in other words to existing skill The all or part of part or the technical solution that art contributes can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that an electronic equipment (can be individual Computer, terminal or network equipment etc.) execute each embodiment the method for the application all or part of the steps.
The above, the only specific embodiment of the application, but the bright protection scope of the application is not limited thereto, and is appointed What those familiar with the art within the technical scope of the present application, can readily occur in various equivalent modifications or Replacement, these modifications or substitutions should all cover within the scope of protection of this application.Therefore, the protection scope Ying Yiquan of the application Subject to the protection scope that benefit requires.

Claims (10)

1. a kind of APP configuration data detection method, which is characterized in that the described method includes:
If APP is in operating status, judge whether the detection instruction for receiving APP configuration data;
It is whether abnormal according to the preset rules detection APP configuration data if receiving the detection instruction of APP configuration data, In, the preset rules refer to the preset content that the APP configuration data is detected according to preset order;And
Testing result is obtained, and prompts the testing result.
2. APP configuration data detection method according to claim 1, which is characterized in that if the APP is in operating status, Before judging whether the step of receiving the detection instruction of APP configuration data further include:
In the detection menu of the default interface of APP setting APP configuration data.
3. APP configuration data detection method according to claim 2, which is characterized in that the method also includes: it will be described The detection menu of APP configuration data hides setting.
4. APP configuration data detection method according to any one of the claim 1 to 3, which is characterized in that if described receive Whether abnormal the detection instruction of APP configuration data detects the APP configuration data according to preset rules, wherein the default rule Then refer to that the step of detecting the preset content of the APP configuration data according to preset order includes:
Whether the file download address for detecting the APP configuration data is correct;
Whether the file for detecting the APP configuration data is legal;
Whether the MD5 value for verifying the APP configuration data is correct.
5. APP configuration data detection method according to claim 4, which is characterized in that the acquisition testing result, and prompt The step of testing result includes:
If detecting, the APP configuration data is normal, prompts the APP configuration data normal;
If it is abnormal to detect that the APP configuration data exists, prompt the APP configuration data abnormal.
6. APP configuration data detection method according to claim 5, which is characterized in that if described detect the APP configuration There is exception in data, prompt the step of the APP configuration data exception further include:
Prompt the particular content of the APP configuration data exception.
7. APP configuration data detection method according to claim 5, which is characterized in that the method also includes:
The modification to the APP configuration data is received, and is detected again.
8. a kind of APP configuration data detection device, which is characterized in that including for executing as described in claim any one of 1-7 The unit of APP configuration data detection method.
9. a kind of computer equipment, which is characterized in that the computer equipment includes memory and is connected with the memory Processor;The memory is for storing computer program;The processor is based on running and storing in the memory Calculation machine program, to execute as described in claim any one of 1-7 the step of APP configuration data detection method.
10. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter Calculation machine program makes the processor execute the APP configuration data inspection as described in any one of claim 1-7 when being executed by processor The step of survey method.
CN201811139990.1A 2018-09-28 2018-09-28 APP configuration data detection method, device, computer equipment and storage medium Pending CN109144883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811139990.1A CN109144883A (en) 2018-09-28 2018-09-28 APP configuration data detection method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811139990.1A CN109144883A (en) 2018-09-28 2018-09-28 APP configuration data detection method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109144883A true CN109144883A (en) 2019-01-04

Family

ID=64813279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811139990.1A Pending CN109144883A (en) 2018-09-28 2018-09-28 APP configuration data detection method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109144883A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897226A (en) * 2017-02-28 2017-06-27 郑州云海信息技术有限公司 The method and device of a kind of continuous integrating test
CN107315681A (en) * 2017-06-09 2017-11-03 上海爱优威软件开发有限公司 Application program self-starting test system, medium and method
CN107357717A (en) * 2017-06-07 2017-11-17 阿里巴巴集团控股有限公司 Detect the method, apparatus and equipment of configuration error

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897226A (en) * 2017-02-28 2017-06-27 郑州云海信息技术有限公司 The method and device of a kind of continuous integrating test
CN107357717A (en) * 2017-06-07 2017-11-17 阿里巴巴集团控股有限公司 Detect the method, apparatus and equipment of configuration error
CN107315681A (en) * 2017-06-09 2017-11-03 上海爱优威软件开发有限公司 Application program self-starting test system, medium and method

Similar Documents

Publication Publication Date Title
AU2010364976B2 (en) Repairing corrupt software
CN107450941B (en) Automatic packaging method, device, storage medium and computer equipment
CN107239288B (en) Version upgrading method and device for mobile terminal
US10698797B2 (en) Mobile application program testing method, server, terminal, and storage medium
US10846099B2 (en) Selecting a boot loader on an electronic device
WO2015176431A1 (en) Method and device for generating test data
CN111124919A (en) User interface testing method, device, equipment and storage medium
CN106547687A (en) Application testing method, device and system
US20110239192A1 (en) Fully declarative build system for build optimization
CN109271196A (en) APP version upgrading method, device, system and computer equipment
CN110515755A (en) Interface function verification method, device, equipment and computer readable storage medium
CN109918287A (en) APP upgrading test method, apparatus, computer equipment and storage medium
CN105095074A (en) Upgrade test method and device for configuration file
CN110889116A (en) Advertisement blocking method and device and electronic equipment
CN108897588B (en) Routing method and routing device for communication between modules
CN112099802B (en) Component identification method and device of application program
US20210294725A1 (en) Universal Runtime Verification System Between Source Language And Language Converted Through Transpiler
US11620212B2 (en) Method for validating a medical application, end user device and medical system
CN109144883A (en) APP configuration data detection method, device, computer equipment and storage medium
CN109684205B (en) System testing method, device, electronic equipment and storage medium
US20230315620A1 (en) System and Method for Diagnosing a Computing Device in Safe Mode
KR101629578B1 (en) Method of generating rte code and apparatus performing the same
US20160139909A1 (en) Delta patch process
CN106897622A (en) The method and apparatus of checking application leak
CN113553271A (en) Method for generating and testing internal test program of application program

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

Application publication date: 20190104

WD01 Invention patent application deemed withdrawn after publication