CN109684203A - Program running parameter configuration method, device, computer equipment and storage medium - Google Patents

Program running parameter configuration method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109684203A
CN109684203A CN201811427164.7A CN201811427164A CN109684203A CN 109684203 A CN109684203 A CN 109684203A CN 201811427164 A CN201811427164 A CN 201811427164A CN 109684203 A CN109684203 A CN 109684203A
Authority
CN
China
Prior art keywords
data packet
application program
version
information
running environment
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
CN201811427164.7A
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 Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811427164.7A priority Critical patent/CN109684203A/en
Publication of CN109684203A publication Critical patent/CN109684203A/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/368Test management for test version control, e.g. updating test cases to a new software version
    • 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)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a kind of program running parameter configuration method, device, computer equipment and storage medium, include the following steps: to obtain application program object run data packet to be run;The configuration parameter that application program operates in default running environment is extracted in object run data packet;Parameter configuration is carried out to running environment according to configuration parameter, so that application program runs test in running environment.The object run data packet to be run that the embodiment of the present invention passes through acquisition application program, configuration parameter of the application program in default running environment is carried in the object run data packet, then parameter configuration is carried out to the running environment automatically further according to the configuration parameter, so that the application program is normally carried out operation test in the running environment, automation configures the parameter of running environment, it does not need artificial intervention and carries out parameter configuration, it realizes and is quickly packaged test function, reduce communication cost, improves development efficiency.

Description

