CN111199353B - Test method and test system - Google Patents
Test method and test system Download PDFInfo
- Publication number
- CN111199353B CN111199353B CN201911413399.5A CN201911413399A CN111199353B CN 111199353 B CN111199353 B CN 111199353B CN 201911413399 A CN201911413399 A CN 201911413399A CN 111199353 B CN111199353 B CN 111199353B
- Authority
- CN
- China
- Prior art keywords
- identification information
- product
- tested
- target server
- station
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M99/00—Subject matter not provided for in other groups of this subclass
- G01M99/005—Testing of complete machines, e.g. washing-machines or mobile phones
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M99/00—Subject matter not provided for in other groups of this subclass
- G01M99/008—Subject matter not provided for in other groups of this subclass by doing functionality tests
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06Q10/06395—Quality analysis or management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/087—Inventory or stock management, e.g. order filling, procurement or balancing against orders
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Databases & Information Systems (AREA)
- Development Economics (AREA)
- Quality & Reliability (AREA)
- Educational Administration (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Game Theory and Decision Science (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a test method and a test system. The test method comprises the following steps: when a product to be tested moves to a first station, acquiring first identification information of the product to be tested; sending the first identification information to a target server; when the product to be tested moves to a second station, detecting whether the target server successfully receives the first identification information; and determining whether to allow the product to be tested to be put in storage according to whether the target server successfully receives the first identification information. By the method, the uploading state of the first identification information can be automatically identified for each terminal device in the workshop system, manual startup verification is not needed, error risks are avoided, and manpower is saved.
Description
Technical Field
The present application belongs to the field of automated testing technologies, and in particular, relates to a testing method and a testing system.
Background
The function of using the letter fingerprint is supported to the terminal equipment of current part model, and this type terminal equipment needs the producer to transmit the root key of terminal equipment the inside for the letter server a little, records on the letter server a little, and when the user used letter fingerprint payment function a little, the letter server a little can verify whether this terminal equipment uploaded the root key, and what not uploaded then can't use the letter fingerprint function a little. At present, in the production process of manufacturers, in order to avoid problems, employees carry out sampling inspection or full inspection on a terminal device real object before the terminal device is delivered, and the sampling inspection or the full inspection of the terminal device verifies whether the WeChat fingerprint function is normal or not by starting the machine and using the fingerprint function. In the prior art, manual startup is required to carry out inspection by using a fingerprint function, so that the efficiency is low and the fool-proofing is not realized.
Disclosure of Invention
In view of this, the present application provides a testing method and a testing system to solve the problem of low efficiency caused by the need of manually starting up to use a fingerprint function for inspection in the prior art.
A first aspect of the present application provides a test method, including:
when a product to be tested moves to a first station, acquiring first identification information of the product to be tested;
sending the first identification information to a target server;
when the product to be tested moves to a second station, detecting whether the target server successfully receives the first identification information;
and determining whether to allow the product to be tested to be put in storage according to whether the target server successfully receives the first identification information.
A second aspect of the present application provides a test system comprising:
the system comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for acquiring first identification information of a product to be tested when the product to be tested moves to a first station;
the sending module is used for sending the first identification information to a target server;
the detection module is used for detecting whether the target server successfully receives the first identification information or not when the product to be tested moves to a second station;
and the determining module is used for determining whether to allow the product to be tested to be put in storage according to whether the target server successfully receives the first identification information.
A third aspect of the embodiments of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the foregoing method are implemented.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
As can be seen from the above, in the present application, when a product to be tested moves to a first station, first identification information of the product to be tested is obtained; sending the first identification information to a target server; when the product to be tested moves to a second station, detecting whether the target server successfully receives the first identification information; and determining whether to allow the product to be tested to be put in storage according to whether the target server successfully receives the first identification information. According to the scheme, the uploading state of the first identification information can be automatically identified for each terminal device in the workshop system, manual starting verification is not needed, the error risk is avoided, and labor is saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic implementation flow diagram of a testing method provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart of a product to be tested in a production line according to the testing method provided in the embodiment of the present application;
fig. 3 is a schematic flow chart illustrating an implementation of obtaining the status information of the product to be tested from the local database according to the embodiment of the present application;
fig. 4 is a block diagram of a test system according to an embodiment of the present application.
Fig. 5 is a block diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution of the present application, the following description will be given by way of specific examples.
Referring to fig. 1, a test method provided in an embodiment of the present application is described below, where the test method provided in the embodiment of the present application includes:
101, when a product to be tested moves to a first station, acquiring first identification information of the product to be tested;
and 102, sending the first identification information to a target server.
In the embodiment of the application, the product test of the application refers to the test of the product in the process of moving on a workshop production line. The production line is provided with a plurality of stations, wherein each station executes different tasks, for example, the station A on the production line assembles the component A into the product, the station B assembles the component B into the product, the X station tests the X function of the product, and the Y station tests the Y function of the product. A certain station may only assemble a product or only test a product, or the station may also have both assembly and testing functions. The product to be tested moves from one station to another station on the production line to form a production line. Referring to fig. 2, the product to be tested is moved to the first station by the conveyer belt; then flows out of the first station and moves to the next station by a conveyer belt; and finally, the flow of the liquid flows out of the second station, wherein the first station and the second station can be adjacent stations, or more than one station can be separated between the first station and the second station, and the number of the stations between the first station and the second station is not limited here.
The product to be tested can be a terminal with a fingerprint identification function, such as a smart phone, a tablet personal computer and a smart watch, and the product to be tested is provided with an operating system capable of carrying an application based on a customer service terminal-server (C-S) network architecture. The first identification information is the authority verification information of whether the application client side has the specified request or not when the product to be tested as the application client side needs to send the specified request to the application server in the running process. For example, if the test product is a smart phone, the target server is a WeChat server, the designated request is a fingerprint function request, the first identification information is verification information of WeChat fingerprint permission generated on a production line before the test product leaves a factory, and the verification information is sent to the WeChat server for filing before the test product leaves the factory. When a user uses the fingerprint function at a WeChat client (such as a mobile phone), the WeChat client sends a fingerprint function request to a WeChat server. When the wechat server receives the fingerprint function request, the wechat server verifies whether the first identification information of the client is recorded before leaving factory, and if the first identification information is recorded, the client is authorized to use the wechat fingerprint verification function; and if the first identification information is not recorded, not responding to a fingerprint function request sent by the client, or forbidding the client to use a fingerprint verification function.
103, when the product to be tested moves to a second station, detecting whether the target server successfully receives the first identification information;
and 104, determining whether to allow the product to be tested to be put in storage according to whether the target server successfully receives the first identification information.
In this application embodiment, the second station and the first station belong to the same assembly line, and when the product to be tested moves to the second station, the second station can detect whether the target server successfully receives the first identification information. Determining whether to allow the product to be tested to be put in storage according to whether the target server successfully receives the first identification information, wherein the determining comprises the following steps: if the target server successfully receives the first identification information, allowing the product to be tested to be put in storage; and if the target server does not successfully receive the first identification information, the product to be tested is not allowed to be put in storage. The second station can be a warehousing scanning station, and the products to be tested can be warehoused and delivered after passing the testing of the warehousing scanning station.
The first station may fail to acquire the first identification information due to various reasons, for example, the first identification information is not written into the product to be tested before the product to be tested moves to the first station; or, the sending of the first identification information to the target server fails, for example, a network failure occurs when the first identification information is sent to the target server; and failure of the target server to receive the first identification information, such as server crash and other failures, may result in the target server failing to receive the first identification information. According to the embodiment of the application, before the products to be tested are put in storage and delivered, whether the target server successfully receives the first identification information is detected at the second station. If the target server successfully receives the first identification information, allowing the product to be tested to be stored in a warehouse; if the target server does not successfully receive the first identification information, the products to be tested are not allowed to be put in storage, the uploading state of the WeChat fingerprint can be automatically identified for each terminal device in a workshop system, manual starting verification is not needed, the error risk is avoided, and labor is saved.
Optionally, the embodiment of the present application further includes:
and when the first identification information of the product to be tested is obtained, the second identification information of the product to be tested is obtained, and the first identification information and the second identification information are bound and stored in a local database.
In this embodiment of the application, the second identification information may be an equipment identification code, an identification serial number, an identification number, and the like of the product to be tested. In this embodiment, the second identification information is an IMEI as an example. The first station is an IMEI number writing station, and when the product to be tested moves to the first station, the IMEI number writing station performs number writing operation on the product to be tested. After the number writing operation is completed, the industrial personal computer at the first station reads the first identification information and the second identification information of the product to be tested, and then the first identification information and the second identification information are bound and sent to the target server.
Optionally, after reading the first identification information and the second identification information of the product to be tested, the industrial personal computer at the first station transmits the first identification information and the second identification information to a management system, where the management system may be an MES system, an ERP system, or the like. The MES system (manufacturing execution system) is a set of production information management system facing the execution layer of the manufacturing Enterprise workshop, and ERP (Enterprise Resource Planning) is an Enterprise Resource Planning system. Both MES system and ERP system are commonly used in the field, and are not described herein.
The MES system is briefly described below as a management system. The MES system comprises a local storage module, and the local database is stored in the local storage module. The MES system further comprises a network transmission module, wherein the network transmission module can comprise a wired network transmission function and/or a wireless network transmission function, and after the MES system receives the first identification information and the second identification information, the first identification information and the second identification information are bound and stored in a local database associated with the MES system. The local database also stores state information of the product to be tested, which is associated with the first identification information and the second identification information. The state information is used for reflecting whether the first identification information is sent to a target server.
In this embodiment, the status information may include three statuses, i.e., "not upload", "upload failed", and "upload successful". When the MES system binds and stores the first identification information and the second identification information in a local database associated with the MES system, setting the state information of the product to be tested, which is stored in the local database, as 'not uploaded';
and then, the MES system sends the first identification information or the first identification information and the second identification information to a target server through a network transmission module. And then waits for the target server to feed back information. If the feedback information of the target server is not received within the first preset time length or the received feedback information of the target server is failure to receive the first identification information, the MES system changes the state information of the product to be tested into 'uploading failure'; and if the received feedback information of the target server is that the first identification information is successfully received, the MES system changes the state information of the product to be tested into 'uploading successfully'.
Optionally, the detecting whether the target server successfully receives the first identification information includes:
acquiring the state information of the product to be tested from the local database;
and judging whether the target server successfully receives the first identification information or not based on the state information.
In the embodiment of the application, when the product to be tested moves to a second station, the industrial personal computer of the second station searches the state information of the product to be tested in the MES database, and if the state information is read to be 'uploading failure', it is determined that the target server fails to receive the first identification information; and if the status information is read to be 'uploading successful', determining that the target server successfully receives the first identification information.
Optionally, determining whether to allow the product to be tested to be put into a warehouse according to whether the target server successfully receives the first identification information includes:
if the target server successfully receives the first identification information, allowing the product to be tested to be put in storage;
and if the target server does not successfully receive the first identification information, the product to be tested is not allowed to be put in storage.
Before warehousing and shipping, whether the first identification information of the product to be tested is sent to the target server through the second station is detected. Therefore, the product shipment of the first identification information which is not recorded in the target server is avoided, and the problem that unqualified products are not checked and delivered out of the factory is avoided.
Optionally, obtaining the state information of the product to be tested from the local database includes:
step S301, when the product to be tested moves to a second station, acquiring second identification information of the product to be tested;
step S302, searching the state information of the product to be tested, which is stored in a local database, according to the acquired second identification information;
in the embodiment of the application, when a product to be tested moves to a second station, an industrial personal computer of the second station scans and reads second identification information, such as an IMEI number, of the product to be tested, queries in an MES (manufacturing execution system) according to the scanned IMEI number, queries state information of the product to be tested corresponding to the IMEI number in the MES, and can know whether the first identification information is successfully uploaded to a target server or not based on the state information.
Optionally, if the target server does not successfully receive the first identification information, the step of not allowing the product to be tested to be put in storage includes: sending information to an MES system to cause the MES system to issue a first prompt message, the first prompt message including but not limited to: and displaying the state information on a screen of a system operation terminal, or playing abnormal sound prompt information of the product to be tested through a voice module. And lock the line, waiting for the worker to go to the second station. The method comprises the steps that whether first identification information of a product to be tested is recorded in a target server or not is manually detected by a worker, namely whether the first identification information is successfully received by the target server or not is detected by the worker. If the target server successfully receives the first identification information, the staff releases the locking and enables the product to be tested to flow to the next link; and if the first identification information of the product to be tested is not recorded in the target server by the manual detection of the staff, transferring the product to be tested to a first station to carry out the testing step again.
Optionally, the method further comprises:
counting the times that the target server does not successfully receive the first identification information within a second preset time length;
and if the times that the target server does not successfully receive the first identification information are greater than a preset threshold value, sending second prompt information, wherein the second prompt information is used for prompting a worker to check a relevant station, related to the first identification information, recorded on the target server in a production line.
In this embodiment of the present application, if it is monitored that the number of times that the target server fails to receive the first identification information within the second preset time is too large, it may be inferred that a fault exists in a relevant station and a functional unit of the production line, where the relevant station and the functional unit relate to the first identification information and are recorded by the target server, including: and writing the first identification information into a station of the product to be tested, a first station, the network condition of the MES system and the like.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In response to the above-mentioned testing method, a testing system provided in an embodiment of the present application is described below, with reference to fig. 4, where the testing system 4 includes:
the acquisition module 401 is configured to acquire first identification information of a product to be tested when the product to be tested moves to a first station;
a sending module 402, configured to send the first identification information to a target server;
a detection module 403, configured to detect whether the target server successfully receives the first identifier information when the product to be tested moves to a second station;
a determining module 404, configured to determine whether to allow the product to be tested to be warehoused according to whether the target server successfully receives the first identification information.
Optionally, the test system 4 further includes:
and the second acquisition module is used for acquiring the second identification information of the product to be tested when the first identification information of the product to be tested is acquired, and binding and storing the first identification information and the second identification information in a local database.
The sending module is further configured to send the first identification information and the second identification information to the target server after being bound;
optionally, the local database further stores status information of the product under test,
optionally, the system further comprises:
the feedback information receiving module is used for receiving feedback information sent by a target server after the first identification information is sent to the target server;
and the state information changing module is used for changing the state information of the product to be tested, which is stored in the local database, according to the feedback information.
Optionally, when detecting whether the target server successfully receives the first identification information, the detecting module 403 is specifically configured to:
acquiring the state information of the product to be tested from the local database;
and judging whether the target server successfully receives the first identification information or not based on the state information.
Optionally, when determining whether to allow the product to be tested to be put into a library according to whether the target server successfully receives the first identification information, the determining module 404 is specifically configured to:
if the target server successfully receives the first identification information, allowing the product to be tested to be stored in a warehouse;
and if the target server does not successfully receive the first identification information, the product to be tested is not allowed to be put in storage.
Therefore, whether the target server successfully receives the first identification information is detected at the second station before the products to be tested are put in storage and delivered. If the target server successfully receives the first identification information, allowing the product to be tested to be stored in a warehouse; if the target server does not successfully receive the first identification information, the products to be tested are not allowed to be put in storage, the uploading state of the WeChat fingerprint can be automatically identified for each terminal device in a workshop system, manual starting verification is not needed, the error risk is avoided, and labor is saved.
Fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present application. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52, such as a test program, stored in said memory 51 and executable on said processor 50. The processor 50, when executing the computer program 52, implements the steps in the various test method embodiments described above, such as the steps S101 to S104 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of each module/unit in each device embodiment described above, for example, the functions of the units 401 to 404 shown in fig. 4.
Illustratively, the computer program 52 may be partitioned into one or more modules/units, which are stored in the memory 51 and executed by the processor 50 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the terminal device 5. For example, the computer program 52 may be divided into a first acquiring unit, a sending unit, a detecting unit and a determining unit, and the specific functions of each unit are as follows:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring first identification information of a product to be tested when the product to be tested moves to a first station;
a sending unit, configured to send the first identification information to a target server;
the detection unit is used for detecting whether the target server successfully receives the first identification information or not when the product to be tested moves to a second station;
and the determining unit is used for determining whether to allow the product to be tested to be put in storage according to whether the target server successfully receives the first identification information.
The terminal device 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 5 and does not constitute a limitation of terminal device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a flash memory Card (FlashCard), and the like, which are provided on the terminal device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 51 is used for storing the computer program and other programs and data required by the terminal device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the system may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed system and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the above-described modules or units is only one logical functional division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of modules or units through some interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units described above may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow in the method of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium described above may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media excludes electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. A method of testing, comprising:
when a product to be tested moves to a first station, acquiring first identification information of the product to be tested;
sending the first identification information to a target server;
when the product to be tested moves to a second station, detecting whether the target server successfully receives the first identification information;
and determining whether the product to be tested is allowed to be put in storage according to whether the target server successfully receives the first identification information.
2. The testing method of claim 1, further comprising:
and when the first identification information of the product to be tested is obtained, the second identification information of the product to be tested is obtained, and the first identification information and the second identification information are bound and stored in a local database.
3. The testing method of claim 2, wherein sending the first identification information to a target server further comprises:
and binding the first identification information and the second identification information and then sending the bound first identification information and second identification information to a target server.
4. The method of testing of claim 2, wherein the local database further stores status information of the product under test, the method further comprising:
after the first identification information is sent to a target server, receiving feedback information sent by the target server;
and changing the state information of the product to be tested stored in the local database according to the feedback information.
5. The testing method of claim 4, wherein said detecting whether the target server successfully receives the first identification information comprises:
acquiring the state information of the product to be tested from the local database;
and judging whether the target server successfully receives the first identification information or not based on the state information.
6. The testing method of claim 4, wherein determining whether to allow the product under test to be warehoused according to whether the target server successfully receives the first identification information comprises:
if the target server successfully receives the first identification information, allowing the product to be tested to be stored in a warehouse;
and if the target server does not successfully receive the first identification information, the product to be tested is not allowed to be put in storage.
7. The test method of claim 3, wherein:
and the first station is a station for writing the second identification information into the product to be tested.
8. A test system, comprising:
the system comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring first identification information of a product to be tested when the product to be tested moves to a first station;
the sending module is used for sending the first identification information to a target server;
the detection module is used for detecting whether the target server successfully receives the first identification information or not when the product to be tested moves to a second station;
and the determining module is used for determining whether to allow the product to be tested to be put in storage according to whether the target server successfully receives the first identification information.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911413399.5A CN111199353B (en) | 2019-12-31 | 2019-12-31 | Test method and test system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911413399.5A CN111199353B (en) | 2019-12-31 | 2019-12-31 | Test method and test system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111199353A CN111199353A (en) | 2020-05-26 |
CN111199353B true CN111199353B (en) | 2023-04-18 |
Family
ID=70746193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911413399.5A Active CN111199353B (en) | 2019-12-31 | 2019-12-31 | Test method and test system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111199353B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111860719B (en) * | 2020-07-21 | 2023-10-27 | 上海仪电数字技术股份有限公司 | Serialization processing method for product to be tested |
CN112486121A (en) * | 2020-11-30 | 2021-03-12 | 格力电器(武汉)有限公司 | Processing method and device of production task, storage medium and electronic device |
CN113252665B (en) * | 2021-04-27 | 2023-02-10 | 深圳市安仕新能源科技有限公司 | Product testing method and device, electronic equipment and storage medium |
CN114070829B (en) * | 2021-10-22 | 2024-01-09 | 南通软云智能科技有限公司 | Abnormal data acquisition method and system based on MQTT |
CN117743044A (en) * | 2023-11-24 | 2024-03-22 | 立臻电子科技(昆山)有限公司 | Test system, method and device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354143A (en) * | 2015-12-02 | 2016-02-24 | 北京奇虎科技有限公司 | Test method and device for application programs |
CN106294172A (en) * | 2016-08-17 | 2017-01-04 | 刘华英 | App self-testing method based on terminal unit and device |
CN106547684A (en) * | 2015-09-22 | 2017-03-29 | 腾讯科技(深圳)有限公司 | A kind of method of testing of application program, test device and mobile terminal |
CN107832217A (en) * | 2017-11-09 | 2018-03-23 | 政采云有限公司 | A kind of automated testing method and device |
CN109116129A (en) * | 2017-06-26 | 2019-01-01 | 深圳回收宝科技有限公司 | Endpoint detection methods, detection device, system and storage medium |
CN109948328A (en) * | 2019-02-28 | 2019-06-28 | Oppo广东移动通信有限公司 | Key information generation, checking method, electronic device, equipment and storage medium |
CN109982314A (en) * | 2019-02-28 | 2019-07-05 | Oppo广东移动通信有限公司 | Mark code detection method, electronic device, equipment and the storage medium of electronic device |
-
2019
- 2019-12-31 CN CN201911413399.5A patent/CN111199353B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106547684A (en) * | 2015-09-22 | 2017-03-29 | 腾讯科技(深圳)有限公司 | A kind of method of testing of application program, test device and mobile terminal |
CN105354143A (en) * | 2015-12-02 | 2016-02-24 | 北京奇虎科技有限公司 | Test method and device for application programs |
CN106294172A (en) * | 2016-08-17 | 2017-01-04 | 刘华英 | App self-testing method based on terminal unit and device |
CN109116129A (en) * | 2017-06-26 | 2019-01-01 | 深圳回收宝科技有限公司 | Endpoint detection methods, detection device, system and storage medium |
CN107832217A (en) * | 2017-11-09 | 2018-03-23 | 政采云有限公司 | A kind of automated testing method and device |
CN109948328A (en) * | 2019-02-28 | 2019-06-28 | Oppo广东移动通信有限公司 | Key information generation, checking method, electronic device, equipment and storage medium |
CN109982314A (en) * | 2019-02-28 | 2019-07-05 | Oppo广东移动通信有限公司 | Mark code detection method, electronic device, equipment and the storage medium of electronic device |
Non-Patent Citations (2)
Title |
---|
刘春斌.手机生产线在线测试系统的研究与设计.中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑.2011,I140-406页. * |
孙义彬.Android手机应用自动化测试平台的设计与实现.中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑.2018,I138-1003页. * |
Also Published As
Publication number | Publication date |
---|---|
CN111199353A (en) | 2020-05-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111199353B (en) | Test method and test system | |
CN111311777A (en) | Dynamic inspection method, server, terminal, storage medium and equipment | |
CN109474578A (en) | Message method of calibration, device, computer equipment and storage medium | |
US20220050765A1 (en) | Method for processing logs in a computer system for events identified as abnormal and revealing solutions, electronic device, and cloud server | |
CN103458086B (en) | A kind of smart mobile phone and fault detection method thereof | |
CN109165170B (en) | Method and system for automatic request test | |
CN108984389A (en) | A kind of applied program testing method and terminal device | |
CN110794265A (en) | Test system applying safety instrument | |
CN109709923A (en) | Test control method and device, system, computer readable storage medium | |
CN115328689B (en) | Fault diagnosis method, device, equipment and program product | |
CN113094251B (en) | Method and device for testing embedded system, computer equipment and storage medium | |
CN103440460A (en) | Application system change validation method and system | |
CN111338869A (en) | Configuration parameter management method, device, equipment and storage medium | |
CN101510172B (en) | Test system and method | |
CN104021340A (en) | Method and device for detecting installation of malicious applications | |
CN115495358A (en) | Log automatic test method, device, system and medium | |
CN109150578B (en) | Remote batch parameter configuration method for CORS station | |
CN113452533B (en) | Charging self-inspection and self-healing method and device, computer equipment and storage medium | |
CN114866447A (en) | Automatic test method and device for message receiving and sending of vehicle controller | |
KR20190095703A (en) | System, method for providing weak point analysis and evaluation on critical information infrastructure security based on features of object and list, and recording medium storing program for executing the same | |
CN110662242B (en) | Antenna feeder system detection method, network management equipment and computer readable storage medium | |
CN114356769A (en) | Software learning method, device, equipment and storage medium | |
CN114429275A (en) | Automatic shift switching method and device for oil station and computer equipment | |
CN110780113A (en) | Automatic reading verification method and system for intelligent electric meter, storage medium and equipment | |
CN106992873B (en) | Protection group processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |