Nothing Special   »   [go: up one dir, main page]

CN107273772B - Method and device for testing account opening function of charge control interaction terminal - Google Patents

Method and device for testing account opening function of charge control interaction terminal Download PDF

Info

Publication number
CN107273772B
CN107273772B CN201710486383.1A CN201710486383A CN107273772B CN 107273772 B CN107273772 B CN 107273772B CN 201710486383 A CN201710486383 A CN 201710486383A CN 107273772 B CN107273772 B CN 107273772B
Authority
CN
China
Prior art keywords
account opening
information
card
electric energy
fee
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
Application number
CN201710486383.1A
Other languages
Chinese (zh)
Other versions
CN107273772A (en
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.)
China South Power Grid International Co ltd
Original Assignee
China South Power Grid International Co ltd
Power Grid Technology Research Center of China Southern Power Grid 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 China South Power Grid International Co ltd, Power Grid Technology Research Center of China Southern Power Grid Co Ltd filed Critical China South Power Grid International Co ltd
Priority to CN201710486383.1A priority Critical patent/CN107273772B/en
Publication of CN107273772A publication Critical patent/CN107273772A/en
Application granted granted Critical
Publication of CN107273772B publication Critical patent/CN107273772B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0095Testing the sensing arrangement, e.g. testing if a magnetic card reader, bar code reader, RFID interrogator or smart card reader functions properly
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to a method and a device for testing an account opening function of a cost control interaction terminal. The method comprises the following steps: detecting card swiping operation information of each account opening card in at least two preset account opening cards, and acquiring parameter information of each account opening card according to the card swiping operation information; acquiring an account opening command sent by the charge control interactive terminal to the corresponding electric energy meter according to the parameter information of each account opening card; acquiring response information of the fee control interactive terminal after receiving the account opening response information of the electric energy meter; and judging whether the account opening function of the charge control interaction terminal is qualified or not according to the parameter information, the account opening command and the response information. The invention can obtain the objective test result of the account opening function of the cost control interaction terminal and improve the test efficiency.

Description

