WO2023185557A1 - 智能销售终端的控制方法、装置、终端设备及存储介质 - Google Patents

智能销售终端的控制方法、装置、终端设备及存储介质 Download PDF

Info

Publication number
WO2023185557A1
WO2023185557A1 PCT/CN2023/082842 CN2023082842W WO2023185557A1 WO 2023185557 A1 WO2023185557 A1 WO 2023185557A1 CN 2023082842 W CN2023082842 W CN 2023082842W WO 2023185557 A1 WO2023185557 A1 WO 2023185557A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
sales terminal
intelligent
control
instruction
Prior art date
Application number
PCT/CN2023/082842
Other languages
English (en)
French (fr)
Inventor
曾令聪
王欢
陈囿任
Original Assignee
深圳市兆珑科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市兆珑科技有限公司 filed Critical 深圳市兆珑科技有限公司
Publication of WO2023185557A1 publication Critical patent/WO2023185557A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Definitions

  • the present application belongs to the field of equipment management technology, and in particular relates to a control method, device, terminal equipment and storage medium of an intelligent sales terminal.
  • POS point of sale
  • Embodiments of the present application provide a control method, device, terminal equipment and storage medium for an intelligent sales terminal, which can solve the problems of single management method, low management efficiency and poor flexibility existing in related intelligent sales terminal equipment management methods.
  • embodiments of the present application provide a control method for an intelligent sales terminal, which is applied to the control terminal and includes:
  • the sales terminal information When receiving the broadcast information sent by the smart sales terminal, determine the sales terminal information carried by the broadcast information; the sales terminal information includes the SN of the smart sales terminal and the IP address of the smart sales terminal;
  • the target terminal list includes sales terminal information of all smart sales terminals and the distance between each smart sales terminal and the control terminal;
  • embodiments of the present application provide a control method for an intelligent sales terminal, which is applied to the intelligent sales terminal and includes:
  • the broadcast information includes the SN of the smart sales terminal and the IP address of the smart sales terminal;
  • embodiments of the present application provide a control device for an intelligent sales terminal, which is used to control the terminal, including:
  • An information receiving module configured to determine the sales terminal information carried by the broadcast information when receiving the broadcast information sent by the smart sales terminal; the sales terminal information includes the SN of the smart sales terminal and the IP of the smart sales terminal address;
  • a list determination module configured to determine a target terminal list based on all received broadcast information; the target terminal list includes sales terminal information of all smart sales terminals and the distance between each smart sales terminal and the control terminal;
  • the first communication connection module is used to establish a communication connection relationship with the target intelligent sales terminal when receiving a communication connection instruction
  • the first interoperability module is configured to establish a communication connection relationship between the first intelligent sales terminal and the second intelligent sales terminal when receiving an interoperability connection instruction; the first intelligent sales terminal and the second intelligent sales terminal are Two different target intelligent sales terminals are communicatively connected to the control terminal.
  • embodiments of the present application provide a control device for an intelligent sales terminal, which is applied to an intelligent sales terminal and includes:
  • a broadcast module used to send broadcast information in a preset period;
  • the broadcast information includes the SN of the smart sales terminal and the IP address of the smart sales terminal;
  • a second communication connection module configured to establish a communication connection relationship with the control terminal when receiving a device connection instruction sent by the control terminal
  • the second interoperability module is configured to establish a communication connection relationship with the interconnected smart sales terminal according to the device interconnection instruction when receiving the device interconnection instruction sent by the control terminal.
  • embodiments of the present application provide a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the computer program Implement the control method of an intelligent sales terminal as described in any one of the first or second aspects above.
  • embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the computer program is executed by a processor, any one of the above-mentioned first or second aspects is implemented.
  • embodiments of the present application provide a computer program product.
  • the computer program product When the computer program product is run on a terminal device, it causes the terminal device to execute the control method of an intelligent sales terminal described in any one of the first or second aspects. .
  • the beneficial effects of the embodiments of the present application are: determining the list of all manageable smart sales terminals through the broadcast information of the smart sales terminals, establishing a communication connection relationship with the target smart sales terminals, and receiving When exchanging instructions, establish a communication connection relationship between multiple smart sales terminals to realize communication between multiple devices to flexibly manage multiple smart sales terminals and improve the management efficiency of smart sales terminals.
  • Figure 1 is a schematic flowchart of a control method for an intelligent sales terminal provided in Embodiment 1 of the present application;
  • Figure 2 is another schematic flow chart of the control method of the intelligent sales terminal provided in Embodiment 2 of the present application.
  • Figure 3 is a schematic structural diagram of a control device of an intelligent sales terminal provided in Embodiment 3 of the present application;
  • Figure 4 is another structural schematic diagram of a control device of an intelligent sales terminal provided in Embodiment 4 of the present application.
  • Figure 5 is a schematic structural diagram of a terminal device provided in Embodiment 5 of the present application.
  • the term “if” may be interpreted as “when” or “once” or “in response to determining” or “in response to detecting” depending on the context. ". Similarly, the phrase “if determined” or “if [the described condition or event] is detected” may be interpreted, depending on the context, to mean “once determined” or “in response to a determination” or “once the [described condition or event] is detected ]” or “in response to detection of [the described condition or event]”.
  • control method for smart sales terminals provided by the embodiments of this application can be applied to terminals such as mobile phones, tablet computers, vehicle-mounted equipment, augmented reality (AR)/virtual reality (VR) equipment, notebook computers or smart sales terminals.
  • terminals such as mobile phones, tablet computers, vehicle-mounted equipment, augmented reality (AR)/virtual reality (VR) equipment, notebook computers or smart sales terminals.
  • AR augmented reality
  • VR virtual reality
  • the embodiments of this application do not place any restrictions on the specific type of terminal equipment.
  • Figure 1 shows a schematic flow chart of a control method for a smart sales terminal provided by this application.
  • this method can be applied to control terminals such as mobile phones and tablet computers.
  • the sales terminal information includes the SN of the smart sales terminal and the IP address of the smart sales terminal.
  • the sales terminal information carried by the broadcast information is analyzed and determined.
  • the sales terminal information includes but is not limited to The SN of the smart sales terminal and the IP address of the smart sales terminal, where the SN of the smart sales terminal refers to the unique identifier of the smart sales terminal.
  • the broadcast information sent by the smart sales terminal is preset to be sales terminal information compressed by BCD.
  • the control terminal receives the broadcast information, The broadcast information needs to be decompressed.
  • the control terminal in order to improve the security of data transmission, it is preset to encrypt the sales terminal information based on BCD compression; correspondingly, when the control terminal receives the broadcast information, it needs to decrypt the broadcast information. Processing and then compression processing can be used to obtain the sales terminal information.
  • S102 Determine a target terminal list based on all received broadcast information; the target terminal list includes sales terminal information of all smart sales terminals and the distance between each smart sales terminal and the control terminal.
  • the sales terminal information carried by each broadcast information is determined, and the distance between the control terminal and the smart sales terminal is determined based on the IP address in each sales terminal information, and A target terminal list is generated based on each sales terminal information and the distance between each smart sales terminal and the control terminal, so that the target terminal list includes but is not limited to the sales terminal information of all smart sales terminals determined by analysis, and the distance between each smart sales terminal and the control terminal. The distance between the current control terminals.
  • the target intelligent sales terminal carried in the communication connection instruction is determined, and a connection with the target intelligent sales terminal is established.
  • Communication connection relationship of sales terminal is a control instruction used to control the current control terminal to establish a communication connection relationship with the target intelligent sales terminal, and it carries the SN and SN of the target intelligent sales terminal. IP address.
  • the first intelligent sales terminal and the second intelligent sales terminal are respectively two different target intelligent sales terminals that are communicatively connected to the control terminal; when receiving the interoperability connection instruction, the information carried in the interoperability connection instruction is analyzed and determined.
  • the sales terminal information of the two intelligent sales terminals determines whether the two intelligent sales terminals are both communicatively connected with the control terminal based on the above sales terminal information. After determining that the first intelligent sales terminal and the second intelligent sales terminal are respectively connected with the control terminal, When communicating with two different target intelligent sales terminals, a communication connection relationship between the first intelligent sales terminal and the second intelligent sales terminal is established.
  • establishing a communication connection relationship with the target smart sales terminal includes:
  • connection status with the target intelligent sales terminal to connected; the connection status includes connected, connection failed and not connected.
  • the above communication connection instruction is parsed to obtain the target intelligent sales terminal carried by the communication connection instruction (specifically, the SN and IP address of the target intelligent sales terminal). Based on the SN and IP of the target intelligent sales terminal, When the address matches the corresponding smart sales terminal in the target terminal list, the device connection command is generated according to the communication connection command and sent to the target smart sales terminal, a communication connection relationship with the target smart sales terminal is established, and the current control terminal is connected to the target smart sales terminal. The connection status between smart sales terminals is updated to connected.
  • the connection status includes but is not limited to connected, connection failed, and not connected.
  • connection status with the target smart sales terminal is updated to connection failure, a connection failure alarm message is generated, and displayed on the display device .
  • the communication connection relationship with the target intelligent sales terminal is not successfully established, it is determined that there may be a fault in the current control terminal, the target intelligent sales terminal, or the network status, and the connection status with the target intelligent sales terminal is updated to connection failure, and a connection is generated. Failure alarm information is displayed on the display device to remind users to perform device and network security testing.
  • the method further includes:
  • Send a device information query instruction to the target intelligent sales terminal receive the device information returned by the target intelligent sales terminal and store it in the target terminal list.
  • the device information query instructions are manually input by the user, sent by the user through an external terminal device, or generated by the user by triggering the screen or control panel, and are specifically used to control the target intelligent terminal device to return the device information of the device (including but not limited to System version and device model, etc.), send the received device information query command to the target smart sales terminal, receive the device information returned by the target smart sales terminal, and store it in the target terminal list, thereby determining each communication connection with the control terminal
  • the device information of the smart sales terminal; in the target terminal list, the device information has a one-to-one mapping relationship with the target smart sales terminal.
  • establishing a communication connection relationship between the first smart sales terminal and the second smart sales terminal when receiving the interoperability connection instruction includes:
  • a device interconnection instruction is sent to the first intelligent sales terminal and the second intelligent sales terminal to control the first intelligent sales terminal.
  • the sales terminal establishes a communication connection relationship with the second intelligent sales terminal;
  • the above-mentioned interoperability connection instruction is parsed to determine the first smart sales terminal carried by the interoperability connection instruction. and the second smart sales terminal (specifically, the first smart sales terminal information of the first smart sales terminal and the second smart sales terminal information of the second smart sales terminal), respectively according to the first smart sales terminal information, the second smart sales terminal
  • the information determines the first connection status between the current control terminal and the first smart sales terminal, and the second connection status between the control terminal and the second smart sales terminal.
  • the device interconnection results include interconnection success and interconnection failure.
  • the interconnection failure message is generated and displayed through the display screen/display device.
  • the interconnection failure information is generated and displayed on the display screen/display device.
  • the method after receiving the communication connection instruction and establishing a communication connection relationship with the target smart sales terminal, the method further includes:
  • the terminal control instruction When receiving the terminal control instruction, send the terminal control instruction to the target intelligent sales terminal to control the target intelligent sales terminal to perform the corresponding operation;
  • the terminal control instruction includes operation type, operation time and number of operations. ;
  • Terminal control instructions include but are not limited to operation type, operation time and number of operations.
  • the terminal control instruction includes an operation type of sending device information, an operation time of 10:00, and a number of operations of 1.
  • the corresponding target smart sales terminal receives the terminal control instruction, it needs to sell to the target smart sales terminal at 10:00.
  • the terminal sends the device information of the target smart sales terminal once.
  • use terminal control instructions to control the target smart sales terminal to perform various operations such as transferring files, printing information, shutting down, and restarting.
  • This embodiment determines the list of all manageable smart sales terminals through the broadcast information of the smart sales terminals, establishes a communication connection relationship with the target smart sales terminals, and establishes a communication connection between multiple smart sales terminals when receiving interoperability instructions.
  • Communication connection relationship enables communication between multiple devices to flexibly manage multiple smart sales terminals and improve the management efficiency of smart sales terminals.
  • Figure 2 shows another schematic flow chart of the control method of the smart sales terminal provided by this application.
  • this method can be applied to smart sales terminals, including:
  • the broadcast information includes the SN of the smart sales terminal and the IP address of the smart sales terminal.
  • broadcast information is sent to the surrounding environment through Bluetooth Beacon at a preset period, and the broadcast information carries the current Sales terminal information of the smart sales terminal.
  • the sales terminal information includes but is not limited to the SN of the current smart sales terminal and the IP address of the smart sales terminal.
  • the preset period can be specifically set according to the actual situation. For example, the preset period is set to 30 seconds.
  • the broadcast information sent by the smart sales terminal is preset to be sales terminal information compressed by BCD.
  • it in order to improve the security of data transmission, it is preset to encrypt the sales terminal information based on BCD compression.
  • S202 Upon receiving the device connection instruction sent by the control terminal, establish a communication connection relationship with the control terminal.
  • the communication port of the control terminal is determined based on the device connection instruction, and a communication connection relationship with the control terminal is established based on the communication port.
  • the preset communication port is 5555, and the communication connection relationship with the control terminal can be established through the above communication port.
  • the interconnected intelligent sales terminal carried by the device interconnection instruction is determined, and a communication connection relationship with the interconnected intelligent sales terminal is established based on the above device interconnection instruction.
  • establishing a communication connection relationship with the interconnected smart sales terminal according to the device interconnection instruction includes:
  • the device interconnection instruction When receiving the device interconnection instruction sent by the control terminal, the device interconnection instruction is parsed to obtain the interconnected sales terminal information of the interconnected smart sales terminal carried by the device interconnection instruction; wherein the interconnected sales terminal information includes the The SN of the interconnected intelligent sales terminal and the IP address of the interconnected intelligent sales terminal;
  • the device interconnection instruction when receiving the device interconnection instruction sent by the control terminal, the device interconnection instruction is parsed to obtain the interconnected sales terminal information of the interconnected intelligent sales terminal carried by the device interconnection instruction; wherein the interconnected sales terminal information includes the SN and SN of the interconnected intelligent sales terminal.
  • the IP address of the interconnected intelligent sales terminal establishes a communication connection relationship with the interconnected intelligent sales terminal based on the information of the interconnected intelligent sales terminal, and returns the device interconnection result to the control terminal.
  • Device interconnection results include interconnection success and interconnection failure.
  • the current smart sales terminal and the interconnected smart sales terminal are two different smart sales terminals that are communicatively connected to the control terminal.
  • the device information upon receiving the device information query instruction sent by the control terminal, the device information is sent to the control terminal.
  • the method further includes:
  • the terminal control instruction when receiving the terminal control instruction sent by the control terminal, the terminal control instruction is parsed, the operation type, operation time, and number of operations carried by the terminal control instruction are obtained, the operation corresponding to the terminal control instruction is performed, and the operation result is returned to Smart sales terminal.
  • This embodiment uses broadcast information to be discovered by the control terminal, establishes a communication connection relationship with the control terminal based on the device connection, and when receiving the interoperability instruction, establishes a communication connection relationship with the interoperable intelligent sales terminal to achieve multi-device communication. communication, so that the control terminal can flexibly manage multiple smart sales terminals, and improve the management efficiency of smart sales terminals.
  • sequence number of each step in the above embodiment does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
  • FIG. 3 shows a structural block diagram of the control device of the smart sales terminal provided by the embodiment of the present application.
  • the control device of the smart sales terminal is applied to the control terminal.
  • Only parts related to the embodiments of the present application are shown.
  • control device 100 of the smart sales terminal includes:
  • the information receiving module 101 is configured to determine the sales terminal information carried by the broadcast information when receiving the broadcast information sent by the smart sales terminal; the sales terminal information includes the SN of the smart sales terminal and the SN of the smart sales terminal. IP address;
  • the list determination module 102 is used to determine a target terminal list based on all received broadcast information; the target terminal list includes sales terminal information of all smart sales terminals and the distance between each smart sales terminal and the control terminal;
  • the first communication connection module 103 is configured to establish a communication connection relationship with the target smart sales terminal when receiving a communication connection instruction
  • the first interoperability module 104 is configured to establish a communication connection relationship between the first intelligent sales terminal and the second intelligent sales terminal when receiving an interoperability connection instruction; the first intelligent sales terminal and the second intelligent sales terminal They are two different target intelligent sales terminals that are communicatively connected to the control terminal.
  • the first communication connection module includes:
  • a first parsing unit configured to parse the communication connection instruction when receiving the communication connection instruction, and obtain the target sales terminal information of the target intelligent sales terminal carried by the communication connection instruction;
  • a matching unit configured to establish a communication connection relationship with the target intelligent sales terminal when the target intelligent sales terminal is matched in the target terminal list according to the target sales terminal information
  • An update unit configured to update the connection status with the target intelligent sales terminal to connected; the connection status includes connected, connection failed, and not connected.
  • the first interoperability module includes:
  • a second parsing unit configured to parse the interoperability connection instruction when receiving the interoperability connection instruction, and determine the first intelligent sales terminal and the second intelligent sales terminal carried by the interoperability connection instruction;
  • a state determination unit configured to respectively determine a first connection state between the control terminal and the first intelligent sales terminal, and a second connection state between the control terminal and the second intelligent sales terminal;
  • a sending unit configured to send a device interconnection instruction to the first smart sales terminal and the second smart sales terminal to control The first intelligent sales terminal and the second intelligent sales terminal establish a communication connection relationship;
  • a receiving unit configured to receive device interconnection results returned by the first smart sales terminal and the second smart sales terminal respectively.
  • the device further includes:
  • a control module configured to, upon receiving a terminal control instruction, send the terminal control instruction to the target intelligent sales terminal to control the target intelligent sales terminal to perform the corresponding operation;
  • the terminal control instruction includes an operation type, Operation time and number of operations;
  • a receiving module configured to receive operation results returned by the target intelligent sales terminal.
  • This embodiment determines the list of all manageable smart sales terminals through the broadcast information of the smart sales terminals, establishes a communication connection relationship with the target smart sales terminals, and establishes a communication connection between multiple smart sales terminals when receiving interoperability instructions.
  • Communication connection relationship enables communication between multiple devices to flexibly manage multiple smart sales terminals and improve the management efficiency of smart sales terminals.
  • FIG. 4 shows a structural block diagram of the control device of the smart sales terminal provided by the embodiment of the present application.
  • the control device of the smart sales terminal is applied to the smart sales terminal.
  • only parts related to the embodiments of the present application are shown.
  • control device 200 of the smart sales terminal includes:
  • Broadcast module 201 used to send broadcast information in a preset period; the broadcast information includes the SN of the smart sales terminal and the IP address of the smart sales terminal;
  • the second communication connection module 202 is configured to establish a communication connection relationship with the control terminal when receiving a device connection instruction sent by the control terminal;
  • the second interoperability module 203 is configured to, when receiving a device interconnection instruction sent by the control terminal, establish a communication connection relationship with the interconnected smart sales terminal according to the device interconnection instruction.
  • the second interoperability module includes:
  • the third parsing unit is configured to parse the device interconnection instruction when receiving the device interconnection instruction sent by the control terminal, and obtain the interconnected sales terminal information of the interconnected smart sales terminal carried by the device interconnection instruction; wherein, the The interconnected sales terminal information includes the SN of the interconnected intelligent sales terminal and the IP address of the interconnected intelligent sales terminal;
  • An establishment unit is configured to establish a communication connection relationship with the interconnected smart sales terminal according to the interconnected sales terminal information.
  • the device further includes:
  • a parsing module configured to parse the terminal control instruction sent by the control terminal when receiving it, and obtain the operation type, operation time, and number of operations carried by the terminal control instruction;
  • a sending module configured to perform corresponding operations according to the terminal control instructions and return the operation results to the smart sales terminal.
  • This embodiment uses broadcast information to be discovered by the control terminal, establishes a communication connection relationship with the control terminal based on the device connection, and when receiving the interoperability instruction, establishes a communication connection relationship with the interoperable intelligent sales terminal to achieve multi-device communication. communication, so that the control terminal can flexibly manage multiple smart sales terminals, and improve the management efficiency of smart sales terminals.
  • Figure 5 is a schematic structural diagram of the terminal device provided in this embodiment.
  • the terminal device 5 of this embodiment includes: at least one processor 50 (only one is shown in FIG. 5 ), a memory 51 and data stored in the memory 51 and available in the at least one processor 50
  • the computer program 52 runs on the processor. When the processor 50 executes the computer program 52, the steps in the control method embodiments of any of the above smart sales terminals are implemented.
  • the terminal device 5 may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc.
  • the terminal device may include, but is not limited to, a processor 50 and a memory 51 .
  • FIG. 5 is only an example of the terminal device 5 and does not constitute a limitation on the terminal device 5. It may include more or less components than shown in the figure, or some components may be combined, or different components may be used. , for example, it may also include input and output devices, network access devices, etc.
  • the so-called processor 50 can be a central processing unit (Central Processing Unit, CPU), and the processor 50 can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit) , ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • the memory 51 may be an internal storage unit of the terminal device 5 in some embodiments, such as a hard disk or memory of the terminal device 5 . In other embodiments, the memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), or a secure digital device equipped on the terminal device 5. Card (Secure Digital, SD), Flash Card, etc. Further, the memory 51 may also include both an internal storage unit of the terminal device 5 and an external storage device. The memory 51 is used to store operating systems, application programs, boot loaders, data and other programs, such as program codes of the computer programs. The memory 51 can also be used to temporarily store data that has been output or is to be output.
  • Module completion means dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above.
  • Each functional unit and module in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the above-mentioned integrated unit can be hardware-based. It can also be implemented in the form of software functional units.
  • the specific names of each functional unit and module are only for the convenience of distinguishing each other and are not used to limit the scope of protection of the present application.
  • For the specific working processes of the units and modules in the above system please refer to the corresponding processes in the foregoing method embodiments, and will not be described again here.
  • Embodiments of the present application also provide a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program.
  • the steps in each of the above method embodiments can be implemented.
  • Embodiments of the present application provide a computer program product.
  • the steps in each of the above method embodiments can be implemented when the mobile terminal is executed.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • this application can implement all or part of the processes in the methods of the above embodiments by instructing relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium.
  • the computer program When executed by a processor, the steps of each of the above method embodiments may be implemented.
  • the computer program includes computer program code, which may be in the form of source code, object code, executable file or some intermediate form.
  • the computer-readable medium may at least include: any entity or device capable of carrying computer program code to the camera device/terminal device, recording media, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media.
  • ROM read-only memory
  • RAM random access memory
  • electrical carrier signals telecommunications signals
  • software distribution media For example, U disk, mobile hard disk, magnetic disk or CD, etc.
  • computer-readable media may not be electrical carrier signals and telecommunications signals.
  • the disclosed devices/network devices and methods can be implemented in other ways.
  • the apparatus/network equipment embodiments described above are only illustrative.
  • the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units. Or components can be combined or can be integrated into another system, or some features can be omitted, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.
  • 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 they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请适用于设备管理技术领域,提供了一种智能销售终端的控制方法、装置、终端设备及存储介质,方法包括:在接收到智能销售终端发送的广播信息时,确定广播信息携带的销售终端信息;根据所有接收到的广播信息,确定目标终端列表;在接收到通信连接指令时,建立与目标智能销售终端的通信连接关系;在接收到互通连接指令时,建立第一智能销售终端和第二智能销售终端之间的通信连接关系。本申请通过智能销售终端的广播信息,确定所有可管理的智能销售终端列表,建立与目标智能销售终端的通信连接关系,在接收到互通指令时,建立多个智能销售终端之间的通信连接关系,实现多设备间的通信,以灵活管理多个智能销售终端,提高智能销售终端的管理效率。

