Abnormal condition processing method and device of POS machine, equipment, medium and program product

By introducing cloud after-sales service devices into POS machines, using remote connection and encrypted information verification technology to quickly obtain real-time status data of POS machines, the problem of low efficiency in POS machines in the existing technology is solved and the user experience is improved.

CN119094587AActive Publication Date: 2024-12-06CHINA CONSTRUCTION BANK +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411345028.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2024-12-06
Estimated Expiration
2044-09-25

AI Technical Summary

Technical Problem

In the prior art, when an abnormality occurs in the POS machine, the user needs to submit an exception description order, which makes it difficult for after-sales personnel to quickly obtain abnormal information, which in turn affects the processing efficiency and user experience.

Method used

Receive exception processing requests through cloud after-sales service devices, determine whether to establish a remote connection with the target POS machine terminal, generate and verify encrypted information, obtain real-time status data to determine abnormal situations, and realize a method of quickly obtaining POS machine abnormal information.

Benefits of technology

It improves the efficiency of POS machine exception handling, improves user experience, and reduces the response time and workload of after-sales personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094587A_ABST
    Figure CN119094587A_ABST
Patent Text Reader

Abstract

The invention provides an abnormal condition processing method and device of a POS machine, equipment, a medium and a program product, and relates to the technical field of communication. The method comprises the following steps: receiving an exception handling request sent by cloud after-sales client equipment, wherein the exception handling request comprises terminal identification information of a target POS machine; determining whether to establish remote connection with the target POS terminal based on the exception handling request; if it is determined that the remote connection with the target POS machine terminal is established, generating target encrypted information based on the target POS machine terminal identification information; sending a remote connection application request to the target POS terminal; the remote connection application request comprises target encryption information; receiving a target check code sent by the cloud after-sales client device; verifying the target check code to obtain a verification result; if it is determined that the verification result is passed, communication connection with the target POS machine terminal is established, real-time state data of the target POS machine terminal are obtained, and the real-time state data are used for determining the abnormal condition of the target POS machine terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the popularity of electronic payment, POS machines have become an indispensable part of modern business activities and are widely used in various payment scenarios. POS machines improve the efficiency and security of transactions. In actual applications, POS machines will inevitably have various anomalies that affect normal payments.

[0003] Currently, when a user's POS machine has an abnormality, the user is usually required to submit an abnormality description form to the POS machine after-sales staff, and then wait for the POS machine after-sales staff to determine the cause of the abnormality based on the abnormality description information in the abnormality description form and provide corresponding solutions to handle the abnormality. As a result, the after-sales staff cannot quickly obtain the abnormal information of the POS machine to determine the cause of the abnormality of the POS machine, which in turn leads to low efficiency in handling POS machine abnormalities, affecting user experience. Summary of the invention

[0004] The present application provides a method, apparatus, device, medium and program product for handling abnormal situations of a POS machine, so as to solve the problem in the prior art that when a user's POS machine has an abnormality, the user is usually required to submit an abnormality description sheet to the after-sales personnel of the POS machine, and then wait for the after-sales personnel of the POS machine to determine the cause of the abnormality based on the abnormality description information in the abnormality description sheet and provide a corresponding solution to handle the abnormality, thereby causing the after-sales personnel to be unable to quickly obtain the abnormal information of the POS machine to determine the cause of the abnormality of the POS machine, thereby resulting in low efficiency in handling the abnormality of the POS machine and affecting the user experience.

[0005] In a first aspect, the present application provides a method for handling abnormal situations of a POS terminal, the method being applied to a cloud after-sales service end device, the method comprising:

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

[0007] Determining whether to establish a remote connection with the target POS terminal based on the exception handling request;

[0008] If it is determined to establish a remote connection with the target POS terminal, generating target encrypted information based on the target POS terminal identification information;

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

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

[0011] Verifying the target verification code to obtain a verification result;

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

[0013] In a 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 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 it is determined that the preset exception handling information is the basic exception handling or the self-service exception handling, determining not to establish a remote connection with the target POS terminal;

[0017] If it is determined that the preset exception handling information is remote assistance processing, it is determined to establish a remote connection with the target POS terminal.

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

[0019] Using a preset digital signature algorithm and performing a digital signature based on the target POS terminal identification information to obtain target digital signature information;

[0020] A preset encryption algorithm is used to encrypt based on the target digital signature information to obtain target encrypted information.

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

[0022] Using a preset digital signature algorithm and performing a digital signature based on the target POS terminal identification information to obtain target digital signature information, including:

[0023] Selecting data of a first preset number of digits from the sequence identification information, and selecting data of a second preset number of digits from the user identification information;

[0024] splicing the data of the first preset number of digits and the data of the second preset number of digits to obtain target identification information;

[0025] The target identification information is digitally signed using a preset digital signature algorithm to obtain 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 verifying the target verification code to obtain a verification result includes:

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

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

[0030] In response to the information to be verified being consistent with the preset information, determining that the verification result is successful;

[0031] In response to the information to be verified being inconsistent with the preset information, determining that the verification result is a verification failure.

[0032] In a possible design, the real-time status data includes a real-time status image after desensitization processing;

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