Method and device for testing account opening function of charge control interaction terminal
Technical Field
The invention relates to the technical field of metering equipment detection, in particular to a method and a device for testing an account opening function of a charge control interaction terminal and a related technology.
Background
The charge control interactive terminal is used for customer service and management, can realize remote functions of account opening, recharging, parameter updating and the like of the charge control electric energy meter, and is terminal equipment with functions of alarm prompting, communication forwarding, query display and the like. The account opening function refers to that a user issues an account opening command to the charge control electric energy meter through the charge control interactive terminal to realize account opening of the charge control electric energy meter; and according to the execution condition of the fee control electric energy meter on the account opening command, carrying out corresponding data updating on the account opening card of the fee control interactive terminal.
However, the existing method for testing the account opening function of the fee control interactive terminal has the following problems: most of the tests are based on experience values of testers, and because the experience values of different testers are different, objective test conclusions are difficult to be given, and the test efficiency is low.
Disclosure of Invention
Based on the method and the device, the objective test result of the account opening function of the charge control interactive terminal can be obtained, and meanwhile, the test efficiency is improved.
The invention provides a method for testing an account opening function of a charge control interaction terminal, which comprises the following steps:
detecting card swiping operation information of each account opening card in at least two preset account opening cards, and acquiring parameter information of each account opening card according to the card swiping operation information;
acquiring an account opening command sent by the charge control interactive terminal to the corresponding electric energy meter according to the parameter information of each account opening card;
acquiring response information of the fee control interactive terminal after receiving the account opening response information of the electric energy meter;
and judging whether the account opening function of the charge control interaction terminal is qualified or not according to the parameter information, the account opening command and the response information.
A device for testing account opening function of a fee control interaction terminal comprises:
the card swiping detection module is used for detecting card swiping operation information of each account opening card of at least two preset account opening cards and acquiring parameter information of each account opening card according to the card swiping operation information;
the command detection module is used for acquiring account opening commands sent by the fee control interaction terminal to the corresponding electric energy meters according to the parameter information of each account opening card;
the execution information detection module is used for acquiring response information of the fee control interaction terminal after receiving the account opening response information of the electric energy meter;
and the judging module is used for judging whether the account opening function of the charge control interaction terminal is qualified or not according to the parameter information, the account opening command and the response information.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method when executing the program.
According to the technical scheme, at least two preset account opening cards comprise an account opening card with wrong parameters and an account opening card with correct parameters; when the card is swiped, reading the parameter information of each account opening card, and acquiring an account opening command sent by the fee control interaction terminal to the corresponding electric energy meter according to the parameter information of each account opening card; acquiring response information of the fee control interactive terminal after receiving the account opening response information of the electric energy meter; and judging whether the account opening function of the charge control interaction terminal is qualified or not according to the parameter information, the account opening command and the response information. Therefore, the response condition of the fee control interactive terminal to the account opening function of different account opening cards can be obtained, and the account opening function test result of the fee control interactive terminal can be obtained according to the response information under different conditions, so that the objectivity of the test result is ensured, and the test efficiency is improved.
Drawings
FIG. 1 is a schematic flow chart of a method for testing an account opening function of a fee control interactive terminal according to an embodiment;
FIG. 2 is a schematic flow chart of a preferred implementation of step S4 in FIG. 1;
fig. 3 is a schematic structural diagram of an account opening function testing device of a fee-control interaction terminal according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Although the steps in the present invention are arranged by using reference numbers, the order of the steps is not limited, and the relative order of the steps can be adjusted unless the order of the steps is explicitly stated or other steps are required for the execution of a certain step.
FIG. 1 is a schematic flow chart of a method for testing an account opening function of a fee control interactive terminal according to an embodiment; the method is suitable for the cost control interactive terminal. The charge control interactive terminal is composed of a communication unit, a display unit, a main control unit, a user card interface unit and the like, can realize the functions of remote account opening, recharging, parameter updating and the like of the charge control electric energy meter, and meanwhile is terminal equipment with the functions of alarm prompting, communication forwarding, query display and the like.
As shown in fig. 1, the method for testing account opening function of a fee control interactive terminal in this embodiment includes the steps of:
s1, detecting the card swiping operation information of each account opening card of at least two preset account opening cards, and acquiring the parameter information of each account opening card according to the card swiping operation information.
Generally, an account opening card for opening an account of an electric energy meter can be an IC card or a radio frequency card, and parameter information such as card identification information, user account information, electric energy meter information and the like is recorded on the account opening card. It is understood that the card swiping operation information includes contact card swiping operation information, such as card swiping operation, and non-contact card swiping operation information, which may be card swiping implemented based on any near field communication technology (bluetooth, NFC, and other video technologies).
In an optional embodiment, the method for testing the account opening function of the fee-control interaction terminal further includes the steps of: and presetting at least two account opening cards, wherein the at least two account opening cards comprise an account opening card with wrong parameters and an account opening card with correct parameters.
And S2, acquiring an account opening command sent by the fee control interactive terminal to the corresponding electric energy meter according to the parameter information of each account opening card.
In an optional embodiment, the electric energy meter is an electric energy meter pre-simulated by a server, and the fee control interaction terminal is in signal connection with the simulated electric energy meter. The simulated electric energy meter can simulate real electric energy meters in different states, such as an electric energy meter which is opened and responds normally when an account is opened, an electric energy meter which is closed or responds abnormally when the account is opened, an electric energy meter which is in a closing state or an electric energy meter which is in a tripping state. The possible states of the real electric energy meter can be simulated by the simulated electric energy meter. Thereby improving the comprehensiveness of the test; meanwhile, the state of the simulated electric energy meter can be changed through software of the server side, various real electric energy meters do not need to be connected, and therefore the test cost can be controlled.
And S4, acquiring the response information of the fee control interactive terminal after receiving the electric energy meter account opening response information.
Under a normal condition, after receiving an account opening command issued by the fee control interactive terminal, the electric energy meter returns execution information of the account opening command to the fee control interactive terminal, so that the execution information of the electric energy meter is displayed at the fee control interactive terminal, and a user can know an actual account opening condition conveniently.
And S4, judging whether the account opening function of the charge control interaction terminal is qualified or not according to the parameter information, the account opening command and the response information.
In an optional embodiment, the parameter information, the account opening command and the response information may be analyzed based on an account opening function detection model of the fee-control interaction terminal obtained through pre-learning, the account opening function detection model may be a model obtained through machine learning of the fee-control interaction terminal with a qualified account opening function, the model takes account opening card parameter information, account opening instruction information and the response information as inputs, and takes output as output whether the account opening function of the fee-control interaction terminal is qualified or not.
In another optional embodiment, referring to fig. 2, the implementation manner of determining whether the account opening function of the fee-control interaction terminal is qualified according to the parameter information, the account opening command, and the response information may further be:
l1, detecting whether the parameter information is correct, if not, detecting whether the account opening command is empty, if not, judging that the account opening function of the fee control interactive terminal is unqualified, and if so, executing a step L3; if the parameter information is correct, executing the step L2;
l2, detecting whether the account opening command is correct; if the account opening command is incorrect, judging that the account opening function of the cost control interaction terminal is unqualified, and if the account opening command is correct, executing the step L3;
l3, comparing the response information with preset reference response information, and if the response information is not consistent with the preset reference response information, judging that the account opening function of the fee control interactive terminal is unqualified; and if the two are not consistent, judging that the account opening function of the charge control interactive terminal is qualified. And the reference response information represents the response information of the fee control interaction terminal with qualified account opening function after receiving the account opening response information of the electric energy meter.
In an optional embodiment, the acquired parameter information of each account opening card may include: the electric energy meter comprises electric energy meter number information, account opening card serial number, user number and/or purchased electricity frequency information. Preferably, the parameter error includes a format error of each parameter itself or a parameter exceeding a set parameter range, and may also be a correspondence error between parameters, such as a correspondence error between meter number information of the electric energy meter, a serial number of the account opening card, and a user number.
Therefore, through the test mode of the embodiment, whether the identification of the account opening card with the wrong parameter by the fee-control interactive terminal is qualified can be tested, for example, if the account opening card with the wrong parameter is identified, the fee-control interactive terminal does not send an account opening instruction to the corresponding electric energy meter or sends a null instruction, so that the situation of stealing card swiping can be prevented; and only when the account opening card with correct parameters is identified, the fee control interaction terminal sends an effective account opening instruction to the corresponding electric energy meter.
In an optional embodiment, the response information includes: and the account opening card writes back the execution information and/or the record information of the account opening state of the electric energy meter. The charge control interaction terminal sends an account opening instruction to the electric energy meter according to the correct account opening card, so that the account opening response information of this time can be locally stored and displayed, and the account opening card can be rewritten according to the account opening response information returned by the electric energy meter, such as the account opening state updating and the electricity purchasing frequency updating stored in the account opening card. Furthermore, the user information may also be modified by write-back.
In an optional embodiment, before detecting card swiping operation information of each preset at least two account opening cards, the method further includes the steps of: and carrying out time synchronization on the fee control interactive terminal in a formal key state, and initializing the fee control interactive terminal.
In an optional embodiment, before detecting card swiping operation information of each preset at least two account opening cards, the method further includes the steps of: and establishing a corresponding account opening card file for each account opening card at the expense control interactive terminal, and/or establishing an electric energy meter file for each electric energy meter connected with the expense control interactive terminal. Historical account opening information of the same account opening card information can be effectively managed through the account opening card file; and managing the account opening response information returned by each electric energy meter each time through the electric energy meter files.
Further, after acquiring the parameter information of each account opening card according to the card swiping operation information, the method further comprises the following steps: and writing the parameter information into the corresponding account opening card file. After the response information of the fee control interactive terminal after receiving the electric energy meter account opening response information is obtained, the method also comprises the following steps: and writing the account opening response information of the electric energy meter into a corresponding electric energy meter file, and updating the account opening card file according to the response information of the fee control interaction terminal. Because the response information of the fee control interactive terminal comprises the update information of the account opening card parameters, the account opening card files corresponding to the account opening cards need to be updated synchronously.
In addition, through the account opening card file and the electric energy meter file, historical account opening information of the fee control interaction terminal is conveniently acquired, and an account opening function detection model of the fee control interaction terminal is built or perfected through learning the historical account opening information.
Further, the method for testing the account opening function of the fee-control interactive terminal according to the above embodiment is exemplarily described below. The specific process is as follows:
step 1: setting an account opening card file and an analog table file at the charge control interactive terminal in a formal key state, and timing;
step 2: and initializing the fee control interactive terminal. Controlling the charge control interactive terminal to enter a formal secret key state, swiping an account opening card with a wrong parameter on the charge control interactive terminal, and acquiring the following account opening command condition of the charge control interactive terminal and the response condition according to the response of the electric energy meter under the assumption that the electric energy meter responds normally; therefore, whether the account opening function test of the fee control interactive terminal passes when the account opening card with wrong parameters is detected.
And step 3: swiping an account opening card with a wrong parameter on the charge control interactive terminal, and acquiring the following account opening command condition of the charge control interactive terminal and the response condition according to the response of the electric energy meter under the assumption that the electric energy meter responds abnormally (namely cannot respond); and detecting whether the account opening function test of the fee control interactive terminal passes or not when the account opening card with wrong parameters and the electric energy meter respond abnormally.
And 4, step 4: swiping an account opening card with correct parameters on the charge control interactive terminal, and acquiring the following account opening command condition of the charge control interactive terminal and the response condition according to the response of the electric energy meter on the assumption that the electric energy meter responds normally; the response condition comprises an account opening state, an account opening card electricity purchasing information file update, an electric energy meter customer number, an electricity purchasing record and the like. Therefore, whether the account opening function test of the fee control interaction terminal passes or not when the account opening card with correct parameters and the electric energy meter response are normal is detected.
And 5: and (3) checking the detection conditions of the steps 2-4, if any step fails to pass the detection, determining that the overall test conclusion of the account opening function of the cost control interaction terminal is unqualified, and only when all 3 steps pass the detection, determining that the overall test conclusion of the account opening function of the cost control interaction terminal is qualified.
According to the method for testing the account opening function of the cost control interaction terminal, at least two account opening cards are preset, wherein the account opening cards comprise account opening cards with wrong parameters and account opening cards with correct parameters; when the card is swiped, reading the parameter information of each account opening card, and acquiring an account opening command sent by the fee control interaction terminal to the corresponding electric energy meter according to the parameter information of each account opening card; acquiring response information of the fee control interactive terminal after receiving the account opening response information of the electric energy meter; and judging whether the account opening function of the charge control interaction terminal is qualified or not according to the parameter information, the account opening command and the response information. Therefore, the response condition of the fee control interactive terminal to the account opening function of different account opening cards can be obtained, and the account opening function test result of the fee control interactive terminal can be obtained according to the response information under different conditions, so that the objectivity of the test result is ensured, and the test efficiency is improved.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention.
Based on the same idea as the method for testing the account opening function of the fee control interactive terminal in the embodiment, the invention also provides a device for testing the account opening function of the fee control interactive terminal, and the device can be used for executing the method for testing the account opening function of the fee control interactive terminal. For convenience of explanation, the schematic structural diagram of the device embodiment for testing the account opening function of the fee-control interaction terminal only shows a part related to the embodiment of the present invention, and those skilled in the art will understand that the illustrated structure does not constitute a limitation of the device, and may include more or less components than those illustrated, or combine some components, or arrange different components.
Fig. 3 is a schematic structural diagram of a device for testing account opening function of a fee-control interactive terminal according to an embodiment of the present invention, where the device can be applied to any fee-control interactive terminal. As shown in fig. 3, the device for testing account opening function of the fee-control interactive terminal of the embodiment includes:
the card swiping detection module 301 is configured to detect card swiping operation information of each account opening card of at least two preset account opening cards, and acquire parameter information of each account opening card according to the card swiping operation information.
And the command detection module 302 is configured to obtain an account opening command sent by the fee control interaction terminal to the corresponding electric energy meter according to the parameter information of each account opening card.
And the execution information detection module 303 is configured to obtain response information of the fee control interaction terminal after receiving the electric energy meter account opening response information.
And the judging module 304 is configured to judge whether the account opening function of the fee-control interaction terminal is qualified according to the parameter information, the account opening command and the response information.
In an optional embodiment, the device for testing the account opening function of the fee-control interaction terminal further includes: the account opening card setting module is used for presetting at least two account opening cards, and the at least two account opening cards comprise account opening cards with wrong parameters and account opening cards with correct parameters.
In an optional embodiment, the determining module 304 is configured to perform the following steps:
l1, detecting whether the parameter information is correct, if not, detecting whether the account opening command is empty, if not, judging that the account opening function of the fee control interactive terminal is unqualified, and if so, executing a step L3; if the parameter information is correct, executing the step L2;
l2, detecting whether the account opening command is correct; if the account opening command is incorrect, judging that the account opening function of the cost control interaction terminal is unqualified, and if the account opening command is correct, executing the step L3;
l3, comparing the response information with preset reference response information, and if the response information is not consistent with the preset reference response information, judging that the account opening function of the fee control interactive terminal is unqualified; and if the two are not consistent, judging that the account opening function of the charge control interactive terminal is qualified.
In an optional embodiment, the device for testing the account opening function of the fee-control interaction terminal further includes: and the initialization module is used for carrying out time synchronization on the fee control interactive terminal in a formal key state in advance and carrying out initialization on the fee control interactive terminal. And/or the file management module is used for establishing a corresponding account opening card file for each account opening card in the fee control interactive terminal in advance, and establishing an electric energy meter file for each electric energy meter connected with the fee control interactive terminal in a distributed mode.
Furthermore, the archive management module can be used for writing the parameter information into the corresponding account opening card archive after acquiring the parameter information of each account opening card; and the account opening card file is used for writing the account opening response information of the electric energy meter into the corresponding electric energy meter file and updating the account opening card file according to the response information of the fee control interaction terminal.
It should be noted that, in the embodiment of the device for testing an account opening function of a fee-control interaction terminal in the foregoing example, because the contents of information interaction, execution process, and the like between modules are based on the same concept as the foregoing method embodiment of the present invention, the technical effect brought by the contents is the same as the foregoing method embodiment of the present invention, and specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
In addition, in the above-mentioned exemplary embodiment of the device for testing the fee-controlled interaction terminal account opening function, the logical division of each program module is only an example, and in practical applications, the above-mentioned function distribution may be completed by different program modules according to needs, for example, due to the configuration requirements of corresponding hardware or the convenience of implementation of software, that is, the internal structure of the device for testing the fee-controlled interaction terminal account opening function is divided into different program modules so as to complete all or part of the above-mentioned functions.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which is stored in a computer readable storage medium and sold or used as a stand-alone product. The program, when executed, may perform all or a portion of the steps of the embodiments of the methods described above. In addition, the storage medium may be provided in a computer device, and the computer device further includes a processor, and when the processor executes the program in the storage medium, all or part of the steps of the embodiments of the methods described above can be implemented. The storage medium may be a magnetic disk, an optical disk, a Read-only Memory (ROM), a Random Access Memory (RAM), or the like.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments. It will be understood that the terms "first," "second," and the like as used herein are used herein to distinguish one object from another, but the objects are not limited by these terms.
The above-described examples merely represent several embodiments of the present invention and should not be construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for testing an account opening function of a charge control interaction terminal is characterized by being applied to the charge control interaction terminal, wherein the charge control interaction terminal is in signal connection with an electric energy meter, and the electric energy meter is pre-simulated by a server; the method comprises the following steps:
detecting card swiping operation information of each account opening card in at least two preset account opening cards, and acquiring parameter information of each account opening card according to the card swiping operation information;
acquiring an account opening command sent by the charge control interactive terminal to the corresponding electric energy meter according to the parameter information of each account opening card;
acquiring response information of the fee control interactive terminal after receiving the account opening response information of the electric energy meter;
the method specifically includes the steps of taking the parameter information, the account opening command and the response information as input of an account opening function detection model, taking whether the account opening function of the fee-control interaction terminal is qualified as output of the account opening function detection model, and judging whether the account opening function of the fee-control interaction terminal is qualified according to the parameter information, the account opening command and the response information:
l1, detecting whether the parameter information is correct, if not, detecting whether the account opening command is empty, if not, judging that the account opening function of the fee control interactive terminal is unqualified, and if so, executing a step L3; if the parameter information is correct, go to step L2;
l2, detecting whether the account opening command is correct; if the account opening command is incorrect, judging that the account opening function of the cost control interactive terminal is unqualified, and if the account opening command is correct, executing a step L3;
l3, comparing the response information with preset reference response information, and if the response information is not consistent with the preset reference response information, judging that the account opening function of the fee control interactive terminal is unqualified; and if the two are not consistent, judging that the account opening function of the charge control interactive terminal is qualified.
2. The method for testing account opening function of fee-controlled interactive terminal as recited in claim 1, wherein the parameter information comprises: the method comprises the steps of obtaining electric energy meter number information, account opening card serial numbers, user numbers and/or purchased electricity times information;
and/or the presence of a gas in the gas,
the response information includes: and the account opening card writes back the execution information and/or the record information of the account opening state of the electric energy meter.
3. The method for testing account opening function of a fee-control interaction terminal as recited in claim 1, wherein before detecting card swiping operation information of each of at least two preset account opening cards, the method further comprises the steps of:
and carrying out time synchronization on the fee control interactive terminal in a formal key state, and initializing the fee control interactive terminal.
4. The method for testing account opening function of a fee-control interaction terminal as recited in claim 3, wherein before detecting the card swiping operation information of each of at least two preset account opening cards, the method further comprises the steps of: establishing a corresponding account opening card file for each account opening card at the cost control interactive terminal, and/or establishing an electric energy meter file for each electric energy meter connected with the cost control interactive terminal;
after parameter information of each account opening card is obtained according to the card swiping operation information, the method further comprises the following steps: writing the parameter information into a corresponding account opening card file;
after the response information of the fee control interactive terminal after receiving the account opening response information of the electric energy meter is obtained, the method further comprises the following steps: and writing the account opening response information of the electric energy meter into a corresponding electric energy meter file, and updating the account opening card file according to the response information of the fee control interaction terminal.
5. The device for testing the account opening function of the charge control interaction terminal is characterized by being applied to the charge control interaction terminal, wherein the charge control interaction terminal is in signal connection with an electric energy meter, and the electric energy meter is pre-simulated by a server side; the device comprises:
the card swiping detection module is used for detecting card swiping operation information of each account opening card of at least two preset account opening cards and acquiring parameter information of each account opening card according to the card swiping operation information;
the command detection module is used for acquiring account opening commands sent by the fee control interaction terminal to the corresponding electric energy meters according to the parameter information of each account opening card;
the execution information detection module is used for acquiring response information of the fee control interaction terminal after receiving the account opening response information of the electric energy meter;
the judging module is configured to use the parameter information, the account opening command, and the response information as input of an account opening function detection model, use whether an account opening function of the fee-control interaction terminal is qualified as output of the account opening function detection model, and judge whether an account opening function of the fee-control interaction terminal is qualified according to the parameter information, the account opening command, and the response information, and specifically includes:
l1, detecting whether the parameter information is correct, if not, detecting whether the account opening command is empty, if not, judging that the account opening function of the fee control interactive terminal is unqualified, and if so, executing a step L3; if the parameter information is correct, go to step L2;
l2, detecting whether the account opening command is correct; if the account opening command is incorrect, judging that the account opening function of the cost control interactive terminal is unqualified, and if the account opening command is correct, executing a step L3;
l3, comparing the response information with preset reference response information, and if the response information is not consistent with the preset reference response information, judging that the account opening function of the fee control interactive terminal is unqualified; and if the two are not consistent, judging that the account opening function of the charge control interactive terminal is qualified.
6. The device for testing account opening function of fee-controlled interactive terminal as recited in claim 5, further comprising:
the initialization module is used for carrying out time synchronization on the fee control interactive terminal in advance in a formal key state and initializing the fee control interactive terminal;
and/or the presence of a gas in the gas,
the system also comprises a file management module, a charge control interaction terminal and a charge control module, wherein the file management module is used for establishing a corresponding account opening card file for each account opening card in the charge control interaction terminal in advance and establishing an electric energy meter file for each electric energy meter connected with the charge control interaction terminal in a subsection manner; the account opening card management system is also used for writing the parameter information into corresponding account opening card files after acquiring the parameter information of each account opening card; and the account opening card file is used for writing the account opening response information of the electric energy meter into the corresponding electric energy meter file and updating the account opening card file according to the response information of the fee control interaction terminal.
7. The device for testing account opening function of fee-controlled interactive terminal as recited in claim 5, wherein the parameter information comprises: the electric energy meter comprises electric energy meter number information, account opening card serial number, user number and/or purchased electricity frequency information.
8. The device for testing account opening function of fee-controlled interactive terminal as recited in claim 5 or 7, wherein the response message comprises: and the account opening card writes back the execution information and/or the record information of the account opening state of the electric energy meter.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any of claims 1 to 4 are performed when the program is executed by the processor.
CN201710486383.1A 2017-06-23 2017-06-23 Method and device for testing account opening function of charge control interaction terminal Active CN107273772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710486383.1A CN107273772B (en) 2017-06-23 2017-06-23 Method and device for testing account opening function of charge control interaction terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710486383.1A CN107273772B (en) 2017-06-23 2017-06-23 Method and device for testing account opening function of charge control interaction terminal

