POS machine troubleshooting methods, devices, equipment, media, and software products

By remotely connecting and securely authenticating the cloud-based after-sales service equipment with the POS terminal, the problem of low efficiency in handling POS machine anomalies has been solved, enabling rapid and accurate identification of anomalies and improving user experience.

CN119094587BActive Publication Date: 2026-03-13CHINA CONSTRUCTION BANK +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

In existing technologies, when a POS machine malfunctions, the user needs to submit an exception description form, which makes it difficult for after-sales personnel to quickly obtain exception information, resulting in low processing efficiency and affecting user experience.

Method used

The system receives exception handling requests through cloud-based after-sales service equipment, generates target encrypted information, performs security authentication with the POS terminal, generates and verifies a verification code, establishes a remote connection, and obtains real-time status data to determine the abnormal situation.

Benefits of technology

It improves the efficiency of POS machine anomaly handling, enhances user experience, and allows for rapid acquisition of real-time POS machine status data via remote connection to accurately identify anomalies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094587B_ABST
    Figure CN119094587B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, device, medium, and program product for handling abnormal situations of a POS machine, relating to the field of communication technology. The method includes: receiving an abnormal handling request sent by a cloud after-sales client device, the abnormal handling request including target POS machine terminal identification information; determining whether to establish a remote connection with the target POS machine terminal based on the abnormal handling request; if it is determined to establish a remote connection with the target POS machine terminal, generating target encrypted information based on the target POS machine terminal identification information; sending a remote connection request to the target POS machine terminal; the remote connection request including the target encrypted information; receiving a target verification code sent by the cloud after-sales client device; verifying the target verification code to obtain a verification result; if the verification result is determined to be successful, establishing a communication connection with the target POS machine terminal and obtaining real-time status data of the target POS machine terminal, the real-time status data being used to determine abnormal situations of the target POS machine terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method, apparatus, device, medium and program product for handling abnormal situations of a POS machine. Background Technology

[0002] With the widespread adoption of electronic payments, POS machines have become an indispensable part of modern business activities and are widely used in various payment scenarios. POS machines improve transaction efficiency and security. However, in practical applications, POS machines inevitably experience various anomalies, affecting normal payments.

[0003] Currently, when a user's POS machine malfunctions, the user typically needs to submit an exception description form to the POS machine after-sales personnel. Then, the after-sales personnel must determine the cause of the malfunction based on the exception description information in the exception description form and provide a corresponding solution to handle the malfunction. This results in after-sales personnel being unable to quickly obtain the POS machine's malfunction information to determine the cause of the malfunction, leading to low efficiency in handling POS machine malfunctions and affecting the user experience. Summary of the Invention

[0004] This application provides a method, apparatus, device, medium, and program product for handling POS machine anomalies, to solve the problem that in the prior art, when a user's POS machine malfunctions, the user usually needs to submit an anomaly description form to the POS machine after-sales personnel, and then wait for the after-sales personnel to determine the cause of the anomaly based on the anomaly description information in the anomaly description form and provide corresponding solutions to handle the anomaly. This results in after-sales personnel being unable to quickly obtain the anomaly information of the POS machine to determine the cause of the POS machine anomaly, leading to low efficiency in handling POS machine anomalies and affecting the user experience.

[0005] Firstly, this application provides a method for handling abnormal situations of a POS machine, the method being applied to a cloud after-sales service terminal device, the method comprising:

[0006] Receive an exception handling request sent by the cloud after-sales client device, wherein the exception handling request includes the target POS terminal identification information;

[0007] Based on the exception handling request, determine whether to establish a remote connection with the target POS terminal;

[0008] If it is determined that a remote connection has been established with the target POS terminal, then target encrypted information is generated based on the target POS terminal identification information;

[0009] Send a remote connection request to the target POS terminal; the remote connection request includes the target encrypted information; the target encrypted information is used to instruct the target POS terminal to perform security authentication on the cloud after-sales service terminal and to generate a target verification code after successful authentication;

[0010] Receive the target verification code sent by the cloud after-sales client device;

[0011] The target check code is verified to obtain a verification result;

[0012] If the verification result is determined to be successful, a communication connection is established with the target POS terminal, and the real-time status data of the target POS terminal is obtained. The real-time status data is used to determine abnormal conditions of the target POS terminal.

[0013] In one possible design, the exception handling request includes preset exception handling information; the preset exception handling information includes any one of the following: basic exception handling, self-service exception handling, or remote assistance handling.

[0014] The step of determining whether to establish a remote connection with the target POS terminal based on the exception handling request includes:

[0015] Determine the type of the preset exception handling information;

[0016] If the preset exception handling information is determined to be either the basic exception handling or the self-service exception handling, then it is determined not to establish a remote connection with the target POS terminal.

[0017] If the preset exception handling information is determined to be remote assistance handling, then a remote connection is established with the target POS terminal.

[0018] In one possible design, generating target encrypted information based on the target POS terminal identification information includes:

[0019] A preset digital signature algorithm is used to perform a digital signature based on the target POS terminal identification information to obtain the target digital signature information;

[0020] The target encrypted information is obtained by encrypting the target digital signature information using a preset encryption algorithm.

[0021] In one possible design, the target POS terminal identification information includes sequence identification information and user identification information;

[0022] A preset digital signature algorithm is used to perform a digital signature based on the target POS terminal identification information to obtain target digital signature information, including:

[0023] Select data of a first preset number of digits from the sequence identifier information, and select data of a second preset number of digits from the user identifier information;

[0024] The data with the first preset number of bits and the data with the second preset number of bits are concatenated to obtain the target identification information;

[0025] The target identification information is digitally signed using a preset digital signature algorithm to obtain the target digital signature information.

[0026] In one possible design, the target verification code is generated based on the target POS terminal identification information;

[0027] The step of verifying the target check code to obtain a verification result includes:

[0028] The target check code is parsed using a preset parsing algorithm to obtain the information to be verified;

[0029] The information to be verified is compared with the preset information to determine whether the information to be verified is consistent with the preset information, wherein the preset information is the target POS terminal identification information;

[0030] If the information to be verified matches the preset information, the verification result is determined to be successful.

[0031] In response to the inconsistency between the information to be verified and the preset information, the verification result is determined to be a verification failure.

[0032] In one possible design, the real-time status data includes a de-identified real-time status image;