[0034] Receiving a real-time status image of the target POS terminal after desensitization processing using a preset desensitization algorithm, wherein the real-time status image is an image displayed in real time on a display screen of the target POS terminal;

[0035] The abnormal condition of the target POS terminal is determined according to the real-time status image.

[0036] In the second aspect, the present application provides an abnormal situation handling device for a POS machine, comprising: a receiving module, used to receive an abnormal situation handling request sent by a cloud after-sales client device; a determining module, used to determine whether to establish a remote connection with the target POS terminal based on the abnormal situation handling request; a generating module, used to generate target encryption information based on the target POS terminal identification information if it is determined to establish a remote connection with the target POS terminal; a sending module, used to send a remote connection application request to the target POS terminal; the receiving module, also used to receive the target verification code sent by the cloud after-sales client device; a verification module, used to verify the target verification code to obtain a verification result; an establishing module, used to establish a communication connection with the target POS terminal if it is determined that the verification result is verification passed; an acquiring module, used to acquire real-time status data of the target POS terminal.

[0037] In the third aspect, an embodiment of the present application provides a cloud after-sales service-end device, comprising: at least one processor, a memory and a transceiver; the memory stores computer execution instructions; the transceiver is used to send and receive data; the at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the abnormal situation handling method of the POS machine as described in the first aspect and various possible designs of the first aspect.

[0038] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer execution instructions. When a processor executes the computer execution instructions, the method for handling abnormal situations of a POS machine as described in the first aspect and various possible designs of the first aspect is implemented.

[0039] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the method for handling abnormal situations of a POS machine as described in the first aspect and various possible designs of the first aspect.

[0040] The abnormal situation handling method, device, equipment, medium and program product of a POS terminal provided in the present application receive an abnormal situation handling request sent by a cloud after-sales client device, wherein the abnormal situation handling request includes the identification information of a target POS terminal; determine whether to establish a remote connection with the target POS terminal based on the abnormal situation handling request; if it is determined to establish a remote connection with the target POS terminal, generate target encryption information based on the identification information of the target POS terminal; send a remote connection application request to the target POS terminal; the remote connection application request includes the target encryption information; the target encryption information is used to instruct the target POS 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 it is determined that the verification result is a passed verification, establish a communication connection with the target POS terminal, and obtain real-time status data of the target POS terminal, wherein the real-time status data is used to determine the abnormal situation of the target POS terminal. Since the exception handling request sent by the cloud after-sales client device is received, the exception handling request includes the target POS terminal identification information, so that the corresponding target POS terminal can be determined according to the target POS terminal identification information. Further, it is determined whether to establish a remote connection with the target POS terminal corresponding to the target POS terminal identification information according to the exception handling request. When it is determined that a remote connection is to be established with the target POS terminal, in order to ensure the security of the remote connection, the target encryption information is generated based on the target POS terminal identification information, and the remote connection application request carrying the target encryption information is sent to the target POS terminal. Among them, the target encryption information is used by the target POS terminal to perform security authentication on the cloud after-sales service terminal device, and after the authentication is successful, the target POS terminal generates a target verification code. The cloud after-sales service terminal 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 that the verification is passed, the cloud after-sales service-end device establishes a communication connection with the target POS terminal, thereby obtaining the real-time status data of the target POS terminal, and then determining the abnormal situation of the target POS terminal according to the real-time status data of the target POS terminal. Compared with the description of the abnormal information of the target POS terminal by the user to generate an abnormal description sheet and send it to the after-sales staff, the after-sales staff analyzes the cause of the abnormality and proposes a solution based on the user's abnormal description, determines the remote connection with the target POS terminal according to the abnormal processing request, and performs security verification through the target encryption information and the target verification code, thereby establishing a remote connection with the target POS terminal, and then can accurately and quickly obtain the real-time status data of the target POS terminal, and determine the abnormal situation of the target POS terminal according to the real-time status data, thereby improving the efficiency of processing abnormal information of the POS terminal, and thus improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0042] Figure 1 This is an application scenario diagram of the abnormal situation handling method of the POS terminal applicable to the embodiment of the present application;

[0043] Figure 2 A flowchart of a method for handling abnormal situations of a POS terminal provided in an embodiment of the present application;

[0044] Figure 3 A flowchart of a method for handling abnormal situations of a POS terminal provided by another embodiment of the present application;

[0045] Figure 4 A schematic diagram of the structure of an abnormal situation processing device for a POS terminal provided in an embodiment of the present application;

[0046] Figure 5 A schematic diagram of the structure of a cloud after-sales service device provided in one embodiment of the present application.

[0047] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0048] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

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

[0050] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0051] In order to clearly understand the technical solution of the present application, the solution of the prior art is first introduced in detail.