Publications (2)

Publication Number Publication Date
CN107273772A CN107273772A (en) 2017-10-20
CN107273772B true CN107273772B (en) 2020-11-03

Family

ID=60068439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710486383.1A Active CN107273772B (en) 2017-06-23 2017-06-23 Method and device for testing account opening function of charge control interaction terminal

Country Status (1)

Country Link
CN (1) CN107273772B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201656252U (en) * 2010-01-30 2010-11-24 许罡 10KV incoming line-protecting and electric energy-metering comprehensive switch cabinet
CN102819901A (en) * 2012-08-09 2012-12-12 宁夏隆基宁光仪表有限公司 Electronic type mixed charging prepayment electric energy meter
CN103198575A (en) * 2013-03-25 2013-07-10 国家电网公司 Function test method for local cost control intelligent electric energy meter
CN105891767A (en) * 2016-06-01 2016-08-24 中国南方电网有限责任公司电网技术研究中心 Anti-counterfeit card attack function testing method and system for fee control electric energy meter
CN106093832A (en) * 2016-05-27 2016-11-09 南方电网科学研究院有限责任公司 Account opening function test method and system for charge control electric energy meter

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4896452B2 (en) * 2005-07-07 2012-03-14 大崎電気工業株式会社 Instrument
CN106093833B (en) * 2016-05-27 2019-08-23 南方电网科学研究院有限责任公司 Method and system for testing initialization function of charge control electric energy meter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201656252U (en) * 2010-01-30 2010-11-24 许罡 10KV incoming line-protecting and electric energy-metering comprehensive switch cabinet
CN102819901A (en) * 2012-08-09 2012-12-12 宁夏隆基宁光仪表有限公司 Electronic type mixed charging prepayment electric energy meter
CN103198575A (en) * 2013-03-25 2013-07-10 国家电网公司 Function test method for local cost control intelligent electric energy meter
CN106093832A (en) * 2016-05-27 2016-11-09 南方电网科学研究院有限责任公司 Account opening function test method and system for charge control electric energy meter
CN105891767A (en) * 2016-06-01 2016-08-24 中国南方电网有限责任公司电网技术研究中心 Anti-counterfeit card attack function testing method and system for fee control electric energy meter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
智能电力收费系统的设计;丁振杰 等;《景德镇学院学报》;20160615;第31卷(第3期);第1-5页 *