[0033] After establishing a communication connection with the target POS terminal, the method further includes:

[0034] Receive the real-time status image of the target POS terminal after it has been desensitized using a preset desensitization algorithm. The real-time status image is the image displayed on the screen of the target POS terminal in real time.

[0035] The abnormal situation of the target POS terminal is determined based on the real-time status image.

[0036] Secondly, this application provides an abnormal situation handling device for a POS machine, comprising: a receiving module for receiving an abnormal handling request sent by a cloud after-sales client device; a determining module for determining whether to establish a remote connection with the target POS machine terminal based on the abnormal handling request; a generating module for generating target encrypted information based on the target POS machine terminal identification information if it is determined that a remote connection will be established with the target POS machine terminal; a sending module for sending a remote connection request to the target POS machine terminal; the receiving module is further configured to receive the target verification code sent by the cloud after-sales client device; a verification module for verifying the target verification code to obtain a verification result; an establishing module for establishing a communication connection with the target POS machine terminal if it is determined that the verification result is successful; and an acquiring module for acquiring real-time status data of the target POS machine terminal.

[0037] Thirdly, embodiments of this application provide a cloud after-sales service terminal device, including: at least one processor, a memory, and a transceiver; the memory stores computer-executable instructions; the transceiver is used for sending and receiving data; the at least one processor executes the computer-executable instructions stored in the memory, causing the at least one processor to execute the abnormal situation handling method of the POS machine as described in the first aspect and various possible designs of the first aspect.

[0038] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions. When a processor executes the computer-executable instructions, it implements the abnormal situation handling method for the POS machine described in the first aspect and various possible designs of the first aspect.

[0039] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the abnormal situation handling method for a POS machine as described in the first aspect and various possible designs of the first aspect.

[0040] The POS machine anomaly handling method, apparatus, device, medium, and program product provided in this application receive an anomaly handling request sent by a cloud after-sales client device, the anomaly handling request including target POS machine terminal identification information; determine whether to establish a remote connection with the target POS machine terminal based on the anomaly handling request; if it is determined to establish a remote connection with the target POS machine terminal, generate target encrypted information based on the target POS machine terminal identification information; send a remote connection request to the target POS machine terminal, the remote connection request including the target encrypted information; the target encrypted information is used to instruct the target POS machine terminal to perform security authentication on the cloud after-sales service terminal device and generate a target verification code after successful authentication; receive the target verification code sent by the cloud after-sales client device; verify the target verification code to obtain a verification result; if the verification result is determined to be successful, establish a communication connection with the target POS machine terminal and obtain real-time status data of the target POS machine terminal, the real-time status data being used to determine the anomaly status of the target POS machine terminal. Upon receiving an exception handling request from the cloud after-sales client device, which includes the target POS terminal identification information, the corresponding target POS terminal can be identified. Further, the exception handling request determines whether to establish a remote connection with the target POS terminal corresponding to the target POS terminal identification information. If it is determined that a remote connection should be established, to ensure the security of the remote connection, target encrypted information is generated based on the target POS terminal identification information, and a remote connection request carrying the target encrypted information is sent to the target POS terminal. The target encrypted information is used by the target POS terminal to perform security authentication with the cloud after-sales server device. After successful authentication, the target POS terminal generates a target verification code. The cloud after-sales server device receives the target verification code sent by the cloud after-sales client device, verifies the target verification code, and determines the verification result.Therefore, when the verification result is successful, the cloud after-sales service device establishes a communication connection with the target POS terminal to obtain its real-time status data. Based on this data, it determines the abnormal situation of the target POS terminal. Compared to generating an anomaly description form by the user and sending it to after-sales personnel, the after-sales personnel analyze the cause of the anomaly based on the user's description and propose solutions. They then determine whether to remotely connect with the target POS terminal based on the anomaly handling request, and perform security verification using the target encrypted information and verification code. This establishes a remote connection, allowing for accurate and rapid acquisition of the target POS terminal's real-time status data. Based on this data, the anomaly situation can be determined, improving the efficiency of handling POS terminal anomaly information and enhancing the user experience. Attached Figure Description

[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0042] Figure 1 This is an application scenario diagram of the abnormal situation handling method for a POS machine applicable to the embodiments of this application;

[0043] Figure 2 A flowchart illustrating an abnormal situation handling method for a POS machine provided in an embodiment of this application;

[0044] Figure 3 A flowchart illustrating a method for handling abnormal situations of a POS machine according to another embodiment of this application;

[0045] Figure 4 A schematic diagram of the abnormal situation handling device for a POS machine provided in an embodiment of this application;

[0046] Figure 5 This is a schematic diagram of the structure of a cloud after-sales service terminal device provided in an embodiment of this application.

[0047] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0048] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0049] The collection, storage, use, processing, transmission, provision, and disclosure of financial data or user data involved in the technical solution of this application all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0050] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.

[0051] To clearly understand the technical solution of this application, the solutions of the prior art will be described in detail first.

[0052] Currently, when a user's POS machine malfunctions, the process primarily involves the user writing an exception description form and submitting it to the local POS acquiring after-sales personnel. These personnel then forward the form to the POS machine's technical after-sales personnel. The technical after-sales personnel analyze the cause of the malfunction based on the exception description and provide corresponding solutions. However, the exception description may sometimes be unclear, requiring the user to provide further information. This can hinder the technical after-sales personnel from quickly obtaining the necessary information to determine the cause of the POS machine malfunction, leading to low efficiency in handling POS machine malfunctions and negatively impacting the user experience.

[0053] To address the aforementioned technical issues, this application proposes the following technical concept: Instead of relying on user-submitted exception description forms to describe POS machine anomalies and advance subsequent processing, this application determines that a remote connection is needed based on user-triggered exception handling requests. It then uses digital signatures and verification codes to perform bidirectional confirmation between the cloud after-sales service device and the target POS terminal. Upon successful confirmation, a remote connection is established to obtain real-time status data of the target POS terminal, used to determine the target POS terminal's anomaly. Specifically, the cloud after-sales service device receives an exception handling request from the cloud after-sales client device and determines whether to establish a remote connection with the target POS terminal. If the target POS terminal needs to establish a remote connection with the cloud after-sales service device, to ensure the security of the remote connection, the cloud after-sales service device and the target POS terminal begin security verification. The cloud after-sales service device generates target encrypted information based on the target POS terminal's identifier information and includes this encrypted information in the remote connection request, sending it to the target POS terminal. The target POS terminal performs security authentication based on the received target encrypted information, and upon successful security authentication... A target verification code is generated and displayed on the target POS machine's screen. The user inputs this code into their cloud after-sales client device. The cloud after-sales server device receives the verification code from the client device and verifies it. If the verification passes, a secure remote connection is established between the target POS machine and the server. This allows the server to obtain real-time status data of the target POS machine and determine any anomalies. This remote connection enables rapid acquisition of POS machine anomaly information, improving the efficiency of handling POS machine anomalies and enhancing the user experience.