Description

智能销售终端的控制方法、装置、终端设备及存储介质
本申请要求于2022年03月28日在中国专利局提交的、申请号为202210313428.6、发明名称为“智能销售终端的控制方法、装置、终端设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于设备管理技术领域,尤其涉及一种智能销售终端的控制方法、装置、终端设备及存储介质。
背景技术
随着电子支付技术的发展,智能销售终端(point of sale,POS)作为一种具备多功能的终端设备,被广泛应用于多个技术领域、多个场景下。
在设备的使用过程中,如何对快速检测到设备并对设备进行管理是一项重要的环节。
相关智能销售终端设备管理方法,通常是用户手动建立用户终端与智能销售终端之间的连接关系并对该设备进行管理,管理方式单一、管理效率较低且灵活性差。
技术问题
本申请实施例提供了一种智能销售终端的控制方法、装置、终端设备及存储介质,可以解决相关智能销售终端设备管理方法存在的管理方式单一、管理效率较低且灵活性差问题。
技术解决方案
第一方面,本申请实施例提供了一种智能销售终端的控制方法,应用于控制终端,包括:
在接收到智能销售终端发送的广播信息时,确定所述广播信息携带的销售终端信息;所述销售终端信息包括所述智能销售终端的SN和所述智能销售终端的IP地址;
根据所有接收到的广播信息,确定目标终端列表;所述目标终端列表包括所有智能销售终端的销售终端信息及每个智能销售终端与所述控制终端间的距离;
在接收到通信连接指令时,建立与目标智能销售终端的通信连接关系;
在接收到互通连接指令时,建立第一智能销售终端和第二智能销售终端之间的通信连接关系;所述第一智能销售终端和所述第二智能销售终端为与所述控制终端通信连接的不相同的两个目标智能销售终端。
第二方面,本申请实施例提供了一种智能销售终端的控制方法,应用于智能销售终端,包括:
以预设周期发送广播信息;所述广播信息包括智能销售终端的SN和智能销售终端的IP地址;
在接收到控制终端发送的设备连接指令时,建立与所述控制终端间的通信连接关系;
在接收到所述控制终端发送的设备互联指令时,根据所述设备互联指令建立与互联智能销售终端的通信连接关系。
第三方面,本申请实施例提供了一种智能销售终端的控制装置,应用于控制终端,包括:
信息接收模块,用于在接收到智能销售终端发送的广播信息时,确定所述广播信息携带的销售终端信息;所述销售终端信息包括所述智能销售终端的SN和所述智能销售终端的IP地址;
列表确定模块,用于根据所有接收到的广播信息,确定目标终端列表;所述目标终端列表包括所有智能销售终端的销售终端信息及每个智能销售终端与所述控制终端间的距离;
第一通信连接模块,用于在接收到通信连接指令时,建立与目标智能销售终端的通信连接关系;
第一互通模块,用于在接收到互通连接指令时,建立第一智能销售终端和第二智能销售终端之间的通信连接关系;所述第一智能销售终端和所述第二智能销售终端为与所述控制终端通信连接的不相同的两个目标智能销售终端。
第四方面,本申请实施例提供了一种智能销售终端的控制装置,应用于智能销售终端,包括:
广播模块,用于以预设周期发送广播信息;所述广播信息包括智能销售终端的SN和智能销售终端的IP地址;
第二通信连接模块,用于在接收到控制终端发送的设备连接指令时,建立与所述控制终端间的通信连接关系;
第二互通模块,用于在接收到所述控制终端发送的设备互联指令时,根据所述设备互联指令建立与互联智能销售终端的通信连接关系。
第五方面,本申请实施例提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上述第一或二方面中任一项所述的智能销售终端的控制方法。
第六方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述第一或二方面中任一项所述的智能销售终端的控制方法。
第七方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一或二方面中任一项所述的智能销售终端的控制方法。
有益效果
本申请实施例与现有技术相比存在的有益效果是:通过智能销售终端的广播信息,确定所有可管理的智能销售终端列表,建立与目标智能销售终端间的通信连接关系,并在接收到互通指令时,建立多个智能销售终端之间的通信连接关系,实现多设备间的通信,以灵活管理多个智能销售终端,提高智能销售终端的管理效率。
可以理解的是,上述第二方面至第七方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例一提供的智能销售终端的控制方法的流程示意图;
图2是本申请实施例二提供的智能销售终端的控制方法的另一流程示意图;
图3是本申请实施例三提供的智能销售终端的控制装置的结构示意图;
图4是本申请实施例四提供的智能销售终端的控制装置的另一结构示意图;
图5是本申请实施例五提供的终端设备的结构示意图。
本发明的实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、 步骤、操作、元素、组件和/或其集合的存在或添加。
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
本申请实施例提供的智能销售终端的控制方法可以应用于手机、平板电脑、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑或智能销售终端等终端设备上,本申请实施例对终端设备的具体类型不作任何限制。
实施例一
图1示出了本申请提供的智能销售终端的控制方法的一种流程示意性流程图,作为示例而非限定,该方法可以应用于手机、平板电脑等控制终端中。
S101、在接收到智能销售终端发送的广播信息时,确定所述广播信息携带的销售终端信息;所述销售终端信息包括所述智能销售终端的SN和所述智能销售终端的IP地址。
具体地,在接收到智能销售终端通过蓝牙信标(蓝牙Beacon,是一项低耗能蓝牙技术)发送的广播信息时,解析确定上述广播信息携带的销售终端信息,销售终端信息包括但不限于智能销售终端的SN和所述智能销售终端的IP地址,其中,智能销售终端的SN是指智能销售终端的唯一标识。
具体地,为减小数据传输量,提高数据传输效率,节省存储空间,预先设定智能销售终端发送的广播信息为通过BCD压缩的销售终端信息,对应的,控制终端在接收到广播信息时,需要对广播信息进行解压缩处理。
在一个实施例中,为提高数据传输的安全性,预先设定在BCD压缩的销售终端信息的基础上对其进行加密;对应的,控制终端在接收到广播信息时,需要对广播信息进行解密处理,然后再进行压缩处理,才能得到销售终端信息。
S102、根据所有接收到的广播信息,确定目标终端列表;所述目标终端列表包括所有智能销售终端的销售终端信息及每个智能销售终端与所述控制终端间的距离。
具体地,根据当前时刻接收到的所有的广播信息,确定每个广播信息携带的销售终端信息,并根据每个销售终端信息中的IP地址确定控制终端与该智能销售终端之间的距离,并根据每个销售终端信息和每个智能销售终端与控制终端间的距离生成目标终端列表,使得目标终端列表包括但不限于解析确定的所有智能销售终端的销售终端信息,以及每个智能销售终端与当前控制终端间的距离。
S103、在接收到通信连接指令时,建立与目标智能销售终端的通信连接关系。
具体地,在接收到用户手动输入的、用户通过外部终端设备发送的或者用户通过触发屏幕或控制面板生成的通信连接指令时,确定通信连接指令中携带的目标智能销售终端,并建立与目标智能销售终端的通信连接关系。其中,通信连接指令为用于控制当前控制终端与目标智能销售终端建立通信连接关系的控制指令,其携带有目标智能销售终端的SN和 IP地址。
S104、在接收到互通连接指令时,建立第一智能销售终端和第二智能销售终端之间的通信连接关系;所述第一智能销售终端和所述第二智能销售终端为与所述控制终端通信连接的不相同的两个目标智能销售终端。
具体地,第一智能销售终端和第二智能销售终端分别为与所述控制终端通信连接的不相同的两个目标智能销售终端;在接收到互通连接指令时,解析确定互通连接指令里携带的两个智能销售终端的销售终端信息,基于上述销售终端信息确定上述两个智能销售终端是否均与所述控制终端通信连接,在确定第一智能销售终端和第二智能销售终端分别为与控制终端通信连接的不相同的两个目标智能销售终端时,建立第一智能销售终端和第二智能销售终端之间的通信连接关系。
在一个实施例中,所述在接收到通信连接指令时,建立与目标智能销售终端的通信连接关系,包括:
在接收到所述通信连接指令时,解析所述通信连接指令,得到所述通信连接指令携带的目标智能销售终端的目标销售终端信息;
根据所述目标销售终端信息在所述目标终端列表中匹配到所述目标智能销售终端时,建立与所述目标智能销售终端的通信连接关系;
将与所述目标智能销售终端间的连接状态更新为已连接;所述连接状态包括已连接、连接失败和未连接。
具体地,在接收到通信连接指令时,解析上述通信连接指令,得到通信连接指令携带的目标智能销售终端(具体为目标智能销售终端的SN和IP地址),基于目标智能销售终端的SN和IP地址在目标终端列表中匹配到对应的智能销售终端时,根据通信连接指令生成设备连接指令并发送至上述目标智能销售终端,建立与目标智能销售终端的通信连接关系,并将当前控制终端与目标智能销售终端间的连接状态更新为已连接,连接状态包括但不限于已连接、连接失败和未连接。
在一个实施例中,未成功建立与所述目标智能销售终端的通信连接关系时,将与所述目标智能销售终端间的连接状态更新为连接失败,生成连接失败告警信息,并通过显示设备显示。
具体地,未成功建立与目标智能销售终端的通信连接关系时,判定当前控制终端、目标智能销售终端或网络状态可能存在故障,将与目标智能销售终端间的连接状态更新为连接失败,生成连接失败告警信息,并通过显示设备显示,以提醒用户进行设备及网路的安全检测。
在一个实施例中,将与所述目标智能销售终端间的连接状态更新为已连接之后,还包括:
发送设备信息查询指令至所述目标智能销售终端,接收所述目标智能销售终端返回的设备信息并存储至所述目标终端列表。
具体地,设备信息查询指令为用户手动输入的、用户通过外部终端设备发送的或者用户通过触发屏幕或控制面板生成的,具体用于控制目标智能终端设备返回该设备的设备信息(包括但不限于系统版本和设备型号等),将接收到的设备信息查询指令发送至目标智能销售终端,并接收目标智能销售终端返回的设备信息,并存储至目标终端列表,从而确定每个与控制终端通信连接的智能销售终端的设备信息;在目标终端列表中,设备信息与该目标智能销售终端为一对一映射关系。
在一个实施例中,所述在接收到互通连接指令时,建立第一智能销售终端和第二智能销售终端之间的通信连接关系,包括:
在接收到互通连接指令时,解析所述互通连接指令,确定所述互通连接指令携带的第一智能销售终端和第二智能销售终端;
分别确定所述控制终端与所述第一智能销售终端的第一连接状态,以及所述控制终端 与所述第二智能销售终端的第二连接状态;
在检测到所述第一连接状态和所述第二连接状态均为已连接时,发送设备互联指令至所述第一智能销售终端和所述第二智能销售终端,以控制所述第一智能销售终端和所述第二智能销售终端建立通信连接关系;
分别接收所述第一智能销售终端和所述第二智能销售终端返回的设备互联结果。
具体地,在接收到用户手动输入的、用户通过外部终端设备发送的或者用户通过触发屏幕或控制面板生成的互通连接指令时,解析上述互通连接指令,确定互通连接指令携带的第一智能销售终端和第二智能销售终端(具体为第一智能销售终端的第一智能销售终端信息及第二智能销售终端的第二智能销售终端信息),分别根据第一智能销售终端信息、第二智能销售终端信息确定当前控制终端与第一智能销售终端的第一连接状态,以及控制终端与第二智能销售终端的第二连接状态,在检测到上述第一连接状态和第二连接状态均为已连接时,发送设备互联指令至第一智能销售终端和第二智能销售终端,以控制第一智能销售终端和第二智能销售终端建立通信连接关系,分别接收第一智能销售终端和第二智能销售终端返回的设备互联结果;其中,互通连接指令为基于当前控制终端建立第一智能销售终端与第二智能销售终端间的通信连接关系的控制指令;设备互联指令为控制第一智能销售终端与第二智能销售终端建立通信连接关系的指令。其中,设备互联结果包括互联成功和互联失败。
在一个实施例中,在检测到第一连接状态和第二连接状态中任一个不为已连接时,生成互联失败信息,并通过显示屏/显示设备显示。
在一个实施例中,在检测到任一个设备互联结果为互联失败时,生成互联失败信息,并通过显示屏/显示设备显示。
在一个实施例中,所述在接收到通信连接指令时,建立与目标智能销售终端的通信连接关系之后,还包括:
在接收到终端控制指令时,将所述终端控制指令发送至所述目标智能销售终端,以控制所述目标智能销售终端执行对应的操作;所述终端控制指令包括操作类型、操作时间和操作次数;
接收所述目标智能销售终端返回的操作结果。
具体地,与目标智能销售终端建立通信连接关系后,在接收到用户手动输入的、用户通过外部终端设备发送的或者用户通过触发屏幕或控制面板生成的终端控制指令时,确定终端控制指令携带的操作类型、操作时间和操作次数,将终端控制指令控制发送至目标智能销售终端,以控制目标智能销售终端执行对应的操作,并接收目标智能销售终端返回的操作结果。终端控制指令包括但不限于操作类型、操作时间和操作次数。
例如,终端控制指令包括操作类型为发送设备信息、操作时间为10:00,操作次数为1次,对应的目标智能销售终端在接收到该终端控制指令时,需要在10:00向目标智能销售终端发送1次该目标智能销售终端的设备信息。或者,通过终端控制指令控制目标智能销售终端执行传输文件、打印信息、关机、重启等多种操作。
本实施例通过智能销售终端的广播信息,确定所有可管理的智能销售终端列表,建立与目标智能销售终端间的通信连接关系,并在接收到互通指令时,建立多个智能销售终端之间的通信连接关系,实现多设备间的通信,以灵活管理多个智能销售终端,提高智能销售终端的管理效率。
实施例二
图2示出了本申请提供的智能销售终端的控制方法的另一种流程示意性流程图,作为示例而非限定,该方法可以应用于智能销售终端,包括:
S201、以预设周期发送广播信息;所述广播信息包括智能销售终端的SN和智能销售终端的IP地址。
具体地,通过蓝牙Beacon以预设周期向周围环境发送广播信息,广播信息携带有当前 智能销售终端的销售终端信息,销售终端信息包括但不限于当前智能销售终端的SN和智能销售终端的IP地址。其中,预设周期可根据实际情况进行具体设定,例如,设定预设周期为30s。
具体地,为减小数据传输量,提高数据传输效率,节省存储空间,预先设定智能销售终端发送的广播信息为通过BCD压缩的销售终端信息。
在一个实施例中,为提高数据传输的安全性,预先设定在BCD压缩的销售终端信息的基础上对其进行加密。
可以理解的是,本实施例中与实施例一相同或相似的内容,可参照实施例一中的具体描述,在此不再赘述。
S202、在接收到控制终端发送的设备连接指令时,建立与所述控制终端间的通信连接关系。
具体地,在接收到控制终端发送的设备连接指令时,基于设备连接指令确定该控制终端的通讯端口,基于上述通讯端口建立与该控制终端的通信连接关系。例如,预先设定的通讯端口为5555,可通过上述通讯端口建立与该控制终端的通信连接关系。
S203、在接收到所述控制终端发送的设备互联指令时,根据所述设备互联指令建立与互联智能销售终端的通信连接关系。
具体地,在接收到控制终端发送的设备互联指令时,确定该设备互联指令携带的互联智能销售终端,基于上述设备互联指令建立与该互联智能销售终端的通信连接关系。
在一个实施例中,所述在接收到所述控制终端发送的设备互联指令时,根据所述设备互联指令建立与互联智能销售终端的通信连接关系,包括:
在接收到所述控制终端发送的设备互联指令时,解析所述设备互联指令,得到所述设备互联指令携带的互联智能销售终端的互联销售终端信息;其中,所述互联销售终端信息包括所述互联智能销售终端的SN和所述互联智能销售终端的IP地址;
根据所述互联销售终端信息建立与所述互联智能销售终端的通信连接关系。
具体地,在接收到控制终端发送的设备互联指令时,解析设备互联指令,得到设备互联指令携带的互联智能销售终端的互联销售终端信息;其中,互联销售终端信息包括互联智能销售终端的SN和互联智能销售终端的IP地址;根据互联销售终端信息建立与互联智能销售终端的通信连接关系,并返回设备互联结果至控制终端。设备互联结果包括互联成功和互联失败。
可以理解的是,当前智能销售终端和互联智能销售终端分别为与控制终端通信连接的不相同的两个智能销售终端。
在一个实施例中,在接收到所述控制终端发送的设备信息查询指令时,将设备信息发送至所述控制终端。
在一个实施例中,所述方法,还包括:
在接收到控制终端发送的终端控制指令时,解析所述终端控制指令,得到所述终端控制指令携带的操作类型、操作时间、操作次数;
根据所述终端控制指令执行对应的操作,将操作结果返回至所述智能销售终端。
具体地,在接收到控制终端发送的终端控制指令时,解析终端控制指令,得到终端控制指令携带的操作类型、操作时间、操作次数,执行与终端控制指令对应的操作,并将操作结果返回至智能销售终端。
本实施例通过广播信息来被控制终端发现,基于设备连接建立与控制终端间的通信连接关系,并在接收到互通指令时,建立与互通智能销售终端之间的通信连接关系,实现多设备间的通信,以便于控制终端灵活管理多个智能销售终端,提高了针对智能销售终端的管理效率。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
实施例三
对应于上文实施例一所述的智能销售终端的控制方法,图3示出了本申请实施例提供的智能销售终端的控制装置的结构框图,智能销售终端的控制装置应用于控制终端。为了便于说明,仅示出了与本申请实施例相关的部分。
参照图3,该智能销售终端的控制装置100包括:
信息接收模块101,用于在接收到智能销售终端发送的广播信息时,确定所述广播信息携带的销售终端信息;所述销售终端信息包括所述智能销售终端的SN和所述智能销售终端的IP地址;
列表确定模块102,用于根据所有接收到的广播信息,确定目标终端列表;所述目标终端列表包括所有智能销售终端的销售终端信息及每个智能销售终端与所述控制终端间的距离;
第一通信连接模块103,用于在接收到通信连接指令时,建立与目标智能销售终端的通信连接关系;
第一互通模块104,用于在接收到互通连接指令时,建立第一智能销售终端和第二智能销售终端之间的通信连接关系;所述第一智能销售终端和所述第二智能销售终端为与所述控制终端通信连接的不相同的两个目标智能销售终端。
在一个实施例中,所述第一通信连接模块,包括:
第一解析单元,用于在接收到所述通信连接指令时,解析所述通信连接指令,得到所述通信连接指令携带的目标智能销售终端的目标销售终端信息;
匹配单元,用于根据所述目标销售终端信息在所述目标终端列表中匹配到所述目标智能销售终端时,建立与所述目标智能销售终端的通信连接关系;
更新单元,用于将与所述目标智能销售终端间的连接状态更新为已连接;所述连接状态包括已连接、连接失败和未连接。
在一个实施例中,所述第一互通模块,包括:
第二解析单元,用于在接收到互通连接指令时,解析所述互通连接指令,确定所述互通连接指令携带的第一智能销售终端和第二智能销售终端;
状态确定单元,用于分别确定所述控制终端与所述第一智能销售终端的第一连接状态,以及所述控制终端与所述第二智能销售终端的第二连接状态;
发送单元,用于在检测到所述第一连接状态和所述第二连接状态均为已连接时,发送设备互联指令至所述第一智能销售终端和所述第二智能销售终端,以控制所述第一智能销售终端和所述第二智能销售终端建立通信连接关系;
接收单元,用于分别接收所述第一智能销售终端和所述第二智能销售终端返回的设备互联结果。
在一个实施例中,所述装置,还包括:
控制模块,用于在接收到终端控制指令时,将所述终端控制指令发送至所述目标智能销售终端,以控制所述目标智能销售终端执行对应的操作;所述终端控制指令包括操作类型、操作时间和操作次数;
接收模块,用于接收所述目标智能销售终端返回的操作结果。
本实施例通过智能销售终端的广播信息,确定所有可管理的智能销售终端列表,建立与目标智能销售终端间的通信连接关系,并在接收到互通指令时,建立多个智能销售终端之间的通信连接关系,实现多设备间的通信,以灵活管理多个智能销售终端,提高智能销售终端的管理效率。
实施例四
对应于上文实施例二所述的智能销售终端的控制方法,图4示出了本申请实施例提供的智能销售终端的控制装置的结构框图,智能销售终端的控制装置应用于智能销售终端。 为了便于说明,仅示出了与本申请实施例相关的部分。
参照图4,该智能销售终端的控制装置200包括:
广播模块201,用于以预设周期发送广播信息;所述广播信息包括智能销售终端的SN和智能销售终端的IP地址;
第二通信连接模块202,用于在接收到控制终端发送的设备连接指令时,建立与所述控制终端间的通信连接关系;
第二互通模块203,用于在接收到所述控制终端发送的设备互联指令时,根据所述设备互联指令建立与互联智能销售终端的通信连接关系。
在一个实施例中,所述第二互通模块,包括:
第三解析单元,用于在接收到所述控制终端发送的设备互联指令时,解析所述设备互联指令,得到所述设备互联指令携带的互联智能销售终端的互联销售终端信息;其中,所述互联销售终端信息包括所述互联智能销售终端的SN和所述互联智能销售终端的IP地址;
建立单元,用于根据所述互联销售终端信息建立与所述互联智能销售终端的通信连接关系。
在一个实施例中,所述装置,还包括:
解析模块,用于在接收到控制终端发送的终端控制指令时,解析所述终端控制指令,得到所述终端控制指令携带的操作类型、操作时间、操作次数;
发送模块,用于根据所述终端控制指令执行对应的操作,将操作结果返回至所述智能销售终端。
本实施例通过广播信息来被控制终端发现,基于设备连接建立与控制终端间的通信连接关系,并在接收到互通指令时,建立与互通智能销售终端之间的通信连接关系,实现多设备间的通信,以便于控制终端灵活管理多个智能销售终端,提高了针对智能销售终端的管理效率。
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。
实施例五
图5为本实施例提供的终端设备的结构示意图。如图5所示,该实施例的终端设备5包括:至少一个处理器50(图5中仅示出一个)、存储器51以及存储在所述存储器51中并可在所述至少一个处理器50上运行的计算机程序52,所述处理器50执行所述计算机程序52时实现上述任意各个智能销售终端的控制方法实施例中的步骤。
所述终端设备5可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。该终端设备可包括,但不仅限于,处理器50、存储器51。本领域技术人员可以理解,图5仅仅是终端设备5的举例,并不构成对终端设备5的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。
所称处理器50可以是中央处理单元(Central Processing Unit,CPU),该处理器50还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器51在一些实施例中可以是所述终端设备5的内部存储单元,例如终端设备5的硬盘或内存。所述存储器51在另一些实施例中也可以是所述终端设备5的外部存储设备,例如所述终端设备5上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字卡(Secure Digital,SD),闪存卡(Flash Card)等。进一步地,所述存储器 51还可以既包括所述终端设备5的内部存储单元也包括外部存储设备。所述存储器51用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器51还可以用于暂时地存储已经输出或者将要输出的数据。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现可实现上述各个方法实施例中的步骤。
本申请实施例提供了一种计算机程序产品,当计算机程序产品在移动终端上运行时,使得移动终端执行时实现可实现上述各个方法实施例中的步骤。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到拍照装置/终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的装置/网络设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/网络设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施 例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (10)

  1. 一种智能销售终端的控制方法,其特征在于,应用于控制终端,包括:
    在接收到智能销售终端发送的广播信息时,确定所述广播信息携带的销售终端信息;所述销售终端信息包括所述智能销售终端的SN和所述智能销售终端的IP地址;
    根据所有接收到的广播信息,确定目标终端列表;所述目标终端列表包括所有智能销售终端的销售终端信息及每个智能销售终端与所述控制终端间的距离;
    在接收到通信连接指令时,建立与目标智能销售终端的通信连接关系;
    在接收到互通连接指令时,建立第一智能销售终端和第二智能销售终端之间的通信连接关系;所述第一智能销售终端和所述第二智能销售终端为与所述控制终端通信连接的不相同的两个目标智能销售终端。
  2. 如权利要求1所述的智能销售终端的控制方法,其特征在于,所述在接收到通信连接指令时,建立与目标智能销售终端的通信连接关系,包括:
    在接收到所述通信连接指令时,解析所述通信连接指令,得到所述通信连接指令携带的目标智能销售终端的目标销售终端信息;
    根据所述目标销售终端信息在所述目标终端列表中匹配到所述目标智能销售终端时,建立与所述目标智能销售终端的通信连接关系;
    将与所述目标智能销售终端间的连接状态更新为已连接;所述连接状态包括已连接、连接失败和未连接。
  3. 如权利要求1所述的智能销售终端的控制方法,其特征在于,所述在接收到互通连接指令时,建立第一智能销售终端和第二智能销售终端之间的通信连接关系,包括:
    在接收到互通连接指令时,解析所述互通连接指令,确定所述互通连接指令携带的第一智能销售终端和第二智能销售终端;
    分别确定所述控制终端与所述第一智能销售终端的第一连接状态,以及所述控制终端与所述第二智能销售终端的第二连接状态;
    在检测到所述第一连接状态和所述第二连接状态均为已连接时,发送设备互联指令至所述第一智能销售终端和所述第二智能销售终端,以控制所述第一智能销售终端和所述第二智能销售终端建立通信连接关系;
    分别接收所述第一智能销售终端和所述第二智能销售终端返回的设备互联结果。
  4. 如权利要求1所述的智能销售终端的控制方法,其特征在于,所述在接收到通信连接指令时,建立与目标智能销售终端的通信连接关系之后,还包括:
    在接收到终端控制指令时,将所述终端控制指令发送至所述目标智能销售终端,以控制所述目标智能销售终端执行对应的操作;所述终端控制指令包括操作类型、操作时间和操作次数;
    接收所述目标智能销售终端返回的操作结果。
  5. 一种智能销售终端的控制方法,其特征在于,应用于智能销售终端,包括:
    以预设周期发送广播信息;所述广播信息包括智能销售终端的SN和智能销售终端的IP地址;
    在接收到控制终端发送的设备连接指令时,建立与所述控制终端间的通信连接关系;
    在接收到所述控制终端发送的设备互联指令时,根据所述设备互联指令建立与互联智能销售终端的通信连接关系。
  6. 如权利要求5所述的智能销售终端的控制方法,其特征在于,所述在接收到所述控制终端发送的设备互联指令时,根据所述设备互联指令建立与互联智能销售终端的通信连接关系,包括:
    在接收到所述控制终端发送的设备互联指令时,解析所述设备互联指令,得到所述设备互联指令携带的互联智能销售终端的互联销售终端信息;其中,所述互联销售终端信息包括所述互联智能销售终端的SN和所述互联智能销售终端的IP地址;
    根据所述互联销售终端信息建立与所述互联智能销售终端的通信连接关系。
  7. 如权利要求5所述的智能销售终端的控制方法,其特征在于,所述方法,还包括:
    在接收到控制终端发送的终端控制指令时,解析所述终端控制指令,得到所述终端控制指令携带的操作类型、操作时间、操作次数;
    根据所述终端控制指令执行对应的操作,将操作结果返回至所述智能销售终端。
  8. 一种智能销售终端的控制装置,其特征在于,应用于控制终端,包括:
    信息接收模块,用于在接收到智能销售终端发送的广播信息时,确定所述广播信息携带的销售终端信息;所述销售终端信息包括所述智能销售终端的SN和所述智能销售终端的IP地址;
    列表确定模块,用于根据所有接收到的广播信息,确定目标终端列表;所述目标终端列表包括所有智能销售终端的销售终端信息及每个智能销售终端与所述控制终端间的距离;
    第一通信连接模块,用于在接收到通信连接指令时,建立与目标智能销售终端的通信连接关系;
    第一互通模块,用于在接收到互通连接指令时,建立第一智能销售终端和第二智能销售终端之间的通信连接关系;所述第一智能销售终端和所述第二智能销售终端为与所述控制终端通信连接的不相同的两个目标智能销售终端。
  9. 一种智能销售终端的控制装置,其特征在于,应用于智能销售终端,包括:
    广播模块,用于以预设周期发送广播信息;所述广播信息包括智能销售终端的SN和智能销售终端的IP地址;
    第二通信连接模块,用于在接收到控制终端发送的设备连接指令时,建立与所述控制终端间的通信连接关系;
    第二互通模块,用于在接收到所述控制终端发送的设备互联指令时,根据所述设备互联指令建立与互联智能销售终端的通信连接关系。
  10. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至4或5至7任一项所述的方法。
