WO2022033083A1 - 译码方法、译码***、电子装置和存储介质 - Google Patents

译码方法、译码***、电子装置和存储介质 Download PDF

Info

Publication number
WO2022033083A1
WO2022033083A1 PCT/CN2021/091296 CN2021091296W WO2022033083A1 WO 2022033083 A1 WO2022033083 A1 WO 2022033083A1 CN 2021091296 W CN2021091296 W CN 2021091296W WO 2022033083 A1 WO2022033083 A1 WO 2022033083A1
Authority
WO
WIPO (PCT)
Prior art keywords
topic
message
proxy server
decoding
subscriber
Prior art date
Application number
PCT/CN2021/091296
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 WO2022033083A1 publication Critical patent/WO2022033083A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices
    • H04W88/182Network node acting on behalf of an other network entity, e.g. proxy

Definitions

  • the present application relates to the field of mobile phone number detection, and in particular, to a decoding method, a decoding system, an electronic device and a storage medium.
  • Electric fence is a detection and decoding system built in high-traffic areas such as highway entrances and exits, stations and docks, or other special places. It detects information such as International Mobile Subscriber Identity (IMSI) and International Mobile Equipment Identity (IMEI) of mobile terminals within the coverage area, and then detects the The information is transmitted to the backend server, and the backend server sends the detected information to the decoding terminal to decode it into a mobile phone number and send it back to the backend server, so as to obtain the mobile phone number of the user within the coverage area.
  • IMSI International Mobile Subscriber Identity
  • IMEI International Mobile Equipment Identity
  • the current detection and decoding system transmits data based on Transmission Control Protocol (TCP for short), and it is necessary to formulate a complete protection mechanism such as disconnection, reconnection and retransmission, otherwise it is easy to cause data loss or program running. lead to a decrease in system stability. Moreover, if the detection device or the detected data to be transmitted is too much, it will lead to too many TCP connections, which will affect the fixed-point transmission and transmission efficiency of the data.
  • TCP Transmission Control Protocol
  • Embodiments of the present application provide a decoding method, a decoding system, an electronic device, and a storage medium, so as to at least solve the problem of low stability of the detection and decoding system in the related art.
  • an embodiment of the present application provides a decoding method, including: an MQTT proxy server receiving a first message with a first topic published by a publisher, wherein the publisher of the first topic includes a detection terminal device, the first message includes the identification information of the mobile terminal; the MQTT proxy server pushes the first message to the subscriber of the first topic, wherein the subscriber of the first topic includes a decoding terminal device; the MQTT proxy server receives a second message with a second topic published by the decoding end device, wherein the second message includes plaintext information corresponding to the identification information; the MQTT proxy server will The second message is pushed to the subscribers of the second topic, wherein the subscribers of the second topic include a control terminal device.
  • the method further includes: the MQTT proxy server receives a third message with a third topic published by the control terminal device; the MQTT proxy server pushes the third message to the The subscriber of the third topic; wherein, the subscriber of the third topic includes the detection terminal device, the third message includes the topic subscribed by the decoding terminal device, and the third message is used to indicate The detection end device publishes a message on a topic subscribed by the decoding end device.
  • the method further includes: the MQTT proxy server receives a fourth message with a fourth topic published by the control terminal device; the MQTT proxy server pushes the fourth message to the The subscriber of the fourth topic; wherein, the subscriber of the fourth topic includes the decoding end device, the fourth message includes the topic published by the detection end device, and the fourth message is used to indicate The decoding end device subscribes to the topic published by the detection end device.
  • the method further Including: the MQTT proxy server receives the fifth message with the fifth topic published by the control terminal device; the MQTT proxy server pushes the fifth message to the subscribers of the fifth topic; wherein, the The subscriber of the fifth topic includes the detection end device, the fifth message includes the identification information, and the fifth message is used to indicate that the identification information has been successfully decoded.
  • the identification information is International Mobile Subscriber Identity Code IMSI information and/or International Mobile Equipment Identity Code IMEI information
  • the clear code information is mobile phone number information.
  • an embodiment of the present application provides a decoding method, including: an MQTT proxy server receiving a first message with a first topic published by a publisher, wherein the publisher of the first topic includes a detection terminal device, the first message includes the identification information of the mobile terminal; the MQTT proxy server pushes the first message to the subscriber of the first topic, wherein the subscriber of the first topic includes the control terminal device ; the MQTT proxy server receives a second message with a second topic published by the control terminal device, wherein the second message includes the identification information; the MQTT proxy server pushes the second message to a subscriber of the second topic, wherein the subscriber of the second topic includes a decoding end device; the MQTT proxy server receives a third message with a third topic published by the decoding end device, wherein , the third message includes plaintext information corresponding to the identification information; the MQTT proxy server pushes the third message to the subscribers of the third topic, wherein the subscribers of the third topic include the control terminal
  • the first topic includes identification information of the detection terminal device; the second topic includes identification information of the control terminal device; the third topic includes the decoding terminal device identification information.
  • an embodiment of the present application provides a decoding system, including: a detection end device, a control end device, a decoding end device, and an MQTT proxy server; the detection end device, the control end device, and the MQTT proxy server; The decoding end devices are respectively connected to the MQTT proxy server; wherein, the MQTT proxy server is configured to execute the decoding method described in the first aspect and/or the decoding method described in the second aspect.
  • an embodiment of the present application provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the first aspect.
  • a decoding method, and/or the decoding method described in the second aspect are examples of the decoding method described in the second aspect.
  • an embodiment of the present application provides a storage medium, where a computer program is stored in the storage medium, wherein the computer program is configured to execute the decoding method described in the first aspect at runtime, and/or , the decoding method described in the second aspect.
  • the MQTT proxy server receives the first message with the first topic published by the publisher, wherein the first message of the first topic is The publisher includes the detection end device, and the first message includes the identification information of the mobile terminal; the MQTT proxy server pushes the first message to the subscriber of the first topic, wherein the subscriber of the first topic includes the decoding end device; the MQTT agent The server receives the second message with the second topic published by the decoding end device, wherein the second message includes plaintext information corresponding to the identification information; the MQTT proxy server pushes the second message to the subscribers of the second topic, wherein, The subscriber of the second topic includes the control terminal device.
  • FIG. 1 is a block diagram of a hardware structure of a terminal according to a decoding method according to an embodiment of the present application
  • FIG. 2 is a flowchart of a decoding method according to an embodiment of the present application.
  • FIG. 3 is a flowchart of another decoding method according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a decoding system according to an embodiment of the present application.
  • Words like "connected,” “connected,” “coupled,” and the like referred to in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
  • the “plurality” referred to in this application means greater than or equal to two.
  • “And/or” describes the association relationship between associated objects, indicating that there can be three kinds of relationships. For example, “A and/or B” can mean that A exists alone, A and B exist at the same time, and B exists alone.
  • the terms “first”, “second”, “third”, etc. involved in this application are only to distinguish similar objects, and do not represent a specific order for the objects.
  • FIG. 1 is a block diagram of a hardware structure of a terminal of a decoding method according to an embodiment of the present invention.
  • the terminal may include one or more (only one is shown in FIG. 1 ) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and
  • the memory 104 for storing data optionally, the above-mentioned terminal may further include a transmission device 106 and an input and output device 108 for communication functions.
  • FIG. 1 is only for illustration, which does not limit the structure of the above-mentioned terminal.
  • the terminal may also include more or fewer components than shown in FIG. 1 , or have a different configuration than that shown in FIG. 1 .
  • the memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the decoding method in the embodiment of the present invention. A functional application and data processing are implemented, namely, the above-mentioned method is implemented.
  • Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, memory 104 may further include memory located remotely from processor 102, and these remote memories may be connected to the terminal through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • Transmission device 106 is used to receive or transmit data via a network.
  • the specific example of the above-mentioned network may include a wireless network provided by a communication provider of the terminal.
  • the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet.
  • the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is used to communicate with the Internet in a wireless manner.
  • RF Radio Frequency
  • This embodiment provides a decoding method.
  • the decoding method is applied to a decoding system including an MQTT proxy server, a detection end device, a decoding end device and a control end device.
  • a subscription client and/or a publishing client are deployed on the detection end device, the decoding end device and the control end device, or the detection end device, the decoding end device and the control end device communicate with their respective subscription clients. And/or publish client communications to enable data interaction with the MQTT proxy server.
  • the detection end device, the decoding end device and the control end device carry the information that needs to be transmitted to other ends in a specific topic, and publish it to the MQTT proxy server, and the MQTT proxy server according to the
  • the topics subscribed by each terminal device push these specific topics to the corresponding subscribers respectively, so as to realize the data interaction between the detection terminal device, the decoding terminal device and the control terminal device.
  • the decoding method of the embodiment of the present application is implemented based on the above data interaction.
  • the detection end device, the decoding end device and the control end device interact directly through the TCP protocol, which leads to the tight coupling of the detection end device, the decoding end device and the control end device, which is not easy to expand, and requires additional rework.
  • the problem of low system stability caused by the connection and retransmission mechanism the embodiment of the present application reduces the coupling degree of the detection end device, the decoding end device and the control end device through the MQTT protocol, and can easily expand more detection end devices equipment, and with the help of the reconnection and retransmission mechanism of the MQTT protocol, there is no need to additionally design the reconnection and retransmission mechanism between each end of the decoding equipment, which improves the stability of the system.
  • FIG. 2 is a flowchart of a decoding method according to an embodiment of the present application. As shown in FIG. 2 , the flowchart includes the following steps:
  • Step S201 the MQTT proxy server receives a first message with a first topic published by a publisher, wherein the publisher of the first topic includes a detection terminal device, and the first message includes identification information of the mobile terminal.
  • the detection end device which is one of the publishing parties, publishes a first message with a first topic, and the first message carries the identification of the mobile terminal detected by the detection end device within the coverage area. information.
  • the detection end device usually simulates mobile communication in Frequency Division Duplexing (FDD) mode or Time Division Duplexing (TDD) mode, and the mobile terminal enters the coverage of the detection end device. After the range is reached, it will send its own identification information, such as IMSI number and/or IMEI number, to the detection terminal device according to the protocol of base station access.
  • FDD Frequency Division Duplexing
  • TDD Time Division Duplexing
  • the detection terminal device After obtaining the IMSI number and/or the IMEI number, the detection terminal device carries the identification information in the publishing message, and publishes the message to the MQTT proxy server with the first topic (topic).
  • the first theme is a preset theme agreed in advance between the end devices in the decoding system, and the identification information of the detection end device can also be used as the first theme, which can be carried in the identification information of the detection end device. There are information such as the unique code and/or coverage area of the detection end device.
  • the topics published by the detection device are configured by the control device.
  • the MQTT proxy server receives the third message with the third topic published by the control terminal device; the MQTT proxy server pushes the third message to the subscribers of the third topic; wherein, the subscribers of the third topic include the detection terminal device , the third message includes the topic subscribed by the decoding end device, and the third message is used to instruct the detecting end device to publish the message on the topic subscribed by the decoding end device.
  • the topics subscribed by the decoding end device include the above-mentioned first topic.
  • the topic subscribed by the decoding terminal device is published by the control terminal device to the MQTT proxy server, and the MQTT proxy server pushes it to the detection terminal device, thereby realizing the configuration of the topic published by the detection terminal device.
  • the third topic may be identification information of the control terminal device, and the detection terminal device and the decoding terminal device may both establish a subscription relationship with the third topic.
  • the third topic may also be the identification information of the detection end device, wherein each detection end device subscribes to a message with its own identification information as the theme.
  • the first topic may be the identification information of the decoding end device, wherein each decoding end device subscribes to the information with its own identification information as the topic.
  • the detecting end device may publish all detected IMSI numbers and/or IMEI numbers to the MQTT proxy server, or may publish only a part of the detected IMSI numbers and/or IMEI numbers. For example, for the IMSI number and/or IMEI number configured in the whitelist, the MQTT proxy server may not publish to the MQTT proxy server.
  • the detection end device can Publish only a limited number of times, such as once or twice, or publish at least once and receive a reception success message from the MQTT proxy server; after that, these IMSI numbers and/or IMEI numbers will not be published repeatedly within the preset time period until the preset time period. After the set time period, if these IMSI numbers and/or IMEI numbers are detected again, the next round of message publishing will be performed.
  • the amount of data published by the detection terminal device to the MQTT proxy server can be reduced, the resource consumption of the decoding system can be reduced, and a large amount of information can be prevented from flooding the useful information.
  • Step S202 the MQTT proxy server pushes the first message to the subscribers of the first topic, where the subscribers of the first topic include decoding end devices.
  • the decoding end device subscribes to messages of the first topic.
  • the first subject is identification information of the decoding end device.
  • the MQTT proxy server pushes the first message with the first topic to the decoding end device.
  • the decoding end device may be a terminal device or a server device provided by a communication operator, and is used to decode the IMSI number and/or IMEI number into clear-code information, where the clear-code information includes at least mobile phone number information, and may also include but not limited to mobile phone numbers.
  • the IMSI number in each operator service, usually establishes a persistent association relationship with the mobile phone number, and the IMSI number can be decoded into the mobile phone number according to the persistent association relationship.
  • a temporary association relationship is usually established between the IMEI number and the mobile phone number, and within a certain period of time, the IMEI number can be decoded into a mobile phone number according to the temporary association relationship.
  • the topics to which the decoder device is subscribed are configured by the control device.
  • the MQTT proxy server receives the fourth message with the fourth topic published by the control terminal device; the MQTT proxy server pushes the fourth message to the subscribers of the fourth topic; wherein, the subscribers of the fourth topic include the decoding terminal device , the fourth message includes the topic published by the detection end device, and the fourth message is used to instruct the decoding end device to subscribe to the topic published by the detection end device.
  • the control terminal device publishes the topic published by the detection terminal device to the MQTT proxy server, and the MQTT proxy server pushes it to the decoding terminal device, thereby realizing the configuration of the subscription topic for the decoding terminal device.
  • the fourth topic may be identification information of the control terminal device, and the detection terminal device and the decoding terminal device may both establish a subscription relationship with the fourth topic.
  • the fourth topic may also be the identification information of the decoding end device, wherein each decoding end device subscribes to a message with its own identification information as the topic.
  • Step S203 the MQTT proxy server receives a second message with a second topic published by the decoding end device, where the second message includes plaintext information corresponding to the identification information.
  • the decoding end device After the decoding end device decodes the mobile phone number information obtained by decoding the IMSI number and/or IMEI number, the decoding end device carries the mobile phone number information in the second message with the second topic, and then publishes the second message to MQTT proxy server.
  • Step S204 the MQTT proxy server pushes the second message to the subscriber of the second topic, where the subscriber of the second topic includes the control terminal device.
  • the controlling end device subscribes to the topics published by all the decoding end devices. After the MQTT proxy server receives the second message with the second topic published by the decoding end device, based on the subscription relationship of the control end device, the MQTT proxy server pushes the second message to the control end devices including the control end device, Therefore, the control terminal device obtains clear information such as the mobile phone number of the mobile terminal within the coverage area of the detection terminal device.
  • the identification information of the mobile terminal that has been successfully decoded within the preset time period may not be repeatedly published to the MQTT proxy server within the preset time period.
  • the MQTT proxy server receives the fifth message with the fifth topic published by the control terminal device; the MQTT proxy server pushes the fifth message to the subscribers of the fifth topic; wherein the subscribers of the fifth topic include
  • the fifth message includes identification information, and the fifth message is used to indicate that the identification information has been successfully decoded.
  • the detection end device may no longer publish the identification information carrying the successfully decoded identification information within a preset time period, thereby reducing the number of messages to be published.
  • This embodiment provides another decoding method.
  • the difference between this decoding method and the decoding methods of the above method embodiments is that in the decoding method provided in this embodiment, the decoding end device does not directly subscribe and receive the messages directly published by the detecting end device, but only Subscribe and receive the topics published by the control device; similarly, the messages published by the detection device are subscribed by the control device, so that the messages published by the detection device are pushed to the control device.
  • the advantage of this is that the topics published by the detection device and the topics subscribed by the decoding device are fixed and do not require dynamic configuration.
  • FIG. 3 is a flowchart of another decoding method according to an embodiment of the present application. As shown in Figure 3, the process includes the following steps:
  • Step S301 the MQTT proxy server receives a first message with a first topic published by a publisher, wherein the publisher of the first topic includes a detection terminal device, and the first message includes identification information of the mobile terminal.
  • Step S302 the MQTT proxy server pushes the first message to the subscriber of the first topic, wherein the subscriber of the first topic includes the control terminal device.
  • Step S303 the MQTT proxy server receives a second message with a second topic published by the control terminal device, wherein the second message includes identification information.
  • Step S304 the MQTT proxy server pushes the second message to the subscribers of the second topic, where the subscribers of the second topic include decoding end devices.
  • Step S305 the MQTT proxy server receives a third message with a third topic published by the decoding terminal device, wherein the third message includes clear code information corresponding to the identification information.
  • Step S306 the MQTT proxy server pushes the third message to the subscribers of the third topic, where the subscribers of the third topic include the control terminal device.
  • the first topic includes identification information of the detection end device; the second topic includes identification information of the control end device; and the third topic includes identification information of the decoding end device.
  • the data interaction between the MQTT proxy server and each publishing client and/or subscription client adopts the TCP/IP protocol, thereby ensuring the reliability of data transmission .
  • the mode of publishing/subscribing messages one-to-one or one-to-many message publishing can be realized, which reduces the degree of coupling between end devices.
  • the publishing client and the subscription client in addition to the reconnection and retransmission mechanism of the TCP/IP protocol, there are also two other guaranteed messages of the MQTT protocol. Models of quality of service.
  • the "message arrives at least once" QoS mode can ensure that the message arrives, but the message may be repeatedly sent; the "message arrives once" QoS mode can ensure that the message arrives once. It can be seen that both the "message arrives at least once" QoS mode and the "message arrives once" QoS mode can improve the reliability of message arrival.
  • the data transmission overhead of the decoding system based on the MQTT protocol is small, and it can effectively use the limited bandwidth to transmit more network traffic. .
  • FIG. 4 is a schematic structural diagram of a decoding system according to an embodiment of the present application.
  • the decoding system includes: a detection end device 41 , a control end device 42 , a decoding end device 43 , and an MQTT proxy server 44 Detecting terminal equipment 41, control terminal equipment 42 and decoding terminal equipment 43 are respectively connected with MQTT proxy server 44; Wherein, this MQTT proxy server 44 is used for performing the decoding method shown in Figure 2 and/or Figure 3, The descriptions and explanations that have already been performed will not be repeated here.
  • a subscription client and/or a publishing client are deployed on the detection terminal device 41, the decoding terminal device 43 and the control terminal device 42, or the detection terminal device 41, the decoding terminal device 43 And the control terminal device 42 communicates with the respective subscription client and/or publishing client, thereby realizing data interaction with the MQTT proxy server 44.
  • the number of detection end devices 41 and decoding end devices 43 may be one or more.
  • the control terminal device 42 may be a server or a server cluster.
  • This embodiment also provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
  • the electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
  • the above-mentioned processor may be configured to perform the following steps by means of a computer program:
  • the MQTT proxy server receives a first message with a first topic published by a publisher, where the publisher of the first topic includes a detection terminal device, and the first message includes identification information of the mobile terminal.
  • the MQTT proxy server pushes the first message to the subscriber of the first topic, where the subscriber of the first topic includes a decoding end device.
  • the MQTT proxy server receives a second message with a second topic published by the decoding end device, where the second message includes plaintext information corresponding to the identification information.
  • the MQTT proxy server pushes the second message to the subscriber of the second topic, where the subscriber of the second topic includes the control terminal device.
  • the above-mentioned processor may be configured to perform the following steps by means of a computer program:
  • the MQTT proxy server receives a first message with a first topic published by a publisher, where the publisher of the first topic includes a detection terminal device, and the first message includes identification information of the mobile terminal.
  • the MQTT proxy server pushes the first message to the subscriber of the first topic, where the subscriber of the first topic includes a control terminal device.
  • the MQTT proxy server receives a second message with a second topic published by the control terminal device, where the second message includes identification information.
  • the MQTT proxy server pushes the second message to the subscriber of the second topic, where the subscriber of the second topic includes a decoding end device.
  • the MQTT proxy server receives a third message with a third topic published by the decoding end device, where the third message includes clear code information corresponding to the identification information.
  • the MQTT proxy server pushes the third message to the subscriber of the third topic, where the subscriber of the third topic includes the control terminal device.
  • the embodiments of the present application may provide a storage medium for implementation.
  • a computer program is stored on the storage medium; when the computer program is executed by the processor, any one of the decoding methods in the foregoing embodiments is implemented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