[0054] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0055] Figure 1 This is an application scenario diagram of the POS machine abnormal situation handling method applicable to the embodiments of this application, such as... Figure 1As shown. The system corresponding to the POS machine exception handling method in this embodiment may include: a cloud after-sales client device 11, a cloud after-sales server device 12, and a target POS terminal 13. A user triggers an exception handling request on the user exception handling interface of the cloud after-sales client device 11. The cloud after-sales client device 11 sends the exception handling request to the cloud after-sales server device 12, and the exception handling request includes the target POS terminal identification information. The cloud after-sales server device 12 receives the exception handling request and determines whether the target POS terminal 13 needs to establish a remote connection. If it is determined that the target POS terminal 13 needs to establish a remote connection, the cloud after-sales server device 12 generates target encrypted information based on the target POS terminal identification information and sends a remote connection request to the target POS terminal 13, which includes the target encrypted information. After receiving the target encrypted information, the target POS terminal 13 performs security authentication based on the target encrypted information, and generates a target verification code after successful security authentication, which is then displayed on the screen of the target POS terminal 13. The user inputs the target verification code displayed on the screen of the target POS terminal 13 into the cloud after-sales client device 11. The cloud after-sales server device 12 receives the target verification code sent by the cloud after-sales client device 11 and verifies it to obtain the verification result. When the verification result is successful, the cloud after-sales server device 12 and the target POS terminal 13 establish a communication connection. The cloud after-sales server device 12 obtains the real-time status data of the target POS terminal 13 and determines any abnormalities in the target POS terminal 13 based on the real-time status data.

[0056] Figure 2 A flowchart of an abnormal situation handling method for a POS machine provided in an embodiment of this application is shown below. Figure 2 As shown, the execution subject of this embodiment is a POS machine exception handling device. This POS machine exception handling device can be implemented through a computer program, or through a medium storing the relevant computer program, such as a USB flash drive and / or optical disc; alternatively, it can be implemented through a physical device integrating or installing the relevant computer program, such as a chip, electronic device, or cloud after-sales service terminal device. The POS machine exception handling method provided in this embodiment includes the following steps:

[0057] S201 receives an exception handling request sent by the cloud after-sales client device.

[0058] The exception handling request includes the target POS terminal identification information. This information identifies the target POS terminal and includes at least one unique identifier, such as its serial number, and may also include information that maps to this unique identifier. The target POS terminal is the POS terminal for which exception handling is required.

[0059] Specifically, in this embodiment, the user triggers an exception handling request through the user exception handling interface of the cloud after-sales client device, thereby the cloud after-sales client device sends the exception handling request to the cloud after-sales server device.

[0060] Understandably, users can access the user error handling interface of the cloud after-sales client device by scanning the error handling QR code attached to the target POS terminal using a pre-set APP or mini-program.

[0061] The preset APP or mini-program is an APP or mini-program that is compatible with the target POS terminal, and this embodiment does not impose any restrictions.

[0062] S202, determine whether to establish a remote connection with the target POS terminal based on the exception handling request.

[0063] Specifically, in this embodiment, the exception handling request may include at least two preset request types. The cloud after-sales service device determines whether it is necessary to establish a remote connection with the target POS terminal based on the preset request types included in the exception handling request. If the request type is used to indicate a remote connection, it is determined to establish a remote connection with the target POS terminal. If the request type is not used to indicate a remote connection, it is determined not to establish a remote connection with the target POS terminal.

[0064] Optionally, the preset at least two request types can be remote connection requests and online exception handling requests, or other request types, which are not limited in this embodiment.

[0065] S203, if it is determined that a remote connection has been established with the target POS terminal, target encrypted information is generated based on the target POS terminal identification information.

[0066] Among them, the target encrypted information is encrypted information generated based on the target POS terminal identification information, which is used to verify whether the cloud after-sales service terminal device has information to remotely connect with the target POS terminal.

[0067] Specifically, in this embodiment, the cloud after-sales service device uses a preset key to encrypt the target POS terminal identification information, thereby generating target encrypted information.

[0068] Optionally, the cloud-based after-sales service device can use a preset key to encrypt the target POS terminal identification information and preset random information, thereby generating the target encrypted information. Optionally, the preset key can be a financial-grade key, but this embodiment does not impose any limitations.

[0069] Among them, the financial-grade key is a critical tool for ensuring data security. Its design and use meet the high standards and stringent requirements of the financial industry, and it includes encryption algorithms and preset encryption rules. Optionally, the preset encryption rules can be set independently according to needs, and this embodiment does not impose any limitations.

[0070] Optionally, the preset random information is preset random information used to generate the target encrypted information, which may be a timestamp, etc., and is not limited in this embodiment.

[0071] It is understandable that the target POS terminal identification information can be used as the original information for encryption, or the target POS terminal identification information and preset random information can be used as the original information for encryption.

[0072] S204, Send a remote connection request to the target POS terminal.

[0073] The remote connection request includes target encrypted information. This target encrypted information is used to instruct the target POS terminal to perform security authentication on the cloud after-sales service device and to generate a target verification code upon successful authentication.

[0074] Specifically, in this embodiment, after the cloud after-sales service device generates the target encrypted information, it sends a remote connection request containing the target encrypted information to the target POS terminal.

[0075] After receiving the target encrypted information, the target POS terminal uses a preset key to decrypt and verify the target encrypted information. After successful verification, the target POS terminal generates a target verification code and displays it on the target POS terminal's screen.

[0076] The target verification code is used to verify whether the cloud after-sales service terminal device has a verification code that can remotely connect with the target POS terminal.

