CN115953159A - Phenotype switching method based on STS prepayment system - Google Patents

Phenotype switching method based on STS prepayment system Download PDF

Info

Publication number
CN115953159A
CN115953159A CN202310012048.3A CN202310012048A CN115953159A CN 115953159 A CN115953159 A CN 115953159A CN 202310012048 A CN202310012048 A CN 202310012048A CN 115953159 A CN115953159 A CN 115953159A
Authority
CN
China
Prior art keywords
switching
phenotype
instruction
terminal meter
meter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310012048.3A
Other languages
Chinese (zh)
Inventor
吴征远
沈亮
郑建林
邬西占
朱丹阳
杨晓雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Chint Instrument and Meter Co Ltd
Original Assignee
Zhejiang Chint Instrument and Meter 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 Zhejiang Chint Instrument and Meter Co Ltd filed Critical Zhejiang Chint Instrument and Meter Co Ltd
Priority to CN202310012048.3A priority Critical patent/CN115953159A/en
Publication of CN115953159A publication Critical patent/CN115953159A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a phenotype switching method based on an STS (standard test service) prepaid system, which comprises the following steps: acquiring a phenotype switching request; generating a switching instruction based on the phenotype switching request; and sending the switching instruction to the terminal meter so that the terminal meter switches the phenotype based on the switching instruction. In the invention, after the phenotype switching request is obtained, the switching instruction corresponding to the phenotype switching request is generated based on the phenotype switching request, and the generated switching instruction is sent to the terminal meter, so that the terminal meter can complete the phenotype switching operation based on the switching instruction. In the process, the switching of the phenotype of the terminal meter can be completed in a short time only through data interaction between the server and the terminal meter, so that a complex operation process during phenotype switching is avoided, the phenotype switching can be completed without paying any labor cost and time cost, the flexible switching between the phenotypes is realized, the switching efficiency is improved, and good experience is brought to users.

Description