[0052] At present, when a user's POS machine has an abnormality, the user mainly writes an abnormality description sheet and submits it to the local POS machine acquiring after-sales staff, who then submits the abnormality description sheet to the POS machine's technical after-sales staff. The POS machine's technical after-sales staff analyzes the cause of the abnormality based on the abnormality description sheet and provides corresponding solutions to assist in solving the problem. However, the abnormality description of the POS machine in the abnormality description sheet may not be clear, so the user needs to report the abnormality of the POS machine again, which makes it impossible for the POS machine's technical after-sales staff to quickly obtain the abnormal information of the POS machine to determine the cause of the abnormality of the POS machine, which in turn leads to low efficiency in handling abnormalities of the POS machine, affecting the user experience.

[0053] In response to the above technical problems, the present application proposes the following technical concept: instead of describing the abnormal situation of the POS machine and promoting subsequent processing by requiring the user to submit an exception description form, when determining that a remote connection is required based on the exception handling request triggered by the user, a digital signature and verification code are used to perform a two-way confirmation between the cloud after-sales service end device and the target POS terminal, and a remote connection is established after the confirmation is successful, thereby obtaining the real-time status data of the target POS terminal for determining the abnormal situation of the target POS terminal. Specifically, the cloud after-sales service end device receives the exception handling request sent by the cloud after-sales client device, and determines whether to establish a remote connection with the target POS terminal based on the exception handling request. If the target POS terminal needs to establish a remote connection with the cloud after-sales service end device, then in order to ensure the security of the remote connection, the cloud after-sales service end device and the target POS terminal begin security verification. The cloud after-sales service end device generates target encryption information based on the target POS terminal identification information of the target POS terminal, and puts the target encryption information into a remote connection application request and sends it to the target POS terminal. The target POS terminal performs security authentication based on the received target encryption information, and after the security authentication passes, A target verification code is generated and displayed on the screen of the target POS terminal. The user inputs the target verification code into the user's cloud after-sales client device, so that the cloud after-sales service device receives the target verification code sent by the cloud after-sales client device, and then the cloud after-sales service device verifies the target verification code. If the cloud after-sales service device verifies the target verification code, it means that the target POS terminal and the cloud after-sales service device can be remotely connected safely. Therefore, the target POS terminal and the cloud after-sales service device establish a remote connection, so that the cloud after-sales service device obtains the real-time status data of the target POS terminal, and determines the abnormal situation of the target POS terminal based on the real-time status data of the target POS terminal. By establishing a remote connection between the cloud after-sales service device and the target POS terminal, the abnormal information of the target POS terminal can be quickly obtained, thereby improving the efficiency of handling POS abnormalities and thus improving the user experience.

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

[0055] Figure 1 FIG. 1 is an application scenario diagram of the abnormal situation processing method of the POS terminal applicable to the embodiment of the present application, such as Figure 1As shown. The system corresponding to the abnormal situation handling method of the POS machine in the embodiment of the present application may include: a cloud after-sales client device 11, a cloud after-sales service end device 12, and a target POS terminal 13. The user triggers an abnormal handling request in the user abnormal handling interface of the cloud after-sales client device 11, and the cloud after-sales client device 11 sends an abnormal handling request to the cloud after-sales service end device 12, and the abnormal handling request includes the target POS terminal identification information. The cloud after-sales service end device 12 receives the abnormal handling request, so the cloud after-sales service end device 12 determines whether the target POS terminal 13 establishes a remote connection according to the abnormal handling request. If it is determined that the target POS terminal 13 needs to establish a remote connection, the cloud after-sales service end device 12 generates target encryption information according to the target POS terminal identification information, and sends a remote connection application request to the target POS terminal 13, and the remote connection application request includes the target encryption information. After receiving the target encryption information, the target POS terminal 13 performs security authentication based on the target encryption information, and generates a target verification code after the security authentication is passed, and displays it 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, and the cloud after-sales service end device 12 receives the target verification code sent by the cloud after-sales client device 11, and verifies the target verification code to obtain the verification result. When the verification result is verification passed, the cloud after-sales service end device 12 and the target POS terminal 13 establish a communication connection, and the cloud after-sales service end device 12 obtains the real-time status data of the target POS terminal 13, and determines the abnormal situation of the target POS terminal 13 through the real-time status data.

[0056] Figure 2 A flowchart of a method for handling abnormal situations of a POS terminal provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the execution subject of this embodiment is the abnormal situation processing device of the POS machine. The abnormal situation processing device of the POS machine can be implemented by a computer program, or by a medium storing relevant computer programs, such as a USB flash drive and / or a CD, etc.; or, it can also be implemented by a physical device integrated or installed with relevant computer programs, such as a chip, an electronic device, a cloud after-sales service end device, etc. The abnormal situation processing method of the POS machine provided in this embodiment includes the following steps:

[0057] S201, receiving an exception handling request sent by a cloud after-sales client device.

[0058] The exception handling request includes the target POS terminal identification information. The target POS terminal identification information is information that identifies the target POS terminal, including at least one piece of information that can uniquely identify the target POS terminal, such as the serial number of the target POS terminal, etc., and may also include information that has a mapping relationship with the information that uniquely identifies the target POS terminal. The target POS terminal is the POS terminal to be subjected to exception handling.

[0059] Specifically, in this embodiment, the user triggers an exception handling request on the user exception handling interface of the cloud after-sales client device, so that the cloud after-sales client device sends the exception handling request to the cloud after-sales service end device.