[0077] Understandably, both the cloud-based after-sales service device and each target POS terminal have corresponding preset keys, meaning they share the same preset encryption and decryption rules. The cloud-based after-sales service device can remotely connect to multiple target POS terminals, each with its own preset key. Therefore, the cloud-based after-sales service device can contain multiple preset keys, each corresponding to a different target POS terminal. The cloud-based after-sales service device uses these corresponding keys to perform security verification with the target POS terminals.

[0078] S205 receives the target verification code sent by the cloud after-sales client device.

[0079] Specifically, in this embodiment, after the target POS terminal passes the verification, it generates a target verification code and displays it on the target POS terminal's screen. The user can input the target verification code displayed on the target POS terminal into the exception handling interface of the user's cloud after-sales client device, thereby the cloud after-sales client device sends the target verification code to the cloud after-sales server device.

[0080] S206, Verify the target check code to obtain the verification result.

[0081] Specifically, in this embodiment, the cloud after-sales service terminal device verifies the target verification code using a preset verification algorithm to obtain the verification result.

[0082] S207 If the verification result is confirmed to be successful, a communication connection is established with the target POS terminal, and the real-time status data of the target POS terminal is obtained.

[0083] Real-time status data is used to determine abnormal situations in the target POS terminal.

[0084] Specifically, in this embodiment, when the cloud after-sales service device determines that the verification result is successful, it establishes a remote communication connection with the target POS terminal using a preset encryption protocol. After establishing the remote communication connection, the target POS terminal sends real-time status data to the cloud after-sales service device.

[0085] The preset encryption protocol can be a network protocol, used for secure remote login and file transfer between computers.

[0086] The POS machine abnormality handling method provided in this application includes: receiving an abnormality handling request sent by a cloud after-sales client device, the abnormality handling request including target POS machine terminal identification information; determining whether to establish a remote connection with the target POS machine terminal based on the abnormality handling request; if it is determined to establish a remote connection with the target POS machine terminal, generating target encrypted information based on the target POS machine terminal identification information; sending a remote connection request to the target POS machine terminal; the remote connection request including target encrypted information; the target encrypted information is used to instruct the target POS machine terminal to perform security authentication on the cloud after-sales server device and generate a target verification code after successful authentication; receiving the target verification code sent by the cloud after-sales client device; verifying the target verification code to obtain a verification result; if the verification result is determined to be successful, establishing a communication connection with the target POS machine terminal and obtaining real-time status data of the target POS machine terminal, the real-time status data being used to determine the abnormality of the target POS machine terminal. Because an abnormality handling request is received from the cloud after-sales client device, and the abnormality handling request includes target POS machine terminal identification information, the corresponding target POS machine terminal can be determined based on the target POS machine terminal identification information. Furthermore, based on the exception handling request, it is determined whether to establish a remote connection with the target POS terminal corresponding to the target POS terminal identification information. If it is determined that a remote connection needs to be established with the target POS terminal, to ensure the security of the remote connection, target encrypted information is generated based on the target POS terminal identification information, and a remote connection request carrying the target encrypted information is sent to the target POS terminal. The target encrypted information is used by the target POS terminal to perform security authentication with the cloud after-sales service device, and after successful authentication, the target POS terminal generates a target verification code. The cloud after-sales service device receives the target verification code sent by the cloud after-sales client device, verifies the target verification code, and determines the verification result. Therefore, when the verification result is successful, the cloud after-sales service device establishes a communication connection with the target POS terminal to obtain its real-time status data. Based on this data, it determines the abnormal situation of the target POS terminal. Compared to generating an anomaly description form by the user and sending it to after-sales personnel, the after-sales personnel analyze the cause of the anomaly based on the user's description and propose solutions. They then determine whether to remotely connect with the target POS terminal based on the anomaly handling request, and perform security verification using the target encrypted information and verification code. This establishes a remote connection, allowing for accurate and rapid acquisition of the target POS terminal's real-time status data. Based on this data, the anomaly situation can be determined, improving the efficiency of handling POS terminal anomaly information and enhancing the user experience.

[0087] As an optional implementation, based on the above embodiments, the exception handling request includes preset exception handling information; the preset exception handling information includes any one of the following: basic exception handling, self-service exception handling, or remote assistance handling.

[0088] Determining whether to establish a remote connection with the target POS terminal based on the exception handling request includes:

[0089] Determine the type of preset exception handling information;

[0090] If the preset exception handling information is determined to be either basic exception handling or self-service exception handling, then it is determined not to establish a remote connection with the target POS terminal.

[0091] If the preset exception handling information is determined to be remote assistance handling, then a remote connection is established with the target POS terminal.

[0092] The preset exception handling information describes the exception handling type. Basic exception handling indicates the operation of performing basic exception handling. Self-service exception handling indicates the operation of performing self-service exception handling. Remote assistance handling indicates the operation of performing remote connection.

[0093] Specifically, in this embodiment, the cloud after-sales service device obtains and views the preset exception handling information contained in the exception handling request. If the preset exception handling information is basic exception handling or self-service exception handling, it means that the cloud after-sales service device does not establish a remote connection with the target POS terminal. If the preset exception handling information is remote assistance handling, it means that the cloud after-sales service device needs to establish a remote connection with the target POS terminal.

[0094] The POS machine anomaly handling method provided in this application includes an anomaly handling request comprising preset anomaly handling information. This preset anomaly handling information includes any one of the following: basic anomaly handling, self-service anomaly handling, or remote assistance handling. The method determines whether to establish a remote connection with the target POS terminal based on the anomaly handling request, including: determining the type of the preset anomaly handling information; if the preset anomaly handling information is determined to be basic anomaly handling or self-service anomaly handling, then it is determined not to establish a remote connection with the target POS terminal; if the preset anomaly handling information is determined to be remote assistance handling, then it is determined to establish a remote connection with the target POS terminal. Because the anomaly handling request includes preset anomaly handling information, which includes any one of basic anomaly handling, self-service anomaly handling, or remote assistance handling, determining the type of preset anomaly handling information allows for a quick determination of whether to perform a remote connection operation. This avoids costs associated with unnecessary remote connections and also reduces network bandwidth usage.

[0095] As an optional implementation, based on the above embodiments, target encrypted information is generated based on the target POS terminal identification information, including:

[0096] A preset digital signature algorithm is used to perform a digital signature based on the target POS terminal identification information in order to obtain the target digital signature information;

[0097] The target encrypted information is obtained by using a preset encryption algorithm and encrypting it based on the target digital signature information.

