Service operation method and device of intelligent cabinet during network fault, and electronic equipment

By using NFC modules and symmetric encryption algorithms in the smart cabinet, the point-to-point connection between the smart cabinet and the user side is realized in the event of a network failure, solving the problem that the smart cabinet cannot perform data interaction and business operations during a network failure, and achieving data consistency and business continuity.

CN120148153APending Publication Date: 2025-06-13SHANGHAI DIHUANG INTELLIGENT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311695447.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-11
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

Smart cabinets cannot perform data interaction and business operations when encountering network failures, resulting in data inconsistency and business interruption.

Method used

The NFC module realizes point-to-point connection between the smart cabinet and the user in the event of a network failure, sends identity identification information and transmits encrypted information through a symmetric encryption algorithm to ensure the continuity of business operations and data consistency.

Benefits of technology

In the event of a network failure, the smart cabinet can still interact with the user side and the platform to complete business operations, ensure data consistency, business continuity and availability, and reduce the risk of data intercept or stolen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120148153A_ABST
    Figure CN120148153A_ABST
Patent Text Reader

Abstract

The invention provides a service operation method and device for an intelligent cabinet during network failure and electronic equipment, and relates to the technical field of information, and the method comprises the steps that a user side starts a first NFC module to establish connection with the intelligent cabinet based on network degradation reminding information; the intelligent cabinet sends identity identification information to the user side through the second NFC module; the user side generates service request information based on the identity identification information, and sends the service request information to the platform through the first NFC module; determining Token information of the intelligent cabinet based on the identity identification information; the platform transmits the encrypted information to the intelligent cabinet; the intelligent cabinet decrypts the encrypted information based on the Token information to obtain decrypted task information; and the intelligent cabinet completes service operation based on the decrypted task information and feeds back an operation result to the user side through the second NFC module. According to the invention, when a network fault occurs, the intelligent cabinet can still perform data interaction with the user side and keep communication with the platform to complete service operation, so that the data consistency and the service continuity and availability are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and particularly to a method, device and electronic equipment for business operation of an intelligent cabinet during a network failure. Background Art

[0002] At present, most intelligent cabinets perform data interaction with a platform through a network to ensure data consistency.

[0003] However, most intelligent cabinets will encounter network failures such as weak network and network disconnection. In this case, most intelligent cabinets cannot perform data interaction with the platform through the network, and cannot ensure data consistency. As a result, the intelligent cabinet cannot perform business operations and has to wait until the network failure is resolved to work properly.

[0004] Therefore, a method, device and electronic equipment for business operation of an intelligent cabinet during a network failure are proposed. Summary of the Invention

[0005] This specification provides a method, device and electronic equipment for business operation of an intelligent cabinet during a network failure. During a network failure, the intelligent cabinet can still perform data interaction with the user terminal, maintain communication with the platform, complete business operations, and ensure data consistency, business continuity and availability.

[0006] A method for business operation of an intelligent cabinet based on a network failure provided by this application adopts the following technical solutions, including:

[0007] The intelligent cabinet sends a network degradation reminder message to the user terminal;

[0008] Based on the network degradation reminder message, the user terminal enables the first NFC module to establish a connection with the intelligent cabinet;

[0009] The intelligent cabinet sends identity identification information to the user terminal through the second NFC module;

[0010] Based on the identity identification information, the user terminal generates a service request message and sends the service request message to the platform through the first NFC module;

[0011] The platform verifies the legitimacy of the service request message and determines the Token information of the intelligent cabinet based on the identity identification information;

[0012] The platform transmits encrypted information to the intelligent cabinet;

[0013] The intelligent cabinet decrypts the encrypted information based on the Token information to obtain decrypted task information;

[0014] The intelligent cabinet completes business operations based on the decrypted task information and feeds back the operation results to the client through the second NFC module.

[0015] Optionally, before the intelligent cabinet sends a network degradation reminder message to the client, it includes:

[0016] The intelligent cabinet determines whether the current network fails;

[0017] When the intelligent cabinet determines that the current network fails, the intelligent cabinet sends a network degradation reminder message to the client;

[0018] When the intelligent cabinet determines that the current network is normal, the intelligent cabinet directly establishes a connection with the client.