Phenotype switching method based on STS prepayment system
Technical Field
The invention relates to the technical field of communication, in particular to a phenotype switching method based on an STS (service station standard) prepayment system.
Background
In the existing payment management system, only one of the phenotypes can be selected for use. When the user wants to switch the prepaid phenotype to the postpaid phenotype, the user needs to go to the management department to apply for the switching of the phenotype.
However, such switching operation is complicated and labor-consuming, and the user also needs to pay a significant time cost. Therefore, how to easily complete the switching of the phenotype and improve the switching efficiency becomes a problem to be solved at present.
Disclosure of Invention
Therefore, the technical problem to be solved by the present invention is to overcome the defects of tedious operation and high cost of phenotype switching, thereby providing a phenotype switching method based on an STS prepaid system.
In a first aspect, the present invention provides a method for switching phenotypes based on an STS prepaid system, the method being performed by a server and comprising:
acquiring a phenotype switching request; generating a switching instruction based on the phenotype switching request; and sending the switching instruction to the terminal meter so that the terminal meter switches the phenotype based on the switching instruction.
In the invention, after the phenotype switching request is acquired, the switching instruction corresponding to the client case number phenotype switching request is generated based on the phenotype switching request, and the generated switching instruction is sent to the terminal meter, so that the terminal meter can complete the phenotype switching operation based on the switching instruction. In the process, the switching of the phenotype of the terminal meter can be completed in a short time only through data interaction between the server and the terminal meter, so that a complex operation process during phenotype switching is avoided, the phenotype switching can be completed without paying any labor cost and time cost, the flexible switching between the phenotypes is realized, the switching efficiency is improved, and good experience is brought to users.
With reference to the first aspect, in a first embodiment of the first aspect, after the sending the switching instruction to the terminal meter, the method further includes:
receiving switching response information fed back by a terminal meter; when the switching response information is successful, generating a data acquisition instruction corresponding to the switching instruction based on the switching response information; sending a data acquisition instruction to a terminal meter; receiving usage information corresponding to the switching instruction fed back by the terminal meter based on the data acquisition instruction; and finishing the corresponding expense settlement after the phenotype switching based on the usage information corresponding to the switching instruction.
In the embodiment, after the phenotype switching operation is completed, the corresponding expense problem after the phenotype switching is settled, through the step, the subsequent process of the phenotype switching is perfected, a user does not need to worry about the expense settlement problem caused by the phenotype switching, unnecessary economic disputes are avoided, and the overall service efficiency of the system is improved.
With reference to the first aspect, in a second embodiment of the first aspect, the usage information corresponding to the handover instruction includes:
when the switching instruction is an instruction to switch the first phenotype to the second phenotype, the usage information includes remaining usage of the client case number; or, when the switching instruction is an instruction to switch the second phenotype to the first phenotype, the usage information includes a first consumption and a second consumption, the first consumption is a consumption corresponding to the terminal meter when the charge is settled last time, and the second consumption is a consumption corresponding to the terminal meter when the phenotype is switched this time.
With reference to the first aspect, in a third embodiment of the first aspect, when the switching instruction is an instruction to switch the first phenotype to the second phenotype, after receiving usage information corresponding to the switching instruction and fed back by the terminal meter based on the data acquisition instruction, the method further includes:
generating a clearing instruction; and sending a clearing instruction to the terminal meter so that the terminal meter clears the stored residual usage amount based on the clearing instruction.
With reference to the first aspect, in a fourth embodiment of the first aspect, when the switching instruction is an instruction to switch the first phenotype to the second phenotype, the accounting of the cost after switching the phenotype based on the usage information corresponding to the switching instruction includes:
the fee settlement is completed based on the remaining usage amount, and includes determining a refund amount.
In a second aspect, the present invention provides a phenotype switching method based on an STS prepaid system, where the method is executed by a terminal meter, and includes:
receiving a switching instruction fed back by a server; and switching the phenotype of the terminal meter based on the switching instruction.
With reference to the second aspect, in the first embodiment of the second aspect, before switching the phenotype of the terminal meter based on the switching instruction, the method further includes:
customer's case number
And based on the switching instruction, acquiring the usage information corresponding to the terminal meter at the current moment, and storing the usage information to a preset position.
With reference to the second aspect, in a second embodiment of the second aspect, after switching the phenotype of the terminal meter based on the switching instruction, the method further includes:
generating handover response information corresponding to a result of the handover based on the result; sending the switching response information to a server; receiving a data acquisition instruction fed back by the server based on the switching response information; acquiring usage information corresponding to the switching instruction from a preset position based on the data acquisition instruction; and sending the usage information to the server so that the server completes the charge settlement after switching based on the usage information.
With reference to the second aspect, in a third embodiment of the second aspect, the obtaining usage information corresponding to the terminal meter at the current time includes:
when the switching instruction is an instruction for switching the first phenotype to the second phenotype, acquiring the residual usage of the terminal meter at the current moment, wherein the usage information comprises the residual usage; or when the switching instruction is an instruction for switching the second phenotype to the first phenotype, acquiring a first consumption of the terminal meter at the current moment and a second consumption corresponding to the terminal meter when the charge is settled last time, wherein the usage information comprises the first consumption and the second consumption.
With reference to the second aspect, in a fourth embodiment of the second aspect, when the instruction to switch is an instruction to switch the first phenotype to the second phenotype, after the sending the usage information to the server, the method further includes:
receiving a clearing instruction fed back by the server; the remaining usage contained in the usage information is cleared based on the clear instruction.
Drawings
Customer's case number
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for performing a phenotype handover based on an STS prepaid system by a server according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for performing a phenotype switching based on an STS prepaid system by a terminal meter according to an embodiment of the present invention;
fig. 3 is a diagram of dual-end interactive signaling of a server and a terminal meter provided in an embodiment of the present invention;
fig. 4 is a connection diagram of a phenotype switching apparatus applied to a server based on STS prepaid system according to an embodiment of the present invention;
fig. 5 is a connection diagram of a phenotype switching apparatus applied to a terminal meter and based on an STS prepaid system according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the purpose of promoting an understanding of the principles of the invention, reference will now be made in detail to the accompanying drawings, in which the invention is illustrated and described. STS (Standard template specification) client case number
Namely a standard transmission protocol, which mainly provides a reference basis for the realization of functions such as encryption and decryption, prepayment and the like of the electric energy meter. The STS prepaid system transmits a series of prepaid management related commands such as a purchase code according to the standard protocol.
The invention discloses a phenotype switching method based on an STS prepaid system, which is executed by a server and specifically comprises the following steps as shown in figure 1:
s11: a phenotype handover request is obtained.
In particular, the phenotype usually includes both a prepaid table and a postpaid table, and thus, the phenotype switching can also be regarded as switching the terminal meter payment mode. The phenotype handover request may be a request initiated from a front-end page of the STS prepaid system, or may be a request initiated by other realizable manner, and the originating end of the phenotype handover request is not specifically limited herein.
Illustratively, in an optional embodiment, after the user logs in the front-end page of the STS prepaid system, the user clicks the function key of "phenotype switching" on the front-end page, and when the function key is pressed, the system generates a trigger instruction corresponding to the function key immediately. And based on the trigger instruction, acquiring the current phenotype of the terminal meter from the preset storage position of the front-end page, then generating a phenotype switching request based on the current phenotype and the trigger instruction, and sending the phenotype switching request to a background server of the STS prepaid system. Wherein the preset storage location is an arbitrary location that can be used for storing data.
S12: a switching instruction is generated based on the phenotype switching request.
Specifically, the phenotype switching request corresponds to a switching instruction. For example, when the phenotype switching request is to switch the terminal meter from the prepaid meter to the postpaid meter, the generated switching instruction is an instruction to switch the prepaid meter to the postpaid meter. Similarly, when the phenotype switching request is to switch the terminal meter from the post-paid customer case number table to the prepaid meter, the generated switching instruction is the instruction to switch the post-paid meter to the prepaid meter. In an alternative embodiment, the switching instruction may be embodied by a token code, and the token code is a string of 20-bit numbers.
Specifically, the terminal meter may be a gas meter, an electric meter, a water meter, or other commonly used billing meter in life.
For example, in an optional embodiment, after obtaining the phenotype switching request, the backend server invokes a security module of the STS prepaid system, and generates a series of management type token codes formed by 20 digits based on the phenotype switching request, where the token codes are the switching instruction. Since the STS standard does not define the class of token corresponding to the switching instruction, a sub class reserved by the STS management class needs to be customized before generating the switching instruction.
In this embodiment, the token code generated by the security module is an encrypted switching instruction, and the token code is generated by encrypting the switching instruction according to a negotiated encryption rule or encryption algorithm in combination with a table number of a terminal table, information with uniqueness of a manufacturer, and the like, so that the token code has privacy and uniqueness. According to the embodiment, the data security in the transmission process is ensured.
S13: and sending the switching instruction to the terminal meter so that the terminal meter switches the phenotype based on the switching instruction.
Illustratively, still taking the above embodiment as an example, after the security module generates the switching instruction, the switching instruction is sent to the terminal meter by way of remote communication. The remote communication mode may be ethernet communication, GPRS (General Packet Radio Services) communication, LORA (Long Range Radio) communication, and the like, and the specific remote communication mode is a client case number
It is not particularly limited and may be determined according to the actual situation.
In the invention, after the phenotype switching request is obtained, the switching instruction corresponding to the phenotype switching request is generated based on the phenotype switching request, and the generated switching instruction is sent to the terminal meter, so that the terminal meter can complete the phenotype switching operation based on the switching instruction. In the process, the switching of the phenotype of the terminal meter can be completed in a short time only through data interaction between the server and the terminal meter, so that a complex operation process during phenotype switching is avoided, the phenotype switching can be completed without paying any labor cost and time cost, the flexible switching between the phenotypes is realized, the switching efficiency is improved, and good experience is brought to users.
In an optional embodiment, after sending the switching instruction to the terminal meter, the method further includes the following steps:
s14: and receiving switching response information fed back by the terminal meter.
Specifically, the handover response information may include handover success or handover failure.
Illustratively, in an optional embodiment, after the server sends the switching instruction generated by the security module to the terminal meter, if the server receives the switching response information fed back by the terminal meter within a preset time period after the switching instruction is sent out, the server may perform the next operation based on the switching result fed back in the switching response information; and if the server does not receive the switching response information fed back by the terminal meter within the preset time period after the switching instruction is sent, the switching instruction can be sent to the terminal meter again. The preset time period may be formed by a corresponding data transmission time length and a delay time length under the condition that the communication is normal. When the switching response information is received after the switching instruction is sent twice continuously, the problem of the terminal meter can be preliminarily judged, and at the moment, a worker can be dispatched to carry out the customer case number identification on the terminal meter
And (5) overhauling the corresponding equipment.
S15: and when the switching response information is successful, generating a data acquisition instruction corresponding to the switching instruction based on the switching response information.
Illustratively, when the switching response message is successful, after receiving the switching response message, the server calls the security module to generate a data acquisition instruction, where the data acquisition instruction corresponds to the switching instruction, the switching instruction is different, and the data to be acquired is also different.
For example, in another optional embodiment, when the handover response message is a handover failure, the handover command may be re-sent to the terminal meter, and the steps S14 to S15 may be continuously performed.
S16: and sending the data acquisition instruction to a terminal meter.
Illustratively, after the data acquisition command is generated, the data acquisition command is sent to the terminal meter by using a remote communication mode. In order to ensure the security of data in the transmission process, the generated data acquisition instruction may be an encrypted instruction, and the encryption mode of the encrypted instruction is the same as that of the switching instruction.
S17: and receiving the usage information corresponding to the switching instruction fed back by the terminal meter based on the data acquisition instruction.
Specifically, the usage information corresponds to the switching instruction, which is different, and the usage information fed back based on the data acquisition instruction is also different.
S18: and finishing the corresponding expense settlement after the phenotype switching based on the usage information corresponding to the switching instruction.
Specifically, when the switching instructions are different, the phenotypes switched according to the switching instructions are naturally different. Different phenotypes have different corresponding settlement modes, so the usage information client case number corresponding to the settlement mode
Different.
In the embodiment, after the phenotype switching operation is completed, the corresponding expense problem after the phenotype switching is settled, through the step, the subsequent process of the phenotype switching is perfected, a user does not need to worry about the expense settlement problem caused by the phenotype switching, unnecessary economic disputes are avoided, and the overall service efficiency of the system is improved.
In an optional embodiment, the usage information corresponding to the switching instruction specifically includes:
when the switching instruction is an instruction to switch the first phenotype to the second phenotype, the usage information includes a remaining usage; alternatively, when the switching instruction is an instruction to switch the second phenotype to the first phenotype, the usage information includes the first consumption amount and the second consumption amount.
In an alternative embodiment, the first phenotype is a prepaid meter, which is a meter using a prepaid manner, the prepaid manner is to pay first and then purchase the usage amount for the paid fee, and when the usage amount is used up, the usage is stopped. When the switching instruction is to switch the prepaid meter to the postpaid meter, there may be remaining available amount in the terminal meter during switching, and in this case, the usage information corresponding to the switching instruction includes the remaining usage amount.
The second phenotype is a post-payment meter, the post-payment meter is a meter adopting a post-payment mode, the post-payment mode is used firstly, and payment is carried out according to the actual usage amount when the usage amount reaches a preset usage amount threshold value or when the usage time reaches a preset usage duration threshold value. When the switching instruction is to switch the post-paid charging form to the pre-paid charging form, after the phenotype of the terminal meter is switched to the pre-paid charging form, the usage amount corresponding to the terminal meter needs to be settled during the period that the phenotype is the post-paid charging form, so in this case, the usage amount information corresponding to the switching instruction includes the first consumption amount and the second consumption amount. The first consumption client case number is the consumption corresponding to the terminal meter when the expense is settled last time, and the second consumption is the consumption corresponding to the terminal meter when the phenotype is switched. Here, the consumption amount refers to an accumulated consumption amount, that is, a total consumption amount of the terminal meter from the start of the use to the current time.
In an optional embodiment, when the switching instruction is an instruction to switch the first phenotype to the second phenotype, after receiving usage information corresponding to the switching instruction and fed back by the terminal meter based on the data acquisition instruction, the method further includes the following steps:
and generating a clearing instruction, and sending the clearing instruction to the terminal meter so that the terminal meter clears the stored residual usage amount based on the clearing instruction.
In an optional embodiment, when the switching instruction is an instruction to switch the prepaid meter to the postpaid table, after receiving the usage information fed back by the terminal meter, the server may invoke the security module of the STS prepaid system again to generate another 20-digit management type token code distinguished from the switching instruction, where the token code is a clearing instruction. After the clear instruction is generated, the clear instruction is sent to the terminal meter in a remote communication mode, and the aim is to enable the terminal meter to clear the stored residual usage amount based on the clear instruction.
In this embodiment, the purpose of the server receiving the usage information is to perform switched charge settlement based on the usage information. After the settlement, no charge is paid and no amount of usage is left in the terminal meter regardless of the phenotype to which the settlement is finally switched. In this embodiment, when the switching instruction is an instruction to switch the prepaid meter to the postpaid meter, and after the generated clearing instruction is sent to the terminal meter, the terminal meter clears the remaining usage amount of the terminal meter based on the clearing instruction. By the method, the residual usage amount stored by the terminal meter can be kept consistent with the actual residual usage amount after settlement, and some unnecessary economic disputes can be avoided.
Customer's case number
In an alternative embodiment, when the switching instruction is an instruction to switch the first phenotype to the second phenotype, the accounting of the charge after the phenotype switching is completed based on the usage information corresponding to the switching instruction, including:
the fee settlement is completed based on the remaining usage amount, and includes determining a refund amount.
Illustratively, in an optional embodiment, when the switching instruction is an instruction to switch the prepaid meter to the postpaid meter, after the usage information is obtained, the remaining usage in the usage information is read. At this time, the refund amount may be determined according to the remaining usage amount and the local market price. If the terminal meter is an electricity meter, the remaining electricity consumption of the electricity meter is read to be 20 degrees, the electricity price of the place where the electricity meter belongs is 0.5 yuan/degree, and at the moment, the refund amount is 10 yuan. The remaining usage amount is the remaining usage amount in the terminal meter after the phenotype is switched to the postpaid table.
After the refund amount is determined, the refund of the amount can be completed according to the payment mode of the terminal meter. If the payment mode of the current terminal meter is on-line payment, the terminal meter can be returned from the original channel. If the payment mode of the current terminal meter is offline payment, the owner of the terminal meter can be contacted through the telephone, and the return charge is returned in a negotiated mode or channel.
In an optional embodiment, when the switching instruction is an instruction to switch the postpaid table to the prepaid table, the accounting of the charge after the switching of the phenotype is completed based on the usage information corresponding to the switching instruction, including:
determining an actual usage amount based on the first consumption amount and the second consumption amount; and finishing the charge settlement based on the actual usage amount, wherein the charge settlement comprises the determination of the amount to be paid.
Illustratively, a difference value between the first consumption and the second consumption is calculated, the difference value is an actual usage amount counted by the terminal meter during the period from the last customer case number payment to the current phenotype switching, and a due amount corresponding to the actual usage amount is determined according to the actual usage amount and the local market price. After the payment of the amount to be paid is finished, the current terminal meter does not charge for arrears, the residual usage amount is 0, and as the phenotype is switched into the prepayment meter, if the usage needs to be continued, a part of the cost needs to be paid to purchase the usage amount.
For example, after the amount due to payment is determined, the amount due to payment may be displayed on a terminal meter or a front-end page of the STS prepaid system, so as to prompt the user to pay in time.
The invention discloses a phenotype switching method based on an STS prepaid system, which is executed by a terminal meter, as shown in figure 2, and specifically comprises the following steps:
s21: and receiving a switching instruction fed back by the server.
For example, in an optional embodiment, when the handover command received by the terminal meter is an encrypted handover command, the handover command needs to be decrypted by using a pre-negotiated key.
S22: and switching the phenotype of the terminal meter based on the switching instruction.
In an optional embodiment, before switching the phenotype of the terminal meter based on the switching instruction, the method further includes:
and based on the switching instruction, acquiring the usage information corresponding to the terminal meter at the current moment, and storing the usage information to a preset position.
Illustratively, after receiving the switching instruction, the terminal meter determines a switching mode corresponding to the switching instruction, determines which usage information is needed for settlement based on the switching mode, then acquires the usage information corresponding to the switching instruction from the terminal meter, and stores the acquired usage information to a preset customer case number setting location, where the preset location may be an EEPROM (Electrically Erasable and Programmable read only memory) of the terminal meter.
In an optional embodiment, after switching the phenotype of the terminal meter based on the switching instruction, the method further includes:
generating switching response information corresponding to the result based on the result of the switching; sending the switching response information to a server; receiving a data acquisition instruction fed back by the server based on the switching response information; acquiring usage information corresponding to the switching instruction from a preset position based on the data acquisition instruction; and sending the usage information to the server so that the server completes the charge settlement after switching based on the usage information.
The specific interaction process corresponding to this embodiment has already been described in detail in the embodiment corresponding to the server side, and is not described here again.
Illustratively, in an alternative embodiment, the handover response information includes both handover success and handover failure.
The specific interaction process corresponding to this embodiment has already been described in detail in the embodiment corresponding to the server side, and is not described here again.
Since the execution steps of the terminal meter end and the server end correspond to each other, a signaling diagram of double-end interaction as shown in fig. 3 is formed by combining the processes of phenotype switching and settlement of fees after switching, and the signaling diagram can be used as a reference for a complete interaction process of phenotype switching and settlement of fees after switching.
In an optional embodiment, the obtaining of the usage information corresponding to the terminal meter at the current time includes:
when the switching instruction is an instruction for switching the first phenotype to the second phenotype, acquiring the residual usage of the terminal meter at the current moment of the client case number, wherein the usage information comprises the residual usage; or when the switching instruction is an instruction for switching the second phenotype to the first phenotype, acquiring a first consumption of the terminal meter at the current moment and a second consumption corresponding to the terminal meter when the charge is settled last time, wherein the usage information comprises the first consumption and the second consumption.
In another optional embodiment, when the switching instruction is an instruction to switch the prepaid meter to the postpaid meter, a third consumption corresponding to the time of switching the phenotype by the terminal meter is obtained, and the consumption is stored in a preset position, so that when the cost is settled after the phenotype is converted to the postpaid meter, the third consumption is used as a reference consumption of the postpaid meter.
Illustratively, in an optional embodiment, the terminal meter is an electric meter, the electric meter receives a switching instruction fed back by the server, the switching instruction is an instruction for switching the prepaid meter to the postpaid meter, after receiving the switching instruction, the electric meter obtains, from the terminal meter, not only the remaining usage amount of 20 degrees in the electric meter at the current time, but also obtains a total consumption amount of 580 degrees corresponding to the terminal meter at the current time, and 580 degrees is an accumulated usage amount from the beginning of the electric meter being put into use to the current time. The remaining usage amount is 20 degrees, which is used for determining the amount of money to be returned to the customer, and 580 degrees are used as the initial consumption amount after the electric meter is switched to the post-paid meter. Assuming that the electricity fee needs to be paid after one month, and the current consumption is 620 degrees obtained by meter reading, the actual used electricity in the month is 620-580=40 degrees.
In an optional embodiment, when the switching instruction is an instruction to switch the first phenotype to the second phenotype, after sending the usage information to the server, the method further includes:
receiving a clearing instruction fed back by the server; the remaining usage contained in the usage information is cleared based on a clear instruction.
Customer's case number
Illustratively, when the switching instruction is an instruction to switch the prepaid table to the postpaid table, after sending the usage information to the server, based on the clear instruction, the usage information stored in the preset location, that is, the remaining usage, is cleared, and the updating of the remaining usage is completed, so that the remaining usage stored in the preset location is zero.
The invention discloses a phenotype switching device based on an STS prepaid system, which is applied to a server and specifically comprises the following modules as shown in figure 4:
an obtaining module 41, configured to obtain a phenotype switching request; a generation module 42 for generating a switching instruction based on the phenotype switching request; a sending module 43, configured to send the switching instruction to the terminal meter, so that the terminal meter switches the phenotype based on the switching instruction.
The invention discloses a phenotype switching device based on an STS prepaid system, which is applied to a terminal meter and specifically comprises the following modules as shown in figure 5:
a receiving module 51, configured to receive a switching instruction fed back by a server; and a switching module 52, configured to switch the phenotype of the terminal meter based on the switching instruction.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (10)