[0098] The target digital signature information is digital signature information generated based on the target POS terminal identification information.

[0099] Specifically, in this embodiment, the cloud after-sales service device uses a preset digital encryption algorithm to digitally sign the target POS terminal identification information, thereby obtaining the target digital signature information. Further, the target digital signature information is encrypted using a preset encryption algorithm to obtain the target encrypted information.

[0100] Optionally, the cloud-based after-sales service equipment uses a preset digital encryption algorithm to digitally sign the target POS terminal identification information and preset random information, thereby obtaining the target digital signature information. Further, the target digital signature information is encrypted using a preset encryption algorithm to obtain the target encrypted information.

[0101] For example, when performing a digital signature based on the target POS terminal identification information, the serial number of the target POS terminal can be used for digital signing to obtain the target digital signature information. Alternatively, the target digital signature information can be generated by adding preset random information, such as adding a timestamp to the serial number of the target POS terminal.

[0102] It is understandable that the target POS terminal identification information can be identification information other than the serial number, or multiple target POS terminal identification information or multiple target POS terminal identification information can be combined with preset random information to generate target digital signature information.

[0103] Optionally, the preset digital signature algorithm can be SHA-256 combined with RSA, or other digital signature algorithms; this embodiment does not limit the specific algorithm used.

[0104] In the SHA-256 combined with RSA digital signature generation method, SHA-256 is used as the hash function to generate the message digest, while RSA is used to generate and verify the digital signature.

[0105] Optionally, the preset encryption algorithm can be SM4 or other encryption algorithms, which is not limited in this embodiment.

[0106] SM4 is a symmetric encryption algorithm released by the State Cryptography Administration of China.

[0107] The POS machine anomaly handling method provided in this application generates target encrypted information based on the target POS machine terminal identification information, including: performing a digital signature using a preset digital signature algorithm and based on the target POS machine terminal identification information to obtain target digital signature information; and encrypting the target digital signature information using a preset encryption algorithm to obtain target encrypted information. Because the cloud after-sales service device performs a digital signature based on the target POS machine terminal identification information and using a preset digital signature algorithm, it ensures that the information contained in the target digital signature information will not be tampered with during transmission. Furthermore, the preset encryption information is used to encrypt the digital signature information, further ensuring the security of the information during transmission.

[0108] As an optional implementation, based on the above embodiments, the target POS terminal identification information includes sequence identification information and user identification information;

[0109] A preset digital signature algorithm is used to perform a digital signature based on the target POS terminal identification information to obtain the target digital signature information, including:

[0110] Select data of a first preset number of digits from the sequence identifier information, and select data of a second preset number of digits from the user identifier information;

[0111] The data with the first preset number of digits and the data with the second preset number of digits are concatenated to obtain the target identification information;

[0112] A preset digital signature algorithm is used to digitally sign the target identifier information to obtain the target digital signature information.

[0113] The sequence identifier information is used to uniquely identify the target POS terminal, and can be the serial number of the target POS terminal. The user identifier information is the identifier information corresponding to the user who has a mapping relationship with the target POS terminal, and can be the user identifier code.

[0114] It is understandable that there is a one-to-one mapping relationship between the target POS terminal and the user who owns the target POS terminal.

[0115] The selection of the first preset number of bits is determined based on the number of bits of data in the sequence identifier information that can uniquely identify the target POS terminal.

[0116] The selection of the second preset number of digits is determined based on the number of digits in the user identification code that can uniquely identify a user.

[0117] Specifically, in this embodiment, when concatenating the data with the first preset number of digits and the data with the second preset number of digits, the data with the first preset number of digits and the data with the second preset number of digits can be directly concatenated to generate target identification information.

[0118] Alternatively, other splicing methods can be used, but this embodiment does not limit this method.

[0119] The POS machine anomaly handling method provided in this application includes a target POS machine terminal identification information comprising sequence identifier information and user identifier information. The method employs a preset digital signature algorithm and performs a digital signature based on the target POS machine terminal identification information to obtain target digital signature information. This includes: selecting data of a first preset number of bits from the sequence identifier information and data of a second preset number of bits from the user identifier information; concatenating the first preset number of bits and the second preset number of bits to obtain target identifier information; and performing a digital signature on the target identifier information using the preset digital signature algorithm to obtain target digital signature information. By selecting preset numbers of bits from the sequence identifier information and user identifier information for concatenation and then digitally signing the concatenated target identifier information, the diversity of information contained in the target digital signature information is increased, enabling multiple verifications. Furthermore, generating a digital signature by concatenating data of preset numbers reduces the amount of data processed compared to using complete identifier information, thereby increasing the speed of digital signature generation.

[0120] As an optional implementation, based on the above embodiments, the target verification code is generated based on the target POS terminal identification information;

[0121] The target checksum is verified to obtain the verification result, including:

[0122] The target check code is parsed using a preset parsing algorithm to obtain the information to be verified;

[0123] The information to be verified is compared with the preset information to determine whether the information to be verified is consistent with the preset information, which is the target POS terminal identification information.

[0124] If the information to be verified matches the preset information, the verification result is determined to be successful.

[0125] If the information to be verified is inconsistent with the preset information, the verification result is determined to be verification failure.

[0126] The target verification code is generated by encrypting the target POS terminal identification information using the encryption algorithm in the preset key, and then converting the encrypted information into digital form according to the preset rules in the preset key.

[0127] Optionally, the target check code can be 8-10 bits or other numbers; this embodiment does not impose any limitation.

[0128] Specifically, in this embodiment, the cloud after-sales service terminal device uses a preset parsing algorithm to parse the target verification code, thereby obtaining the information to be verified. Since the target verification code is generated from the target POS terminal identification information according to preset rules, the information to be verified obtained after parsing is the target POS terminal identification information. The information to be verified is then compared with the preset information to obtain the verification result. If the information to be verified and the preset information are consistent, the verification result is successful; if they are inconsistent, the verification result is unsuccessful.

[0129] Optionally, the preset parsing algorithm is generated based on the corresponding algorithm in the preset key, which is not limited in this embodiment.