Also Published As

Publication number Publication date
CN107273772A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
CN106354628A (en) Payment app test method and device thereof
CN113407393B (en) Chip verification method, terminal device, verification platform and storage medium
CN113378403B (en) Simulation test modeling method, system, test method, device and storage medium
CN107807877A (en) A kind of method and apparatus of code performance test
CN110543420B (en) Software testing method, system, terminal and storage medium
WO2018201615A1 (en) Testing method and system for use with battery management unit
CN106886003A (en) Batteries of electric automobile monitoring module Auto-Test System and method
CN112054822A (en) Bluetooth test method and device, electronic equipment and storage medium
CN110739025A (en) storage equipment power failure test method, device and system
CN106054115B (en) Safety certification function test method and system for charge control electric energy meter
CN107273772B (en) Method and device for testing account opening function of charge control interaction terminal
CN106093832B (en) Account opening function test method and system for charge control electric energy meter
CN106646327B (en) Method and system for testing parameter updating function of charge control electric energy meter
CN113672501A (en) Method and device for testing parking lot service
CN112307647A (en) Charging pile communication interruption testing method and device, storage medium and processor
CN106408774B (en) Recharge function test method and system for charge control electric energy meter
CN112214339A (en) Method and system for testing service life of chip
KR101651570B1 (en) Method and apparatus for testing a fingerprint recognition device
CN111552584A (en) Test system, method and device for primary fault diagnosis isolation and recovery functions of satellite
CN106093833A (en) Method and system for testing initialization function of charge control electric energy meter
CN110456741A (en) Process Control System, engineering system and operator's system
US20220321173A1 (en) Nfc device, operating method and computer program
CN114356769A (en) Software learning method, device, equipment and storage medium
CN103544026A (en) Electronic device capable of being safely upgraded and upgrading method
KR20140055160A (en) Apparatus and method for managing failure of financial device and failure management system

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210602

Address after: 510700 3rd, 4th and 5th floors of building J1 and 3rd floor of building J3, No.11 Kexiang Road, Science City, Luogang District, Guangzhou City, Guangdong Province

Patentee after: China South Power Grid International Co.,Ltd.

Address before: 510663 3 building, 3, 4, 5 and J1 building, 11 building, No. 11, Ke Xiang Road, Luogang District Science City, Guangzhou, Guangdong.

Patentee before: China South Power Grid International Co.,Ltd.

Patentee before: POWER GRID TECHNOLOGY RESEARCH CENTER. CHINA SOUTHERN POWER GRID