Program running parameter configuration method, device, computer equipment and storage medium
Technical field
The present embodiments relate to application-development technologies field, especially a kind of program running parameter configuration method, Device, computer equipment and storage medium.
Background technique
Application program refers to the software write for certain application purpose for user, in the exploitation of application program Cheng Zhong needs the operation for some environment to carry out packing test, such as: it is packaged, is being answered using iOS automation platform With in the packing test process of program, needing the running environment to application program to carry out corresponding parameter configuration, answered to meet With the normal operation of program.
Existing application program is packaged in test process, and the parameter of running environment is configured by tester, still, is surveyed Examination personnel are not the developers of application program, and tester does not know the operating parameter under various environment, leads to tester Other environment cannot be carried out according to the wish of oneself and carry out packing test, and in the parametric procedure of configuration running environment, The intervention of developer is needed to configure or modify the parameter in multiple running environment, is increased communication cost, is reduced out Send out efficiency.
Summary of the invention
The embodiment of the present invention provide the program running parameter configuration method that a kind of intelligent automation carries out environmental parameter configuration, Device, computer equipment and storage medium.
In order to solve the above technical problems, the technical solution that the embodiment of the invention uses is: providing a kind of journey Sort run method for parameter configuration, includes the following steps:
Obtain application program object run data packet to be run;
The configuration ginseng that the application program operates in default running environment is extracted in the object run data packet Number;
Parameter configuration is carried out to the running environment according to the configuration parameter, so that the application program is in the operation Test is run in environment.
It optionally, further include as following before described the step of obtaining application program object run data packet to be run Step:
Obtain the operation operational order of user's input, wherein the operation operational order carries running environment information;
It is chosen in preset operation data library according to the operation operational order corresponding with the running environment information The object run data packet.
Optionally, described that parameter configuration is carried out to the running environment according to the configuration parameter, so that described apply journey Further include such as following step after sequence runs the step of test in the running environment:
Obtain the historical operational information of the application program, wherein the historical operational information includes the application program Old version information;
The old version information mapped old version and the object run data packet mapped are developed into version Originally it is compared;
When the old version is greater than the exploitation version, version error letter is carried out according to preset information alert mode Breath prompt.
Optionally, described that parameter configuration is carried out to the running environment according to the configuration parameter, so that described apply journey Further include such as following step after sequence runs the step of test in the running environment:
The exploitation version letter that the operation test result and the object run data packet for obtaining the application program carry Breath;
The operation test result and exploitation version information are polymerize build version test result data packet.
Optionally, described that the operation test result and exploitation version information are polymerize build version test result data packet The step of before, further include such as following step:
Obtain the personally identifiable information of user;
The personally identifiable information and the version test result data packet are saved to preset test result database In.
Optionally, the step of personally identifiable information for obtaining user, including such as following step:
Obtain the facial image of the user;
The facial image is input in preset human face recognition model, wherein the human face recognition model is training To convergent convolutional neural networks model;
Obtain the personally identifiable information of the user of the human face recognition model output.
Optionally, described to save the personally identifiable information and the version test result data packet to preset test Step in result database, including such as following step:
It establishes to execute by thread and saves the personally identifiable information and the version test result data packet to default Test result database in pending task;
It detects in the task queue after the pending task and is higher than the pending task with the presence or absence of priority Operation task;
When the task queue there are priority be higher than the pending task operation task when, preferentially execute the behaviour Make readjustment after task is finished to the operation task and executes the pending task.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of program running parameter configuration device, comprising:
First obtains module, for obtaining application program object run data packet to be run;
First processing module operates in default fortune for extracting the application program in the object run data packet Configuration parameter in row environment;
First execution module, for carrying out parameter configuration to the running environment according to the configuration parameter, so that described Application program runs test in the running environment.
Optionally, further includes:
Second obtains module, for obtaining the operation operational order of user's input, wherein the operation operational order carries There is running environment information;
Second execution module, for being chosen in preset operation data library according to the operation operational order and the fortune The corresponding object run data packet of row environmental information.
Optionally, further includes:
Third obtains module, for obtaining the historical operational information of the application program, wherein the historical operational information Old version information including the application program;
Comparison module is used for the old version information mapped old version and the object run data packet institute The exploitation version of mapping is compared;
Third execution module is used for when the old version is greater than the exploitation version, according to preset information alert Mode carries out version error information alert.
Optionally, further includes:
4th obtains module, for obtaining the operation test result and the object run data packet of the application program The exploitation version information of carrying;
4th execution module, for the operation test result and exploitation version information to be polymerize build version test result Data packet.
Optionally, further includes:
5th obtains module, for obtaining the personally identifiable information of user;
5th execution module, for saving the personally identifiable information and the version test result data packet to default Test result database in.
Optionally, further includes:
First acquisition submodule, for obtaining the facial image of user;
First implementation sub-module, for the facial image to be input in preset human face recognition model, wherein described Human face recognition model is to train to convergent convolutional neural networks model;
Second acquisition submodule, the personally identifiable information of the user for obtaining the human face recognition model output.
Optionally, further includes:
Thread setting up submodule ties the personally identifiable information and version test for establishing to execute by thread Fruit data packet saves the pending task into preset test result database;
Detection sub-module is higher than institute with the presence or absence of priority for detecting in the task queue after the pending task State the operation task of pending task;
Second implementation sub-module, the operation for being higher than the pending task there are priority when the task queue are appointed When business, preferentially executes readjustment after the operation task is finished to the operation task and execute the pending task.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of computer equipment, including memory and processing Device is stored with computer-readable instruction in the memory, when the computer-readable instruction is executed by the processor, so that The processor executes the step of above procedure operating parameter configuration method.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of storage Jie for being stored with computer-readable instruction Matter, when the computer-readable instruction is executed by one or more processors, so that one or more processors execute above-mentioned journey The step of sort run method for parameter configuration.
The object run data packet to be run of the embodiment of the present invention having the beneficial effect that by obtaining application program, should Configuration parameter of the application program in default running environment is carried in object run data packet, is then joined further according to the configuration Number carries out parameter configuration to the running environment automatically, surveys so that the application program is normally carried out operation in the running environment Examination, automation configure the parameter of running environment, do not need artificial intervention and carry out parameter configuration, realize and be quickly packaged test Function reduces the time for communication of tester and developer, improves development efficiency.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the basic procedure schematic diagram of one embodiment of the invention program running parameter configuration method;
Fig. 2 is the flow diagram that one embodiment of the invention chooses corresponding object run data packet;
Fig. 3 is the flow diagram for the version information that one embodiment of the invention detects application program;
Fig. 4 is the flow diagram that one embodiment of the invention saves operation test result;
Fig. 5 is the flow diagram of one embodiment of the invention exact p-value result responsible person;
Fig. 6 is the flow diagram for the personally identifiable information that one embodiment of the invention obtains user;
Fig. 7 is the flow diagram that one embodiment of the invention establishes asynchronous thread;
Fig. 8 is one embodiment of the invention program running parameter configuration device basic structure schematic diagram;
Fig. 9 is one embodiment of the invention computer equipment basic structure block diagram.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its Sequence is executed or is executed parallel, and serial number of operation such as 101,102 etc. is only used for distinguishing each different operation, serial number It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment 1
It is the basic procedure schematic diagram of the present embodiment program running parameter configuration method referring specifically to Fig. 1, Fig. 1.
As shown in Figure 1, a kind of program running parameter configuration method, includes the following steps:
S1100, application program object run data packet to be run is obtained;
Application program refers to that it operates in user mode to complete the computer program of a certain or multinomial particular job, can be with It is interacted with user, there is visual user interface;Object run data packet is the program data packet of application program, is being implemented When, object run data packet is that application program has developer to carry out the software that exploitation is write in the process of development, is applying journey It in the development process of sequence, needs to test the operating status of the application program, i.e., by the object run number of the application program It is run in running environment according to packet, so that whether the software for testing out the object run data packet is normal.
When implementing, system can obtain the object run data packet by preset software shared platform, such as: application The software code write is uploaded to git code storage by the developer of program, and system passes through the git code storage, that is, optional Corresponding software code is taken to be compiled packing to obtain object run data packet, wherein git is the distributed version of an open source This control system, can effectively, the processing of high speed is from very little to very big Item version management.It is, of course, also possible to use it Its version control system, such as: VSS or SVN, VSS (Visual Source Safe) are used for the management of item file, pipe Manage the source code and document of each different editions in software development;SVN (Subversion) is the version control an of Open Source Code System processed.
S1200, the application program is extracted in the object run data packet operate in default running environment Configuration parameter;
After obtaining object run data packet, the configuration of default running environment can be extracted in the object run data packet Parameter, the configuration parameter can be such that the software of object run data packet operates normally in default running environment, and running environment is to drive Dynamic application program runs the software systems to realize certain purpose.It include operation ring when implementing, in the object run data packet The configuration parameter list in border, the configuration parameter list include multiple configuration parameters for configuring default running environment;Another party Face, configuration parameter can also be programmed into the source code of application program by way of code, when system reads object run number When according to packet, built-in configuration parameter is read from the code of application program.
S1300, parameter configuration is carried out to the running environment according to the configuration parameter, so that the application program is in institute It states and runs test in running environment.
After the configuration parameter for obtaining running environment, system can carry out parameter to the running environment according to the configuration parameter Configuration operation, so that the software that object run data packet is characterized operates normally in the running environment.When implementing, open It is pre- that hair personnel carry out configuration parameter in the process of development, for environment required for the scenes such as exploitation, test or version publication If multiple allocation plans are created, such as: it is directed to the same application program, the environment configurations parameter creation for developing scene has A Allocation plan has B allocation plan for the environment configurations parameter creation of test scene, for the environment configurations of version publication scene Parameter creation has C allocation plan, and user wants to test which scene, and system can correspond to the configuration of which scene Scheme carries out packing test, and when implementing, in the source code built in configuration parameter with application program, developer will not Scene operation instruction with scene is uploaded to git code storage with the source code for being built-in with configuration parameter, and tester has opened Code pulls permission, so that tester can touch scene operation instruction, tester is according to scene operation instruction It can determine whether the allocation plan of desired scene and be compiled packing, system is packaged obtained object run data according to compiling Configuration parameter in packet carries out the parameter configuration of running environment, to realize the quick packing test of application program.
The present embodiment passes through the object run data packet to be run for obtaining application program, takes in the object run data packet Configuration parameter with the application program in default running environment, then further according to the configuration parameter automatically to the running environment Parameter configuration is carried out, so that the application program is normally carried out operation test in the running environment, automation is to operation ring The parameter in border is configured, and is not needed artificial intervention and is carried out parameter configuration, realizes and be quickly packaged test function, reduce tester The time for communication of member and developer improve development efficiency.
In one alternate embodiment, there is the operation data packet of corresponding different scenes for the same application development, Environmental parameter needed for different operation data packets operates normally is not also identical, referring to Fig. 2, Fig. 2 is one implementation of the present invention Example chooses the basic procedure schematic diagram of corresponding object run data packet.
As shown in Fig. 2, further including such as following step before step S1100:
S1010, the operation operational order for obtaining user's input, wherein the operation operational order carries running environment Information;
Operation operational order is the control instruction of the packing test for carrying out application program of user's input, is being implemented When, which carries running environment information, and the running environment which is characterized is exactly that user thinks The running environment for being packaged test is carried out, running environment includes the scenes such as exploitation, test or version publication, for example: it is right In the running environment corresponding A parameter configuration scheme of exploitation scene, B parameter configuration side is corresponded to for the running environment of test scene Case corresponds to C parameter configuration scheme for the running environment of version publication scene, and user is when input runs operational order, system The operation of monitoring users is wanted to carry out the hint expression of any scene operation test, with present procedure to obtain user Operating parameter configuration method be applied to PC terminal for, system by the display interface of PC terminal provide a user scene select by Button, such as: the corresponding exploitation scene of the first scene button, the second scene button correspond to test scene, and third scene button corresponds to version This publication scene, the clicking operation of system monitoring users generate operation operational order, the fortune as user clicks the first scene button The running environment information of corresponding exploitation scene is carried in row operational order.
S1020, it is chosen in preset operation data library according to the operation operational order and the running environment information The corresponding object run data packet.
After obtaining running environment information, system can be chosen according to the operation operational order and is somebody's turn to do in operation data library The corresponding object run data packet of running environment information, wherein operation data library is that system is pre-set for storing and managing The platform of the source code of application program is managed, such as: git, SVN or VSS, the source code in operation data library is by developer It uploads, when implementing, an Application developer is write for scenes exploitations such as exploitation, test and version publications Corresponding software source code is simultaneously uploaded in operation data library, and system reads user according to the operation operational order of user and wants Application program and corresponding running environment information, and in operation data library choose it is corresponding with the running environment information Object run data packet carries out operation test, due to carrying the operation ring for the scene that user wants in the object run data packet Border information, object run data packet needed for system can accurately extract user carry in the object run data packet or interior It is equipped with the configuration parameter of running environment, system can carry out environmental parameter configuration automatically, simplify the test operation stream of application program Journey improves testing efficiency.
In one alternate embodiment, referring to Fig. 3, Fig. 3 is the version letter of invention one embodiment detection application program The basic procedure schematic diagram of breath.
As shown in figure 3, further including such as following step after step S1300:
S1400, the historical operational information for obtaining the application program, wherein the historical operational information includes described answers With the old version information of program;
The historical operational information of application program is the exploitation historical information of application program, and when implementing, system can be associated with Version control system (such as: git, VSS or SVN) for storage and management application source code is to obtain application program Historical operational information, wherein in the historical operational information include the application program old version information, specifically, application The old version information of program is the newest version information of application program, such as: developer is in development and application program X, first Version 1, version 2 and the version 3 about application program X are uploaded in git code storage afterwards, wherein version 3 is exactly to apply journey The newest version of sequence X.It should be pointed out that the old version information of application program is not limited to above-mentioned data, according to application The old version information of the difference of scene, application program can also be other any values.
S1500, by the old version information mapped old version and the object run data packet mapped Exploitation version is compared;
After the old version information for obtaining application program, obtains the old version information and reflect so that old version, is somebody's turn to do Old version characterizes the newest version of application program, while obtaining the corresponding exploitation version of object run data packet and by history version This and exploitation version are compared.
S1600, when the old version be greater than the exploitation version when, version is carried out according to preset information alert mode Error message prompt.
When old version is greater than exploitation version, illustrate that the corresponding version of object run data packet is newest lower than application program Version, i.e. the object run data packet legacy version that is the application program, system prompt version according to preset information alert mode This error message, when implementing, information alert mode is the method for carrying out information alert to user of systemic presupposition, with this Invention program operating parameter configuration method is applied to for PC terminal, and system can pass through the display exhibits of the PC terminal version Error message prompt;On the other hand, system can also be connect by PC terminal with user terminal, to send version to the user terminal This error message prompt, so that user terminal shows that version is prompted from error message to user, user terminal includes mobile phone, puts down Plate, electronic reader and other electronic equipments that connection can be established with PC terminal.
In one embodiment, by taking the old version of application program includes version 1, version 2 and version 3 as an example, wherein version This 1 is an earliest version of application program, and version 3 is the newest version of application program, and system is by object run data It wraps corresponding version (such as version 2) to be compared with the old version of application program, since old version, that is, version 3 is greater than mesh Version, that is, version 2 of operation data packet is marked, system issues version error information alert, to avoid user to the old edition of application program This is tested;On the other hand, when the version of object run data is more than or equal to the old version of application program, such as The latest edition of application program is version 3, and developer has carried out adjustment to version 3 and there is no upgraded versions, at this point, for There is still a need for being tested, the version of systems inspection at this time to object run data packet is greater than or equal to answers version 3 adjusted With the old version of program, system carries out the parameter configuration of running environment automatically according to the object run data packet, improves operation Environment configurations efficiency.
In one alternate embodiment, after completing operation test, test result can be saved, thus after convenient Management and exploitation of the phase to the application program, referring to Fig. 4, Fig. 4 is that one embodiment of the invention saves operation test result Basic procedure schematic diagram.
As shown in figure 4, further including such as following step after step S1300:
The exploitation that S1700, the operation test result for obtaining the application program and the object run data packet carry Version information;
Operation test result is the operation result of software source code in system operational objective operation data packet, such as: this time The bug (system vulnerability) that occurs when software source code in operational objective operation data packet, appearance when last operation whether is solved Bug or the function that newly increases whether normal operation etc., exploitation version information is for characterizing corresponding to object run data packet Application program version, carry exploitation version information in the operation data packet of application program, certainly, implement when, open Hair version information can also be built in the source code of object run data packet, and system obtains target fortune by reading source code Exploitation version information in row data packet.
S1800, the operation test result and exploitation version information are polymerize build version test result data packet.
After acquisition operation test result and exploitation version information, system is by the operation test result and develops version information Polymerization build version test result data packet is carried out, when implementing, a test result document can be created and test operation As a result it is written in the test result document with exploitation version information, then by test result document compression build version test knot Fruit data packet is saved, and management of the later period to the test result of application program is facilitated.
In one alternate embodiment, it is associated management for convenience of to test result and tester, can will generated Test result data packet saved with user information, thus the responsible person of exact p-value result, referring to Fig. 5, Fig. 5 is this The basic procedure schematic diagram of invention one embodiment exact p-value result responsible person.
As shown in figure 5, further including such as following step before institute step S1800:
S1710, the personally identifiable information for obtaining user;
Personally identifiable information is the proof of identification information for proving the user identity, including but not limited to: name, work Number, phone number and ID card No., when implementing, user can input the personally identifiable information of user by user terminal, User terminal includes but is not limited to mobile phone, plate, laptop or other electronic equipments that can be carried out wireless receiving and dispatching information, The personally identifiable information for the user that system user terminal ready to receive is sent.
S1720, the personally identifiable information and the version test result data packet are saved to preset test result In database.
Test result database is the pre-set warehouse for storage and management test result of system, and system is carrying out Build version test result data packet after the operation test of application program, then by of version test result data packet and user Personal part information preservation facilitates the later period to find test result related to user, by test result into test result database It is associated with user, the responsible person of easy-to-look-up operation operation test.
In one alternate embodiment, referring to Fig. 6, Fig. 6 is the personal identification that one embodiment of the invention obtains user The basic procedure schematic diagram of information.
As shown in fig. 6, step S1710 includes such as following step:
S1711, the facial image for obtaining the user;
The facial image of user can take pictures or video by way of obtain, in one embodiment, with pass through clap For the mode of video obtains the facial image of user, user terminal is provided with camera and is shot to obtain target view to user Frequency simultaneously be sent to server end (system), system can by Video processing software (such as OpenCV) to target video at Reason, is split as several frame pictures for target video, extracts picture image from target video by timing acquiring mode.Such as with One speed extracts a Target Photo in target video within 0.5 second, then in obtained several Target Photos again with Machine extracts facial image of the Target Photo as user;But it is not limited to this, according to the difference of concrete application scene, adopt The speed of collection picture image is able to carry out the adjustment of adaptability, and Adjustment principle is, system processing capacity is stronger and tracking is accurate Property require more high then acquisition time shorter, when reaching the Frequency Synchronization with picture pick-up device acquisition image until;Otherwise, then when acquiring Between be spaced longer, but longest acquisition time interval must not exceed 1s.It is of course also possible to directly in several frame pictures of target video In randomly select facial image of the picture as user.
S1712, the facial image is input in preset human face recognition model, wherein the human face recognition model For training to convergent convolutional neural networks model;
When implementing, using LSTM network, (shot and long term remembers artificial nerve network model, Long Short-Term Memory) it is used as convolutional neural networks model.LSTM network is controlled discarding by " door " (gate) or increases information, thus Realize the function of forgeing or remember." door " is a kind of structure for passing through header length, and by a sigmoid, (S type grows bent Line) function and dot product operation composition.The output valve of sigmoid function represents discarding completely in [0,1] section, 0, and 1 represents Pass through completely.Training to convergent convolutional neural networks model has the classifier that can identify user's facial image, wherein people Face identification model includes above-mentioned convolutional neural networks model, which includes N+1 classifier, and N is Positive integer.Specifically, by the way that the facial image of user to be input in preset human face recognition model, the person of user is obtained Part information.
S1713, the personally identifiable information for obtaining the user that the human face recognition model exports.
Default human face recognition model identifies the face information of user according to the facial image of user, and according to the face of user The personally identifiable information of acquisition of information user is specifically stored in account database with the personally identifiable information of user For, account database is one of systemic presupposition and is used for the warehouse of storage and management individual subscriber identity information, in reality Shi Shi, by taking company as an example, for the employee of company in registration, system obtains facial image, name, work number, the identification card number of employee The personally identifiable information of the information synthesis user such as code or phone number, then stores personally identifiable information to user account number According in library.When human face recognition model is according to the face information of the facial image of input identification user, then in user account data All personally identifiable informations are traversed in library, and are found out defeated with the matched personally identifiable information progress of the face information of user Out, the accuracy of recognition of face is improved.
In one alternate embodiment, can also be established by way of asynchronous thread to version test result data packet into The task of row storage, is stored to execute the task when system free time, is reduced the occupancy to system resource, please be joined Fig. 7 is read, Fig. 7 is the basic procedure schematic diagram that one embodiment of the invention establishes asynchronous thread.
As shown in fig. 7, step S1720 includes such as following step:
S1721, execution is established by thread by the personally identifiable information and version test result data packet preservation To the pending task in preset test result database;
Thread is a single sequential control process in application program.Have in process one it is relatively independent, schedulable Execution unit, be system independently dispatch and assign CPU basic unit instruction operation when program thread.Single Running multiple threads completes different work, referred to as multithreading simultaneously in program.The personal identification is believed by establishing to execute Breath saves the pending task into preset test result database with the version test result data packet, thus will storage The storage operation of test result data packet and personally identifiable information and other operation exception multithreadings carry out simultaneously.
It is higher than in task queue after S1722, the detection pending task with the presence or absence of priority described pending The operation task of task;
Task queue is, by relevant operation task enqueue, to carry out asynchronous tune when needing large scale processing service logic With to solve the problems, such as the scheme of task blocking, including at least one operation task in task queue, and these operations are appointed Business has different priority, wherein just, the high operation task queue of priority can be first performed.
S1723, when the task queue is there are when the operation task that priority is higher than the pending task, it is preferential to execute Readjustment executes the pending task after the operation task is finished to the operation task.
Preferential execution priority is higher than other operation tasks of the pending task, such as: operation task includes drawing to show Show that page task or page jump task dispatching etc., the high operation task of System Priority execution priority can make system run Smooth not Caton, such as error message prompt and jingle bell prompting user are popped up when bug occurs in test, it is needed within the same time It completes to play frame displaying error message prompt and jingle bell task, at this point, executing storage test after preferentially executing the operation task again The pending task of result data packet and personally identifiable information reduces the time that user waits, and improves user experience.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of program running parameter configuration device.
It is the present embodiment program running parameter configuration device basic structure schematic diagram referring specifically to Fig. 8, Fig. 8.
As shown in figure 8, a kind of program running parameter configuration device, comprising: first obtains module 2100, first processing module 2200 and first execution module 2300, wherein the first acquisition module 2100 is for obtaining application program object run to be run Data packet;First processing module 2200 for extracted in the object run data packet application program operate in it is default Configuration parameter in running environment;First execution module 2300 is for joining the running environment according to the configuration parameter Number configuration, so that the application program runs test in the running environment.
The present embodiment passes through the object run data packet to be run for obtaining application program, takes in the object run data packet Configuration parameter with the application program in default running environment, then further according to the configuration parameter automatically to the running environment Parameter configuration is carried out, so that the application program is normally carried out operation test in the running environment, automation is to operation ring The parameter in border is configured, and is not needed artificial intervention and is carried out parameter configuration, realizes and be quickly packaged test function, reduce tester The time for communication of member and developer improve development efficiency.
In some embodiments, program running parameter configuration device further include: second, which obtains module and second, executes mould Block, wherein the second acquisition module is used to obtain the operation operational order of user's input, wherein the operation operational order carries There is running environment information;Second execution module for being chosen in preset operation data library according to the operation operational order and The corresponding object run data packet of the running environment information.
In some embodiments, program running parameter configuration device further include: third obtains module, comparison module and the Three execution modules, wherein third obtains the historical operational information that module is used to obtain the application program, wherein the history Operation information includes the old version information of the application program;Comparison module, for being mapped the old version information Old version and the object run data packet mapped exploitation version be compared;Third execution module, for working as institute When stating old version greater than the exploitation version, version error information alert is carried out according to preset information alert mode.
In some embodiments, program running parameter configuration device further include: the 4th, which obtains module and the 4th, executes mould Block, wherein the 4th acquisition module is used to obtain the operation test result and the object run data packet of the application program The exploitation version information of carrying;4th execution module is used to the operation test result and exploitation version information polymerization generating version This test result data packet.
In some embodiments, program running parameter configuration device further include: the 5th, which obtains module and the 5th, executes mould Block, wherein the 5th acquisition module is used to obtain the personally identifiable information of user;5th execution module is used for the personal identification Information and the version test result data packet are saved into preset test result database.
In some embodiments, program running parameter configuration device further include: the first acquisition submodule, first execute son Module and the second acquisition submodule, wherein the first acquisition submodule is used to obtain the facial image of user;First implementation sub-module For the facial image to be input in preset human face recognition model, wherein the human face recognition model is that training is extremely received The convolutional neural networks model held back;Second acquisition submodule is used to obtain of the user of the human face recognition model output People's identity information.
In some embodiments, program running parameter configuration device further include: thread setting up submodule, detection sub-module With the second implementation sub-module, wherein thread setting up submodule be used to establish by thread execute the personally identifiable information and The version test result data packet saves the pending task into preset test result database;Detection sub-module is used for Detect the operation task for being higher than the pending task in the task queue after the pending task with the presence or absence of priority; Second implementation sub-module be used for when the task queue there are priority be higher than the pending task operation task when, preferentially It executes readjustment after the operation task is finished to the operation task and executes the pending task.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
In order to solve the above technical problems, the embodiment of the present invention also provides computer equipment.It is this referring specifically to Fig. 9, Fig. 9 Embodiment computer equipment basic structure block diagram.
As shown in figure 9, the schematic diagram of internal structure of computer equipment.As shown in figure 9, the computer equipment includes passing through to be Processor, non-volatile memory medium, memory and the network interface of bus of uniting connection.Wherein, the computer equipment is non-easy The property lost storage medium is stored with operating system, database and computer-readable instruction, can be stored with control information sequence in database Column, when which is executed by processor, may make processor to realize a kind of program running parameter configuration method.It should The processor of computer equipment supports the operation of entire computer equipment for providing calculating and control ability.The computer is set It can be stored with computer-readable instruction in standby memory, when which is executed by processor, may make processing Device executes a kind of program running parameter configuration method.The network interface of the computer equipment is used for and terminal connection communication.Ability Field technique personnel are appreciated that structure shown in figure, only the block diagram of part-structure relevant to application scheme, not The restriction for the computer equipment being applied thereon to application scheme is constituted, specific computer equipment may include than in figure Shown more or fewer components perhaps combine certain components or with different component layouts.
Processor obtains module 2100, first processing module 2200 and for executing in Fig. 8 first in present embodiment The concrete function of one execution module 2300, program code and Various types of data needed for memory is stored with the above-mentioned module of execution.Net Network interface is used for the data transmission between user terminal or server.Memory in present embodiment is stored with program operation Program code needed for executing all submodules in parameter configuration device and data, server are capable of the program generation of invoking server Code and data execute the function of all submodules.
Computer passes through the object run data packet to be run for obtaining application program, carries in the object run data packet Have configuration parameter of the application program in default running environment, then further according to the configuration parameter automatically to the running environment into Row parameter configuration automates so that the application program is normally carried out operation test in the running environment to running environment Parameter configured, do not need artificial intervention carry out parameter configuration, realize quickly be packaged test function, reduce tester With the time for communication of developer, development efficiency is improved.
The present invention also provides a kind of storage mediums for being stored with computer-readable instruction, and the computer-readable instruction is by one When a or multiple processors execute, so that one or more processors execute any of the above-described embodiment described program operating parameter and match The step of setting method.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, which can be stored in computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be magnetic The non-volatile memory mediums such as dish, CD, read-only memory (Read-Only Memory, ROM) or random storage memory Body (Random Access Memory, RAM) etc..
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of program running parameter configuration method, which is characterized in that include the following steps:
Obtain application program object run data packet to be run;
The configuration parameter that the application program operates in default running environment is extracted in the object run data packet;
Parameter configuration is carried out to the running environment according to the configuration parameter, so that the application program is in the running environment Middle operation test.
2. program running parameter configuration method according to claim 1, which is characterized in that the acquisition application program is to be shipped Further include such as following step before the step of capable object run data packet:
Obtain the operation operational order of user's input, wherein the operation operational order carries running environment information;
Institute corresponding with the running environment information is chosen in preset operation data library according to the operation operational order State object run data packet.
3. program running parameter configuration method according to claim 1, which is characterized in that described according to the configuration parameter To the running environment carry out parameter configuration so that the application program run in the running environment test the step of it Afterwards, further include such as following step:
Obtain the historical operational information of the application program, wherein the historical operational information includes going through for the application program History version information;
By the old version information mapped old version and the object run data packet mapped develop version into Row compares;
When the old version is greater than the exploitation version, version error information is carried out according to preset information alert mode and is mentioned Show.
4. program running parameter configuration method according to claim 1, which is characterized in that described according to the configuration parameter To the running environment carry out parameter configuration so that the application program run in the running environment test the step of it Afterwards, further include such as following step:
The exploitation version information that the operation test result and the object run data packet for obtaining the application program carry;
The operation test result and exploitation version information are polymerize build version test result data packet.
5. program running parameter configuration method according to claim 4, which is characterized in that described test the operation is tied Further include such as following step before the step of fruit and exploitation version information polymerization build version test result data packet:
Obtain the personally identifiable information of user;
The personally identifiable information and the version test result data packet are saved into preset test result database.
6. program running parameter configuration method according to claim 5, which is characterized in that the person for obtaining user The step of part information, including such as following step:
Obtain the facial image of the user;
The facial image is input in preset human face recognition model, wherein the human face recognition model is that training is extremely received The convolutional neural networks model held back;
Obtain the personally identifiable information of the user of the human face recognition model output.
7. program running parameter configuration method according to claim 5, which is characterized in that described to believe the personal identification Breath saves the step into preset test result database with the version test result data packet, including such as following step:
It establishes to execute by thread and saves the personally identifiable information and the version test result data packet to preset survey Pending task in test result database;
Detect the operation for being higher than the pending task in the task queue after the pending task with the presence or absence of priority Task;
When the task queue there are priority be higher than the pending task operation task when, preferentially execute it is described operation appoint Readjustment executes the pending task after business is finished to the operation task.
8. a kind of program running parameter configuration device characterized by comprising
First obtains module, for obtaining application program object run data packet to be run;
First processing module operates in default operation ring for extracting the application program in the object run data packet Configuration parameter in border;
First execution module, for carrying out parameter configuration to the running environment according to the configuration parameter, so that the application Program runs test in the running environment.
9. a kind of computer equipment, including memory and processor, it is stored with computer-readable instruction in the memory, it is described When computer-readable instruction is executed by the processor, so that the processor executes such as any one of claims 1 to 7 right It is required that the step of described program operating parameter configuration method.
10. a kind of storage medium for being stored with computer-readable instruction, the computer-readable instruction is handled by one or more When device executes, so that one or more processors are executed such as any one of claims 1 to 7 claim described program operation ginseng The step of number configuration method.
CN201811427164.7A 2018-11-27 2018-11-27 Program running parameter configuration method, device, computer equipment and storage medium Pending CN109684203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811427164.7A CN109684203A (en) 2018-11-27 2018-11-27 Program running parameter configuration method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811427164.7A CN109684203A (en) 2018-11-27 2018-11-27 Program running parameter configuration method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109684203A true CN109684203A (en) 2019-04-26