[0019] Optionally, the encrypted information is task information generated based on the Token information through a symmetric encryption algorithm.

[0020] Optionally, the platform transmits the encrypted information to the intelligent cabinet, including:

[0021] The platform sends the encrypted information to the client;

[0022] The client forwards the encrypted information to the intelligent cabinet through the first NFC module.

[0023] Optionally, before the platform transmits the encrypted information to the intelligent cabinet, it includes:

[0024] The platform determines whether the Token information has expired;

[0025] When the platform determines that the Token information is within the validity period, it transmits the encrypted information to the intelligent cabinet.

[0026] Optionally, the operation results are fed back to the client through the second NFC module, including:

[0027] The intelligent cabinet generates result information based on the Token information and the result of the completed business operation through a symmetric encryption algorithm, and feeds back the result information to the client;

[0028] The client transmits the result information to the platform;

[0029] The platform decrypts the result information based on the Token information to obtain the decrypted result information, and feeds back the decrypted result information to the client.

[0030] Optionally, the symmetric encryption algorithm includes the AES algorithm, the DES algorithm, the 3DES algorithm, and the SM4 algorithm.

[0031] The business operation device of the intelligent cabinet in case of network failure provided by this application adopts the following technical solutions, including:

[0032] A reminder module, used for the intelligent cabinet to send network degradation reminder information to the user terminal;

[0033] A connection module, used for the user terminal to establish a connection with the intelligent cabinet by enabling the first NFC module based on the network degradation reminder information;

[0034] A communication module, used for the intelligent cabinet to send identity identification information to the user terminal through the second NFC module;

[0035] A request module, used for the user terminal to generate service request information based on the identity identification information and send the service request information to the platform through the first NFC module;

[0036] An authentication module, used for the platform to verify the legality of the service request information and determine the Token information of the intelligent cabinet based on the identity identification information;

[0037] A transmission module, used for the platform to transmit encrypted information to the intelligent cabinet;

[0038] A decryption module, used for the intelligent cabinet to decrypt the encrypted information based on the Token information to obtain decrypted task information;

[0039] A feedback module, used for the intelligent cabinet to complete business operations based on the decrypted task information and feedback the operation result to the user terminal through the second NFC module.

[0040] Optionally, before the reminder module, it includes:

[0041] The intelligent cabinet judges whether the current network is faulty;

[0042] When the intelligent cabinet judges that the current network is faulty, the intelligent cabinet sends network degradation reminder information to the user terminal;

[0043] When the intelligent cabinet judges that the current network is normal, the intelligent cabinet directly establishes a connection with the user terminal.

[0044] Optionally, the encrypted information is task information generated by a symmetric encryption algorithm based on the Token information.

[0045] Optionally, the transmission module includes:

[0046] The platform sends the encrypted information to the user terminal;

[0047] The client forwards the encrypted information to the smart cabinet through the first NFC module.

[0048] Optionally, before the transmission module, it includes:

[0049] The platform determines whether the Token information has expired;

[0050] When the platform determines that the Token information is within the validity period, it transmits the encrypted information to the smart cabinet.

[0051] Optionally, the feedback module includes:

[0052] The smart cabinet generates result information based on the Token information and the result of the completed service operation through a symmetric encryption algorithm, and feeds back the result information to the client;

[0053] The client transmits the result information to the platform;

[0054] The platform decrypts the result information based on the Token information to obtain the decrypted result information, and feeds back the decrypted result information to the client.

[0055] Optionally, the symmetric encryption algorithm includes the AES algorithm, the DES algorithm, the 3DES algorithm, and the SM4 algorithm.

[0056] This specification also provides an electronic device, where the electronic device includes:

[0057] A processor; and,

[0058] A memory storing computer-executable instructions, and the executable instructions, when executed, cause the processor to execute any one of the above methods.

[0059] This specification also provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs, when executed by a processor, implement any one of the above methods.

[0060] In the present invention, in case of a network failure, the smart cabinet and the client can still perform data interaction, maintain communication with the platform, and complete service operations, ensuring data consistency, service continuity, and availability. The NFC communication mode eliminates the need for manual configuration, improving the configuration efficiency. At the same time, the NFC communication mode, this short-distance communication mode, can reduce the risk of data being intercepted and stolen. The use of a symmetric encryption algorithm can enhance the security of data transmission. Description of the Drawings