PCT/CN2023/082842 2022-03-28 2023-03-21 智能销售终端的控制方法、装置、终端设备及存储介质 WO2023185557A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210313428.6 2022-03-28
CN202210313428.6A CN114650615A (zh) 2022-03-28 2022-03-28 智能销售终端的控制方法、装置、终端设备及存储介质

Publications (1)

Publication Number Publication Date
WO2023185557A1 true WO2023185557A1 (zh) 2023-10-05

Family

ID=81995378

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/082842 WO2023185557A1 (zh) 2022-03-28 2023-03-21 智能销售终端的控制方法、装置、终端设备及存储介质

Country Status (2)

Country Link
CN (1) CN114650615A (zh)
WO (1) WO2023185557A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120528A (zh) * 2015-08-14 2015-12-02 北京奇虎科技有限公司 一种设备间进行配置性设置的方法、装置及系统
CN107730246A (zh) * 2016-08-11 2018-02-23 凡学(上海)教育科技有限公司 一种用于线下购买商品的智能销售终端、系统及方法
CN110868748A (zh) * 2019-11-06 2020-03-06 北京小米移动软件有限公司 智能设备入网、网络接入方法、装置、设备、系统及介质
CN112672330A (zh) * 2020-12-07 2021-04-16 深圳市晨北科技有限公司 通信方法及系统、设备及存储介质
WO2021213463A1 (zh) * 2020-04-22 2021-10-28 中兴通讯股份有限公司 智能设备的配网方法及装置、电子设备、计算机可读介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2758259A1 (en) * 2009-04-13 2010-10-21 Crane Merchandising Systems, Inc. Vending machine with interactive display
CN201892989U (zh) * 2010-06-18 2011-07-06 杨彬 销售终端的无线通信识别设备和销售终端
CN105632144A (zh) * 2015-12-30 2016-06-01 小米科技有限责任公司 智能设备的控制方法及装置
CN106657370B (zh) * 2017-01-03 2019-08-30 腾讯科技(深圳)有限公司 数据传输方法及装置
CN109300236A (zh) * 2018-07-09 2019-02-01 武汉盛硕电子有限公司 一种售货柜控制方法、系统及售货柜
CN109859386A (zh) * 2019-02-02 2019-06-07 湖南金码云链科技有限公司 一种工业计算机与售货机双向通信方法及系统
CN112950844B (zh) * 2021-04-29 2022-04-19 四川虹美智能科技有限公司 智能售货机控制方法、控制平台和系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120528A (zh) * 2015-08-14 2015-12-02 北京奇虎科技有限公司 一种设备间进行配置性设置的方法、装置及系统
CN107730246A (zh) * 2016-08-11 2018-02-23 凡学(上海)教育科技有限公司 一种用于线下购买商品的智能销售终端、系统及方法
CN110868748A (zh) * 2019-11-06 2020-03-06 北京小米移动软件有限公司 智能设备入网、网络接入方法、装置、设备、系统及介质
WO2021213463A1 (zh) * 2020-04-22 2021-10-28 中兴通讯股份有限公司 智能设备的配网方法及装置、电子设备、计算机可读介质
CN112672330A (zh) * 2020-12-07 2021-04-16 深圳市晨北科技有限公司 通信方法及系统、设备及存储介质