Family

ID=66184999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811427164.7A Pending CN109684203A (en) 2018-11-27 2018-11-27 Program running parameter configuration method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109684203A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580875A (en) * 2020-04-15 2020-08-25 北京小米移动软件有限公司 Parameter configuration method, device and storage medium
CN111666081A (en) * 2020-04-30 2020-09-15 平安科技(深圳)有限公司 Project version release method, device, equipment and medium based on Git
CN111817925A (en) * 2020-09-02 2020-10-23 广东省新一代通信与网络创新研究院 Test method and system for high transmission rate
CN112492294A (en) * 2019-09-12 2021-03-12 北京地平线机器人技术研发有限公司 Application program testing method, device and system, network camera and medium
CN112631618A (en) * 2020-12-16 2021-04-09 平安普惠企业管理有限公司 Application program packaging method, application program testing method, terminal and storage medium
CN112650815A (en) * 2021-01-19 2021-04-13 青岛海尔科技有限公司 Method and device for synchronizing environmental data, storage medium and electronic device
CN113971052A (en) * 2021-10-26 2022-01-25 腾讯科技(深圳)有限公司 Application running method, device, equipment, storage medium and program product
CN114995921A (en) * 2022-08-08 2022-09-02 深圳竹云科技股份有限公司 Application configuration updating method and device, computer equipment and storage medium
CN116028138A (en) * 2023-02-13 2023-04-28 美云智数科技有限公司 Application publishing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120180024A1 (en) * 2011-01-07 2012-07-12 International Business Machines Corporation Synchronizing development code and deployed executable versioning within distributed systems
CN104539476A (en) * 2014-12-10 2015-04-22 小米科技有限责任公司 Data package obtaining method and device
CN106815052A (en) * 2017-01-10 2017-06-09 南威软件股份有限公司 A kind of method of the rapid deployment system for being adapted to multi-environment configuration
CN107220100A (en) * 2016-03-22 2017-09-29 中国移动(深圳)有限公司 One kind exploitation O&M method, device and cloud computing PaaS platform
CN107908543A (en) * 2017-07-26 2018-04-13 平安壹钱包电子商务有限公司 Applied program testing method, device, computer equipment and storage medium
CN108108297A (en) * 2016-11-25 2018-06-01 腾讯科技(深圳)有限公司 The method and apparatus of automatic test
CN108829581A (en) * 2018-05-22 2018-11-16 平安科技(深圳)有限公司 Applied program testing method, device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120180024A1 (en) * 2011-01-07 2012-07-12 International Business Machines Corporation Synchronizing development code and deployed executable versioning within distributed systems
CN104539476A (en) * 2014-12-10 2015-04-22 小米科技有限责任公司 Data package obtaining method and device
CN107220100A (en) * 2016-03-22 2017-09-29 中国移动(深圳)有限公司 One kind exploitation O&M method, device and cloud computing PaaS platform
CN108108297A (en) * 2016-11-25 2018-06-01 腾讯科技(深圳)有限公司 The method and apparatus of automatic test
CN106815052A (en) * 2017-01-10 2017-06-09 南威软件股份有限公司 A kind of method of the rapid deployment system for being adapted to multi-environment configuration
CN107908543A (en) * 2017-07-26 2018-04-13 平安壹钱包电子商务有限公司 Applied program testing method, device, computer equipment and storage medium
CN108829581A (en) * 2018-05-22 2018-11-16 平安科技(深圳)有限公司 Applied program testing method, device, computer equipment and storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492294A (en) * 2019-09-12 2021-03-12 北京地平线机器人技术研发有限公司 Application program testing method, device and system, network camera and medium
CN112492294B (en) * 2019-09-12 2024-03-26 北京地平线机器人技术研发有限公司 Application program testing method, device, system, network camera and medium
CN111580875A (en) * 2020-04-15 2020-08-25 北京小米移动软件有限公司 Parameter configuration method, device and storage medium
CN111580875B (en) * 2020-04-15 2024-03-05 北京小米移动软件有限公司 Parameter configuration method, device and storage medium
CN111666081A (en) * 2020-04-30 2020-09-15 平安科技(深圳)有限公司 Project version release method, device, equipment and medium based on Git
CN111666081B (en) * 2020-04-30 2024-04-05 平安科技(深圳)有限公司 Git-based project version release method, device, equipment and medium
CN111817925A (en) * 2020-09-02 2020-10-23 广东省新一代通信与网络创新研究院 Test method and system for high transmission rate
CN112631618A (en) * 2020-12-16 2021-04-09 平安普惠企业管理有限公司 Application program packaging method, application program testing method, terminal and storage medium
CN112650815B (en) * 2021-01-19 2023-06-16 青岛海尔科技有限公司 Method and device for synchronizing environment data, storage medium and electronic device
CN112650815A (en) * 2021-01-19 2021-04-13 青岛海尔科技有限公司 Method and device for synchronizing environmental data, storage medium and electronic device
CN113971052A (en) * 2021-10-26 2022-01-25 腾讯科技(深圳)有限公司 Application running method, device, equipment, storage medium and program product
CN113971052B (en) * 2021-10-26 2024-05-17 腾讯科技(深圳)有限公司 Application running method, device, equipment, storage medium and program product
CN114995921A (en) * 2022-08-08 2022-09-02 深圳竹云科技股份有限公司 Application configuration updating method and device, computer equipment and storage medium
CN116028138A (en) * 2023-02-13 2023-04-28 美云智数科技有限公司 Application publishing method and device
CN116028138B (en) * 2023-02-13 2024-03-15 美云智数科技有限公司 Application publishing method and device