一种译码方法、译码***、电子装置和存储介质。该译码方法包括MQTT代理服务器接收由发布方发布的具有第一主题的第一消息;MQTT代理服务器将第一消息推送给第一主题的订阅方;MQTT代理服务器接收由译码端设备发布的具有第二主题的第二消息,第二消息包括与标识信息对应的明码信息;MQTT代理服务器将第二消息推送给第二主题的订阅方。

Description

译码方法、译码***、电子装置和存储介质
相关申请
本申请要求2020年8月14日申请的,申请号为202010817210.5,发明名称为“译码方法、译码***、电子装置和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及手机号码侦测领域,特别是涉及一种译码方法、译码***、电子装置和存储介质。
背景技术
“电子围栏”是一种建设在高速公路出入口、车站码头等人流密集地或其他特殊场地的侦测译码***。它通过侦测覆盖范围内的移动终端的国际移动用户识别码(International Mobile Subscriber Identity,简称为IMSI)、国际移动设备识别码(International Mobile Equipment Identity,简称为IMEI)等信息,然后将侦测到的信息传递给后台服务器,后台服务器将侦测到的信息再发送给译码端译码为手机号码再回传给后台服务器,从而获得覆盖范围内用户的手机号码。
目前的侦测译码***基于传输控制协议(Transmission Control Protocol,简称为TCP)传输数据,需要制定完善的断开重连及重发等保护机制,否则容易造成数据丢失或程序跑死的情况,导致***稳定性降低。而且如果侦测设备或者侦测到的待传输数据过多,会导致TCP连接数也过多,对于数据的定点传输和传输效率都会有影响。
目前针对相关技术中的侦测译码***的稳定性低的问题,尚未提出有效的解决方案。
发明内容
本申请实施例提供了一种译码方法、译码***、电子装置和存储介质,以至少解决相关技术中侦测译码***的稳定性低的问题。
第一方面,本申请实施例提供了一种译码方法,包括:MQTT代理服务器接收由发布方发布的具有第一主题的第一消息,其中,所述第一主题的发布方包括侦测端设备,所述第一消息包括移动终端的标识信息;所述MQTT代理服务器将所述第一消息推送给所述第一主题的订阅方,其中,所述第一主题的订阅方包括译码端设备;所述MQTT代理服务器接收由所述译码端设备发布的具有第二主题的第二消息,其中,所述第二消息包括与所述标识信息对应的明码信息;所述MQTT代理服务器将所述第二消息推送给所述第二主题的订阅方,其中,所述第二主题的订阅方包括控制端设备。
在其中一些实施例中,所述方法还包括:所述MQTT代理服务器接收由所述控制端设备发布的具有第三主题的第三消息;所述MQTT代理服务器将所述第三消息推送给所述第三主题的订阅方;其中,所述第三主题的订阅方包括所述侦测端设备,所述第三消息包括所述译码端设备订阅的主题,所述第三消息用于指示所述侦测端设备以所述译码端设备订阅的主题发布消息。
在其中一些实施例中,所述方法还包括:所述MQTT代理服务器接收由所述控制端设备发布的具有第四主题的第四消息;所述MQTT代理服务器将所述第四消息推送给所述第四主题的订阅方;其中,所述第四主题的订阅方包括所述译码端设备,所述第四消息包括所述侦测端设备发布的主题,所述 第四消息用于指示所述译码端设备订阅所述侦测端设备发布的主题。
在其中一些实施例中,在所述MQTT代理服务器将所述第二消息推送给所述第二主题的订阅方,其中,所述第二主题的订阅方包括控制端设备之后,所述方法还包括:所述MQTT代理服务器接收由所述控制端设备发布的具有第五主题的第五消息;所述MQTT代理服务器将所述第五消息推送给所述第五主题的订阅方;其中,所述第五主题的订阅方包括所述侦测端设备,所述第五消息包括所述标识信息,所述第五消息用于指示所述标识信息已成功译码。
在其中一些实施例中,所述标识信息为国际移动用户识别码IMSI信息和/或国际移动设备识别码IMEI信息,所述明码信息为手机号码信息。
第二方面,本申请实施例提供了一种译码方法,包括:MQTT代理服务器接收由发布方发布的具有第一主题的第一消息,其中,所述第一主题的发布方包括侦测端设备,所述第一消息包括移动终端的标识信息;所述MQTT代理服务器将所述第一消息推送给所述第一主题的订阅方,其中,所述第一主题的订阅方包括控制端设备;所述MQTT代理服务器接收由所述控制端设备发布的具有第二主题的第二消息,其中,所述第二消息包括所述标识信息;所述MQTT代理服务器将所述第二消息推送给所述第二主题的订阅方,其中,所述第二主题的订阅方包括译码端设备;所述MQTT代理服务器接收由所述译码端设备发布的具有第三主题的第三消息,其中,所述第三消息包括与所述标识信息对应的明码信息;所述MQTT代理服务器将所述第三消息推送给所述第三主题的订阅方,其中,所述第三主题的订阅方包括所述控制端设备。
在其中一些实施例中,所述第一主题包括所述侦测端设备的标识信息;所述第二主题包括所述控制端设备的标识信息;所述第三主题包括所述译码 端设备的标识信息。
第三方面,本申请实施例提供了一种译码***,包括:侦测端设备、控制端设备和译码端设备,以及MQTT代理服务器;所述侦测端设备、所述控制端设备以及所述译码端设备分别与所述MQTT代理服务器连接;其中,所述MQTT代理服务器用于执行如第一方面所述的译码方法,和/或,第二方面所述的译码方法。
第四方面,本申请实施例提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行第一方面所述的译码方法,和/或,第二方面所述的译码方法。
第五方面,本申请实施例提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行第一方面所述的译码方法,和/或,第二方面所述的译码方法。
相比于相关技术,本申请实施例提供的译码方法、译码***、电子装置和存储介质,MQTT代理服务器接收由发布方发布的具有第一主题的第一消息,其中,第一主题的发布方包括侦测端设备,第一消息包括移动终端的标识信息;MQTT代理服务器将第一消息推送给第一主题的订阅方,其中,第一主题的订阅方包括译码端设备;MQTT代理服务器接收由译码端设备发布的具有第二主题的第二消息,其中,第二消息包括与标识信息对应的明码信息;MQTT代理服务器将第二消息推送给第二主题的订阅方,其中,第二主题的订阅方包括控制端设备。通过本申请,解决了相关技术中侦测译码***的稳定性低的问题,提高了侦测译码***的稳定性。
本申请的一个或多个实施例的细节在以下附图和描述中提出,以使本申请的其他特征、目的和优点更加简明易懂。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据本申请实施例的译码方法的终端的硬件结构框图;
图2是根据本申请实施例的一种译码方法的流程图;
图3是根据本申请实施例的另一种译码方法的流程图;
图4是根据本申请实施例的译码***的结构示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行描述和说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。基于本申请提供的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。此外,还可以理解的是,虽然这种开发过程中所作出的努力可能是复杂并且冗长的,然而对于与本申请公开的内容相关的本领域的普通技术人员而言,在本申请揭露的技术内容的基础上进行的一些设计,制造或者生产等变更只是常规的技术手段,不应当理解为本申请公开的内容不充分。
在本申请中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域普通技术人员显式地和隐式地理解的是,本申请所描 述的实施例在不冲突的情况下,可以与其它实施例相结合。
除非另作定义,本申请所涉及的技术术语或者科学术语应当为本申请所属技术领域内具有一般技能的人士所理解的通常意义。本申请所涉及的“一”、“一个”、“一种”、“该”等类似词语并不表示数量限制,可表示单数或复数。本申请所涉及的术语“包括”、“包含”、“具有”以及它们任何变形,意图在于覆盖不排他的包含;例如包含了一系列步骤或模块(单元)的过程、方法、***、产品或设备没有限定于已列出的步骤或单元,而是可以还包括没有列出的步骤或单元,或可以还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。本申请所涉及的“连接”、“相连”、“耦接”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电气的连接,不管是直接的还是间接的。本申请所涉及的“多个”是指大于或者等于两个。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本申请所涉及的术语“第一”、“第二”、“第三”等仅仅是区别类似的对象,不代表针对对象的特定排序。
本实施例提供的方法实施例可以在终端、计算机或者类似的运算装置中执行。以运行在终端上为例,图1是本发明实施例的译码方法的终端的硬件结构框图。如图1所示,终端可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器104,可选地,上述终端还可以包括用于通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述终端的结构造成限定。例如,终端还可包括比图1中所示更多或者更少的组件,或者具有与图1 所示不同的配置。
存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本发明实施例中的译码方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输设备106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括终端的通信供应商提供的无线网络。在一个实例中,传输设备106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输设备106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。
本实施例提供了一种译码方法。该译码方法应用于包括MQTT代理服务器、侦测端设备、译码端设备和控制端设备的译码***。其中,侦测端设备、译码端设备和控制端设备上均部署有订阅客户端和/或发布客户端,或者侦测端设备、译码端设备和控制端设备通过与各自的订阅客户端和/或发布客户端通讯,从而实现与MQTT代理服务器之间的数据交互。基于上述的订阅客户端和/或发布客户端,侦测端设备、译码端设备和控制端设备通过在特定主题中携带需要传递给其他端的信息,并发布到MQTT代理服务器,MQTT代理服务器根据各端设备订阅的主题将这些特定的主题分别推送给相应的订阅 方,从而实现侦测端设备、译码端设备和控制端设备之间的数据交互。基于上述数据交互实现本申请实施例的译码方法。相对于相关技术中侦测端设备、译码端设备和控制端设备通过TCP协议直接交互从而导致侦测端设备、译码端设备和控制端设备耦合紧密、不易扩展,以及需要进行额外的重连和重传机制导致的***稳定性低的问题,本申请实施例通过MQTT协议降低了侦测端设备、译码端设备和控制端设备的耦合程度,能够方便地扩展更多的侦测端设备,以及借助于MQTT协议的重连、重发机制,无需再额外设计译码设备各端之间的重连、重传机制,提高了***的稳定性。
方法实施例1
本实施例提供了一种译码方法。图2是根据本申请实施例的一种译码方法的流程图,如图2所示,该流程包括如下步骤:
步骤S201,MQTT代理服务器接收由发布方发布的具有第一主题的第一消息,其中,第一主题的发布方包括侦测端设备,第一消息包括移动终端的标识信息。
在本实施例中,作为发布方之一的侦测端设备发布具有第一主题的第一消息,在第一消息中携带有由侦测端设备在覆盖范围内侦测到的移动终端的标识信息。
其中,侦测端设备通常以频分双工(Frequency Division Duplexing,简称为FDD)模式或者时分双工(Time Division Duplexing,简称为TDD)模式模拟移动通信,移动终端在进入侦测端设备的覆盖范围后,会按照基站接入的协议向侦测端设备发送自身的标识信息,例如IMSI号码和/或IMEI号码。
在获得IMSI号码和/或IMEI号码后,侦测端设备则将这些标识信息携带在发布消息中,并以第一主题(topic)将该消息发布到MQTT代理服务器。 其中,第一主题是译码***中各端设备之间事先约定的预设主题,也可以使用侦测端设备的标识信息来作为该第一主题,在侦测端设备的标识信息中可以携带有侦测端设备的唯一编码和/或覆盖区域等信息。
在其中一些实施例中,侦测端设备所发布的主题是由控制端设备配置的。例如,MQTT代理服务器接收由控制端设备发布的具有第三主题的第三消息;MQTT代理服务器将第三消息推送给第三主题的订阅方;其中,第三主题的订阅方包括侦测端设备,第三消息包括译码端设备订阅的主题,第三消息用于指示侦测端设备以译码端设备订阅的主题发布消息。其中,译码端设备订阅的主题就包括上述的第一主题。通过上述的方式,由控制端设备将译码端设备订阅的主题发布到MQTT代理服务器,并由MQTT代理服务器推送给侦测端设备,从而实现了对侦测端设备发布主题的配置,在新增侦测端设备或者新增译码端设备时,可以简单、方便地实现对新增设备的维护和配置。在上述实施例中,第三主题可以是控制端设备的标识信息,侦测端设备和译码端设备可以均建立有第三主题的订阅关系。第三主题也可以是侦测端设备的标识信息,其中每个侦测端设备订阅了以自身标识信息为主题的消息。第一主题可以是译码端设备的标识信息,其中,每个译码端设备订阅了以自身标识信息为主题的信息。
在其中一些实施例中,侦测端设备可以将侦测到的所有的IMSI号码和/或IMEI号码都发布到MQTT代理服务器,也可以仅发布侦测到的一部分IMSI号码和/或IMEI号码。例如,对于被配置在白名单中的IMSI号码和/或IMEI号码,MQTT代理服务器可以不发布到MQTT代理服务器。或者在预设时间段(例如一分钟、十分钟等较短的时间)内已经侦测并发布到MQTT代理服务器的IMSI号码和/或IMEI号码,侦测端设备在该预设时间段内可以仅发布 有限次,例如一次或者两次,或者发布至少一次并接收到MQTT代理服务器的接收成功消息;此后,在该预设时间段内不再重复发布这些IMSI号码和/或IMEI号码,直至预设时间段之后,如果再次侦测到这些IMSI号码和/或IMEI号码,再进行下一轮的消息发布。通过上述的方式,可以减少侦测端设备发布到MQTT代理服务器的数据量,减少译码***的资源消耗,并避免大量信息淹没有用的信息。
步骤S202,MQTT代理服务器将第一消息推送给第一主题的订阅方,其中,第一主题的订阅方包括译码端设备。
在本实施例中,译码端设备订阅第一主题的消息。在一些实施例中,第一主题是译码端设备的标识信息。MQTT代理服务器基于订阅关系,将具有第一主题的第一消息推送给译码端设备。译码端设备可以是通信运营商提供的终端设备或者服务器设备,用于将IMSI号码和/或IMEI号码译码为明码信息,该明码信息至少包括手机号码信息,还可以包括但不限于手机号码的归属地信息、用户名等信息。其中,在每个运营商服务中,IMSI号码通常与手机号码建立有持久的关联关系,根据该持久的关联关系就能够将IMSI号码译码为手机号码。IMEI号码与手机号码通常建立有临时的关联关系,在一定时间内,根据该临时的关联关系能够将IMEI号码译码为手机号码。
在其中一些实施例中,译码端设备所订阅的主题是由控制端设备配置的。例如,MQTT代理服务器接收由控制端设备发布的具有第四主题的第四消息;MQTT代理服务器将第四消息推送给第四主题的订阅方;其中,第四主题的订阅方包括译码端设备,第四消息包括侦测端设备发布的主题,第四消息用于指示译码端设备订阅侦测端设备发布的主题。通过上述的方式,由控制端设备将侦测端设备发布的主题发布到MQTT代理服务器,并由MQTT代理服 务器推送给译码端设备,从而实现了对译码端设备订阅主题的配置,在新增侦测端设备或者新增译码端设备时,可以简单、方便地实现对新增设备的维护和配置。在上述实施例中,第四主题可以是控制端设备的标识信息,侦测端设备和译码端设备可以均建立有第四主题的订阅关系。第四主题也可以是译码端设备的标识信息,其中每个译码端设备订阅了以自身标识信息为主题的消息。
步骤S203,MQTT代理服务器接收由译码端设备发布的具有第二主题的第二消息,其中,第二消息包括与标识信息对应的明码信息。
在译码端设备对IMSI号码和/或IMEI号码译码得到的手机号码信息后,译码端设备将手机号码信息携带在具有第二主题的第二消息中,然后将第二消息发布到MQTT代理服务器。
步骤S204,MQTT代理服务器将第二消息推送给第二主题的订阅方,其中,第二主题的订阅方包括控制端设备。
本实施例中,控制端设备订阅了所有译码端设备发布的主题。在MQTT代理服务器接收到译码端设备发布的具有第二主题的第二消息之后,基于控制端设备的订阅关系,MQTT代理服务器将第二消息推送给包括控制端设备在内的控制端设备,控制端设备因此获得了侦测端设备的覆盖范围内的移动终端的手机号码等明码信息。
为了减少侦测端设备发布的消息的数量,对于预设时间段内已经成功译码的移动终端的标识信息可以在该预设时间段内不再重复发布给MQTT代理服务器。在一些实施例中,MQTT代理服务器接收由控制端设备发布的具有第五主题的第五消息;MQTT代理服务器将第五消息推送给第五主题的订阅方;其中,第五主题的订阅方包括侦测端设备,第五消息包括标识信息,第 五消息用于指示标识信息已成功译码。侦测端设备在接收到第五消息以后,则可以在预设时间段内不再发布携带有该已成功译码的标识信息,减少消息发布数量。
需要说明的是,在上述流程中或者附图的流程图中示出的步骤可以在诸如一组计算机可执行指令的计算机***中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
方法实施例2
本实施例提供了另一种译码方法。该译码方法与上述方法实施例的译码方法的区别在于,本实施例提供的译码方法中,译码端设备不会直接订阅和接收由侦测端设备直接发布的消息,而是只订阅和接收控制端设备发布的主题;同样地,侦测端设备发布的消息被控制端设备订阅,从而使得侦测端发布的消息被推送到控制端设备。这样做的好处在于,侦测端设备发布的主题、译码端设备订阅的主题是固定的,不需要动态配置。在新增侦测端设备或者译码端设备时,只需要固定配置订阅和发布主题,就能够实现侦测端设备与控制端设备的数据交互,以及控制端设备与译码端设备的数据交互。另外,所有数据通过控制端设备控制其交互过程,有利于设备间的负荷分担控制。
图3是根据本申请实施例的另一种译码方法的流程图。如图3所示,该流程包括如下步骤:
步骤S301,MQTT代理服务器接收由发布方发布的具有第一主题的第一消息,其中,第一主题的发布方包括侦测端设备,第一消息包括移动终端的标识信息。
步骤S302,MQTT代理服务器将第一消息推送给第一主题的订阅方,其 中,第一主题的订阅方包括控制端设备。
步骤S303,MQTT代理服务器接收由控制端设备发布的具有第二主题的第二消息,其中,第二消息包括标识信息。
步骤S304,MQTT代理服务器将第二消息推送给第二主题的订阅方,其中,第二主题的订阅方包括译码端设备。
步骤S305,MQTT代理服务器接收由译码端设备发布的具有第三主题的第三消息,其中,第三消息包括与标识信息对应的明码信息。
步骤S306,MQTT代理服务器将第三消息推送给第三主题的订阅方,其中,第三主题的订阅方包括控制端设备。
在上述实施例中,第一主题包括侦测端设备的标识信息;第二主题包括控制端设备的标识信息;第三主题包括译码端设备的标识信息。
在本申请的上述实施例中,基于MQTT协议的译码***中,MQTT代理服务器和各个发布客户端和/或订阅客户端之间的数据交互采用TCP/IP协议,从而保证了数据传输可靠性。通过发布/订阅消息的模式,可以实现一对一或者一对多的消息发布,降低了各端设备之间的耦合程度。并且,在由MQTT代理服务器、发布客户端和订阅客户端组成的基于MQTT协议的译码***中,除了TCP/IP协议的重连、重传机制外,还具有MQTT协议的另外两种保障消息服务质量的模式。其中,“消息至少到达一次”的服务质量模式能够确保消息到达,但消息可能会重复发送;“消息到达一次”的服务质量模式能够确保消息到达一次。由此可见,无论“消息至少到达一次”的服务质量模式还是“消息到达一次”的服务质量模式都能够提高消息到达的可靠性。此外,基于MQTT协议的译码***的数据传输开销小,能够有效利用有限带宽传输更多的网络流量,尤其适用于人流量密集、流动性大、多侦测端设备的场景下 的译码需求。
需要说明的是,在上述流程中或者附图的流程图中示出的步骤可以在诸如一组计算机可执行指令的计算机***中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
本实施例还提供了一种译码***。图4是根据本申请实施例的译码***的结构示意图,如图4所示,该译码***包括:侦测端设备41、控制端设备42和译码端设备43,以及MQTT代理服务器44;侦测端设备41、控制端设备42以及译码端设备43分别与MQTT代理服务器44连接;其中,该MQTT代理服务器44用于执行如图2和/或图3所示的译码方法,已经进行过的描述和说明,在此不再赘述。
在上述的译码***中,侦测端设备41、译码端设备43和控制端设备42上均部署有订阅客户端和/或发布客户端,或者侦测端设备41、译码端设备43和控制端设备42通过与各自的订阅客户端和/或发布客户端通讯,从而实现与MQTT代理服务器44之间的数据交互。
在其中一些实施例中,侦测端设备41和译码端设备43的数量均可以为一个或者多个。控制端设备42可以为服务器或者服务器集群。
本实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。
在其中一些实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。
在其中一些实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:
S11,MQTT代理服务器接收由发布方发布的具有第一主题的第一消息,其中,第一主题的发布方包括侦测端设备,第一消息包括移动终端的标识信息。
S12,MQTT代理服务器将第一消息推送给第一主题的订阅方,其中,第一主题的订阅方包括译码端设备。
S13,MQTT代理服务器接收由译码端设备发布的具有第二主题的第二消息,其中,第二消息包括与标识信息对应的明码信息。
S14,MQTT代理服务器将第二消息推送给第二主题的订阅方,其中,第二主题的订阅方包括控制端设备。
在其中一些实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:
S21,MQTT代理服务器接收由发布方发布的具有第一主题的第一消息,其中,第一主题的发布方包括侦测端设备,第一消息包括移动终端的标识信息。
S22,MQTT代理服务器将第一消息推送给第一主题的订阅方,其中,第一主题的订阅方包括控制端设备。
S23,MQTT代理服务器接收由控制端设备发布的具有第二主题的第二消息,其中,第二消息包括标识信息。
S24,MQTT代理服务器将第二消息推送给第二主题的订阅方,其中,第二主题的订阅方包括译码端设备。
S25,MQTT代理服务器接收由译码端设备发布的具有第三主题的第三消 息,其中,第三消息包括与标识信息对应的明码信息。
S26,MQTT代理服务器将第三消息推送给第三主题的订阅方,其中,第三主题的订阅方包括控制端设备。
需要说明的是,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
另外,结合上述实施例中的译码方法,本申请实施例可提供一种存储介质来实现。该存储介质上存储有计算机程序;该计算机程序被处理器执行时实现上述实施例中的任意一种译码方法。
本领域的技术人员应该明白,以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请保护范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。