[0060] It is understandable that the user can enter the user exception handling interface of the cloud after-sales client device by using a preset APP or mini program to scan the exception handling QR code attached to the target POS terminal.

[0061] Among them, the preset APP or mini program is an APP or mini program that is compatible with the target POS terminal, which is not limited in this embodiment.

[0062] S202: Determine whether to establish a remote connection with a 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-end device determines whether it is necessary to establish a remote connection with the target POS terminal based on the preset request type 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 may be a remote connection request and an online exception handling request, or other request types, which are not limited in this embodiment.

[0065] S203: If it is determined to establish a remote connection with the target POS terminal, target encryption information is generated based on the target POS terminal identification information.

[0066] The target encrypted information is encrypted information generated based on the identification information of the target POS terminal, and is used to verify whether the cloud after-sales service end device has information for remote connection with the target POS terminal.

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

[0068] Optionally, the cloud after-sales service end device may use a preset key to encrypt the target POS terminal identification information and preset random information, thereby generating target encrypted information. Optionally, the preset key may be a financial-grade key, which is not limited in this embodiment.

[0069] Among them, the financial-grade key is a key tool for ensuring data security. Its design and use meet the high standards and strict requirements of the financial industry, and include encryption algorithms and preset encryption rules. Optionally, the preset encryption rules can be set independently according to needs, and are not limited in this embodiment.

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

[0071] It can be understood that, in the target encrypted information, the target POS terminal identification information can be used as the original information to be encrypted, or the target POS terminal identification information and preset random information can be used as the original information to be encrypted.

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

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

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

[0075] Among them, after the target POS terminal receives the target encrypted information, it uses the preset key to decrypt and verify the target encrypted information. After the verification is passed, the target POS terminal generates a target verification code and displays it on the display screen of the target POS terminal.

[0076] The target verification code is a verification code used to verify whether the cloud after-sales service end device has a remote connection with the target POS terminal.

[0077] It is understandable that the cloud after-sales service end device and each target POS terminal have corresponding preset keys, that is, they have the same preset rules for encryption and decryption. The cloud after-sales service end device can be remotely connected to multiple target POS terminals, and each target POS terminal has a corresponding preset key. Therefore, there can be multiple preset keys in the cloud after-sales service end device, each corresponding to a target POS terminal. The cloud after-sales service end device uses the corresponding key and the target POS terminal for security verification.

[0078] S205, receiving a target verification code sent by a cloud after-sales client device.

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

[0080] S206, verify the target verification code to obtain a verification result.

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

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

[0083] Among them, the real-time status data is used to determine the abnormal situation of the target POS terminal.

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

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

[0086] The abnormal situation handling method of the POS machine provided by the present application includes: receiving an abnormal situation handling request sent by a cloud after-sales client device, wherein the abnormal situation handling request includes target POS terminal identification information; determining whether to establish a remote connection with the target POS terminal based on the abnormal situation handling request; if it is determined to establish a remote connection with the target POS terminal, generating target encryption information based on the target POS terminal identification information; sending a remote connection application request to the target POS terminal; the remote connection application request includes target encryption information; the target encryption information is used to instruct the target POS terminal to perform security authentication on the cloud after-sales service terminal 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 it is determined that the verification result is a passed verification, establishing a communication connection with the target POS terminal, and obtaining the real-time status data of the target POS terminal, and the real-time status data is used to determine the abnormal situation of the target POS terminal. Since the abnormal situation handling request sent by the cloud after-sales client device is received, the abnormal situation handling request includes the target POS terminal identification information, so that the corresponding target POS terminal can be determined according to the target POS terminal identification information. Furthermore, it is determined whether to establish a remote connection with the target POS terminal corresponding to the target POS terminal identification information based on the exception handling request. When it is determined that a remote connection is to be established with the target POS terminal, in order to ensure the security of the remote connection, target encryption information is generated based on the target POS terminal identification information, and a remote connection application request carrying the target encryption information is sent to the target POS terminal. The target encryption information is used by the target POS terminal to perform security authentication on the cloud after-sales service-end device, and after the authentication is successful, the target POS terminal generates a target verification code. The cloud after-sales service-end 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 that the verification is passed, the cloud after-sales service-end device establishes a communication connection with the target POS terminal, thereby obtaining the real-time status data of the target POS terminal, and then determining the abnormal situation of the target POS terminal according to the real-time status data of the target POS terminal. Compared with the description of the abnormal information of the target POS terminal by the user to generate an abnormal description sheet and send it to the after-sales staff, the after-sales staff analyzes the cause of the abnormality and proposes a solution based on the user's abnormal description, determines the remote connection with the target POS terminal according to the abnormal processing request, and performs security verification through the target encryption information and the target verification code, thereby establishing a remote connection with the target POS terminal, and then can accurately and quickly obtain the real-time status data of the target POS terminal, and determine the abnormal situation of the target POS terminal according to the real-time status data, thereby improving the efficiency of processing abnormal information of the POS terminal, and thus improving the user experience.

[0087] As an optional implementation, based on the above embodiment, 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 a target POS terminal based on the exception handling request includes:

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

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