[0130] The POS machine anomaly handling method provided in this application involves generating a target verification code based on the target POS machine terminal identification information; verifying the target verification code to obtain a verification result, including: parsing the target verification code using a preset parsing algorithm to obtain information to be verified; comparing the information to be verified with preset information to determine whether the information to be verified is consistent with the preset information, where the preset information is the target POS machine terminal identification information; determining that the verification result is successful if the information to be verified is consistent with the preset information; and determining that the verification result is unsuccessful if the information to be verified is inconsistent with the preset information. By parsing the target verification code generated based on the target POS machine terminal identification information and comparing the parsed information to be verified with the preset information, the communication security between the target POS machine terminal and the cloud after-sales platform is ensured.

[0131] As an optional implementation, based on the above embodiments, the real-time status data includes a de-identified real-time status image;

[0132] After establishing a communication connection with the target POS terminal, the method also includes:

[0133] Receive the real-time status image of the target POS terminal after it has been desensitized using a preset desensitization algorithm. The real-time status image is the image displayed on the screen of the target POS terminal in real time.

[0134] Determine the abnormal status of the target POS terminal based on real-time status images.

[0135] The preset desensitization algorithm can be any algorithm that replaces or encrypts sensitive information, and this embodiment is not limited to any particular algorithm. Specifically, in this embodiment, after the cloud after-sales service device establishes a communication connection with the target POS terminal, the target POS terminal uses the preset desensitization algorithm to desensitize the sensitive information in the real-time status image, and sends the desensitized real-time status image to the cloud after-sales service device. The cloud after-sales service device analyzes the abnormal situation of the target POS terminal based on the acquired real-time status image and determines the abnormal situation of the target POS terminal.

[0136] Furthermore, the cloud-based after-sales service equipment can directly determine whether the target POS terminal is experiencing abnormal crashes based on continuous real-time status images of the target POS terminal.

[0137] Optionally, the cloud after-sales service terminal device acquires continuous real-time status images of the target POS terminal, preprocesses each frame of the real-time status image using a preset image processing algorithm, inputs the preprocessed real-time status image into a pre-trained anomaly recognition model for anomaly recognition, and outputs the anomaly status based on the anomaly recognition result.

[0138] The preset image processing algorithm can be image feature extraction, etc., and is not limited in this embodiment.

[0139] Optionally, the pre-trained anomaly recognition model can be a convolutional neural network or other models; this embodiment does not impose any limitations.

[0140] The POS machine anomaly handling method provided in this application includes real-time status data comprising an anonymized real-time status image. After establishing a communication connection with the target POS terminal, the method further includes: receiving the real-time status image of the target POS terminal after anonymization using a preset anonymization algorithm, wherein the real-time status image is an image displayed on the target POS terminal's screen in real time; and determining the anomaly of the target POS terminal based on the real-time status image. Since the target POS terminal may contain sensitive information of the target user, the target POS terminal uses a preset anonymization algorithm to anonymize the real-time status image and sends it to a cloud after-sales service device. The cloud after-sales service device then analyzes the received real-time status image sent by the target POS terminal to determine the anomaly, thus improving the efficiency of handling target POS terminal anomalies.

[0141] As an optional implementation, based on the above embodiments, after determining the type of preset exception handling information, the method further includes:

[0142] If the preset exception handling information is determined to be the basic exception handling, the preset basic exception handling solution will be sent to the cloud after-sales client device and displayed.

[0143] If the preset exception handling information is determined to be self-service exception handling, then the after-sales personnel online service will be activated.

[0144] Specifically, in this embodiment, if the cloud after-sales service terminal device determines that the preset exception handling information is the basic exception handling, it sends the preset basic exception handling solution to the cloud after-sales client device. The cloud after-sales client device receives and displays the preset basic exception handling solution. If the cloud after-sales service terminal device determines that the preset exception handling information is self-service exception handling, it starts the online service and assigns online after-sales personnel to interact with the target user. During the interaction, if the online after-sales personnel cannot resolve the exception situation of the target POS terminal, they can trigger an exception handling request containing the preset exception handling information as remote assistance.

[0145] The POS machine anomaly handling method provided in this application, after determining the type of preset anomaly handling information, further includes: if the preset anomaly handling information is determined to be basic anomaly handling, then sending and displaying the preset basic anomaly handling solution to the cloud after-sales client device; if the preset anomaly handling information is determined to be self-service anomaly handling, then activating online after-sales personnel service. Because different handling responses are implemented based on different preset anomaly handling information, for basic anomaly issues, the preset basic anomaly handling solution can be directly sent to the target user, allowing the target user to quickly resolve the problem. For issues requiring communication with after-sales personnel, online after-sales personnel service is activated, thus providing targeted assistance to the target user, thereby improving the efficiency of handling POS machine anomalies and enhancing the user experience.

[0146] Figure 3 A flowchart of an abnormal situation handling method for a POS machine provided in another embodiment of this application is shown below. Figure 3 As shown, the execution entity in this embodiment is a POS machine exception handling system. This system includes: a cloud after-sales service terminal device, a cloud after-sales client device, and a target POS machine terminal. The exception handling method provided in this embodiment includes the following steps:

[0147] S301, the cloud after-sales service terminal device receives an exception handling request sent by the cloud after-sales client device.

[0148] The exception handling request includes the target POS terminal identification information and preset exception handling information. The preset exception handling information includes any one of the following: basic exception handling, self-service exception handling, or remote assistance handling.

[0149] S302, the cloud after-sales service terminal device determines the type of preset exception handling information based on the exception handling request.

[0150] S303 If the cloud after-sales service terminal device determines that the preset exception handling information is the basic exception handling, it will send the preset basic exception handling solution to the cloud after-sales client device.

[0151] S304, the cloud after-sales client device will display the preset basic exception handling and resolution methods.

[0152] S305, if the cloud-based after-sales service terminal device determines that the preset exception handling information is self-service exception handling, then it will activate the online service for after-sales personnel.

[0153] S306, If the cloud after-sales service terminal device determines that the preset abnormal handling information is remote assistance handling, it generates target encrypted information based on the target POS terminal identification information.

[0154] S307, the cloud after-sales service terminal device sends a remote connection request, including the target encrypted information, to the target POS terminal.

[0155] S308, the target POS terminal performs security authentication based on the target encrypted information.

[0156] S309: When the target POS terminal security authentication fails, an authentication failure alarm message is sent to the cloud after-sales service terminal device.

[0157] Simultaneously, while sending an authentication failure alarm message, the target POS terminal rejects the remote connection request.