[0061] Figure 1Schematic diagram of the principle of a business operation method for an intelligent cabinet during a network failure provided by an embodiment of this specification;

[0062] Figure 2 Schematic diagram of the structure of a business operation device for an intelligent cabinet during a network failure provided by an embodiment of this specification;

[0063] Figure 3 Schematic diagram of the structure of an electronic device provided by an embodiment of this specification;

[0064] Figure 4 Schematic diagram of the principle of a computer-readable medium provided by an embodiment of this specification. Detailed implementation manners

[0065] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art can think of other obvious variations. The basic principles defined in the following description can be applied to other implementation schemes, variant schemes, improvement schemes, equivalent schemes, and other technical schemes that do not depart from the spirit and scope of the present invention.

[0066] The following is a further comprehensive description of exemplary embodiments of the present invention in conjunction with the attached Figures 1-4 Exemplary embodiments of the present invention are described further below. However, the exemplary embodiments can be implemented in various forms and should not be construed as the present invention being limited to the embodiments set forth herein. On the contrary, providing these exemplary embodiments enables the present invention to be more comprehensive and complete, and more convenient to fully convey the inventive concept to those skilled in the art. Identical reference numerals in the figures denote the same or similar elements, components, or parts, and thus repeated descriptions thereof will be omitted.

[0067] On the premise of conforming to the technical concept of the present invention, the features, structures, characteristics, or other details described in a specific embodiment may not be excluded from being combined in a suitable manner in one or more other embodiments.

[0068] In the description of specific embodiments, the features, structures, characteristics, or other details described in the present invention are for those skilled in the art to fully understand the embodiments. However, it does not exclude that those skilled in the art can practice the technical solutions of the present invention without one or more of the specific features, structures, characteristics, or other details.

[0069] The flowcharts shown in the drawings are only illustrative descriptions and do not necessarily include all the contents and operations / steps, nor do they necessarily need to be executed in the described order. For example, some operations / steps can be decomposed, while some operations / steps can be combined or partially combined, so the actual execution order may change according to the actual situation.

[0070] The block diagrams shown in the drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0071] The term "and / or" or "and / or" includes all combinations of any one or more of the associated listed items.

[0072] Figure 1 It is a schematic diagram of the principle of a service operation method of an intelligent cabinet when a network fails provided in the embodiments of this specification. The method may include:

[0073] Optionally, before the S110, it includes:

[0074] The intelligent cabinet determines whether the current network fails;

[0075] When the intelligent cabinet determines that the current network fails, the intelligent cabinet sends a network degradation reminder message to the user terminal;

[0076] When the intelligent cabinet determines that the current network is normal, the intelligent cabinet directly establishes a connection with the user terminal.

[0077] In the embodiments of this specification, the intelligent cabinet monitors the current network in real time. When network failures such as unstable network signals, the network card expiration without timely renewal, and network disconnection occur, the intelligent cabinet enters the peer-to-peer communication mode and waits for the user terminal to perform an NFC connection.

[0078] S110: The intelligent cabinet sends a network degradation reminder message to the user terminal;

[0079] In the embodiments of this specification, the intelligent cabinet screen prompts the user that the user needs to use the user terminal for network degradation, that is, an NFC connection.

[0080] S120: The user terminal enables the first NFC module to establish a connection with the intelligent cabinet based on the network degradation reminder message;

[0081] In the embodiments of this specification, the user enables the first NFC module on the user terminal and brings the mobile phone close to the induction area of the second NFC module of the intelligent cabinet, and a connection is established between the intelligent cabinet and the user terminal. Subsequently, the intelligent cabinet screen and / or the user terminal operation interface prompt the user that the connection is successful.

[0082] S130: The intelligent cabinet sends identity identification information to the user terminal through the second NFC module;

[0083] In the embodiments of this specification, the identity identification information includes unique identification data such as the intelligent cabinet device identification Sn code and the hardware device ID code.

[0084] S140: The client generates service request information based on the identity identification information and sends the service request information to the platform through the first NFC module;

[0085] S150: The platform verifies the legality of the service request information and determines the Token information of the smart cabinet based on the identity identification information;