[0091] If it is determined that the preset exception handling information is remote assistance processing, it is determined to establish a remote connection with the target POS terminal.

[0092] The preset exception handling information is information used to describe the exception handling type. Basic exception handling is used to indicate the operation of performing basic exception handling. Self-service exception handling is used to indicate the operation of performing self-service exception handling. Remote assistance handling is used to indicate the operation of performing remote connection.

[0093] Specifically, in this embodiment, the cloud after-sales service-end device obtains and checks 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-end device does not establish a remote connection with the target POS terminal. If the preset exception handling information is remote assisted processing, it means that the cloud after-sales service-end device needs to establish a remote connection with the target POS terminal.

[0094] The present application provides a method for handling abnormal situations of a POS machine, wherein the abnormal situation handling request includes preset abnormal situation handling information; the preset abnormal situation handling information includes any one of the following: basic abnormal situation handling, self-service abnormal situation handling or remote assistance handling; determining whether to establish a remote connection with a target POS terminal based on the abnormal situation handling request includes: determining the type of the preset abnormal situation handling information; if it is determined that the preset abnormal situation handling information is basic abnormal situation handling or self-service abnormal situation handling, determining not to establish a remote connection with the target POS terminal; if it is determined that the preset abnormal situation handling information is remote assistance handling, determining to establish a remote connection with the target POS terminal. Since the abnormal situation handling request includes the preset abnormal situation handling information, and the preset abnormal situation handling information includes any one of the basic abnormal situation handling, self-service abnormal situation handling or remote assistance handling, by determining the type of the preset abnormal situation handling information, it is possible to quickly determine whether to perform a remote connection operation, thereby avoiding the cost incurred by unnecessary remote connections, and also reducing the use of network bandwidth.

[0095] As an optional implementation, based on the above embodiment, generating target encrypted information based on target POS terminal identification information includes:

[0096] 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;

[0097] A preset encryption algorithm is used to encrypt based on the target digital signature information to obtain the target encrypted 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 end 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 after-sales service end device uses a preset digital encryption algorithm to digitally sign the target POS terminal identification information and preset random information, thereby obtaining target digital signature information. Further, the target digital signature information is encrypted using a preset encryption algorithm to obtain target encrypted information.

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

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

[0103] Optionally, the preset digital signature algorithm may be SHA-256 combined with RSA, or may be other digital signature algorithms, which is not limited in this embodiment.

[0104] Among them, SHA-256 combined with RSA to generate a digital signature uses SHA-256 as a hash function to generate a message digest, while RSA is used to generate and verify the digital signature.

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

[0106] Among them, SM4 is a symmetric encryption algorithm released by the China National Cryptography Administration.

[0107] The abnormal situation handling method of the POS machine provided in the present application generates target encrypted information based on the target POS terminal identification information, including: using a preset digital signature algorithm and digitally signing based on the target POS terminal identification information to obtain target digital signature information; using a preset encryption algorithm and encrypting based on the target digital signature information to obtain target encrypted information. Since the cloud after-sales service end device digitally signs based on the target POS terminal identification information and uses a preset digital signature algorithm, it can ensure that the information contained in the target digital signature information will not be tampered with during the transmission process, and the digital signature information is encrypted using the preset encryption information, thereby further ensuring the security of the information during the transmission process.

[0108] As an optional implementation, based on the above embodiment, the target POS terminal identification information includes serial 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] Selecting data of a first preset number of digits from the sequence identification information, and selecting data of a second preset number of digits from the user identification information;

[0111] splicing the data of the first preset number of digits and the data of the second preset number of digits to obtain target identification information;

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

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

[0114] It can be understood that there is a one-to-one mapping relationship between the target POS terminal and the user holding the target POS terminal.

[0115] The selection of the first preset number of digits is determined according to the number of data digits in the sequence identification information that can identify a unique target POS terminal.

[0116] The selection of the second preset number of bits is determined according to the number of data bits in the user identification code that can identify a unique user.

[0117] Specifically, in this embodiment, when splicing the data of the first preset number of bits and the data of the second preset number of bits, the data of the first preset number of bits and the data of the second preset number of bits may be directly spliced ​​to generate the target identification information.

[0118] Alternatively, other splicing methods may be used for splicing, which is not limited in this embodiment.

[0119] The method for handling abnormal situations of a POS machine provided by the present application includes sequence identification information and user identification information in the target POS terminal identification information; a preset digital signature algorithm is used and a digital signature is performed based on the target POS terminal identification information to obtain the target digital signature information, including: selecting data of a first preset number of digits from the sequence identification information, selecting data of a second preset number of digits from the user identification information; splicing the data of the first preset number of digits and the data of the second preset number of digits to obtain the target identification information; and using a preset digital signature algorithm to digitally sign the target identification information to obtain the target digital signature information. Since the preset number of digits in the sequence identification information and the user identification information are selected for splicing, and the spliced ​​target identification information is digitally signed, the diversity of information contained in the target digital signature information is increased, multiple verifications are performed, and the digital signature is generated after the preset number of digits of data are selected for splicing, compared with using complete identification information, the amount of data processed can be reduced, thereby increasing the speed of generating digital signatures.

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

