CN111818136B - Data processing method, device, electronic device, and computer-readable medium - Google Patents
Data processing method, device, electronic device, and computer-readable medium Download PDFInfo
- Publication number
- CN111818136B CN111818136B CN202010592464.1A CN202010592464A CN111818136B CN 111818136 B CN111818136 B CN 111818136B CN 202010592464 A CN202010592464 A CN 202010592464A CN 111818136 B CN111818136 B CN 111818136B
- Authority
- CN
- China
- Prior art keywords
- data
- message
- target
- equipment
- packet
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/562—Brokering proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请的实施例提供了一种数据处理方法、装置、计算机可读介质及电子设备。该数据处理方法包括响应于来自目标智能物流设备的数据包,检测中间服务器与目标智能物流设备之间的通信链路类型;根据中间服务器与目标智能物流设备之间的通信链路类型,确定数据包在传输时所采用的目标通信协议;基于目标通信协议解析数据包,得到解析后的数据;按照中间服务器与物流数据服务器之间的通信链路类型所对应的通信协议对解析后的数据进行封装处理,生成封装后的数据包。本申请实施例的技术方案使得物流数据服务器能支持各种类型的智能物流设备,以及智能物流设备与物流数据服务器之间的多种通信链路类型的同时,还能减小物流数据服务平台的系统负荷。
Embodiments of the present application provide a data processing method, device, computer-readable medium, and electronic equipment. The data processing method includes detecting the communication link type between the intermediate server and the target intelligent logistics equipment in response to the data packet from the target intelligent logistics equipment; according to the communication link type between the intermediate server and the target intelligent logistics equipment, determining the data The target communication protocol adopted by the packet during transmission; the data packet is analyzed based on the target communication protocol to obtain the analyzed data; the analyzed data is processed according to the communication protocol corresponding to the communication link type between the intermediate server and the logistics data server Encapsulation processing, generating encapsulated data packets. The technical solution of the embodiment of the present application enables the logistics data server to support various types of intelligent logistics equipment, as well as various communication link types between the intelligent logistics equipment and the logistics data server, and at the same time reduce the cost of the logistics data service platform. system load.
Description
技术领域technical field
本申请涉及计算机技术领域,具体而言,涉及一种数据处理方法、装置、计算机可读介质及电子设备。The present application relates to the field of computer technology, in particular, to a data processing method, device, computer readable medium and electronic equipment.
背景技术Background technique
物流数据服务器用于给智能物流设备提供相应的业务服务,以使得用户可以更好的通过物流数据服务器对智能物流设备进行控制。The logistics data server is used to provide corresponding business services for the intelligent logistics equipment, so that users can better control the intelligent logistics equipment through the logistics data server.
物流数据服务器为了更好服务各种类型的智能物流设备,需要支持各种类型的智能物流设备以及每种类型的智能物流设备与物流数据服务器之间的多种通信链路类型。相关技术中,物流数据服务器一般通过开发支持各种智能物流设备的功能模块,随着智能物流设备的类型增多,导致物流数据服务器的功能模块冗余,从而会严重增加物流数据服务器的系统负荷。此外,在有新类型的智能物流设备加入时,就会使得需要智能物流设备时常需要更新维护,进而影响到其它类型的智能物流设备的正常使用。In order to better serve various types of intelligent logistics equipment, the logistics data server needs to support various types of intelligent logistics equipment and multiple communication link types between each type of intelligent logistics equipment and the logistics data server. In related technologies, the logistics data server generally develops functional modules that support various intelligent logistics equipment. As the types of intelligent logistics equipment increase, the functional modules of the logistics data server become redundant, which will seriously increase the system load of the logistics data server. In addition, when a new type of intelligent logistics equipment is added, it will make it necessary to update and maintain the intelligent logistics equipment from time to time, which will affect the normal use of other types of intelligent logistics equipment.
发明内容Contents of the invention
本申请的实施例提供了一种数据处理方法、装置、计算机可读介质及电子设备,可以使得物流数据服务器能支持各种类型的智能物流设备,以及智能物流设备与物流数据服务器之间的多种通信链路类型的同时,还能减小物流数据服务平台的系统负荷。The embodiment of the present application provides a data processing method, device, computer-readable medium, and electronic equipment, which can enable the logistics data server to support various types of intelligent logistics equipment, and multiple communication between the intelligent logistics equipment and the logistics data server. At the same time, it can reduce the system load of the logistics data service platform.
本申请的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本发明的实践而习得。Other features and advantages of the present application will become apparent from the following detailed description, or in part, be learned by practice of the invention.
根据本申请实施例的一个方面,提供了一种数据处理方法,包括:响应于来自目标智能物流设备的数据包,检测所述中间服务器与所述目标智能物流设备之间的通信链路类型;根据所述中间服务器与所述目标智能物流设备之间的通信链路类型,确定所述数据包在传输时所采用的目标通信协议;基于所述目标通信协议解析所述数据包,得到解析后的数据;按照所述中间服务器与所述物流数据服务器之间的通信链路类型所对应的通信协议对所述解析后的数据进行封装处理,生成封装后的数据包;通过所述中间服务器与所述物流数据服务器之间的通信链路发送所述封装后的数据包至所述物流数据服务器。According to an aspect of the embodiments of the present application, there is provided a data processing method, including: detecting the communication link type between the intermediate server and the target intelligent logistics equipment in response to a data packet from the target intelligent logistics equipment; According to the communication link type between the intermediate server and the target intelligent logistics equipment, determine the target communication protocol used by the data packet during transmission; analyze the data packet based on the target communication protocol, and obtain the resolved according to the communication protocol corresponding to the communication link type between the intermediate server and the logistics data server, the analyzed data is encapsulated to generate an encapsulated data packet; through the intermediate server and the logistics data server The communication link between the logistics data servers sends the encapsulated data packets to the logistics data servers.
根据本申请实施例的一个方面,提供了一种数据处理装置,包括:检测单元,用于响应于来自目标智能物流设备的数据包,检测所述中间服务器与所述目标智能物流设备之间的通信链路类型;执行单元,用于根据所述中间服务器与所述目标智能物流设备之间的通信链路类型,确定所述数据包在传输时所采用的目标通信协议;解析单元,用于基于所述目标通信协议解析所述数据包,得到解析后的数据;封装单元,用于按照所述中间服务器与所述物流数据服务器之间的通信链路类型所对应的通信协议对所述解析后的数据进行封装处理,生成封装后的数据包;发送单元,用于通过所述中间服务器与所述物流数据服务器之间的通信链路发送所述封装后的数据包至所述物流数据服务器。According to an aspect of the embodiment of the present application, there is provided a data processing device, including: a detection unit, configured to detect the communication between the intermediate server and the target intelligent logistics equipment in response to a data packet from the target intelligent logistics equipment The communication link type; the execution unit is used to determine the target communication protocol adopted by the data packet during transmission according to the communication link type between the intermediate server and the target intelligent logistics equipment; the analysis unit is used to Parsing the data packet based on the target communication protocol to obtain the parsed data; an encapsulation unit configured to parse the parsing according to a communication protocol corresponding to a communication link type between the intermediate server and the logistics data server The encapsulated data is processed to generate an encapsulated data packet; the sending unit is used to send the encapsulated data packet to the logistics data server through the communication link between the intermediate server and the logistics data server .
在本申请的一些实施例中,基于前述方案,所述检测单元包括:检测子单元,用于检测接收到所述数据包的目标接收端口号;第一执行子单元,用于基于所述目标接收端口号,以及端口号与通信链路类型之间的对应关系,确定所述中间服务器与所述目标智能物流设备之间的通信链路类型。In some embodiments of the present application, based on the foregoing solution, the detection unit includes: a detection subunit, configured to detect the receiving port number of the target receiving the data packet; a first execution subunit, configured to Receive the port number, and the corresponding relationship between the port number and the communication link type, and determine the communication link type between the intermediate server and the target intelligent logistics device.
在本申请的一些实施例中,基于前述方案,所述执行单元包括:获取子单元,用于获取所述目标智能物流设备的设备类型;第一生成子单元,用于根据所述目标智能物流设备的设备类型以及所述中间服务器与所述目标智能物流设备之间的通信链路类型,生成目标环境配置信息;第二执行子单元,用于基于所述目标环境配置信息,以及环境配置信息与通信协议之间的对应关系,确定所述数据包在传输时所采用的目标通信协议。In some embodiments of the present application, based on the foregoing solution, the execution unit includes: an acquisition subunit, configured to acquire the equipment type of the target intelligent logistics equipment; a first generating subunit, configured to The device type of the device and the communication link type between the intermediate server and the target intelligent logistics device generate target environment configuration information; the second execution subunit is configured to generate target environment configuration information based on the target environment configuration information and the environment configuration information The corresponding relationship with the communication protocol determines the target communication protocol adopted by the data packet during transmission.
在本申请的一些实施例中,基于前述方案,所述发送单元包括:第二生成子单元,用于根据所述封装后的数据包,生成写入消息包;添加子单元,用于将所述写入消息包添加至消息发送队列中;发送子单元,用于通过所述中间服务器与所述物流数据服务器之间的通信链路,将所述消息发送队列中包含的写入消息包发送至所述物流数据服务器。In some embodiments of the present application, based on the foregoing solution, the sending unit includes: a second generating subunit, configured to generate a write message packet according to the encapsulated data packet; an adding subunit, configured to The write message package is added to the message sending queue; the sending subunit is used to send the write message package contained in the message sending queue through the communication link between the intermediate server and the logistics data server to the logistics data server.
在本申请的一些实施例中,基于前述方案,所述发送子单元,用于根据写入消息包的内容,确定所述消息发送队列中的各个写入消息包的优先级;基于各个写入消息包的优先级,确定所述消息发送队列中各个写入消息包的发送顺序;基于所述发送顺序依次将消息发送队列中的写入消息包发送至所述物流数据服务器。In some embodiments of the present application, based on the foregoing solution, the sending subunit is configured to determine the priority of each written message packet in the message sending queue according to the content of the written message packet; The priority of the message packets determines the sending order of each written message packet in the message sending queue; based on the sending order, sequentially sends the written message packets in the message sending queue to the logistics data server.
根据本申请实施例的一个方面,提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如上述实施例中所述的数据处理方法。According to an aspect of the embodiments of the present application, an electronic device is provided, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more When executed by multiple processors, the one or more processors implement the data processing method as described in the foregoing embodiments.
根据本申请实施例的一个方面,提供了一种计算机可读介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上述实施例中所述的数据处理方法。According to one aspect of the embodiments of the present application, a computer-readable medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the data processing method as described in the above-mentioned embodiments is implemented.
在本申请的一些实施例所提供的技术方案中,可以使得物流数据服务器能够支持各种不同的智能物流设备以及不同的智能物流设备与物流数据服务器之间的多种类型的通信链路类型,且在能够支持各种不同的智能物流设备以及不同的智能物流设备与物流数据服务器之间的多种类型的通信链路类型的同时,还可以有效减小物流数据服务平台的系统负荷。In the technical solution provided by some embodiments of the present application, the logistics data server can support various intelligent logistics equipment and various types of communication link types between different intelligent logistics equipment and the logistics data server, And while being able to support various types of intelligent logistics equipment and various types of communication links between different intelligent logistics equipment and logistics data servers, it can also effectively reduce the system load of the logistics data service platform.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application. Apparently, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without creative efforts. In the attached picture:
图1示出了可以应用本申请实施例的技术方案的示例性系统架构的示意图;FIG. 1 shows a schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of the present application can be applied;
图2示意性示出了根据本申请的一个实施例的数据处理方法的流程图;Fig. 2 schematically shows a flow chart of a data processing method according to an embodiment of the present application;
图3示意性示出了根据本申请的一个实施例的数据处理方法的流程图;Fig. 3 schematically shows a flow chart of a data processing method according to an embodiment of the present application;
图4示意性示出了根据本申请的一个实施例的数据处理方法的流程图;Fig. 4 schematically shows a flow chart of a data processing method according to an embodiment of the present application;
图5示意性示出了根据本申请的一个实施例的步骤S250的具体流程图;FIG. 5 schematically shows a specific flowchart of step S250 according to an embodiment of the present application;
图6示意性示出了根据本申请的一个实施例的数据处理方法的流程图;Fig. 6 schematically shows a flow chart of a data processing method according to an embodiment of the present application;
图7示意性示出了根据本申请的一个实施例的数据处理装置的框图;Fig. 7 schematically shows a block diagram of a data processing device according to an embodiment of the present application;
图8示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。FIG. 8 shows a schematic structural diagram of a computer system suitable for implementing the electronic device of the embodiment of the present application.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本申请将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the concepts of example embodiments to those skilled in the art.
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本申请的实施例的充分理解。然而,本领域技术人员将意识到,可以实践本申请的技术方案而没有特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知方法、装置、实现或者操作以避免模糊本发明的各方面。Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the application. However, those skilled in the art will appreciate that the technical solutions of the present application may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known methods, apparatus, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。The block diagrams shown in the drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices entity.
附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解,而有的操作/步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flow charts shown in the drawings are only exemplary illustrations, and do not necessarily include all contents and operations/steps, nor must they be performed in the order described. For example, some operations/steps can be decomposed, and some operations/steps can be combined or partly combined, so the actual order of execution may be changed according to the actual situation.
图1示出了可以应用本申请实施例的技术方案的示例性系统架构的示意图。Fig. 1 shows a schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of the present application can be applied.
如图1所示,系统架构100可以包括智能物流设备101、中间服务器102、物流数据服务器103以及网络104。网络104用以作为智能物流设备101、中间服务器102和物流数据服务器103之间提供通信链路的介质。网络102可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。应该理解,图1中的智能物流设备、中间服务器、物流数据服务器以及网络的数目仅仅是示意性的。根据实现需要,可以具有任意数目的智能物流设备、网络和服务器。比如中间服务器102或物流数据服务器103可以是多个服务器组成的服务器集群等。As shown in FIG. 1 , the system architecture 100 may include an intelligent logistics device 101 , an intermediate server 102 , a logistics data server 103 and a network 104 . The network 104 is used as a medium for providing communication links between the intelligent logistics equipment 101 , the intermediate server 102 and the logistics data server 103 . Network 102 may include various connection types, such as wires, wireless communication links, or fiber optic cables, among others. It should be understood that the numbers of intelligent logistics equipment, intermediate servers, logistics data servers and networks in Fig. 1 are only illustrative. According to the realization requirements, there can be any number of intelligent logistics equipment, networks and servers. For example, the intermediate server 102 or the logistics data server 103 may be a server cluster composed of multiple servers.
在中间服务器102中,中间服务器102响应于来自目标智能物流设备101的数据包,且检测中间服务器102与目标智能物流设备101之间的通信链路类型;并根据中间服务器102与目标智能物流设备101之间的通信链路类型,确定该数据包在传输时所采用的目标通信协议;基于该目标通信协议解析数据包,得到解析后的数据;按照中间服务器102与物流数据服务器103之间的通信链路类型所对应的通信协议对解析后的数据进行封装处理,生成封装后的数据包;通过中间服务器102与物流数据服务器103之间的通信链路发送封装后的数据包至物流数据服务器103。In the intermediate server 102, the intermediate server 102 responds to the data packet from the target intelligent logistics equipment 101, and detects the communication link type between the intermediate server 102 and the target intelligent logistics equipment 101; The type of communication link between 101 determines the target communication protocol adopted by the data packet during transmission; parses the data packet based on the target communication protocol to obtain the analyzed data; according to the communication between the intermediate server 102 and the logistics data server 103 The communication protocol corresponding to the communication link type encapsulates the analyzed data to generate an encapsulated data packet; sends the encapsulated data packet to the logistics data server through the communication link between the intermediate server 102 and the logistics data server 103 103.
可见,本申请实施例的技术方案可以使得物流数据服务器能支持各种类型的智能物流设备,以及智能物流设备与物流数据服务器之间的多种通信链路类型的同时,还能减小物流数据服务平台的系统负荷。It can be seen that the technical solution of the embodiment of the present application can enable the logistics data server to support various types of intelligent logistics equipment and various types of communication links between the intelligent logistics equipment and the logistics data server, while reducing the number of logistics data. The system load of the service platform.
本申请的实施例所提供的数据处理方法一般由中间服务器102执行。但本领域技术人员容易理解的是,本申请实施例所提供的数据处理方法也可以由物流数据服务器103执行本示例性实施例中的数据处理方法,对此不做特殊限定。The data processing method provided by the embodiment of the present application is generally executed by the intermediate server 102 . However, those skilled in the art can easily understand that the data processing method provided in the embodiment of the present application may also be implemented by the logistics data server 103 in the data processing method in this exemplary embodiment, which is not specifically limited.
以下对本申请实施例的技术方案的实现细节进行详细阐述:The implementation details of the technical solutions of the embodiments of the present application are described in detail below:
图2示意性示出了根据本申请的一个实施例的数据处理方法的流程图,该数据处理方法可以由如图1所示的中间服务器102来执行,本实施例以中间服务器来执行为例进行说明。参考图2所示,该数据处理方法至少包括步骤S210至步骤S230,详细介绍如下:FIG. 2 schematically shows a flow chart of a data processing method according to an embodiment of the present application. The data processing method can be executed by the intermediate server 102 shown in FIG. 1 , and this embodiment takes the execution of the intermediate server as an example Be explained. Referring to Fig. 2, the data processing method includes at least step S210 to step S230, described in detail as follows:
在步骤S210中,响应于来自目标智能物流设备的数据包,检测中间服务器与目标智能物流设备之间的通信链路类型。In step S210, in response to the data packet from the target smart logistics device, the type of the communication link between the intermediate server and the target smart logistics device is detected.
在一个实施例中,智能物流设备为可以进行智能控制的物流设备,具体可以为实现分拣、搬运、存储等某种具体功能的物流设备。智能物流设备可以接收来自控制指令或者将自身的数据上传至对应的中间服务器,再由中间服务器转发至物流数据服务器,从而实现与物流数据服务器之间进行通信连接。In one embodiment, the intelligent logistics equipment is a logistics equipment that can be intelligently controlled, specifically, it can be a logistics equipment that realizes certain specific functions such as sorting, handling, and storage. Intelligent logistics equipment can receive control instructions or upload its own data to the corresponding intermediate server, and then forward it to the logistics data server by the intermediate server, so as to realize the communication connection with the logistics data server.
通信链路为智能物流设备与中间服务器之间进行通信连接时的链路,智能物流设备与中间服务器之间的通信链路可以包括LPWA(Low-Power Wide-Area)蜂窝通信链路、5G全球移动通信系统通信链路、射频识别(RFID,Radio Frequency Identification)通信链路及卫星通信链路,该卫星通信链路具体可以包括Orbcomm卫星通信链路、天启卫星通信链路、行云卫星通信链路等低轨卫星通信链路等,在此不作限定。数据包为智能物流设备通过上述任意一种类型的通信链路向中间服务器发送的数据包。The communication link is the link between the intelligent logistics equipment and the intermediate server. The communication link between the intelligent logistics equipment and the intermediate server can include LPWA (Low-Power Wide-Area) cellular communication link, 5G global Mobile communication system communication link, radio frequency identification (RFID, Radio Frequency Identification) communication link and satellite communication link, the satellite communication link may specifically include Orbcomm satellite communication link, Tianqi satellite communication link, Xingyun satellite communication link Low-orbit satellite communication links such as roads, etc., are not limited here. The data packet is the data packet sent by the intelligent logistics equipment to the intermediate server through any one of the above-mentioned communication links.
中间服务器在接收到任意一个目标智能物流设备的数据包,可以检测中间服务器与目标智能物流设备之间的通信链路类型。After the intermediate server receives the data packet of any target intelligent logistics device, it can detect the communication link type between the intermediate server and the target intelligent logistics device.
参考图3,图3示意性示出了根据本申请的一个实施例的数据处理方法的流程图,参考图3所示,检测中间服务器与目标智能物流设备之间的通信链路类型的步骤具体可以包括步骤S310至步骤S320,详细描述如下。Referring to FIG. 3, FIG. 3 schematically shows a flow chart of a data processing method according to an embodiment of the present application. Referring to FIG. 3, the steps of detecting the communication link type between the intermediate server and the target intelligent logistics device are specific It may include steps S310 to S320, which are described in detail as follows.
在步骤S310中,检测接收到数据包的目标接收端口号。In step S310, the target receiving port number of the received data packet is detected.
在一个实施例中,接收端口为中间服务器中接收数据包的具体功能模块,针对不同类型的通信链路,中间服务器会通过不同的接收端口来接收来自目标智能物流设备的数据包,接收端口号为对不同的接收端口进行唯一标识的某种标识信息,该标识信息具体可以为接收端口的编号或接收端口的设备标识,在此不作限定。在确定中间服务器与目标智能物流设备之间的通信链路类型时,可以先监测接收到数据包的目标接收端口,并获取该目标接收端口对应的接收端口号。In one embodiment, the receiving port is a specific functional module for receiving data packets in the intermediate server. For different types of communication links, the intermediate server will receive data packets from the target intelligent logistics device through different receiving ports. The receiving port number It is certain identification information for uniquely identifying different receiving ports, and the identification information may specifically be the number of the receiving port or the device identifier of the receiving port, which is not limited herein. When determining the communication link type between the intermediate server and the target intelligent logistics device, the target receiving port that receives the data packet can be monitored first, and the receiving port number corresponding to the target receiving port can be obtained.
在步骤S320中,基于目标接收端口号,以及端口号与通信链路类型之间的对应关系,确定中间服务器与目标智能物流设备之间的通信链路类型。In step S320, based on the target receiving port number and the corresponding relationship between the port number and the communication link type, the communication link type between the intermediate server and the target intelligent logistics device is determined.
在一个实施例中,中间服务器会预存不同接收端口的接收端口号与对应的通信链路类型之间的对应关系,中间服务器根据所确定的目标接收端口的接收端口号以及上述对应关系,来确定中间服务器与目标智能物流设备之间的通信链路类型。In one embodiment, the intermediate server pre-stores the corresponding relationship between the receiving port numbers of different receiving ports and the corresponding communication link types, and the intermediate server determines the The communication link type between the intermediate server and the target intelligent logistics equipment.
图3所示的实施例的技术方案中,通过预先建立各个不同的接收端口对应的接收端口号与通信链路类型之间的对应关系,可以实现快速且准确地确定中间服务器与目标智能物流设备之间的通信链路类型,提高数据处理的效率。In the technical solution of the embodiment shown in Figure 3, by pre-establishing the corresponding relationship between the receiving port numbers corresponding to the different receiving ports and the communication link type, it is possible to quickly and accurately determine the intermediate server and the target intelligent logistics device The type of communication link between them improves the efficiency of data processing.
在步骤S220中,根据中间服务器与目标智能物流设备之间的通信链路类型,确定数据包在传输时所采用的目标通信协议。In step S220, according to the type of the communication link between the intermediate server and the target intelligent logistics device, determine the target communication protocol used when the data packet is transmitted.
在一个实施例中,中间服务器与目标智能物流设备之间的通信链路类型与该数据包在传输时所采用的目标通信协议之间存在关联关系,在确定得到中间服务器与目标智能物流设备之间的通信链路类型后,可以根据所确定的通信链路类型以及上述关联关系,确定该数据包在传输时所采用的目标通信协议,以便于对数据包进行解析处理。可以理解的是,由于同一通信链路类型可以对应多种不同的通信协议,因此,所确定的目标通信协议可以为一种或多种。In one embodiment, there is an association between the type of communication link between the intermediate server and the target intelligent logistics device and the target communication protocol used when the data packet is transmitted. After determining the communication link type, the target communication protocol adopted by the data packet during transmission can be determined according to the determined communication link type and the above-mentioned association relationship, so as to analyze and process the data packet. It can be understood that, since the same communication link type may correspond to multiple different communication protocols, the determined target communication protocol may be one or more.
参考图4,图4示意性示出了根据本申请的一个实施例的步骤S220的具体流程图,参考图4所示,步骤S220具体可以包括步骤S410至步骤S4230,详细描述如下。Referring to FIG. 4, FIG. 4 schematically shows a specific flow chart of step S220 according to an embodiment of the present application. Referring to FIG. 4, step S220 may specifically include steps S410 to S4230, which are described in detail as follows.
在步骤S410中,获取目标智能物流设备的设备类型。In step S410, the device type of the target intelligent logistics device is acquired.
在一个实施例中,由于同一类型的通信链路可以对应多种不同的通信协议,而在不同设备类型的智能物流设备采用同一类型的通信链路与中间服务器之间进行通信时,在智能物流设备的设备类型不同的前提下,对应的通信协议也会存在差异,因此需要基于智能物流设备的设备类型以及智能物流设备这两种类型的信息与中间服务器之间传输数据包的通信链路类型来确定数据包在传输时所采用的目标通信协议。In one embodiment, since the same type of communication link can correspond to a variety of different communication protocols, when the smart logistics equipment of different equipment types uses the same type of communication link to communicate with the intermediate server, the smart logistics Under the premise of different equipment types, the corresponding communication protocols will also be different. Therefore, it is necessary to transmit data packets based on the equipment type of the intelligent logistics equipment and the communication link type between the two types of information of the intelligent logistics equipment and the intermediate server. To determine the target communication protocol used by the data packet during transmission.
可选的,可以获取目标智能物流设备的设备标识,根据该目标智能物流设备的设备标识确定目标智能物流设备的设备类型。Optionally, the device identification of the target intelligent logistics device may be obtained, and the device type of the target intelligent logistics device may be determined according to the device identification of the target intelligent logistics device.
在步骤S420中,根据目标智能物流设备的设备类型以及中间服务器与目标智能物流设备之间的通信链路类型,生成目标环境配置信息。In step S420, target environment configuration information is generated according to the device type of the target smart logistics device and the communication link type between the intermediate server and the target smart logistics device.
在一个实施例中,在获取目标智能物流设备的设备类型以及中间服务器与目标智能物流设备之间的通信链路类型后,可以根据这两种信息生成目标智能物流设备对应的目标环境配置信息,并基于该环境配置信息确定数据包在传输时所采用的目标通信协议。可以理解的是,中间服务器可以预先存储有不同类型的智能物流设备对应的环境配置信息与数据包在传输时所采用的通信协议之间的对应关系,以便于根据环境配置信息确定在传输时所采用的通信协议。In one embodiment, after acquiring the device type of the target smart logistics device and the communication link type between the intermediate server and the target smart logistics device, the target environment configuration information corresponding to the target smart logistics device can be generated according to these two pieces of information, And based on the environment configuration information, the target communication protocol adopted by the data packet during transmission is determined. It can be understood that the intermediate server may pre-store the corresponding relationship between the environment configuration information corresponding to different types of intelligent logistics equipment and the communication protocol adopted by the data packet during transmission, so as to determine the information used during transmission according to the environment configuration information. The communication protocol used.
在步骤S430中,基于目标环境配置信息,以及环境配置信息与通信协议之间的对应关系,确定数据包在传输时所采用的目标通信协议。In step S430, based on the target environment configuration information and the corresponding relationship between the environment configuration information and the communication protocol, the target communication protocol adopted by the data packet during transmission is determined.
在一个实施例中,中间服务器可以根据生成的目标环境配置信息作为索引,在预存的环境配置信息与通信协议之间的对应关系中进行查找,确定来自目标智能物流设备的数据包在传输时所采用的目标通信协议。In one embodiment, the intermediate server can use the generated target environment configuration information as an index to search in the corresponding relationship between the pre-stored environment configuration information and the communication protocol, and determine the data packets from the target intelligent logistics equipment during transmission. The target communication protocol used.
图4所示实施例的技术方案中,通过存储有不同的环境配置信息与数据包在传输时所采用的通信协议之间的对应关系,可以使得中间服务器能支持不同设备类型的智能物流设备,更为快速地确定的数据包在传输时所采用的目标通信协议,提高数据处理的效率。In the technical solution of the embodiment shown in Figure 4, by storing the corresponding relationship between different environment configuration information and the communication protocol adopted by the data packet during transmission, the intermediate server can support intelligent logistics equipment of different equipment types, The target communication protocol used by the data packet to be determined more quickly during transmission improves the efficiency of data processing.
在步骤S230中,基于目标通信协议解析所述数据包,得到解析后的数据。In step S230, the data packet is analyzed based on the target communication protocol to obtain the analyzed data.
在一个实施例中,在确定目标智能物流设备的数据包在传输时所采用的目标通信协议后,为了使得物流数据服务器能顺利地接收并解析该数据包,需要根据所确定的目标通信协议解析该数据包,得到解析后的数据。In one embodiment, after determining the target communication protocol adopted by the data packet of the target intelligent logistics device during transmission, in order to enable the logistics data server to receive and analyze the data packet smoothly, it needs to be analyzed according to the determined target communication protocol The data packet, get the parsed data.
可选的,具体可以根据目标通信协议对应的解析函数来解析该数据包,得到解析后的数据。Optionally, specifically, the data packet may be parsed according to a parsing function corresponding to the target communication protocol to obtain parsed data.
在步骤S240中,按照中间服务器与物流数据服务器之间的通信链路类型所对应的通信协议对解析后的数据进行封装处理,生成封装后的数据包。In step S240, the analyzed data is encapsulated according to the communication protocol corresponding to the communication link type between the intermediate server and the logistics data server, and an encapsulated data packet is generated.
在一个实施例中,中间服务器与物流数据服务器之间的通信链路类型为中间服务器与物流数据服务器预先所约定的某种类型的通信链路。中间服务器在得到解析后的数据后,为了便于将解析后的数据发送至物流数据服务器且使得物流数据服务器能读取该解析后的信息,可以按照中间服务器与物流数据服务器之间的通信链路类型所对应的通信协议对解析后的数据进行封装处理,生成封装后的数据包。In one embodiment, the communication link type between the intermediate server and the logistics data server is a certain type of communication link agreed in advance between the intermediate server and the logistics data server. After the intermediate server obtains the parsed data, in order to facilitate sending the parsed data to the logistics data server and enable the logistics data server to read the parsed information, it can follow the communication link between the intermediate server and the logistics data server The communication protocol corresponding to the type encapsulates the analyzed data to generate an encapsulated data packet.
在步骤S250中,通过中间服务器与物流数据服务器之间的通信链路发送封装后的数据包至物流数据服务器。In step S250, the encapsulated data packet is sent to the logistics data server through the communication link between the intermediate server and the logistics data server.
在一个实施例中,中间服务器通过中间服务器与物流数据服务器之间的通信链路发送封装后的数据包至物流数据服务器,具体的,可以基于该中间服务器与物流数据服务器之间的通信链路所对应的发送端口来发送封装后的数据包至物流数据服务器。In one embodiment, the intermediate server sends the encapsulated data packet to the logistics data server through the communication link between the intermediate server and the logistics data server. Specifically, it can be based on the communication link between the intermediate server and the logistics data server. The corresponding sending port is used to send the encapsulated data packet to the logistics data server.
图5示意性示出了根据本申请的一个实施例的步骤S250的具体流程图,参考图5所示,步骤S250可以包括步骤S510至步骤S530,详细描述如下。FIG. 5 schematically shows a specific flow chart of step S250 according to an embodiment of the present application. Referring to FIG. 5 , step S250 may include steps S510 to S530, which are described in detail as follows.
在步骤S510中,根据封装后的数据包,生成写入消息包。In step S510, a write message packet is generated according to the encapsulated data packet.
在步骤S520中,将写入消息包添加至消息发送队列中。In step S520, the write message package is added to the message sending queue.
在步骤S530中,通过中间服务器与物流数据服务器之间的通信链路,将消息发送队列中包含的写入消息包发送至所述物流数据服务器。In step S530, the write message package contained in the message sending queue is sent to the logistics data server through the communication link between the intermediate server and the logistics data server.
在一个实施例中,中间服务器在将封装后的数据包发送至物流数据服务器时,会根据封装后的数据包生成相应的写入消息包,作为需要进行发送的数据包。中间服务器将生成的所有的消息包添加到消息发送队列中,通过发送消息的线程来执行将消息发送队列中的所有写入消息包发送至物流数据服务器。In one embodiment, when the intermediate server sends the encapsulated data packet to the logistics data server, it will generate a corresponding write message packet according to the encapsulated data packet as the data packet to be sent. The intermediate server adds all the generated message packets to the message sending queue, and sends all the written message packets in the message sending queue to the logistics data server through the message sending thread.
具体的,中间服务器通过与物流数据服务器之间进行通信连接的通信链路来将消息发送队列中包含的写入消息包发送至物流数据服务器。Specifically, the intermediate server sends the write message package contained in the message sending queue to the logistics data server through a communication link that communicates with the logistics data server.
通过根据封装后的数据包,生成写入消息包,并将生成的写入消息包添加到消息发送队列,可以有效使得中间服务器可以将多个智能物流设备对应的写入消息有序地发送至物流数据服务器,避免遗漏写入消息包。By generating a write message packet based on the encapsulated data packet, and adding the generated write message packet to the message sending queue, the intermediate server can effectively send the write messages corresponding to multiple intelligent logistics devices to the Logistic data server, to avoid missing write message packets.
图6示意性示出了根据本申请的一个实施例的数据处理方法的流程图,参考图6所示,将消息发送队列中包含的写入消息包发送至所述物流数据服务器的步骤具体可以包括步骤S610至步骤S630,详细描述如下。FIG. 6 schematically shows a flow chart of a data processing method according to an embodiment of the present application. Referring to FIG. 6, the step of sending the write message package contained in the message sending queue to the logistics data server may specifically be It includes step S610 to step S630, which is described in detail as follows.
在步骤S610中,根据写入消息包的内容,确定消息发送队列中的各个写入消息包的优先级。In step S610, the priority of each written message packet in the message sending queue is determined according to the content of the written message packet.
在一个实施例中,中间服务器在消息发送队列中包含的写入消息包发送至物流数据服务器时,会根据写入消息包的内容,确定消息发送队列中的各个写入消息包的优先级。对于使用不同功能类型的写入消息包,其对应的优先级不同,例如,警告提示类型或设备维护类型的写入消息包所对应的优先级高,如数据存储类型的写入消息包所对应的优先级低。可选的,写入消息包的优先级具体可以划分为高优先级、中优先级,低优先级三个级别,当然也可以根据需求划分为三个以上级别的优先等级。In one embodiment, when the intermediate server sends the write message packets contained in the message sending queue to the logistics data server, it will determine the priority of each write message packet in the message sending queue according to the content of the write message packets. For the write message packets that use different function types, their corresponding priorities are different. For example, the priority corresponding to the write message packets of the warning prompt type or the device maintenance type is high, such as the write message packets of the data storage type. low priority. Optionally, the priority of writing message packets can be specifically divided into three levels: high priority, medium priority, and low priority. Of course, it can also be divided into three or more levels of priority according to requirements.
可选的,在根据写入消息包的内容,确定消息发送队列中的各个写入消息包的优先级时,可以根据写入消息包的内容所包含的特定字段,以及特定字段和优先级的对应关系,确定各个写入消息包的优先级。Optionally, when determining the priority of each written message packet in the message sending queue according to the content of the written message packet, it may be based on the specific field contained in the content of the written message packet, and the specific field and priority The corresponding relationship determines the priority of each write message packet.
在步骤S620中,基于各个写入消息包的优先级,确定消息发送队列中各个写入消息包的发送顺序。In step S620, based on the priority of each written message packet, the sending order of each written message packet in the message sending queue is determined.
在一个实施例中,基于各个写入消息包的优先级,确定消息发送队列中各个写入消息包的发送顺序时,优先级高的写入消息包对应的发送顺序靠前。需要指出的是,对于优先级相同的两个写入消息包,可以根据写入消息包添加至消息发送队列的时间来确定发送顺序,如添加至消息发送队列的时间较早的写入消息包所对应的发送顺序靠前。In one embodiment, based on the priority of each written message packet, when determining the sending sequence of each written message packet in the message sending queue, the corresponding sending sequence of the written message packet with higher priority is higher. It should be pointed out that for two write message packages with the same priority, the sending order can be determined according to the time when the write message package is added to the message sending queue, such as the write message package added to the message sending queue earlier The corresponding sending order comes first.
在步骤S630中,基于发送顺序依次将消息发送队列中的写入消息包发送至物流数据服务器。In step S630, the write message packets in the message sending queue are sequentially sent to the logistics data server based on the sending order.
在一个实施例中,中间服务器基于发送顺序依次将消息发送队列中的写入消息包发送至物流数据服务器,以实现将消息发送队列中的写入消息包发送至物流数据服务器。In one embodiment, the intermediate server sequentially sends the write message packets in the message sending queue to the logistics data server based on the sending order, so as to realize sending the write message packets in the message sending queue to the logistics data server.
图6所示实施例的技术方案中,基于各个写入消息包的优先级,确定消息发送队列中各个写入消息包的发送顺序,可以实现根据各个写入消息包的重要程度,优先将重要程度高的写入消息包发送至物流数据服务器,以实现满足更为复杂的业务场景,提高该方案的适用场景。In the technical solution of the embodiment shown in Figure 6, based on the priority of each written message packet, the sending order of each written message packet in the message sending queue is determined, and it can be realized that according to the importance of each written message packet, priority will be given to the important A high-level write message package is sent to the logistics data server to meet more complex business scenarios and improve the applicable scenarios of the solution.
以下介绍本申请的装置实施例,可以用于执行本申请上述实施例中的数据处理方法。对于本申请装置实施例中未披露的细节,请参照本申请上述的数据处理方法的实施例。The following introduces device embodiments of the present application, which can be used to implement the data processing method in the above-mentioned embodiments of the present application. For the details not disclosed in the device embodiments of the present application, please refer to the above-mentioned embodiments of the data processing method in the present application.
图7示意性示出了根据本申请的一个实施例的数据处理装置的框图。参照图7所示,根据本申请的一个实施例的数据处理装置700,包括:检测单元710、执行单元720、解析单元730、封装单元740以及发送单元750。Fig. 7 schematically shows a block diagram of a data processing device according to an embodiment of the present application. Referring to FIG. 7 , a data processing device 700 according to an embodiment of the present application includes: a detection unit 710 , an execution unit 720 , an analysis unit 730 , an encapsulation unit 740 and a sending unit 750 .
其中,检测单元710用于响应于来自目标智能物流设备的数据包,检测所述中间服务器与所述目标智能物流设备之间的通信链路类型;执行单元720用于根据所述中间服务器与所述目标智能物流设备之间的通信链路类型,确定所述数据包在传输时所采用的目标通信协议;解析单元730用于基于所述目标通信协议解析所述数据包,得到解析后的数据;封装单元740用于按照所述中间服务器与所述物流数据服务器之间的通信链路类型所对应的通信协议对所述解析后的数据进行封装处理,生成封装后的数据包;发送单元750用于通过所述中间服务器与所述物流数据服务器之间的通信链路发送所述封装后的数据包至所述物流数据服务器。Wherein, the detection unit 710 is configured to detect the communication link type between the intermediate server and the target intelligent logistics device in response to the data packet from the target intelligent logistics device; the execution unit 720 is configured to The type of the communication link between the target intelligent logistics equipment, and determine the target communication protocol adopted by the data packet during transmission; the parsing unit 730 is used to parse the data packet based on the target communication protocol, and obtain the parsed data The encapsulation unit 740 is used to encapsulate the analyzed data according to the communication protocol corresponding to the communication link type between the intermediate server and the logistics data server, and generate an encapsulated data packet; the sending unit 750 and sending the encapsulated data packet to the logistics data server through the communication link between the intermediate server and the logistics data server.
在本申请的一个实施例中,所述检测单元710包括:检测子单元,用于检测接收到所述数据包的目标接收端口号;第一执行子单元,用于基于所述目标接收端口号,以及端口号与通信链路类型之间的对应关系,确定所述中间服务器与所述目标智能物流设备之间的通信链路类型。In one embodiment of the present application, the detection unit 710 includes: a detection subunit, configured to detect the target receiving port number that receives the data packet; a first execution subunit, configured to , and the corresponding relationship between the port number and the communication link type, determine the communication link type between the intermediate server and the target intelligent logistics device.
在本申请的一个实施例中,所述执行单元720包括:获取子单元,用于获取所述目标智能物流设备的设备类型;第一生成子单元,用于根据所述目标智能物流设备的设备类型以及所述中间服务器与所述目标智能物流设备之间的通信链路类型,生成目标环境配置信息;第二执行子单元,用于基于所述目标环境配置信息,以及环境配置信息与通信协议之间的对应关系,确定所述数据包在传输时所采用的目标通信协议。In one embodiment of the present application, the execution unit 720 includes: an acquisition subunit, configured to acquire the equipment type of the target intelligent logistics equipment; a first generation subunit, configured to obtain the equipment type of the target intelligent logistics equipment; type and the type of communication link between the intermediate server and the target intelligent logistics equipment, generate target environment configuration information; the second execution subunit is used to generate target environment configuration information based on the target environment configuration information, environment configuration information and communication protocol The corresponding relationship among them determines the target communication protocol adopted by the data packet during transmission.
在本申请的一个实施例中,所述发送单元750包括:第二生成子单元,用于根据所述封装后的数据包,生成写入消息包;添加子单元,用于将所述写入消息包添加至消息发送队列中;发送子单元,用于通过所述中间服务器与所述物流数据服务器之间的通信链路,将所述消息发送队列中包含的写入消息包发送至所述物流数据服务器。In one embodiment of the present application, the sending unit 750 includes: a second generating subunit, configured to generate a write message packet according to the encapsulated data packet; an adding subunit, configured to write The message package is added to the message sending queue; the sending subunit is configured to send the write message package contained in the message sending queue to the Logistics data server.
在本申请的一个实施例中,所述发送单元750包括:发送子单元具体用于根据写入消息包的内容,确定所述消息发送队列中的各个写入消息包的优先级;基于各个写入消息包的优先级,确定所述消息发送队列中各个写入消息包的发送顺序;基于所述发送顺序依次将消息发送队列中的写入消息包发送至所述物流数据服务器In one embodiment of the present application, the sending unit 750 includes: the sending subunit is specifically configured to determine the priority of each written message packet in the message sending queue according to the content of the written message packet; the priority of incoming message packets, and determine the sending order of each written message packet in the message sending queue; based on the sending order, send the written message packets in the message sending queue to the logistics data server in turn
图8示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。FIG. 8 shows a schematic structural diagram of a computer system suitable for implementing the electronic device of the embodiment of the present application.
需要说明的是,图8示出的电子设备的计算机系统800仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。It should be noted that the computer system 800 of the electronic device shown in FIG. 8 is only an example, and should not limit the functions and scope of use of the embodiments of the present application.
如图8所示,计算机系统800包括中央处理单元(Central Processing Unit,CPU)801,其可以根据存储在只读存储器(Read-Only Memory,ROM)802中的程序或者从储存部分808加载到随机访问存储器(Random Access Memory,RAM)803中的程序而执行各种适当的动作和处理,例如执行上述实施例中所述的方法。在RAM 803中,还存储有系统操作所需的各种程序和数据。CPU 801、ROM 802以及RAM 803通过总线1504彼此相连。输入/输出(Input/Output,I/O)接口805也连接至总线804。As shown in FIG. 8, a computer system 800 includes a central processing unit (Central Processing Unit, CPU) 801, which can be stored in a program in a read-only memory (Read-Only Memory, ROM) 802 or loaded from a storage part 808 to a random It accesses the programs in the memory (Random Access Memory, RAM) 803 to execute various appropriate actions and processes, for example, executes the methods described in the above-mentioned embodiments. In RAM 803, various programs and data necessary for system operation are also stored. The CPU 801 , ROM 802 , and RAM 803 are connected to each other via a bus 1504 . An input/output (Input/Output, I/O) interface 805 is also connected to the bus 804 .
以下部件连接至I/O接口805:包括键盘、鼠标等的输入部分806;包括诸如阴极射线管(Cathode Ray Tube,CRT)、液晶显示器(Liquid Crystal Display,LCD)等以及扬声器等的输出部分807;包括硬盘等的储存部分808;以及包括诸如LAN(Local Area Network,局域网)卡、调制解调器等的网络接口卡的通信部分809。通信部分809经由诸如因特网的网络执行通信处理。驱动器810也根据需要连接至I/O接口805。可拆卸介质811,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器810上,以便于从其上读出的计算机程序根据需要被安装入储存部分808。The following components are connected to the I/O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (Cathode Ray Tube, CRT), a liquid crystal display (Liquid Crystal Display, LCD), etc., and a speaker ; a storage section 808 including a hard disk or the like; and a communication section 809 including a network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I/O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 810 as necessary so that a computer program read therefrom is installed into the storage section 808 as necessary.
特别地,根据本申请的实施例,下文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分809从网络上被下载和安装,和/或从可拆卸介质811被安装。在该计算机程序被中央处理单元(CPU)801执行时,执行本申请的系统中限定的各种功能。In particular, according to the embodiments of the present application, the processes described below with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments of the present application include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication portion 809 and/or installed from removable media 811 . When this computer program is executed by a central processing unit (CPU) 801, various functions defined in the system of the present application are performed.
需要说明的是,本申请实施例所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、有线等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable The combination. In this application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that includes one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block in the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a A combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现,所描述的单元也可以设置在处理器中。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。The units described in the embodiments of the present application may be implemented by software or by hardware, and the described units may also be set in a processor. Wherein, the names of these units do not constitute a limitation of the unit itself under certain circumstances.
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该电子设备执行时,使得该电子设备实现上述实施例中所述的方法。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be included in the electronic device described in the above embodiments; it may also exist independently without being assembled into the electronic device. middle. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by an electronic device, the electronic device is made to implement the methods described in the above-mentioned embodiments.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. Actually, according to the embodiment of the present application, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided to be embodied by a plurality of modules or units.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、触控终端、或者网络设备等)执行根据本申请实施方式的方法。Through the description of the above implementations, those skilled in the art can easily understand that the example implementations described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application can be embodied in the form of software products, which can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to make a computing device (which may be a personal computer, server, touch terminal, or network device, etc.) execute the method according to the embodiment of the present application.
本领域技术人员在考虑说明书及实践这里公开的申请后,将容易想到本申请的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。Other embodiments of the application will be readily apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the application and include common knowledge or conventional technical means in the technical field not disclosed in the application .
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It should be understood that the present application is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (6)
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010592464.1A CN111818136B (en) | 2020-06-24 | 2020-06-24 | Data processing method, device, electronic device, and computer-readable medium |
| PCT/CN2021/097564 WO2021259013A1 (en) | 2020-06-24 | 2021-06-01 | Data processing method and apparatus, electronic device, and computer-readable medium |
| US18/153,310 US20230163998A1 (en) | 2020-06-24 | 2023-01-11 | Data processing method, device, electronic device and computer readable medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010592464.1A CN111818136B (en) | 2020-06-24 | 2020-06-24 | Data processing method, device, electronic device, and computer-readable medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111818136A CN111818136A (en) | 2020-10-23 |
| CN111818136B true CN111818136B (en) | 2023-08-22 |
Family
ID=72856513
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010592464.1A Active CN111818136B (en) | 2020-06-24 | 2020-06-24 | Data processing method, device, electronic device, and computer-readable medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN111818136B (en) |
| WO (1) | WO2021259013A1 (en) |
Families Citing this family (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111818136B (en) * | 2020-06-24 | 2023-08-22 | 深圳中集智能科技有限公司 | Data processing method, device, electronic device, and computer-readable medium |
| CN112804288A (en) * | 2020-12-14 | 2021-05-14 | 国汽(北京)智能网联汽车研究院有限公司 | Vehicle-end data processing method and device, electronic equipment and computer storage medium |
| CN113938531B (en) * | 2021-09-23 | 2023-10-31 | 北京车和家信息技术有限公司 | Data transmission method, device, equipment and medium |
| CN114025353A (en) * | 2021-11-04 | 2022-02-08 | 湖南三一华源机械有限公司 | Data processing method, device, storage medium and mobile device for mobile device |
| CN114816785B (en) * | 2022-02-17 | 2025-05-27 | 中国平安人寿保险股份有限公司 | Business data processing method, device, electronic device and storage medium |
| CN114827188B (en) * | 2022-03-04 | 2024-04-16 | 苏州智能交通信息科技股份有限公司 | Platform equipment management method, system, terminal and storage medium |
| CN114710764A (en) * | 2022-03-08 | 2022-07-05 | 通号城市轨道交通技术有限公司 | Train communication method, device, electronic device, storage medium and product |
| CN114844795A (en) * | 2022-04-27 | 2022-08-02 | 工银科技有限公司 | End-to-end link monitoring method and device |
| CN115190161B (en) * | 2022-06-10 | 2024-04-05 | 北京京东振世信息技术有限公司 | Method, apparatus, device and computer readable medium for processing article data |
| CN114755993B (en) * | 2022-06-13 | 2022-11-22 | 深圳市玄羽科技有限公司 | Cooperative control method and system applied to industrial Internet and related equipment |
| CN115396752B (en) * | 2022-07-29 | 2023-05-26 | 国电南京自动化股份有限公司 | Redis-based biplane data acquisition method and system |
| CN115499347B (en) * | 2022-09-15 | 2025-06-20 | 深圳市正浩创新科技股份有限公司 | Data transmission method, device, electronic device and computer readable storage medium |
| CN115391019B (en) * | 2022-10-26 | 2022-12-27 | 小米汽车科技有限公司 | Data acquisition method and device, readable storage medium and chip |
| CN120416240B (en) * | 2025-06-27 | 2025-09-19 | 苏州元脑智能科技有限公司 | Communication method, system, electronic device, medium and product |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102006562A (en) * | 2009-09-01 | 2011-04-06 | 杭州华三通信技术有限公司 | Method and device for transmitting data on wireless local area network (WLAN) link |
| CN104394143A (en) * | 2014-11-24 | 2015-03-04 | 青岛海尔软件有限公司 | Internet of Things equipment and Internet of Things server communicating method and device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101714945A (en) * | 2009-12-02 | 2010-05-26 | 浙江中控技术股份有限公司 | System and method for realizing internetwork communication |
| CN104202245B (en) * | 2014-09-16 | 2018-01-23 | 深圳市金正方科技股份有限公司 | The intelligent transmission method and device of adaptive communications mode |
| US10193867B2 (en) * | 2015-05-27 | 2019-01-29 | Ping Identity Corporation | Methods and systems for API proxy based adaptive security |
| CN111818136B (en) * | 2020-06-24 | 2023-08-22 | 深圳中集智能科技有限公司 | Data processing method, device, electronic device, and computer-readable medium |
-
2020
- 2020-06-24 CN CN202010592464.1A patent/CN111818136B/en active Active
-
2021
- 2021-06-01 WO PCT/CN2021/097564 patent/WO2021259013A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102006562A (en) * | 2009-09-01 | 2011-04-06 | 杭州华三通信技术有限公司 | Method and device for transmitting data on wireless local area network (WLAN) link |
| CN104394143A (en) * | 2014-11-24 | 2015-03-04 | 青岛海尔软件有限公司 | Internet of Things equipment and Internet of Things server communicating method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111818136A (en) | 2020-10-23 |
| WO2021259013A1 (en) | 2021-12-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111818136B (en) | Data processing method, device, electronic device, and computer-readable medium | |
| US20230163998A1 (en) | Data processing method, device, electronic device and computer readable medium | |
| CN110297944B (en) | Distributed XML data processing method and system | |
| US20220138074A1 (en) | Method, electronic device and computer program product for processing data | |
| CN107404418B (en) | Internet product testing method, device, equipment and storage medium | |
| CN115374207A (en) | Business processing method and device, electronic device, and computer-readable storage medium | |
| CN112181542A (en) | Function calling method and device, electronic equipment and storage medium | |
| US11294740B2 (en) | Event to serverless function workflow instance mapping mechanism | |
| CN113791792B (en) | Methods, devices and storage media for obtaining application call information | |
| CN113934672B (en) | Network equipment management method, system, device, computer equipment and storage medium | |
| CN110908921A (en) | Game problem positioning method and device, electronic equipment and storage medium | |
| CN115600023A (en) | Client page jump method, device, equipment and storage medium | |
| CN114244821A (en) | Data processing method, apparatus, device, electronic device and storage medium | |
| CN112905455A (en) | Interface information checking method, device, equipment and storage medium | |
| CN113992644B (en) | Internet of things system based on no-service technology and data processing method thereof | |
| CN112152879A (en) | Network quality determination method and device, electronic equipment and readable storage medium | |
| CN117149476B (en) | Fault reporting method and related device | |
| CN115134254B (en) | Network simulation method, device, equipment and storage medium | |
| CN118312440A (en) | Automated stress testing method, device, equipment, and readable storage medium | |
| CN113296771B (en) | Page display method, device, equipment and computer readable medium | |
| CN117241092A (en) | A video processing method, device, storage medium and electronic equipment | |
| CN116781586A (en) | gRPC flow analysis method, device, equipment and medium | |
| US20230418470A1 (en) | Data processing method and apparatus, and electronic device | |
| CN115858921A (en) | Model processing method, device, equipment and storage medium | |
| CN112311833B (en) | Data updating method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20230425 Address after: 518000 Shenzhen national engineering laboratory building b1001-b1004, No. 20, Gaoxin South seventh Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong Applicant after: SHENZHEN CIMC SECURITY AND SMART TECHNOLOGY Co.,Ltd. Address before: Room 102, Block A, Phase II, Science and Technology Building, 1057 Nanhai Avenue, Shekou, Nanshan District, Shenzhen City, Guangdong Province, 518000 Applicant before: SHENZHEN CIMC SECURITY AND SMART TECHNOLOGY Co.,Ltd. Applicant before: CHINA INTERNATIONAL MARINE CONTAINERS (GROUP) Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| PP01 | Preservation of patent right |
Effective date of registration: 20251205 Granted publication date: 20230822 |