1. A method for phenotype switching based on an STS prepaid system, the method being performed by a server and comprising:
acquiring a phenotype switching request;
generating a handover instruction based on the phenotype handover request;
and sending the switching instruction to a terminal meter so that the terminal meter switches the phenotype based on the switching instruction.
2. The method for switching phenotype based on STS prepaid system of claim 1, further comprising, after the sending the switching instruction to the terminal meter:
receiving switching response information fed back by the terminal meter;
when the switching response information is successful, generating a data acquisition instruction corresponding to the switching instruction based on the switching response information;
sending the data acquisition instruction to the terminal meter;
receiving usage information corresponding to the switching instruction, fed back by the terminal meter based on the data acquisition instruction;
and finishing the corresponding expense settlement after the phenotype switching based on the consumption information corresponding to the switching instruction.
3. The method for phenotype switching based on an STS prepaid system according to claim 2, wherein the usage information corresponding to the switching instruction includes:
when the switching instruction is an instruction to switch a first phenotype to a second phenotype, the usage information includes a remaining usage;
or, when the switching instruction is an instruction to switch the second phenotype to the first phenotype, the usage information includes a first consumption and a second consumption, the first consumption is a consumption corresponding to the terminal meter when the fee is settled last time, and the second consumption is a consumption corresponding to the terminal meter when the phenotype is switched this time.
4. The method of claim 3, wherein when the switching command is a command to switch a first phenotype to a second phenotype, after receiving usage information corresponding to the switching command and fed back by the terminal meter based on the data acquisition command, the method further comprises:
generating a clearing instruction;
and sending the clearing instruction to the terminal meter so that the terminal meter clears the stored residual using amount based on the clearing instruction.
5. The method for switching phenotype according to claim 3 or 4, wherein when the switching instruction is an instruction to switch a first phenotype to a second phenotype, the accounting of the charges after the phenotype switching is completed based on the usage information corresponding to the switching instruction comprises:
and completing fee settlement based on the residual usage amount, wherein the fee settlement comprises determining the refund amount.
6. A method for switching phenotype based on STS prepaid system, the method being performed by a terminal meter and comprising:
receiving a switching instruction fed back by a server;
and switching the phenotype of the terminal meter based on the switching instruction.
7. The method for switching phenotypes over STS prepaid systems according to claim 6, further comprising, prior to switching the phenotype of the terminal meter based on the switching instruction:
and acquiring the usage information corresponding to the terminal meter at the current moment based on the switching instruction, and storing the usage information to a preset position.
8. The method for switching phenotypes over STS prepaid systems according to claim 7, further comprising, after the switching the phenotype of the terminal meter based on the switching instruction:
generating handover response information corresponding to a result of the handover based on the result;
sending the switching response information to the server;
receiving a data acquisition instruction fed back by the server based on the switching response information;
acquiring usage information corresponding to the switching instruction from the preset position based on the data acquisition instruction;
and sending the usage information to the server so that the server can complete the switched fee settlement based on the usage information.
9. The method for switching phenotypes according to claim 7, wherein the obtaining usage information corresponding to the terminal meter at a current time comprises:
when the switching instruction is an instruction for switching a first phenotype to a second phenotype, acquiring the residual usage of the terminal meter at the current moment, wherein the usage information comprises the residual usage;
or, when the switching instruction is an instruction to switch a second phenotype to a first phenotype, acquiring a first consumption of the terminal meter at the current time and a second consumption corresponding to the terminal meter when the charge is settled last time, where the usage information includes the first consumption and the second consumption.
10. The method for switching phenotype based on STS prepaid system according to claim 8 or 9, wherein when the switching instruction is an instruction to switch a first phenotype to a second phenotype, after the sending of the usage information to the server, further comprising:
receiving a clearing instruction fed back by the server;
and clearing the residual usage contained in the usage information based on the clearing instruction.
CN202310012048.3A 2023-01-05 2023-01-05 Phenotype switching method based on STS prepayment system Pending CN115953159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310012048.3A CN115953159A (en) 2023-01-05 2023-01-05 Phenotype switching method based on STS prepayment system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310012048.3A CN115953159A (en) 2023-01-05 2023-01-05 Phenotype switching method based on STS prepayment system