[0121] Verify the target checksum to obtain the verification result, including:

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

[0123] Compare the information to be verified with the preset information to determine whether the information to be verified is consistent with the preset information, where the preset information is the identification information of the target POS terminal;

[0124] In response to the information to be verified being consistent with the preset information, determining the verification result as verification success;

[0125] In response to the information to be verified being inconsistent with the preset information, it is determined that the verification result is a verification failure.

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

[0127] Optionally, the number of bits of the target check code may be 8-10 bits, or other number of bits, which is not limited in this embodiment.

[0128] Specifically, in this embodiment, the cloud after-sales service end device uses a preset parsing algorithm to parse the target verification code to obtain the information to be verified. Since the target verification code is generated by the target POS terminal identification information according to the preset rules, the information to be verified obtained after parsing is the target POS terminal identification information, so the information to be verified is compared with the preset information to obtain the verification result. If the information to be verified is consistent with the preset information, it means that the verification result is successful. If the information to be verified is inconsistent with the preset information, it means that the verification result is failed.

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

[0130] The abnormal situation handling method of the POS machine provided by the present application, the target verification code is generated based on the identification information of the target POS terminal; the target verification code is verified to obtain the verification result, including: using a preset parsing algorithm to parse the target verification code to obtain the information to be verified; comparing the information to be verified with the preset information to determine whether the information to be verified is consistent with the preset information, the preset information is the identification information of the target POS terminal; in response to the consistency of the information to be verified and the preset information, determining that the verification result is a successful verification; in response to the inconsistency of the information to be verified and the preset information, determining that the verification result is a failed verification. Since the target verification code generated by the target POS terminal based on the identification information of the target POS terminal is parsed, and the parsed information to be verified is compared and verified with the preset information, the communication security between the target POS terminal and the cloud after-sales platform is ensured.

[0131] As an optional implementation, based on the above embodiment, the real-time status data includes a real-time status image after desensitization processing;

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

[0133] Receive a real-time status image of a target POS terminal after desensitization processing using a preset desensitization algorithm, where the real-time status image is an image displayed in real time on a display screen of the target POS terminal;

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

[0135] Among them, the preset desensitization algorithm can be an algorithm for replacing or encrypting sensitive information, etc., which is not limited in this embodiment. Specifically, in this embodiment, after the cloud after-sales service end 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 end device. The cloud after-sales service end 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 after-sales service end device can directly determine whether the target POS terminal has an abnormal flashback situation based on the continuous real-time status images of the target POS terminal.

[0137] Optionally, the cloud after-sales service end device obtains continuous real-time status images of the target POS terminal, pre-processes the real-time status image of each frame using a preset image processing algorithm, inputs the pre-processed real-time status image into a pre-trained abnormal situation recognition model for abnormal situation recognition, and outputs the abnormal situation according to the abnormal situation recognition result.

[0138] Among them, the preset image processing algorithm may be image feature extraction, etc., which is not limited in this embodiment.

[0139] Optionally, the pre-trained abnormal situation recognition model may be a convolutional neural network, or other models, which is not limited in this embodiment.

[0140] The present application provides a method for handling abnormal situations of a POS terminal, wherein the real-time status data includes a real-time status image after desensitization processing; after establishing a communication connection with a target POS terminal, the method further includes: receiving a real-time status image after desensitization processing by a preset desensitization algorithm at the target POS terminal, wherein the real-time status image is an image displayed in real time on the display screen of the target POS terminal; and determining the abnormal situation of the target POS terminal according to 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 desensitization algorithm to desensitize the real-time status image and sends it to a cloud after-sales service end device, so that the cloud after-sales service end device analyzes the real-time status image sent by the received target POS terminal, and then determines the abnormal situation of the target POS terminal, thereby improving the efficiency of handling abnormalities of the target POS terminal.

[0141] As an optional implementation manner, based on the above embodiment, 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 is sent to the cloud after-sales client device and displayed;

[0143] If it is determined that the preset exception handling information is self-service exception handling, the after-sales staff online service will be started.

[0144] Specifically, in this embodiment, if the cloud after-sales service end 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, and the cloud after-sales client device receives and displays the preset basic exception handling solution. If the cloud after-sales service end device determines that the preset exception handling information is the self-service exception handling, the cloud after-sales service end device starts the online service and assigns the online after-sales personnel to interact with the target user. During the interaction, if the online after-sales personnel cannot solve the abnormal situation of the target POS terminal, the online after-sales personnel can trigger the abnormal handling request containing the preset exception handling information as the remote assistance processing.

[0145] The abnormal situation handling method of the POS machine provided by the present application, after determining the type of preset abnormal handling information, the method also includes: if it is determined that the preset abnormal handling information is basic abnormal handling, the preset basic abnormal handling solution is sent to the cloud after-sales client device and displayed; if it is determined that the preset abnormal handling information is self-service abnormal handling, the after-sales staff online service is started. Since different processing responses are performed according to different preset abnormal handling information, for basic abnormal problems, the preset basic abnormal handling solution can be directly sent to the target user, so that the target user can quickly solve the problem according to the preset basic abnormal handling solution. For those who need to communicate with after-sales personnel, the after-sales staff online service is started, so that the target user can get targeted help, thereby improving the efficiency of handling abnormal situations of the target POS machine and improving user experience.

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