Claims (10)

  1. 一种译码方法,其特征在于,包括:
    MQTT代理服务器接收由发布方发布的具有第一主题的第一消息,其中,所述第一主题的发布方包括侦测端设备,所述第一消息包括移动终端的标识信息;
    所述MQTT代理服务器将所述第一消息推送给所述第一主题的订阅方,其中,所述第一主题的订阅方包括译码端设备;
    所述MQTT代理服务器接收由所述译码端设备发布的具有第二主题的第二消息,其中,所述第二消息包括与所述标识信息对应的明码信息;
    所述MQTT代理服务器将所述第二消息推送给所述第二主题的订阅方,其中,所述第二主题的订阅方包括控制端设备。
  2. 根据权利要求1所述的译码方法,其中,所述方法还包括:
    所述MQTT代理服务器接收由所述控制端设备发布的具有第三主题的第三消息;
    所述MQTT代理服务器将所述第三消息推送给所述第三主题的订阅方;其中,所述第三主题的订阅方包括所述侦测端设备,所述第三消息包括所述译码端设备订阅的主题,所述第三消息用于指示所述侦测端设备以所述译码端设备订阅的主题发布消息。
  3. 根据权利要求1所述的译码方法,其中,所述方法还包括:
    所述MQTT代理服务器接收由所述控制端设备发布的具有第四主题的第四消息;
    所述MQTT代理服务器将所述第四消息推送给所述第四主题的订阅方;其中,所述第四主题的订阅方包括所述译码端设备,所述第四消息包括所述侦测端设备发布的主题,所述第四消息用于指示所述译码端设备订阅所述侦测端设备发布的主题。
  4. 根据权利要求1所述的译码方法,其中,在所述MQTT代理服务器将所述第二消息推送给所述第二主题的订阅方,其中,所述第二主题的订阅方包括控制端设备之后,所述方法还包括:
    所述MQTT代理服务器接收由所述控制端设备发布的具有第五主题的第五消息;
    所述MQTT代理服务器将所述第五消息推送给所述第五主题的订阅方;其中,所述第五主题的订阅方包括所述侦测端设备,所述第五消息包括所述标识信息,所述第五消息用于指示所述标识信息已成功译码。
  5. 根据权利要求1所述的译码方法,其中,所述标识信息为国际移动用户识别码IMSI信息和/或国际移动设备识别码IMEI信息,所述明码信息为手机号码信息。
  6. 一种译码方法,其特征在于,包括:
    MQTT代理服务器接收由发布方发布的具有第一主题的第一消息,其中,所述第一主题的发布方包括侦测端设备,所述第一消息包括移动终端的标识信息;
    所述MQTT代理服务器将所述第一消息推送给所述第一主题的订阅方, 其中,所述第一主题的订阅方包括控制端设备;
    所述MQTT代理服务器接收由所述控制端设备发布的具有第二主题的第二消息,其中,所述第二消息包括所述标识信息;
    所述MQTT代理服务器将所述第二消息推送给所述第二主题的订阅方,其中,所述第二主题的订阅方包括译码端设备;
    所述MQTT代理服务器接收由所述译码端设备发布的具有第三主题的第三消息,其中,所述第三消息包括与所述标识信息对应的明码信息;
    所述MQTT代理服务器将所述第三消息推送给所述第三主题的订阅方,其中,所述第三主题的订阅方包括所述控制端设备。
  7. 根据权利要求6所述的译码方法,其中,所述第一主题包括所述侦测端设备的标识信息;所述第二主题包括所述控制端设备的标识信息;所述第三主题包括所述译码端设备的标识信息。
  8. 一种译码***,其特征在于,包括:侦测端设备、控制端设备和译码端设备,以及MQTT代理服务器;所述侦测端设备、所述控制端设备以及所述译码端设备分别与所述MQTT代理服务器连接;其中,所述MQTT代理服务器用于执行如权利要求1至5中任一项所述的译码方法,和/或,权利要求6至7中任一项所述的译码方法。
  9. 一种电子装置,包括存储器和处理器,其特征在于,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行权利要求1至5中任一项所述的译码方法,和/或,权利要求6至7中任一项所述的译码 方法。
  10. 一种存储介质,其特征在于,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行权利要求1至5中任一项所述的译码方法,和/或,权利要求6至7中任一项所述的译码方法。