Publications (1)

Publication Number Publication Date
CN115953159A true CN115953159A (en) 2023-04-11

Family

ID=87296652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310012048.3A Pending CN115953159A (en) 2023-01-05 2023-01-05 Phenotype switching method based on STS prepayment system

Country Status (1)

Country Link
CN (1) CN115953159A (en)

Similar Documents

Publication Publication Date Title
JP3474566B2 (en) Communication system with call billing information stored in handset
ES2237791T3 (en) PROCEDURE AND DEVICE FOR THE PROVISION OF PREPAID TELECOMMUNICATIONS SERVICE.
CN102110994A (en) Electric car charging station management system and charging method
US20090034703A1 (en) Prepaid Calling Time Processing: A Method and Apparatus for Processing Pre-Paid Calling Time in a Telephone Communication System
CN101860835B (en) Value added service payment method and system
CN105844803A (en) Electric vehicle charging pile inter-APP charging system mobile phone APP realization method
EP1212731A1 (en) Vehicle parking management method
CN102074073A (en) International Electrotechnical Commission (IEC) 62055 standard based card-less prepayment electricity purchasing method
WO2016115758A1 (en) Utility payment method and device
CN116071839A (en) Vehicle expense deduction method and device based on preferential deduction information and client
CN110852851A (en) Block chain-based vehicle sharing method and device and readable storage medium
CN106627241A (en) Self-help charging method and device for charging pile, charging pile and self-help charging system
CN115953159A (en) Phenotype switching method based on STS prepayment system
CN111967922A (en) Charging settlement method and device for charging pile and computer readable storage medium
CN111835929A (en) Telephone charge transaction method and system based on block chain
CN101150416A (en) Third-party billing method and system
CN109774526A (en) It is a kind of have prevent counterfeit knee identification method for authenticating
CN107294735B (en) Order supplementing method and online charging system
CN1777221B (en) Data processing system and method for realizing commercial information service via point card charging
UA44327C2 (en) METHOD OF DETERMINING ASSETS IN TELEPHONY
CN108270580B (en) Reminding method, device and system for online charging
US20030130946A1 (en) Configuration and method for debiting charges
KR102501163B1 (en) The transaction method of electric vehicle charge using virtual currency
CN116452198B (en) Offline authorization and charging method and system for charging pile
CN101094083A (en) System and method for implementing real time deducting charge for GPRS content in GSM intellective network

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Zhengtai Instrument Measurement Industrial Park, No.1 Liangce Road, Beibaixiang Town, Leqing City, Wenzhou City, Zhejiang Province, 325603

Applicant after: ZHEJIANG CHINT INSTRUMENT & METER Co.,Ltd.

Address before: 325603 Wenzhou Daqiao Industrial Park, Yueqing City, Wenzhou City, Zhejiang Province

Applicant before: ZHEJIANG CHINT INSTRUMENT & METER Co.,Ltd.