[0158] S310: When the target POS terminal successfully completes security authentication, the target POS terminal generates a target verification code and displays it on the target POS terminal's screen.

[0159] S311, the cloud after-sales service terminal device receives the target verification code sent by the cloud after-sales client device.

[0160] The input of the target verification code involves the user entering the target verification code displayed on the target POS terminal screen into the user interface of the cloud after-sales client device.

[0161] S312, the cloud after-sales service terminal device verifies the target verification code to obtain the verification result.

[0162] S313, once the cloud after-sales service terminal device verification is successful, a communication connection is established with the target POS terminal.

[0163] S314, the target POS terminal sends de-identified real-time status data to the cloud after-sales service device.

[0164] S315, the cloud-based after-sales service terminal device determines the abnormal situation of the target POS terminal based on real-time status images.

[0165] Figure 4 This is a schematic diagram of the structure of an abnormal situation handling device for a POS machine provided in an embodiment of this application, as shown below. Figure 4 As shown, the POS machine abnormality handling device provided in this embodiment is located in the cloud after-sales service terminal device. The POS machine abnormality handling device 40 provided in this embodiment includes: receiving module 41, determining module 42, generating module 43, sending module 44, verifying module 45, establishing module 46, and obtaining module 47.

[0166] The system includes: a receiving module 41 for receiving an exception handling request from the cloud after-sales client device; a determining module 42 for determining whether to establish a remote connection with the target POS terminal based on the exception handling request; a generating module 43 for generating target encrypted information based on the target POS terminal identification information if a remote connection with the target POS terminal is established; a sending module 44 for sending a remote connection request to the target POS terminal; a receiving module 41 for receiving a target verification code from the cloud after-sales client device; a verification module 45 for verifying the target verification code to obtain a verification result; an establishing module 46 for establishing a communication connection with the target POS terminal if the verification result is successful; and an acquiring module 47 for acquiring real-time status data of the target POS terminal.

[0167] Optionally, the exception handling request includes preset exception handling information; the preset exception handling information includes any one of the following: basic exception handling, self-service exception handling, or remote assistance handling.

[0168] Accordingly, the determining module 42, when determining whether to establish a remote connection with the target POS terminal based on the exception handling request, is specifically used to: determine the type of the preset exception handling information; if the preset exception handling information is determined to be basic exception handling or self-service exception handling, then determine not to establish a remote connection with the target POS terminal; if the preset exception handling information is determined to be remote assistance handling, then determine to establish a remote connection with the target POS terminal.

[0169] Optionally, when generating target encrypted information based on the target POS terminal identification information, the generation module 43 is specifically used to: use a preset digital signature algorithm and perform digital signature based on the target POS terminal identification information to obtain target digital signature information; use a preset encryption algorithm and encrypt based on the target digital signature information to obtain target encrypted information.

[0170] Optionally, the target POS terminal identification information includes serial number identification information and user identification information.

[0171] Accordingly, when generating module 43 performs digital signature based on target POS terminal identification information using a preset digital signature algorithm, it is specifically used to: select data of a first preset number of bits from sequence identification information and select data of a second preset number of bits from user identification information; concatenate the data of the first preset number of bits and the data of the second preset number of bits to obtain target identification information; and perform digital signature on target identification information using a preset digital signature algorithm to obtain target digital signature information.

[0172] Optionally, the target verification code is generated based on the target POS terminal identification information.

[0173] Accordingly, when verifying the target verification code to obtain a verification result, the verification module 45 is specifically used to: parse the target verification code using a preset parsing algorithm to obtain the information to be verified; compare the information to be verified with preset information to determine whether the information to be verified is consistent with the preset information, wherein the preset information is the target POS terminal identification information; in response to the information to be verified being consistent with the preset information, determine that the verification result is successful; in response to the information to be verified being inconsistent with the preset information, determine that the verification result is unsuccessful.

[0174] Optionally, the real-time status data includes de-identified real-time status images.

[0175] Accordingly, the receiving module 41 is used to receive, after establishing a communication connection with the target POS terminal, a real-time status image of the target POS terminal after it has been de-identified using a preset de-identification algorithm. The real-time status image is the image displayed on the target POS terminal's screen in real time. The determining module 42 is used to determine abnormal conditions of the target POS terminal based on the real-time status image.

[0176] Optionally, the determining module 42 is also used to determine the type of the preset exception handling information. If the preset exception handling information is determined to be basic exception handling, the preset basic exception handling solution is sent to the cloud after-sales client device and displayed. If the preset exception handling information is determined to be self-service exception handling, the after-sales personnel online service is started.

[0177] The POS machine abnormal situation handling device provided in this application embodiment can be used to execute the technical solution of the POS machine abnormal situation handling method in the above embodiment. Its implementation principle and technical effect are similar, and will not be repeated here.

[0178] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software through processing element calls; they can be implemented entirely in hardware; or some modules can be implemented by processing element calls to software, while others are implemented in hardware.

[0179] Figure 5 This is a schematic diagram of the structure of a cloud after-sales service terminal device provided in one embodiment of this application. Figure 5 As shown, the electronic device 50 may include: a processor 51, a memory 52, and a transceiver 53.

[0180] The system includes a memory 52 that stores computer-executed instructions; a transceiver 53 for sending and receiving data; and a processor 51 that executes the computer-executed instructions stored in the memory 52 to implement the POS machine exception handling method provided in any of the above embodiments. Related explanations can be understood by referring to the descriptions and effects corresponding to the steps in the accompanying drawings, and will not be elaborated upon here.

[0181] The processor 51 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0182] The memory 52 is connected to the processor 51 via the system bus and completes communication between them. The memory 52 is used to store computer program instructions.

[0183] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the diagram, but this does not indicate that there is only one bus or one type of bus. Transceivers are used to enable communication between database access devices and other computers (e.g., clients, read-write libraries, and read-only libraries). Memory may include random access memory (RAM) and may also include non-volatile memory.

[0184] The electronic device provided in this application embodiment can be the terminal device described in the above embodiments.

[0185] This application also provides a chip for executing instructions, which is used to implement the technical solution of the POS machine abnormal situation handling method in the above embodiments.

[0186] This application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed on a computer, the computer performs the technical solution of the abnormal situation handling method of the POS machine described in the above embodiment.

[0187] This application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When the at least one processor executes the computer program, it can implement the technical solution of the abnormal situation handling method of the POS machine in the above embodiments.