Also Published As

Publication number Publication date
CN114650615A (zh) 2022-06-21

Similar Documents

Publication Publication Date Title
US20190236300A1 (en) Service processing method and apparatus, data sharing system, and storage medium
US8788634B2 (en) Portable device upgrade via a content transfer protocol
WO2022143540A1 (zh) 区块链索引的存储方法、装置、计算机设备及介质
CN110286768B (zh) 虚拟物体显示方法、终端设备及计算机可读存储介质
WO2021013242A1 (zh) 一种启动小程序的方法、设备和计算机存储介质
CN105183675A (zh) 对usb设备的访问方法、装置、终端、服务器及系统
US20080320500A1 (en) Remote human interface device in an aggregate computer system
CN110875850B (zh) 一种固件升级方法、系统、可读存储介质及终端设备
WO2021013247A1 (zh) 一种运行小程序的方法、设备和计算机存储介质
EP2819015B1 (en) Method, terminal, and server for synchronizing terminal mirror
US8458335B2 (en) Method and apparatus for relationship management
US20220147999A1 (en) Cross-chain transaction method and apparatus
CN111259022A (zh) 一种信息同步方法、同步系统、计算机设备和介质
WO2018153064A1 (zh) 数据处理方法、终端及非易失性可读存储介质
WO2024093542A1 (zh) Usb免驱通信方法、装置、电子设备及存储介质
WO2023185557A1 (zh) 智能销售终端的控制方法、装置、终端设备及存储介质
CN106775835B (zh) 获取升级文件的方法、服务器及终端
CN110515662B (zh) 双系统设备的远程控制方法、系统、设备及可读存储介质
CN110134419B (zh) 一种双面柜的系统升级方法、装置、设备及存储介质
US20190208023A1 (en) Systems and methods for smb monitor dialect
EP4174642A1 (en) Method and device for installing program
JP3014288B2 (ja) データストアへのアクセスの最適化方法及びシステム
EP1661007B1 (en) System and method for monitoring and managing connection manager activity
CN114185804A (zh) 一种接口测试方法、装置及终端设备
CN111352357B (zh) 机器人的控制方法、装置及终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23777930

Country of ref document: EP

Kind code of ref document: A1