[0086] In the embodiments of this specification, check whether the data type, format, length, etc. of the service request information comply with the regulations, and verify whether the relevant parameter values of the service request information are within the allowed range. Check whether the operations in the service request information comply with the service process and whether there are conflicts, etc. At the same time, perform a security check on the data in the service request information to prevent malicious attacks or data leakage. This includes checking whether the request contains sensitive information, whether it is encrypted, and whether there are security issues such as SQL injection. Record and audit the service request information for problem tracking and investigation. The record includes information such as the time, source, and parameters of the request, and the audit is to check and evaluate the legality, security, etc. of the request.

[0087] Obtain the Token information of the normal network time of this smart cabinet from the platform according to the identity identification information of the smart cabinet. Token information is usually a string or code, generated by the system and assigned to the user during user login or other authentication processes. Token information can be used for authentication and authorization between multiple applications or services to ensure that only authorized users can access specific resources or perform specific operations. Specifically, the Token information is a unique string of a certain length generated by the platform for the smart cabinet for authentication and authorization when the smart cabinet is first registered and in an online state. The platform will maintain this Token, which uniquely corresponds to the specified smart cabinet. The platform maintains the Token of all smart cabinets, and the cabinet machine only retains the Token generated by the maintenance platform for itself.

[0088] Optionally, before S160, it includes:

[0089] The platform determines whether the Token information has expired;

[0090] When the platform determines that the Token information is within the validity period, the encrypted information is transmitted to the smart cabinet.

[0091] In the embodiments of this specification, when generating Token information, a validity period timestamp or expiration time is usually included in the Token information. Once it is determined that the Token information has expired, the platform should reject the user's request and prompt the user to log in again or refresh the Token information, which can ensure the security of the system and prevent unauthorized access. It should be noted that the expiration time of the Token information should be reasonably set according to the security requirements and business scenarios of the system. A too short validity period may cause the user to log in frequently, while a too long validity period may increase security risks. Therefore, a trade-off and consideration are needed when setting the validity period of the Token information.

[0092] S160: The platform transmits the encrypted information to the intelligent cabinet;