PCT/CN2021/091296 2020-08-14 2021-04-30 译码方法、译码***、电子装置和存储介质 WO2022033083A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010817210.5A CN112073960B (zh) 2020-08-14 2020-08-14 译码方法、译码***、电子装置和存储介质
CN202010817210.5 2020-08-14

Publications (1)

Publication Number Publication Date
WO2022033083A1 true WO2022033083A1 (zh) 2022-02-17

Family

ID=73661689

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/091296 WO2022033083A1 (zh) 2020-08-14 2021-04-30 译码方法、译码***、电子装置和存储介质

Country Status (2)

Country Link
CN (1) CN112073960B (zh)
WO (1) WO2022033083A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073960B (zh) * 2020-08-14 2023-06-20 浙江三维通信科技有限公司 译码方法、译码***、电子装置和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921594A (zh) * 2018-06-05 2018-11-30 山西大学 一种基于手机imsi的电子站牌精准广告***
CN108965447A (zh) * 2018-07-27 2018-12-07 四川爱创科技有限公司 数据采集和远程控制的方法及***
KR102093314B1 (ko) * 2018-11-05 2020-03-25 유비라커산업(주) Mqtt 프로토콜을 이용한 메시지 전달 시스템 및 그의 메시지 전달 방법
CN112073960A (zh) * 2020-08-14 2020-12-11 浙江三维通信科技有限公司 译码方法、译码***、电子装置和存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10225219B2 (en) * 2016-02-22 2019-03-05 International Business Machines Corporation Message delivery in a message system
CN110336736B (zh) * 2019-05-27 2021-04-06 四川长虹电器股份有限公司 基于mqtt服务器集群实现共享订阅的方法
CN110913000A (zh) * 2019-11-27 2020-03-24 浙江华诺康科技有限公司 业务信息的处理方法、***和计算机可读存储介质
CN111147590B (zh) * 2019-12-28 2023-04-07 苏州摩联通信技术有限公司 信息处理装置、电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921594A (zh) * 2018-06-05 2018-11-30 山西大学 一种基于手机imsi的电子站牌精准广告***
CN108965447A (zh) * 2018-07-27 2018-12-07 四川爱创科技有限公司 数据采集和远程控制的方法及***
KR102093314B1 (ko) * 2018-11-05 2020-03-25 유비라커산업(주) Mqtt 프로토콜을 이용한 메시지 전달 시스템 및 그의 메시지 전달 방법
CN112073960A (zh) * 2020-08-14 2020-12-11 浙江三维通信科技有限公司 译码方法、译码***、电子装置和存储介质

