1. A testing apparatus comprising a test control component including:
an input configured to receive a test script;
an upper interface coupling configured to direct test signaling to an upper end of a protocol stack component being tested via an upper interface and to receive responsive test signaling from the upper end of the protocol stack component being tested via the upper interface; and
a lower interface coupling configured to direct test signaling to a lower end of the protocol stack component being tested via a lower interface and to receive responsive test signaling from the lower end of the protocol stack component being tested via the lower interface; and
the test control component configured to process a received test script to test the protocol stack component being tested by any one of the following manners:
directing test signaling to the upper end of the protocol stack component being tested via the upper interface and receiving responsive test signaling from the upper end of the protocol stack component being tested via the upper interface;
directing test signaling to the upper end of the protocol stack component being tested via the upper interface and receiving responsive test signaling from the lower end of the protocol stack component being tested via the lower interface;
directing test signaling to the upper end of the protocol stack component being tested via the upper interface and receiving responsive test signaling from both the upper end of the protocol stack component being tested via the upper interface and the lower end of the protocol stack component being tested via the lower interface;
directing test signaling to both the upper end of the protocol stack component being tested via the upper interface and the lower end of the protocol stack component being tested via the lower interface and receiving responsive test signaling from the upper end of the protocol stack component being tested via the upper interface;
directing test signaling to both the upper end of the protocol stack component being tested via the upper interface and the lower end of the protocol stack component being tested via the lower interface and receiving responsive test signaling from the lower end of the protocol stack component being tested via the lower interface;
directing test signaling to both the upper end of the protocol stack component being tested via the upper interface and the lower end of the protocol stack component being tested via the lower interface and receiving responsive test signaling from both the upper end of the protocol stack component being tested via the upper interface and the lower end of the protocol stack component being tested via the lower interface;
directing test signaling to the lower end of the protocol stack component being tested via the lower interface and receiving responsive test signaling from the upper end of the protocol stack component being tested via the upper interface;
directing test signaling to the lower end of the protocol stack component being tested via the lower interface and receiving responsive test signaling from the lower end of the protocol stack component being tested via the lower interface; and
directing test signaling to the lower end of the protocol stack component being tested via the lower interface and receiving responsive test signaling from both the upper end of the protocol stack component being tested via the upper interface and the lower end of the protocol stack component being tested via the lower interface.
2. The testing apparatus of claim 1 configured to test a protocol stack component for a wireless transmit receive unit (WTRU) wherein the upper interface coupling is configured to direct internal WTRU test signaling to the upper end of the protocol stack component being tested via the upper interface and to receive responsive internal WTRU signaling from the upper end of the protocol stack component being tested via the upper interface and the lower interface coupling is configured to direct external WTRU test signaling to the lower end of the protocol stack component being tested via the lower interface and to receive responsive external WTRU signaling from the lower end of the protocol stack component being tested via the lower interface.
3. The testing apparatus of claim 2 further comprising the upper interface and the lower interface.
4. The testing apparatus of claim 3 wherein the upper interface includes an internal WTRU signaling simulation component configured to interface with the upper end of the protocol stack component being tested and the lower interface includes an external WTRU signaling simulation component configured to interface with the lower end of the protocol stack component being tested.
5. The testing apparatus of claim 4 comprising a local unit that includes the test control component and a remote unit that includes the internal WTRU signaling simulation component and the external WTRU signaling simulation component wherein the upper and lower interfaces each include a local Network Interface component disposed in the local unit and a remote Network Interface component disposed in the remote unit to thereby enable remote testing of the protocol stack component being tested.
6. A protocol stack component for a wireless transmit receive unit designed through testing on the testing apparatus of claim 4.
7. A wireless transmit receive unit comprising a protocol stack component designed through testing on the testing apparatus of claim 4.
8. A the protocol stack component for a wireless transmit receive unit designed through testing on the testing apparatus of claim 2.
9. A wireless transmit receive unit comprising a protocol stack component designed through testing on the testing apparatus of claim 2.
10. The testing apparatus of claim 1 further comprising the upper interface and the lower interface.
11. The testing apparatus of claim 10 configured to test a combined layer 2-layer 3 component for a wireless transmit receive unit wherein the upper interface includes a NAS stub component configured to interface with an upper end of a combined layer 2-layer 3 component being tested and the lower interface includes a physical layer simulation component configured to interface with a lower end of the combined layer 2-layer 3 component being tested.
12. The testing apparatus of claim 11 comprising of a local unit that includes the test control component and a remote unit that includes the NAS stub component and the physical layer simulation component wherein the upper and lower interfaces each include a local Network Interface component disposed in the local unit and a remote Network Interface component disposed in the remote unit to thereby enable remote testing of the combined layer 2-layer 3 component being tested.
13. A combined layer 2-layer 3 component for a wireless transmit receive unit designed through testing on the testing apparatus of claim 11.
14. A wireless transmit receive unit comprising a combined layer 2-layer 3 component designed through testing on the testing apparatus of claim 11.
15. The testing apparatus of claim 1 configured to test a combined layer 2-layer 3 component for a wireless transmit receive unit wherein the upper interface coupling is configured to direct internal WTRU test signaling to the upper end of a combined layer 2-layer 3 component being tested via the upper interface and to receive responsive internal WTRU signaling from the upper end of the combined layer 2-layer 3 component being tested via the upper interface and the lower interface coupling is configured to direct external WTRU test signaling to the lower end of the combined layer 2-layer 3 component being tested via the lower interface and to receive responsive external WTRU signaling from the lower end of the combined layer 2-layer 3 component being tested via the lower interface.
16. A combined layer 2-layer 3 component for a wireless transmit receive unit designed through testing on the testing apparatus of claim 15.
17. A wireless transmit receive unit comprising a combined layer 2-layer 3 component designed through testing on the testing apparatus of claim 15.
18. The testing apparatus of claim 1 wherein the test control component is configured to receive extensible markup language (XML) test scripts and comprises:
a test control component engine configured to control the upper and lower test control component interfaces;
a parser configured to parse an XML test script and expand include files, define files and use_defines resulting in a flat test script;
a test script pre-processor configured to separate data statements, internal configuration element statements and peer message element statements of the flat test script into a separate logical data streams;
a test script syntax validator configured to validate that the logical data streams contain properly formatted XML statements;
a configuration converter configured to convert internal configuration element statements of a logical data stream into a test control component engine data structure;
an abstract syntax language one (ASN.1) validator configured to validate that peer message element statements of a logical data stream conform with a desired ASN.1 format;
an ASN.1 encoderdecoder configured to encode ASN.1 information elements in validated peer message element statements into numerical code for execution by the test control component engine and configured to decode numerical ASN.1 information elements into an XML ASN.1 information element statement; and
the test control component engine configured to execute XML statements of the logical data streams received from the test script syntax validator, the configuration converter and the ASN.1 encoderdecoder to send test signaling through the upper and lower interface couplings; and
the test control component engine configured to receive responsive test signaling through the upper and lower interface couplings and to direct numerical ASN.1 information elements contained in responsive test signaling to the ASN.1 encoderdecoder.
19. The testing apparatus of claim 16 wherein the test control component further comprises:
a return value checker configured to receive test results contained in responsive test signaling from the test control component engine and in decoded numerical ASN.1 information elements from the ASN.1 encoderdecoder and configured to compare such test results with expected values generated from the XML test script; and
a memory associated with the return value checker configured to store comparative test result data.
20. A protocol stack component for a wireless transmit receive unit designed through testing on the testing apparatus of claim 19.
21. A wireless transmit receive unit comprising a protocol stack component designed through testing on the testing apparatus of claim 19.
22. A method for testing a protocol stack component comprising:
processing a test script to direct test signaling to an upper end of the protocol stack component being tested andor to direct test signaling to the lower end of the protocol stack component being tested;
receiving responsive signaling from the upper end of the protocol stack component being tested andor receiving responsive signaling from the lower end of the protocol stack component being tested; and
evaluating the received responsive signaling in accordance with parameters defined by the processed test script.
23. The method for testing a protocol stack component according to claim 22 wherein:
a test script is processed to direct test signaling to an upper end of the protocol stack component being tested and to direct test signaling to the lower end of the protocol stack component being tested;
responsive signaling is received from the upper end of the protocol stack component being tested and from the lower end of the protocol stack component being tested.
24. The method for testing a protocol stack component for a wireless transmit receive unit (WTRU) according to claim 22 wherein:
the test script is processed to direct internal WTRU test signaling to an upper end of the protocol stack component being tested andor to direct external WTRU test signaling to the lower end of the protocol stack component being tested; and
responsive internal WTRU signaling is received from the upper end of the protocol stack component being tested andor responsive external WTRU signaling is received from the lower end of the protocol stack component being tested.
25. The method for testing a protocol stack component for a wireless transmit receive unit (WTRU) according to claim 22 wherein:
the test script is processed to direct internal WTRU test signaling to an upper end of the protocol stack component being tested and to direct external WTRU test signaling to the lower end of the protocol stack component being tested; and
responsive internal WTRU signaling is received from the upper end of the protocol stack component being tested and responsive external WTRU signaling is received from the lower end of the protocol stack component being tested.
26. The method of claim 22 wherein the processing a test script comprises:
preprocessing the test script to separate data statements, internal configuration element statements and peer message element statements of an XML test script into a separate logical data streams;
validating test script syntax of the separate logical data streams of XML statements;
converting internal configuration element statements of a logical data stream into a test control component engine data structure;
validating that peer message element statements of a logical data stream conform with a desired abstract syntax language one (ASN.1) format;
encoding ASN.1 information elements in validated peer message element statements into numerical code for execution by the test control component engine; and
executing validated data statements and converted internal configuration element statements of the respective logical data streams in connection with numerical code of encoded ASN.1 information elements in validated peer message element statements to generate the test signaling directed to the protocol stack component being tested.
27. The method of claim 26 wherein the evaluating the received responsive signaling comprises:
receiving test results contained in responsive test signaling and comparing such test results with expected values generated from the XML test script; and
storing comparative test result data.
28. The method of claim 26 wherein the evaluating the received responsive signaling comprises:
decoding numerical ASN.1 information elements contained in responsive test signaling into XML ASN.1 information element statements;
validating that the decoded XML ASN.1 information element statements conform with a desired abstract syntax language one (ASN.1) format; and
comparing the validated decoded XML ASN.1 information element statements with expected values generated from the XML test script.
29. The method of claim 26 wherein the validating that peer message element statements of a logical data stream conform with a desired abstract syntax language one (ASN.1) format includes receiving ASN.1 information element (IE) definitions and converting the ASN.1 IE definitions into XML.
30. The method of claim 26 wherein the test script processing further comprises expanding include files, define files and use_defines in the XML test script in advance of preprocessing.
31. An apparatus configured to test software modules comprising:
an input device configured to receive extensible markup language (XML) test scripts;
a parser configured to parse a received XML test script and expand any include files, define files and use_defines resulting in a flat XML test script;
a preprocessor configured to split the flat XML test script into a plurality of logical streams including a first stream for a peer message element (PME) statements, a second stream for an internal configuration element (ICE) statements and a third stream for data statements;
a syntax validator configured to validate that the streams contain properly formatted XML code;
a converter configured to convert an internal configuration element statements into an internal data structure for execution by the test engine;
an abstract syntax language one (ASN.1) validator configured to validate peer message element (PME) statements containing ASN.1 information elements (IEs) for ASN.1 conformance;
an encoder configured to encode validated ASN.1 information element (IE) into ASN.1 numerical code; and
a test engine configured to execute validated data statements and converted internal configuration element statements of the respective logical data streams in connection with numerical code of encoded ASN.1 information elements in validated peer message element statements to generate the test signaling directed to the software module being tested.
32. The apparatus of claim 31 further comprising:
a return value checker configured to receive from the test engine test results contained in responsive test signaling and to compare such test results with expected values generated from the XML test script and
a memory configured to store comparative test result data.
33. The apparatus of claim 31 further comprising:
a decoder configured to decode numerical ASN.1 information elements contained in responsive test signaling into XML ASN.1 information element statements; and
a return value checker configured to compare the decoded XML ASN.1 information element statements with expected values generated from the XML test script.
34. A computer-readable medium having stored thereon sequences of instructions, the sequences of instructions including instructions, when executed by a processor, configured to cause the processor to perform:
processing a test script to direct test signaling to an upper end of the protocol stack component being tested andor to direct test signaling to the lower end of the protocol stack component being tested;
receiving responsive signaling from the upper end of the protocol stack component being tested andor receiving responsive signaling from the lower end of the protocol stack component being tested; and
evaluating the received responsive signaling in accordance with parameters defined by the processed test script.
35. The computer-readable medium according to claim 34 wherein the sequences of instructions directed to processing a test script, are configured to cause the processor to perform:
preprocessing the test script to separate data statements, internal configuration element statements and peer message element statements of an XML test script into a separate logical data streams;
validating test script syntax of the separate logical data streams of XML statements;
converting internal configuration element statements of a logical data stream into a test control component engine data structure;
validating that peer message element statements of a logical data stream conform with a desired abstract syntax language one (ASN.1) format;
encoding ASN.1 information elements in validated peer message element statements into numerical code for execution by the test control component engine; and
executing validated data statements and converted internal configuration element statements of the respective logical data streams in connection with numerical code of encoded ASN.1 information elements in validated peer message element statements to generate the test signaling directed to the protocol stack component being tested.
36. The computer-readable medium according to claim 34 wherein the sequences of instructions directed to evaluating the received responsive signaling, are configured to cause the processor to perform:
receiving test results contained in responsive test signaling and comparing such test results with expected values generated from the XML test script; and
storing comparative test result data.
37. The computer-readable medium according to claim 34 wherein the sequences of instructions directed to evaluating the received responsive signaling, are configured to cause the processor to perform:
decoding numerical ASN.1 information elements contained in responsive test signaling into XML ASN.1 information element statements;
validating that the decoded XML ASN.1 information element statements conform with a desired abstract syntax language one (ASN.1) format; and
comparing the validated decoded XML ASN.1 information element statements with expected values generated from the XML test script.
38. The computer-readable medium according to claim 37 wherein the sequences of instructions directed to validating decoded XML ASN.1 information element statements, are configured to cause the processor to perform receiving ASN.1 information element (IE) definitions and converting the ASN.1 IE definitions into XML.
39. The computer-readable medium according to claim 34 wherein the sequences of instructions directed to processing a test script, are configured to cause the processor to perform:
expanding include files, define files and use_defines in the XML test script in advance of preprocessing.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1) A process by which a lottery ticket can be generated by an existing lottery terminal with a future value determined by variable actions of the player.
2) A process by which a mobile computer device with a built in camera can recognize the ticket barcode of claim 1, convert to the unique identifier and communicate with the lottery database to appendchange the record value of the ticket
3) The method by which claim 2 stores the present and future value of the purchased ticket.
4) A Process by which the scanned ticket in claim 2 activates a specific computer game in the mobile device
5) The method by which the prize results are randomly generated to populate the possible outcomes of the game generated in claim 3
6) The method by which the activated computer game in claim 3 sets the variable choices that the player can make to direct the path to the randomized prize outcomes determined in claim 4.
7) The method of managing the communication between the device and the lottery information database server to log the actions of the player.
8) The method by which the appended variable outcome data is encrypted and sent to the lottery database as described in claim 6.
9) The method by which the database sets and stores the probability outcome of the game play in claim 6 to set the new value of the ticket.
10) The method of managing the prize pool to generate possible game outcomes that do not exceed a payout threshold set by the lottery.
11) The method of throwing errors if the software determines conflicts in communicating with the hardware, communicating with the database or an inability to produce a valid result.
12) The method of generating a duplicate ticket barcode in the mobile device that can be used as an alternate or backup vehicle to validateclaim the prize at the lottery retailer.
13) The method of using the mobile device to validate and claim electronically in future implementations