[0093] In the embodiments of this specification, in the abnormal situation where the cabinet is offline, the user's mobile phone network remains normal. At this time, the cabinet needs to establish a connection between its own NFC module and the user's mobile phone NFC module (the user's mobile phone runs the APP for business operations), and finally complete the networking communication with the platform by means of the user's mobile phone network. Therefore, except for the information interacted between the user's mobile phone itself and the platform, the information interacted between the cabinet and the platform needs to be relayed by the user's mobile phone network.

[0094] Because the information interacted between the offline cabinet and the platform needs to be relayed by the user's mobile phone network, it is crucial to encrypt these business operation information. Otherwise, if these information are intercepted by the mobile phone, it is possible to forge the information of the platform or cabinet operation to perform arbitrary operations on the cabinet compartments, resulting in losses.

[0095] Optionally, S160 includes:

[0096] The platform sends the encrypted information to the user terminal;

[0097] The user terminal forwards the encrypted information to the intelligent cabinet through the first NFC module.

[0098] Optionally, the encrypted information is task information generated based on the Token information through a symmetric encryption algorithm.

[0099] Optionally, the symmetric encryption algorithm includes the AES algorithm, DES algorithm, 3DES algorithm, and SM4 algorithm.

[0100] In the embodiments of this specification, the AES encryption algorithm uses a fixed-length key and supports multiple key lengths, allowing different key lengths to be selected according to security requirements. Compared with the DES algorithm, the AES algorithm has higher security and efficiency, and is therefore widely used in various fields such as finance, communication, and data storage. The AES encryption algorithm also uses a multi-round encryption method, and each round of encryption includes multiple operations such as byte substitution, row shift, column mixing, and round key addition. These operations ensure the high strength and randomness of the ciphertext, making it difficult for attackers to find effective attack paths. At the same time, the AES algorithm also has good diffusion and confusion properties, and can effectively resist attacks such as differential cryptanalysis and linear cryptanalysis. In short, the AES algorithm is a high-strength and high-efficiency symmetric encryption algorithm, with characteristics such as multiple key lengths available, multi-round encryption, good diffusion, and confusion properties.

[0101] The DES algorithm is a symmetric encryption algorithm that encrypts and decrypts data using a 56-bit key and uses multiple rounds of confusion and diffusion operations.

[0102] The 3DES algorithm has higher security than the traditional DES algorithm. However, it is also slower and more resource-consuming than DES.

[0103] The SM4 algorithm is a national standard encryption algorithm that uses a 128-bit key, has a block length of 128 bits, and uses a non-linear substitution-permutation network structure. In lightweight application scenarios such as Internet of Things devices and embedded systems, SM4 has certain performance advantages over other complex algorithms.

[0104] S170: The intelligent cabinet decrypts the encrypted information based on the Token information to obtain the decrypted task information;

[0105] S180: The intelligent cabinet completes the service operation based on the decrypted task information and feeds back the operation result to the user terminal through the second NFC module.

[0106] Optionally, the step of feeding back the operation result to the user terminal through the second NFC module includes:

[0107] The intelligent cabinet generates result information through a symmetric encryption algorithm based on the Token information and the result of completing the service operation, and feeds back the result information to the user terminal;

[0108] The user terminal transmits the result information to the platform;

[0109] The platform decrypts the result information based on the Token information to obtain the decrypted result information, and feeds back the decrypted result information to the user terminal.

[0110] In the embodiments of this specification, the platform performs corresponding persistence processing based on the result information, thereby ensuring the consistency between the platform and the intelligent cabinet.

[0111] In the present invention, when a network failure occurs, the intelligent cabinet and the user terminal can still perform data interaction and complete business operations, ensuring the continuity and availability of the business and the consistency and accuracy of the data. The NFC communication mode eliminates the need for manual configuration and improves the configuration efficiency. At the same time, the NFC communication mode, this short-distance communication mode, can reduce the risk of data being intercepted and stolen. The use of symmetric encryption algorithms can enhance the security of data transmission.

[0112] Figure 2 The following is a schematic structural diagram of a business operation device for an intelligent cabinet when a network failure occurs provided by the embodiments of this specification. The device may include:

[0113] A reminder module 10, configured to send a network degradation reminder message from the intelligent cabinet to the user terminal;

[0114] A connection module 20, configured to enable the user terminal to establish a connection with the intelligent cabinet through a first NFC module based on the network degradation reminder message;

[0115] A communication module 30, configured to send identity identification information from the intelligent cabinet to the user terminal through a second NFC module;

[0116] A request module 40, configured to generate a service request message by the user terminal based on the identity identification information and send the service request message to the platform through the first NFC module;

[0117] An authentication module 50, configured to verify the legality of the service request message by the platform and determine the Token information of the intelligent cabinet based on the identity identification information;

[0118] A transmission module 60, configured to transmit encrypted information from the platform to the intelligent cabinet;

[0119] A decryption module 70, configured to decrypt the encrypted information by the intelligent cabinet based on the Token information to obtain decrypted task information;

[0120] A feedback module 80, configured to complete business operations by the intelligent cabinet based on the decrypted task information and feedback the operation result to the user terminal through the second NFC module.

[0121] Optionally, before the reminder module 10, it includes:

[0122] The intelligent cabinet determines whether the current network is faulty;

[0123] When the intelligent cabinet determines that there is a current network failure, the intelligent cabinet sends a network degradation reminder message to the user terminal;

[0124] When the intelligent cabinet determines that the current network is normal, the intelligent cabinet directly establishes a connection with the user terminal.

[0125] Optionally, the encryption information is task information generated by a symmetric encryption algorithm based on the Token information.

[0126] Optionally, the transmission module 60 includes:

[0127] The platform sends the encryption information to the user terminal;

[0128] The user terminal forwards the encryption information to the intelligent cabinet through the first NFC module.

[0129] Optionally, before the transmission module 60, it includes:

[0130] The platform determines whether the Token information has expired;

[0131] When the platform determines that the Token information is within the validity period, the encryption information is transmitted to the intelligent cabinet.

[0132] Optionally, the feedback module 80 includes:

[0133] The intelligent cabinet generates result information through a symmetric encryption algorithm based on the Token information and the result of completing the service operation, and feeds back the result information to the user terminal;

[0134] The user terminal transmits the result information to the platform;

[0135] The platform decrypts the result information based on the Token information to obtain the decrypted result information, and feeds back the decrypted result information to the user terminal.

[0136] Optionally, the symmetric encryption algorithm includes AES algorithm, DES algorithm, 3DES algorithm, and SM4 algorithm.

[0137] The functions of the device in the embodiments of the present invention have been described in the above method embodiments. Therefore, for the details not described in this embodiment, reference can be made to the relevant descriptions in the foregoing embodiments, and no further elaboration will be made here.

[0138] Based on the same inventive concept, an embodiment of this specification also provides an electronic device.

[0139] Embodiments of the electronic device according to the present invention are described below. The electronic device can be regarded as a specific physical implementation of the above-described method and apparatus embodiments of the present invention. For details described in the embodiments of the electronic device of the present invention, they should be regarded as a supplement to the above-described method or apparatus embodiments; for details not disclosed in the embodiments of the electronic device of the present invention, reference can be made to the above-described method or apparatus embodiments for implementation.

[0140] Figure 3 FIG. is a schematic structural diagram of an electronic device provided in an embodiment of this specification. The following refers to Figure 3 to describe the electronic device 300 according to this embodiment of the present invention. Figure 3 The electronic device 300 shown is merely an example and should not impose any limitation on the functions and usage scope of the embodiments of the present invention.

[0141] As Figure 3 shown, the electronic device 300 is presented in the form of a general-purpose computing device. The components of the electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one storage unit 320, a bus 330 connecting different system components (including the storage unit 320 and the processing unit 310), a display unit 340, etc.

[0142] Among them, the storage unit stores program code, and the program code can be executed by the processing unit 310, so that the processing unit 310 executes the steps according to various exemplary embodiments of the present invention described in the above processing method part of this specification. For example, the processing unit 310 can execute as Figure 1 shown in the steps.

[0143] The storage unit 320 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 3201 and / or a cache storage unit 3202, and may further include a read-only storage unit (ROM) 3203.

[0144] The storage unit 320 may further include a program / utilities 3204 having a set (at least one) of program modules 3205. Such program modules 3205 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. The implementation of a network environment may be included in each or some combination of these examples.

[0145] The bus 330 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any bus structure in a variety of bus structures.

[0146] The electronic device 300 can also communicate with one or more external devices 400 (such as a keyboard, a pointing device, a Bluetooth device, etc.), and can also communicate with one or more devices that enable a user to interact with the electronic device 300, and / or communicate with any device that enables the electronic device 300 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication can be carried out through the input / output (I / O) interface 350. Moreover, the electronic device 300 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 360. The network adapter 360 can communicate with other modules of the electronic device 300 through the bus 330. It should be understood that although Figure 3 not shown in the figure, other hardware and / or software modules can be used in combination with the electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0147] Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described in the present invention can be implemented by software, or can be implemented by the way of software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present invention can be embodied in the form of a software product, and the software product can be stored in a computer-readable storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the present invention. When the computer program is executed by a data processing device, the computer-readable medium can implement the above method of the present invention, that is: as Figure 1 shown in the figure.