Also Published As

Publication number Publication date
CN112073960B (zh) 2023-06-20
CN112073960A (zh) 2020-12-11

Similar Documents

Publication Publication Date Title
KR102667781B1 (ko) 데이터 전송 방법 및 장치, 트래픽 전환 방법 및 장치
CN110582995B (zh) 用于无线通信中的会话释放的方法、电子装置及存储器
UA82114C2 (uk) Спосіб, система та пристрій для отримання послуг (варіанти) та мережа для передачі послуг
JP2017028589A (ja) 通信装置、無線通信装置、および通信方法
EP3360374A1 (en) Network node, wireless device and methods performed thereby for the network node to provide information to the wireless device
WO2021189235A1 (zh) 一种数据传输方法及装置、通信设备
CN105578440B (zh) Lte***中的即时通讯业务心跳包的传输方法及装置
WO2022033083A1 (zh) 译码方法、译码***、电子装置和存储介质
US8811358B2 (en) Network-initiated method and system for establishing data communication using IP with a wireless terminal
CN116614172A (zh) 卫星通信方法及非易失性存储介质、电子设备
EP2888914B1 (en) Integrated paging technique
CN109120578B (zh) 一种实现链路连接处理的方法及装置
US11503164B2 (en) Media interaction method in DECT network cluster
WO2019074032A1 (ja) IoT機器とのデータの送受信を行うための装置、方法及びプログラム
CN108076481B (zh) 一种用于终端迟后接入集群组呼的方法
WO2021253944A1 (zh) 一种多播业务数据接收方法及通信装置
WO2022119701A1 (en) Virtual user equipment set
WO2021208059A1 (zh) 连接建立方法、装置、设备及存储介质
CN112788790A (zh) 一种通信方法及相关设备
WO2021159869A1 (zh) 信息配置方法、装置、设备及计算机可读存储介质
WO2022257416A9 (zh) 通信方法及通信装置
WO2023023958A1 (zh) 一种寻呼消息的传输方法及装置、设备
WO2022027609A1 (zh) 获取***消息的方法及装置、终端设备、网络设备
WO2023202386A1 (zh) 一种通信方法及装置
WO2023122976A1 (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: 21855139

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21855139

Country of ref document: EP

Kind code of ref document: A1