Similar Documents

Publication Publication Date Title
CN109684203A (en) Program running parameter configuration method, device, computer equipment and storage medium
CN109804411A (en) System and method for positioning and mapping simultaneously
Pryss et al. Towards flexible process support on mobile devices
US20180113799A1 (en) Model generation for model-based application testing
CN109117358A (en) test method and test device for electronic equipment
US11775321B2 (en) Robotic process automation with resilient playback capabilities
CN110347389A (en) Processing method, the device and system of algorithm file
CN106874208A (en) The processing method of test script, device and electronic equipment
CN108829503A (en) Method for scheduling task, device, system, medium and electronic equipment
CN105391832A (en) Hardware information detection system used for detecting hardware state of smartphone
Michael et al. The HBMS story
CN112085019A (en) Character recognition model generation system, method and device and computer equipment
WO2022247110A1 (en) Task processing method and apparatus, and electronic device and storage medium
US11551059B1 (en) Modulated image segmentation
CN110415067A (en) Ordering method, equipment and storage medium
WO2022103886A1 (en) Systems and methods for preparing and deploying cross-platform applications
CN109493971A (en) Other fatty liver prediction technique and device are known each other based on tongue
CN111506393B (en) ARM-based virtualization device and use method thereof
CN109376988A (en) A kind for the treatment of method and apparatus of business datum
CN110020370A (en) The method, apparatus of animation and the frame of animation script are realized in client application
CN112241373A (en) Automatic test method, test device, processor and test system
CN103546535B (en) Picture system and correlation technique
CN109286608A (en) Call chain processing method, device and storage equipment, computer equipment
US20210358622A1 (en) Image analysis including synthetic images
CN113962587A (en) Device inventory method, device, computer device and computer-readable storage medium

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