[0148] Figure 4 It is a schematic diagram of the principle of a computer-readable medium provided for the embodiments of this specification.

[0149] Implement Figure 1A computer program of the method shown can be stored on one or more computer-readable media. The computer-readable media can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0150] The computer-readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, in which the readable program code is carried. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable storage medium can also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the readable storage medium can be transmitted with any appropriate medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination of the above.

[0151] The program code for performing the operations of the present invention can be written in any combination of one or more programming languages, including object-oriented programming languages - such as Java, C++, etc., and also including conventional procedural programming languages - such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or, alternatively, can be connected to an external computing device (e.g., by using an Internet service provider to connect through the Internet).

[0152] In summary, the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that general-purpose data processing devices such as microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for implementing the present invention can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, or provided on a carrier signal, or in any other form.

[0153] The specific embodiments described above further elaborate on the objectives, technical solutions, and beneficial effects of the present invention. It should be understood that the present invention is not inherently related to any specific computer, virtual device, or electronic device, and various general-purpose devices can also implement the present invention. The above are only specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

[0154] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other. The key point of each embodiment is to illustrate the differences from other embodiments.

[0155] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included within the scope of the claims of the present application.

Claims

1. A business operation method for an intelligent cabinet during network failure, characterized in that, it includes: The intelligent cabinet sends a network degradation reminder message to the user terminal; Based on the network degradation reminder message, the user terminal enables the first NFC module to establish a connection with the intelligent cabinet; The intelligent cabinet sends identity identification information to the user terminal through the second NFC module; Based on the identity identification information, the user terminal generates a service request message and sends the service request message to the platform through the first NFC module; The platform verifies the legality of the service request message and determines the Token information of the intelligent cabinet based on the identity identification information; The platform transmits the encrypted information to the intelligent cabinet; The intelligent cabinet decrypts the encrypted information based on the Token information to obtain the decrypted task information; The intelligent cabinet completes the business operation based on the decrypted task information and feeds back the operation result to the user terminal through the second NFC module.