[0188] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.

[0189] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to implement the solution of this embodiment according to actual needs.

[0190] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The unit composed of the above modules can be implemented in hardware or in the form of hardware plus software functional units.

[0191] The integrated modules described above, implemented as software functional modules, can be stored in a computer-readable storage medium. These software functional modules, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods of the various embodiments of this application.

[0192] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0193] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0194] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0195] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0196] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0197] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0198] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0199] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0200] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0201] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0202] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for handling abnormal situations of a POS machine, characterized in that, The method is applied to cloud after-sales service equipment, and the method includes: Receive an exception handling request sent by the cloud after-sales client device, wherein the exception handling request includes the target POS terminal identification information; Based on the exception handling request, determine whether to establish a remote connection with the target POS terminal; wherein, the exception handling request includes at least two preset request types, the at least two preset request types including: remote connection request and online exception handling request; If it is determined that a remote connection has been established with the target POS terminal, target encrypted information is generated based on the target POS terminal identification information; wherein, the target encrypted information is used to verify whether the cloud after-sales service terminal device has information for remote connection with the target POS terminal; A remote connection request is sent to the target POS terminal; the remote connection request includes the target encrypted information; the target encrypted information is used to instruct the target POS terminal to perform security authentication on the cloud after-sales service terminal and generate a target verification code after successful authentication; wherein, the target verification code is used to verify whether the cloud after-sales service terminal has a verification code for remote connection with the target POS terminal; Receive the target verification code sent by the cloud after-sales client device; The target check code is verified to obtain a verification result; If the verification result is determined to be successful, a communication connection is established with the target POS terminal, and the real-time status data of the target POS terminal is obtained. The real-time status data is used to determine abnormal conditions of the target POS terminal. The real-time status data includes real-time status images after desensitization processing; After establishing a communication connection with the target POS terminal, the method further includes: Receive the real-time status image of the target POS terminal after it has been desensitized using a preset desensitization algorithm. The real-time status image is the image displayed on the screen of the target POS terminal in real time. The abnormal situation of the target POS terminal is determined based on the real-time status image.

2. The method according to claim 1, characterized in that, The exception handling request includes preset exception handling information; the preset exception handling information includes any one of the following: basic exception handling, self-service exception handling, or remote assistance handling. The step of determining whether to establish a remote connection with the target POS terminal based on the exception handling request includes: Determine the type of the preset exception handling information; If the preset exception handling information is determined to be either the basic exception handling or the self-service exception handling, then it is determined not to establish a remote connection with the target POS terminal. If the preset exception handling information is determined to be remote assistance handling, then a remote connection is established with the target POS terminal.

3. The method according to claim 1, characterized in that, The step of generating target encrypted information based on the target POS terminal identification information includes: A preset digital signature algorithm is used to perform a digital signature based on the target POS terminal identification information to obtain the target digital signature information; The target encrypted information is obtained by encrypting the target digital signature information using a preset encryption algorithm.

4. The method according to claim 3, characterized in that, The target POS terminal identification information includes sequence identification information and user identification information; A preset digital signature algorithm is used to perform a digital signature based on the target POS terminal identification information to obtain target digital signature information, including: Select data of a first preset number of digits from the sequence identifier information, and select data of a second preset number of digits from the user identifier information; The data with the first preset number of bits and the data with the second preset number of bits are concatenated to obtain the target identification information; The target identification information is digitally signed using a preset digital signature algorithm to obtain the target digital signature information.

5. The method according to claim 1, characterized in that, The target verification code is generated based on the target POS terminal identification information; The step of verifying the target check code to obtain a verification result includes: The target check code is parsed using a preset parsing algorithm to obtain the information to be verified; The information to be verified is compared with the preset information to determine whether the information to be verified is consistent with the preset information, wherein the preset information is the target POS terminal identification information; If the information to be verified matches the preset information, the verification result is determined to be successful. In response to the inconsistency between the information to be verified and the preset information, the verification result is determined to be a verification failure.

6. The method according to claim 2, characterized in that, After determining the type of the preset exception handling information, the method further includes: If the preset exception handling information is determined to be the basic exception handling, then the preset basic exception handling solution is sent to the cloud after-sales client device and displayed. If the preset exception handling information is determined to be self-service exception handling, then the after-sales personnel online service will be activated.

7. A POS machine abnormal situation handling device, characterized in that, include: The receiving module is used to receive an exception handling request sent by the cloud after-sales client device, wherein the exception handling request includes the target POS terminal identification information; The determination module is used to determine whether to establish a remote connection with the target POS terminal based on the exception handling request; wherein the exception handling request includes at least two preset request types, and the at least two preset request types include: remote connection request and online exception handling request; The generation module is used to generate target encrypted information based on the target POS terminal identification information if it is determined that a remote connection has been established with the target POS terminal; wherein, the target encrypted information is used to verify whether the cloud after-sales service terminal device has information for remote connection with the target POS terminal; The sending module is used to send a remote connection request to the target POS terminal; the remote connection request includes the target encrypted information; the target encrypted information is used to instruct the target POS terminal to perform security authentication on the cloud after-sales service device and generate a target verification code after successful authentication; wherein, the target verification code is used to verify whether the cloud after-sales service device has a verification code for remote connection with the target POS terminal; The receiving module is also used to receive the target verification code sent by the cloud after-sales client device; The verification module is used to verify the target check code to obtain a verification result; A module is established to establish a communication connection with the target POS terminal if the verification result is determined to be successful. The acquisition module is used to acquire real-time status data of the target POS terminal, and the real-time status data is used to determine abnormal conditions of the target POS terminal. The real-time status data includes real-time status images after desensitization processing; The receiving module is further configured to receive, after the establishing module establishes a communication connection with the target POS terminal, a real-time status image of the target POS terminal after it has been desensitized using a preset desensitization algorithm, wherein the real-time status image is an image displayed in real time on the target POS terminal's screen. The determining module is also used to determine the abnormal situation of the target POS terminal based on the real-time status image.

8. A cloud-based after-sales service terminal device, characterized in that, include: A processor, and a memory and a transceiver communicatively connected to the processor; The memory stores computer-executed instructions; the transceiver is used for sending and receiving data. The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-6.

10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1-6.

Citation Information

Patent Citations

  • System and method for remotely managing POS (point of sale) machine

    CN106357655A