Virtual bus card online repair method, device and server
By monitoring the operation information of the virtual bus card and reporting it to the server, the online automatic repair of the virtual bus card is realized, solving the problem of abnormal handling during the user's card swiping process, and improving user experience and convenience of use.
Patent Information
- Application Number
- CN202110712798.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-25
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2041-06-25
AI Technical Summary
The existing virtual bus cards do not support automatic repairs online when users encounter problems during card swiping, resulting in poor user experience and need to go to the service outlet for manual processing.
By monitoring the operation information of the virtual bus card, determine whether there is an abnormality, and report the exception type and information to the server. The server repairs it according to the exception type, including unlocking, resetting transaction record data, restoring the inbound and outbound status, etc.
It realizes automatic online repair of virtual bus cards, simplifies user processes, improves user experience, and avoids the trouble of card abandonment and reopening due to abnormalities.
Smart Images

Figure CN113468896B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to a method and device for online repairing a virtual bus card and a server. Background Art
[0002] The virtual bus card application is a JavacardApplet that runs in the mobile phone's security module. The operating environment of the security module is completely independent of the mobile phone's operating system. The mobile phone operating system can play the role of a card reader and actively send instructions to access and read and write the virtual bus card application. The virtual bus card application can actively notify the mobile phone operating system to interact with data by sending transaction events (HCI Events).
[0003] At present, the virtual bus card implemented according to the traffic card specification of the Ministry of Transport can be used on public transportation equipment in all cities that have opened the interoperability function of the Ministry of Transport, that is, the bus card issued by a certain city can be swiped in other cities that support interoperability. When a user carries a bus card from city A to city B for business or travel, and uses the bus card to take the bus, it is possible that due to unexpected circumstances, the card is swiped when getting on the bus but missed when getting off the bus, or the card is swiped when entering the subway station but missed when leaving the station. When this happens, the user needs to find the customer service staff at the service desk at the card swiping location to solve the problem before the card's entry and exit status can be changed to normal. If the entry and exit status is not repaired locally, after returning to city A, this card can no longer be used, and it cannot be repaired by the local service desk customer service staff, because the entry data stored in the card is the data of city B, and city A does not have the processing capacity of the relevant data. In this case, the user's virtual bus card needs to be discarded and deleted and re-activated. This brings inconvenience to users.
[0004] In addition, some cities still issue bus cards that are implemented according to their own specifications and have not yet migrated to the regulatory system of the Ministry of Transport. In the bus cards of such cities, the user password PIN may still be used. Although during the user's use, the user does not need to enter the password PIN before using the bus card to ride or recharge, during the ride or recharge process, the terminal and the card will verify the default PIN during data communication before continuing the transaction. For virtual bus card users, if they often travel to and from such cities, they may open a virtual bus card for the city to facilitate daily travel. However, the user may forget to set the currently activated virtual bus card as the bus card of this city before using the bus card, which will lead to a phenomenon that the user takes the bus card of city B and swipes the card on the terminal machine in city A. This terminal machine will initiate authentication according to the predetermined password PIN, but the authentication will fail at this time, resulting in the user's card swiping failure. If the user retries to swipe the card more than three times at this time, the password will be locked, resulting in the user being unable to continue to use the bus card even if he returns to city B. The user must bring the bus card to the bus card service outlet for manual processing. It can be seen that the existing virtual bus cards do not support online automatic repair functions. Once an abnormality occurs in the virtual bus card, users can only go to the corresponding service outlets for manual processing. The process is cumbersome and the user experience is poor. Summary of the invention
[0005] In view of this, the purpose of the present invention is to overcome the shortcomings of the prior art and provide a method, device and server for online repair of a virtual bus card to solve the problem in the prior art that when a user encounters a problem during card swiping, the virtual bus card does not support online automatic repair and the user experience is poor.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: a virtual bus card online repair method, comprising:
[0007] Monitor the operation information of virtual bus cards;
[0008] Determining whether the virtual bus card operates abnormally according to the operation information;
[0009] When the virtual bus card operates abnormally, the abnormal type is determined, and the abnormal type and corresponding virtual bus card information are reported to the server, so that the server repairs the virtual bus card according to the abnormal type.
[0010] Optionally, the operation information of the virtual bus card includes:
[0011] Status information and operation data information of the virtual bus card;
[0012] The abnormality types include: state abnormality and data abnormality.
[0013] Optionally, reporting the abnormal type and corresponding virtual bus card information to the server includes:
[0014] Notify the specific application of the client terminal of the abnormal type and the corresponding virtual bus card information in the form of a transaction event;
[0015] After receiving the event notification, the specific application of the client forwards the received exception type and virtual bus card information to the external server.
[0016] Optionally, before reporting the abnormal type and the corresponding virtual bus card information to the server, the method further includes:
[0017] Send a query message to the user to determine whether the user agrees to execute the abnormality repair process;
[0018] When the user agrees to execute the abnormality repair process, the feedback information input by the user is obtained, and the feedback information together with the abnormality type and the corresponding virtual bus card information is reported to the server;
[0019] The feedback information at least includes: the station where the card was last swiped to enter or exit the station, and the time of the last entry or exit.
[0020] The present invention also provides a virtual bus card online repair method, comprising:
[0021] Receive a repair request sent by a client; the repair request includes: an abnormality type and corresponding virtual bus card information;
[0022] Determine a corresponding repair plan according to the abnormality type;
[0023] The virtual bus card is repaired using the determined repair plan.
[0024] Optionally, determining a corresponding repair solution according to the exception type includes:
[0025] Search the pre-established abnormality type and repair solution comparison table for the repair solution corresponding to the abnormality type.
[0026] Optionally, determining a corresponding repair solution according to the exception type includes:
[0027] When the abnormal type of the virtual bus card is locked, the repair solution is to unlock the virtual bus card, use the bus card's application management key to calculate the MAC and send the application unlock instruction;
[0028] When the transaction record data in the virtual bus card contains data that cannot be parsed, the repair solution is to reset the transaction record data content and restore the virtual bus card to the state when it was initially activated;
[0029] When the PIN of the virtual bus card is locked, the repair solution is to use the PIN unlock key to calculate the PIN unlock command, and send the PIN unlock command to the virtual bus card to unlock the PIN;
[0030] When the current station location reported by the user is inconsistent with the station location recorded in the virtual bus card, the repair plan is to calculate the fee the user needs to pay based on the information of the last entry and exit reported by the user, initiate an exit or entry transaction, and restore the entry or exit status of the virtual bus card to normal, and deduct the fee the user needs to pay.
[0031] Optionally, before repairing the virtual bus card using the determined repair solution, the method further includes:
[0032] Conduct risk assessment on repair requests sent by clients;
[0033] When it is determined that the repair request has a risk, the repair of the virtual bus card is refused.
[0034] The present invention also provides a virtual bus card online repair device, comprising:
[0035] A repair request receiving module, used to receive a repair request sent by a client; the repair request includes: an abnormality type and corresponding virtual bus card information;
[0036] A repair solution determination module, used to determine a corresponding repair solution according to the abnormality type;
[0037] The repair execution module is used to repair the virtual bus card using the determined repair plan.
[0038] The present invention also provides a server, comprising:
[0039] As the virtual bus card online repair device described above.
[0040] The present invention adopts the above technical scheme, and the online repair method of a virtual bus card includes: monitoring the operation information of the virtual bus card; judging whether the virtual bus card is operating abnormally according to the operation information; when the virtual bus card is operating abnormally, determining the abnormal type, and reporting the abnormal type and the corresponding virtual bus card information to the server, so that the server repairs the virtual bus card according to the abnormal type. In the present invention, when the client detects that the virtual bus card has an abnormality, the client reports the abnormal type and the corresponding virtual bus card information to the server, and requests the server to repair the abnormality. The server determines the corresponding repair plan according to the abnormal type, organizes the repair instruction to be sent to the client, and the client forwards the repair instruction to the virtual bus card application for execution to restore the virtual bus card. In the present invention, the virtual bus card application of the client actively monitors the operation information of the virtual bus card. When an abnormality is found, the client actively reports the problem to the server, so that the server repairs the abnormality. The repair method has a simple process and is conducive to improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 This is a flow chart of a first embodiment of a method for online repairing a virtual bus card according to the present invention;
[0043] Figure 2 This is a flow chart of a second embodiment of a method for online repairing a virtual bus card according to the present invention;
[0044] Figure 3 This is a flow chart of a third embodiment of a method for online repairing a virtual bus card according to the present invention;
[0045] Figure 4 It is a structural schematic diagram provided by an embodiment of a virtual bus card online repair device of the present invention. DETAILED DESCRIPTION
[0046] To make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0047] Figure 1 It is a flow chart of a first embodiment of a method for online repairing a virtual bus card according to the present invention.
[0048] like Figure 1 As shown, a virtual bus card online repair method described in this embodiment includes:
[0049] S11: monitoring the operation information of the virtual bus card;
[0050] Furthermore, the operation information of the virtual bus card includes:
[0051] Status information and operation data information of the virtual bus card;
[0052] S12: judging whether the virtual bus card operates abnormally according to the operation information;
[0053] S13: When the virtual bus card operates abnormally, determine the abnormality type, and report the abnormality type and corresponding virtual bus card information to the server, so that the server repairs the virtual bus card according to the abnormality type.
[0054] Furthermore, the abnormality types include: state abnormality and data abnormality.
[0055] Furthermore, reporting the abnormal type and the corresponding virtual bus card information to the server includes:
[0056] Notify the specific application of the client terminal of the abnormal type and the corresponding virtual bus card information in the form of a transaction event;
[0057] After receiving the event notification, the specific application of the client forwards the received exception type and virtual bus card information to the external server.
[0058] Furthermore, before reporting the abnormal type and the corresponding virtual bus card information to the server, it also includes:
[0059] Send a query message to the user to determine whether the user agrees to execute the abnormality repair process;
[0060] When the user agrees to execute the abnormality repair process, the feedback information input by the user is obtained, and the feedback information together with the abnormality type and the corresponding virtual bus card information is reported to the server;
[0061] The feedback information at least includes: the station where the card was last swiped to enter or exit the station, and the time of the last entry or exit. In combination with the user's feedback information, the state of the virtual bus card is repaired, which can provide convenience for users while minimizing economic losses to the bus card company.
[0062] In the method described in this embodiment, when the user of the virtual bus card encounters a problem during use, the virtual bus card application and the mobile wallet client collaborate to proactively discover the anomaly and proactively request the server to repair it. After receiving the request for abnormal repair, the server determines the problem of the virtual bus card based on the abnormal information reported by the client and the user's feedback, and issues instructions to the client to repair the virtual bus card in response to these problems.
[0063] Specifically, the virtual bus card application described in this embodiment should have anomaly detection capability. The anomaly types are divided into two categories: virtual bus card state anomaly and virtual bus card data anomaly.
[0064] State anomalies can be detected through state changes. For example, the lock state of the virtual bus card application. The virtual bus card can only be selected and used when the lock state is unlocked. However, if the number of consecutive errors during data update exceeds three times, the virtual bus card will automatically change to the locked state. The virtual bus card application can detect state changes when such trigger conditions are met. In the same way, the PIN state of the virtual bus card will also change to the locked state if the contact execution PIN verification fails more than three times. The virtual bus card application can detect changes in the PIN state.
[0065] Data anomalies can cause virtual bus card transactions to fail. The virtual bus card application can record each time a card is selected and, after reading the transaction data of the bus card, no further deduction instructions are received from the card reader terminal. The virtual bus card application can record such situations as abnormal transactions, that is, failed card swipe transactions. To improve accuracy, the virtual card can record that if this phenomenon occurs for a specified number of consecutive times (for example, three times), it will be judged as a data anomaly.
[0066] When the virtual bus card application detects an anomaly, it can actively notify the mobile phone operating system through a transaction event (HCI Event). After receiving the event notification, the wallet application running in the mobile phone operating system forwards the detected anomaly information to the server and requests the server to repair it.
[0067] For data anomalies, since such problems can lead to transaction failures, the client can proactively ask the user whether they have recently encountered transaction failures and whether to execute the anomaly repair process before requesting the server to fix the anomaly. At the same time, the user is requested to provide feedback on the station where the card was last swiped to enter or exit the station, and the time of the last entry or exit. Combined with the user's feedback information, the server can more accurately determine the anomaly.
[0068] In this embodiment, when the client detects that the virtual bus card has an abnormality, the client reports the abnormality type and the corresponding virtual bus card information to the server, and requests the server to repair the abnormality. In this embodiment, the virtual bus card application of the client actively monitors the operation information of the virtual bus card. When an abnormality is found, the client actively reports the problem to the server so that the server can repair the abnormality. The repair method is simple and convenient, which is conducive to improving the user experience.
[0069] Figure 2 It is a flow chart of a second embodiment of a method for online repairing a virtual bus card according to the present invention.
[0070] like Figure 2 As shown, a virtual bus card online repair method described in this embodiment includes:
[0071] S21: receiving a repair request sent by the client; the repair request includes: an abnormality type and corresponding virtual bus card information;
[0072] S22: Determine a corresponding repair solution according to the abnormality type;
[0073] Further, determining a corresponding repair solution according to the abnormality type includes:
[0074] Search the pre-established abnormality type and repair solution comparison table for the repair solution corresponding to the abnormality type.
[0075] Specifically, there is a one-to-one correspondence between the exception type and the repair solution.
[0076] When the abnormal type of the virtual bus card is locked, the repair solution is to unlock the virtual bus card, use the bus card's application management key to calculate the MAC and send the application unlock instruction;
[0077] When the transaction record data in the virtual bus card contains data that cannot be parsed, the repair solution is to reset the transaction record data content and restore the virtual bus card to the state when it was initially activated;
[0078] When the PIN of the virtual bus card is locked, the repair solution is to use the PIN unlock key to calculate the PIN unlock command, and send the PIN unlock command to the virtual bus card to unlock the PIN;
[0079] When the current station location reported by the user is inconsistent with the station location recorded in the virtual bus card, the repair plan is to calculate the fee the user needs to pay based on the information of the last entry and exit reported by the user, initiate an exit or entry transaction, and restore the entry or exit status of the virtual bus card to normal, and deduct the fee the user needs to pay.
[0080] S23: Repairing the virtual bus card using the determined repair solution.
[0081] In this embodiment, after the server receives the repair request sent by the client, the server determines the corresponding repair plan according to the abnormality type, organizes the repair instruction to be sent to the client, and the client forwards the repair instruction to the virtual bus card application for execution to restore the virtual bus card. The repair method described in this embodiment is simple in process and is conducive to improving the user experience.
[0082] Figure 3 It is a flow chart of a third embodiment of a method for online repairing a virtual bus card according to the present invention.
[0083] like Figure 3 As shown, a virtual bus card online repair method described in this embodiment includes:
[0084] S31: receiving a repair request sent by a client; the repair request includes: an abnormality type and corresponding virtual bus card information;
[0085] S32: Determine a corresponding repair solution according to the abnormality type;
[0086] S33: Perform risk assessment on the repair request sent by the client;
[0087] S34: When it is determined that the repair request has a risk, refusing to repair the virtual bus card;
[0088] S35: When it is determined that the repair request does not have any risk, the virtual bus card is repaired using the determined repair solution.
[0089] The method described in this embodiment Figure 2 The difference of the method is that before using the determined repair solution to repair the virtual bus card, it also includes: making a risk judgment on the repair request sent by the client; when it is judged that the repair request has a risk, refusing to repair the virtual bus card. That is, after determining the corresponding repair solution according to the abnormality type, the method of this embodiment also needs to add risk control judgment.
[0090] In actual applications, the abnormal conditions of virtual bus cards are not necessarily caused by accidents. They may be deliberately created by malicious users in order to make profits when repairing. Therefore, the server needs to make risk judgments on the client's repair request and the type of abnormality. Only when the judgment result is that there is no risk, the repair request will be repaired, thereby reducing the possibility of malicious user attacks and avoiding economic losses to the bus card company.
[0091] Specifically, the repair request sent by the client is subjected to risk assessment. For example, the identity information of the virtual bus card is obtained based on the virtual bus card information. For a bus card with the same identity information, only two automatic repairs are allowed for the same abnormal type within a quarter. That is, for the same virtual bus card, if the same abnormal type occurs twice or less within a quarter, for example, the status abnormality is the first time that the virtual bus card occurs within the quarter, it is judged that there is no risk. If the status abnormality occurs for the second time, it is also judged that there is no risk. When the status abnormality occurs for the third time, it is judged that there is a risk. This embodiment uses a risk control mechanism to control whether to repair the abnormality, which is conducive to filtering out risky repair applications and reducing the economic losses of the bus card company.
[0092] When it is determined that the repair request does not pose a risk, the virtual bus card is repaired using the determined repair plan, that is, a corresponding repair instruction script is generated according to the instructions and rules supported by the virtual bus card, and is sent to the virtual bus card application on the client (smartphone, smart watch, etc.) for execution, thereby changing the status of the virtual bus card to a normal status.
[0093] In this embodiment, the server receives the repair request sent by the client, determines the corresponding repair plan according to the exception type, and performs risk judgment on the repair request sent by the client; when it is judged that the repair request does not have any risk, the repair instruction is sent to the client, and the client forwards the repair instruction to the virtual bus card application for execution to restore the virtual bus card. The repair method has a simple process and is conducive to improving the user experience.
[0094] Figure 4 It is a structural schematic diagram provided by an embodiment of a virtual bus card online repair device of the present invention.
[0095] like Figure 4 As shown, a virtual bus card online repair device described in this embodiment includes:
[0096] The repair request receiving module 41 is used to receive the repair request sent by the client; the repair request includes: the abnormality type and the corresponding virtual bus card information;
[0097] A repair solution determination module 42, used to determine a corresponding repair solution according to the abnormality type;
[0098] The repair execution module 43 is used to repair the virtual bus card using the determined repair solution.
[0099] The working principle of the virtual bus card online repair device described in this embodiment is similar to that described in the previous Figure 1 The working principle of the online repair method for a virtual bus card is the same and will not be repeated here.
[0100] In this embodiment, when the client detects that the virtual bus card has an abnormality, the client reports the abnormality type and the corresponding virtual bus card information to the server, and requests the server to repair the abnormality. In this embodiment, the virtual bus card application of the client actively monitors the operation information of the virtual bus card. When an abnormality is found, the client actively reports the problem to the server so that the server can repair the abnormality. The repair method is simple and convenient, which is conducive to improving the user experience.
[0101] The present invention also provides a server, comprising:
[0102] like Figure 4 The virtual bus card online repair device.
[0103] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.
[0104] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.
[0105] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0106] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0107] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0108] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0109] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0110] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0111] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A virtual bus card online repair method, characterized in that: include: Monitor the operation information of virtual bus cards; Determining whether the virtual bus card operates abnormally according to the operation information; When the virtual bus card operates abnormally, determine the abnormality type, and report the abnormality type and corresponding virtual bus card information to the server, so that the server repairs the virtual bus card according to the abnormality type; Reporting the abnormal type and the corresponding virtual bus card information to the server includes: Notify the specific application of the client terminal of the abnormal type and the corresponding virtual bus card information in the form of a transaction event; After receiving the event notification, the specific application of the client forwards the received exception type and virtual bus card information to the external server; Before reporting the abnormal type and the corresponding virtual bus card information to the server, the method further includes: Send a query message to the user to determine whether the user agrees to execute the abnormality repair process; When the user agrees to execute the abnormality repair process, the feedback information input by the user is obtained, and the feedback information together with the abnormality type and the corresponding virtual bus card information is reported to the server; The feedback information at least includes: the station where the card was last swiped to enter or exit the station, and the time of the last entry or exit; The operation information of the virtual bus card includes: Status information and operation data information of virtual bus card; The abnormality types include: state abnormality and data abnormality.
2. A virtual bus card online repair method, characterized in that: include: Receive the repair request sent by the client; The repair request includes: the abnormality type and the corresponding virtual bus card information; Determine a corresponding repair plan according to the abnormality type; Repairing the virtual bus card using the determined repair solution; Determining a corresponding repair solution according to the abnormality type includes: When the abnormal type of the virtual bus card is locked, the repair solution is to unlock the virtual bus card, use the bus card's application management key to calculate the MAC and send the application unlock instruction; When the transaction record data in the virtual bus card contains data that cannot be parsed, the repair solution is to reset the transaction record data content and restore the virtual bus card to the state when it was initially activated; When the PIN of the virtual bus card is locked, the repair solution is to use the PIN unlock key to calculate the PIN unlock command, and send the PIN unlock command to the virtual bus card to unlock the PIN; When the current station location reported by the user is inconsistent with the station location recorded in the virtual bus card, the repair plan is to calculate the fee that the user needs to pay based on the information of the last entry and exit of the user, initiate an exit or entry transaction, and restore the entry or exit status of the virtual bus card to normal, and deduct the fee that the user needs to pay; Determining a corresponding repair solution according to the abnormality type includes: Searching for a repair solution corresponding to the exception type in a pre-established comparison table of exception types and repair solutions; Before repairing the virtual bus card using the determined repair solution, the method further includes: Conduct risk assessment on repair requests sent by clients; When it is determined that the repair request has a risk, the repair of the virtual bus card is refused.
3. A virtual bus card online repair device, characterized in that: include: A repair request receiving module, used for receiving a repair request sent by a client; The repair request includes: the abnormality type and the corresponding virtual bus card information; A repair solution determination module, used to determine a corresponding repair solution according to the abnormality type; A repair execution module, used to repair the virtual bus card using the determined repair solution; Determining a corresponding repair solution according to the abnormality type includes: When the abnormal type of the virtual bus card is locked, the repair solution is to unlock the virtual bus card, use the bus card's application management key to calculate the MAC and send the application unlock instruction; When the transaction record data in the virtual bus card contains data that cannot be parsed, the repair solution is to reset the transaction record data content and restore the virtual bus card to the state when it was initially activated; When the PIN of the virtual bus card is locked, the repair solution is to use the PIN unlock key to calculate the PIN unlock command, and send the PIN unlock command to the virtual bus card to unlock the PIN; When the current station location reported by the user is inconsistent with the station location recorded in the virtual bus card, the repair plan is to calculate the fee that the user needs to pay based on the information of the last entry and exit of the user, initiate an exit or entry transaction, and restore the entry or exit status of the virtual bus card to normal, and deduct the fee that the user needs to pay; Determining a corresponding repair solution according to the abnormality type includes: Searching for a repair solution corresponding to the exception type in a pre-established comparison table of exception types and repair solutions; Before repairing the virtual bus card using the determined repair solution, the method further includes: Conduct risk assessment on repair requests sent by clients; When it is determined that the repair request has a risk, the repair of the virtual bus card is refused.
4. A server, characterized in that: include: The virtual bus card online repair device as described in claim 3.