2. The business operation method for an intelligent cabinet during network failure according to claim 1, characterized in that, Before the intelligent cabinet sends a network degradation reminder message to the user terminal, it includes: The intelligent cabinet determines whether the current network is faulty; When the intelligent cabinet determines that the current network is faulty, the intelligent cabinet sends a network degradation reminder message to the user terminal; When the intelligent cabinet determines that the current network is normal, the intelligent cabinet directly establishes a connection with the user terminal.

3. The business operation method for an intelligent cabinet during network failure according to claim 2, characterized in that, The encrypted information is task information generated based on the Token information through a symmetric encryption algorithm.

4. The business operation method for an intelligent cabinet during network failure according to claim 3, characterized in that, The platform transmits the encrypted information to the intelligent cabinet, including: The platform sends the encrypted information to the user terminal; The user terminal forwards the encrypted information to the intelligent cabinet through the first NFC module.

5. The business operation method for an intelligent cabinet during network failure according to claim 4, characterized in that, Before the platform transmits the encrypted information to the intelligent cabinet, it includes: The platform determines whether the Token information has expired; When the platform determines that the Token information is within the validity period, it transmits the encrypted information to the intelligent cabinet.

6. The business operation method for an intelligent cabinet during network failure according to claim 5, characterized in that, Feeding back the operation result to the user terminal through the second NFC module includes: The intelligent cabinet generates result information based on the Token information and the result of completing the business operation through a symmetric encryption algorithm, and feeds back the result information to the user terminal; The user terminal transmits the result information to the platform; The platform decrypts the result information based on the Token information to obtain the decrypted result information and feeds back the decrypted result information to the user terminal.

7. The business operation method for an intelligent cabinet during network failure according to claim 6, characterized in that, The symmetric encryption algorithms include the AES algorithm, the DES algorithm, the 3DES algorithm, and the SM4 algorithm.

8. An operation device of an intelligent cabinet during network failures, characterized in that it comprises: a reminder module, configured to send a network degradation reminder message from the intelligent cabinet to the user terminal; a connection module, configured to enable the user terminal to establish a connection with the intelligent cabinet through a first NFC module based on the network degradation reminder message; a communication module, configured to send identity information from the intelligent cabinet to the user terminal through a second NFC module; a request module, configured to enable the user terminal to generate a service request message based on the identity information and send the service request message to the platform through the first NFC module; a verification module, configured to verify the legality of the service request message by the platform and determine the Token information of the intelligent cabinet based on the identity information; a transmission module, configured to transmit encrypted information from the platform to the intelligent cabinet; a decryption module, configured to decrypt the encrypted information by the intelligent cabinet based on the Token information to obtain decrypted task information; a feedback module, configured to enable the intelligent cabinet to complete service operations based on the decrypted task information and feed back the operation result to the user terminal through the second NFC module.

9. An electronic device, wherein the electronic device comprises: a processor; and a memory storing computer-executable instructions, the executable instructions, when executed, cause the processor to execute the method according to any one of claims 1-7.

10. A computer-readable storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs, when executed by a processor, implement the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Intelligent charging pile billing method

    CN107256593A

  • Communication self-detection method, communication self-detection system, intelligent cabinet, and server

    CN108696401A

  • A Charging Pile Management System Based on Internet and Bluetooth Distributed Control Technology

    CN108990034A

  • Off-line parcel storing and taking method and device for intelligent cabinet

    CN112215318A

  • Intelligent cabinet package storing and taking method and device and an object processing method

    CN113470264A