[0147] S301, a cloud after-sales service end device receives an exception handling request sent by a cloud after-sales client end 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 end device determines the type of preset exception handling information according to the exception handling request.

[0150] S303: If the cloud after-sales service end device determines that the preset exception handling information is the basic exception handling, the preset basic exception handling solution is sent to the cloud after-sales client end device.

[0151] S304, the cloud after-sales client device displays the preset basic exception handling solution.

[0152] S305, if the cloud after-sales service end device determines that the preset exception handling information is self-service exception handling, it starts the online service of the after-sales staff.

[0153] S306, if the cloud after-sales service end device determines that the preset exception handling information is remote assistance processing, it generates target encryption information based on the target POS terminal identification information.

[0154] S307, the cloud after-sales service end device sends a remote connection application request including target encryption 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 end device.

[0157] Wherein, while sending the authentication failure alarm information, the target POS terminal rejects the remote connection application.

[0158] S310, when the target POS terminal security authentication succeeds, the target POS terminal generates a target verification code and displays it on the display screen of the target POS terminal.

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

[0160] Among them, the input of the target verification code is that the user inputs the target verification code displayed on the display screen of the target POS terminal into the user interface of the cloud after-sales client device.

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

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

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

[0164] S315, the cloud after-sales service end device determines the abnormality of the target POS terminal based on the real-time status image.

[0165] Figure 4 A schematic diagram of the structure of an abnormal situation processing device of a POS terminal provided in an embodiment of the present application, as shown in FIG. Figure 4 As shown, the abnormal situation processing device of the POS machine provided in this embodiment is located in the cloud after-sales service end device, and the abnormal situation processing device 40 of the POS machine provided in this embodiment includes: a receiving module 41, a determination module 42, a generation module 43, a sending module 44, a verification module 45, an establishment module 46, and an acquisition module 47.

[0166] Among them, the receiving module 41 is used to receive the exception handling request sent by the cloud after-sales client device; the determining module 42 is used to determine whether to establish a remote connection with the target POS terminal based on the exception handling request; the generating module 43 is used to generate the target encryption information based on the target POS terminal identification information if it is determined to establish a remote connection with the target POS terminal; the sending module 44 is used to send a remote connection application request to the target POS terminal; the receiving module 41 is also used to receive the target verification code sent by the cloud after-sales client device; the verifying module 45 is used to verify the target verification code to obtain a verification result; the establishing module 46 is used to establish a communication connection with the target POS terminal if the verification result is determined to be passed; the acquiring module 47 is used to acquire the 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, when determining whether to establish a remote connection with the target POS terminal based on the exception handling request, the determination module 42 is specifically used to: determine the type of preset exception handling information; if it is determined that the preset exception handling information is basic exception handling or self-service exception handling, determine not to establish a remote connection with the target POS terminal; if it is determined that the preset exception handling information is remote assisted processing, 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 digitally sign 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 identification information and user identification information.

[0171] Correspondingly, the generation module 43, when adopting a preset digital signature algorithm and performing a digital signature based on the target POS terminal identification information to obtain the target digital signature information, is specifically used to: select data of a first preset number of digits from the sequence identification information, and select data of a second preset number of digits from the user identification information; concatenate the data of the first preset number of digits and the data of the second preset number of digits to obtain the target identification information; and digitally sign the target identification information using a preset digital signature algorithm to obtain the target digital signature information.

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

[0173] Correspondingly, when verifying the target verification code to obtain the 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 the preset information to determine whether the information to be verified is consistent with the preset information, where 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 a successful verification; in response to the information to be verified being inconsistent with the preset information, determine that the verification result is a failed verification.

[0174] Optionally, the real-time status data includes a real-time status image after desensitization processing.

[0175] Accordingly, the receiving module 41 is used to establish a communication connection with the target POS terminal and receive the real-time status image of the target POS terminal after desensitization processing using a preset desensitization algorithm, wherein the real-time status image is the image displayed in real time on the display screen of the target POS terminal. The determining module 42 is used to determine the abnormality of the target POS terminal according to the real-time status image.

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

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

[0178] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or physically separated. Moreover, these modules can be all implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware.

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

[0180] The memory 52 stores computer-executable instructions; the transceiver 53 is used to send and receive data; the processor 51 executes the computer-executable instructions stored in the memory 52 to implement the abnormal situation handling method of the POS machine provided by any of the above embodiments. The relevant description can be understood by referring to the relevant descriptions and effects corresponding to the steps in the accompanying drawings, and no further details will be given 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, discrete hardware components.

[0182] The memory 52 is connected to the processor 51 via a 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 an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.

[0184] The electronic device provided in the embodiment of the present application may be the terminal device of the above embodiment.

[0185] The embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the abnormal situation processing method of the POS terminal in the above embodiment.

[0186] The embodiment of the present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the abnormal situation processing method of the POS terminal in the above embodiment.

[0187] An embodiment of the present 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 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 embodiment.

[0188] In the several embodiments provided in the present 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 only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

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

[0190] In addition, each functional module in each embodiment of the present 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 above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

[0191] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present 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 (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly implemented as a hardware processor, or can be implemented by a combination of hardware and software modules in the processor.

[0193] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage.

[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. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.

[0195] The above-mentioned 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 memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0196] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium 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 be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0197] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

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

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

[0200] If the function is implemented in the form of 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 the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0201] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0202] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A method for handling abnormal situations of a POS machine, It is characterized in that The method is applied to a cloud after-sales service end device, and the method comprises: Receiving an exception handling request sent by a cloud after-sales client device, wherein the exception handling request includes target POS terminal identification information; Determining whether to establish a remote connection with the target POS terminal based on the exception handling request; If it is determined to establish a remote connection with the target POS terminal, generating target encrypted information based on the target POS terminal identification information; Sending a remote connection application request to the target POS terminal; the remote connection application request includes the target encryption information; the target encryption information is used to instruct the target POS terminal to perform security authentication on the cloud after-sales service end 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 it is determined that the verification result is passed, a communication connection with the target POS terminal is established, and real-time status data of the target POS terminal is obtained. The real-time status data is used to determine the abnormal situation of the target POS terminal.

2. The method according to claim 1, It is 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 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 it is determined that the preset exception handling information is the basic exception handling or the self-service exception handling, determining not to establish a remote connection with the target POS terminal; If it is determined that the preset exception handling information is remote assistance processing, it is determined to establish a remote connection with the target POS terminal.

3. The method according to claim 1, It is characterized in that The generating target encrypted information based on the target POS terminal identification information includes: Using a preset digital signature algorithm and performing a digital signature based on the target POS terminal identification information to obtain target digital signature information; A preset encryption algorithm is used to encrypt based on the target digital signature information to obtain target encrypted information.

4. The method according to claim 3, It is characterized in that The target POS terminal identification information includes serial identification information and user identification information; Using a preset digital signature algorithm and performing a digital signature based on the target POS terminal identification information to obtain target digital signature information, including: Selecting data of a first preset number of digits from the sequence identification information, and selecting data of a second preset number of digits from the user identification information; splicing the data of the first preset number of digits and the data of the second preset number of digits to obtain target identification information; The target identification information is digitally signed using a preset digital signature algorithm to obtain target digital signature information.

5. The method according to claim 1, It is characterized in that The target verification code is generated based on the target POS terminal identification information; The verifying the target verification code to obtain a verification result includes: The target verification code is parsed using a preset parsing algorithm to obtain information to be verified; Compare the information to be verified with the preset information to determine whether the information to be verified is consistent with the preset information, wherein the preset information is the identification information of the target POS terminal; In response to the information to be verified being consistent with the preset information, determining that the verification result is successful; In response to the information to be verified being inconsistent with the preset information, determining that the verification result is a verification failure.

6. The method according to claim 1, It is characterized in that The real-time status data includes a real-time status image after desensitization processing; After establishing the communication connection with the target POS terminal, the method further comprises: Receiving a real-time status image of the target POS terminal after desensitization processing using a preset desensitization algorithm, wherein the real-time status image is an image displayed in real time on a display screen of the target POS terminal; The abnormal condition of the target POS terminal is determined according to the real-time status image.

7. The method according to claim 2, It is characterized in that After determining the type of the preset exception handling information, the method further includes: If it is determined that the preset exception handling information is the basic exception handling, the preset basic exception handling solution is sent to the cloud after-sales client device and displayed; If it is determined that the preset exception handling information is self-service exception handling, the after-sales staff online service is started.

8. A device for handling abnormal situations of a POS machine, It is characterized in that include: A receiving module, used to receive an exception handling request sent by a cloud after-sales client device; A determination module, configured to determine whether to establish a remote connection with the target POS terminal based on the exception handling request; A generating module, configured to generate target encrypted information based on the identification information of the target POS terminal if it is determined to establish a remote connection with the target POS terminal; A sending module, used for sending a remote connection application request to the target POS terminal; The receiving module is further used to receive the target verification code sent by the cloud after-sales client device; A verification module, used to verify the target verification code to obtain a verification result; An establishing module, configured to establish a communication connection with the target POS terminal if the verification result is determined to be a passed verification; The acquisition module is used to acquire the real-time status data of the target POS terminal.

9. A cloud after-sales service device, It is characterized in that include: A processor, and a memory and a transceiver communicatively connected to the processor; The memory stores computer-executable instructions; the transceiver is used to send and receive data; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.

11. A computer program product, It is characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when being executed by a processor.

Citation Information

Patent Citations

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

    CN106357655A

  • POS terminal alarm release method and system, POS terminal applying POS terminal alarm release method and server

    CN108416952A

  • Mobile phone POS machine security verification method and system based on new retail

    CN116596543A

  • Log capturing method, device and system of POS terminal and storage medium

    CN117573463A

  • Method, client device and POS terminal for offline transaction

    US20200342439A1