CN111818136A - Data processing method, apparatus, electronic device and computer readable medium - Google Patents
Data processing method, apparatus, electronic device and computer readable medium Download PDFInfo
- Publication number
- CN111818136A CN111818136A CN202010592464.1A CN202010592464A CN111818136A CN 111818136 A CN111818136 A CN 111818136A CN 202010592464 A CN202010592464 A CN 202010592464A CN 111818136 A CN111818136 A CN 111818136A
- Authority
- CN
- China
- Prior art keywords
- data
- target
- logistics
- server
- communication link
- 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.)
- Granted
Links
Images
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)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请的实施例提供了一种数据处理方法、装置、计算机可读介质及电子设备。该数据处理方法包括响应于来自目标智能物流设备的数据包,检测中间服务器与目标智能物流设备之间的通信链路类型;根据中间服务器与目标智能物流设备之间的通信链路类型,确定数据包在传输时所采用的目标通信协议;基于目标通信协议解析数据包,得到解析后的数据;按照中间服务器与物流数据服务器之间的通信链路类型所对应的通信协议对解析后的数据进行封装处理,生成封装后的数据包。本申请实施例的技术方案使得物流数据服务器能支持各种类型的智能物流设备,以及智能物流设备与物流数据服务器之间的多种通信链路类型的同时,还能减小物流数据服务平台的系统负荷。
Embodiments of the present application provide a data processing method, apparatus, computer-readable medium, and electronic device. The data processing method includes detecting the type of communication link between the intermediate server and the target intelligent logistics device in response to the data packet from the target intelligent logistics device; and determining the data according to the type of the communication link between the intermediate server and the target intelligent logistics device The target communication protocol adopted when the packet is transmitted; the data packet is parsed based on the target communication protocol, and the parsed data is obtained; the parsed data is processed according to the communication protocol corresponding to the communication link type between the intermediate server and the logistics data server. The encapsulation process generates an encapsulated data packet. The technical solutions of the embodiments of the present application 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, and at the same time reduce the complexity of the logistics data service platform. system load.
Description
技术领域technical field
本申请涉及计算机技术领域,具体而言,涉及一种数据处理方法、装置、计算机可读介质及电子设备。The present application relates to the field of computer technology, and in particular, to a data processing method, an apparatus, a computer-readable medium, and an electronic device.
背景技术Background technique
物流数据服务器用于给智能物流设备提供相应的业务服务,以使得用户可以更好的通过物流数据服务器对智能物流设备进行控制。The logistics data server is used to provide corresponding business services to 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 various types of communication links between each type of intelligent logistics equipment and the logistics data server. In the related art, 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 are 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, the need for intelligent logistics equipment often needs to be updated and maintained, which in turn affects the normal use of other types of intelligent logistics equipment.
发明内容SUMMARY OF THE INVENTION
本申请的实施例提供了一种数据处理方法、装置、计算机可读介质及电子设备,可以使得物流数据服务器能支持各种类型的智能物流设备,以及智能物流设备与物流数据服务器之间的多种通信链路类型的同时,还能减小物流数据服务平台的系统负荷。The embodiments of the present application provide a data processing method, apparatus, computer-readable medium, and electronic device, which can enable a logistics data server to support various types of intelligent logistics devices, as well as multiple connections between the intelligent logistics device 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 be learned in part by practice of the present invention.
根据本申请实施例的一个方面,提供了一种数据处理方法,包括:响应于来自目标智能物流设备的数据包,检测所述中间服务器与所述目标智能物流设备之间的通信链路类型;根据所述中间服务器与所述目标智能物流设备之间的通信链路类型,确定所述数据包在传输时所采用的目标通信协议;基于所述目标通信协议解析所述数据包,得到解析后的数据;按照所述中间服务器与所述物流数据服务器之间的通信链路类型所对应的通信协议对所述解析后的数据进行封装处理,生成封装后的数据包;通过所述中间服务器与所述物流数据服务器之间的通信链路发送所述封装后的数据包至所述物流数据服务器。According to an aspect of the embodiments of the present application, a data processing method is provided, comprising: in response to a data packet from a target intelligent logistics device, detecting the type of communication link between the intermediate server and the target intelligent logistics device; According to the type of communication link between the intermediate server and the target intelligent logistics device, determine the target communication protocol used in the transmission of the data packet; analyze the data packet based on the target communication protocol, and obtain the parsed Encapsulate the parsed 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 communication link between the logistics data servers sends the encapsulated data packet to the logistics data server.
根据本申请实施例的一个方面,提供了一种数据处理装置,包括:检测单元,用于响应于来自目标智能物流设备的数据包,检测所述中间服务器与所述目标智能物流设备之间的通信链路类型;执行单元,用于根据所述中间服务器与所述目标智能物流设备之间的通信链路类型,确定所述数据包在传输时所采用的目标通信协议;解析单元,用于基于所述目标通信协议解析所述数据包,得到解析后的数据;封装单元,用于按照所述中间服务器与所述物流数据服务器之间的通信链路类型所对应的通信协议对所述解析后的数据进行封装处理,生成封装后的数据包;发送单元,用于通过所述中间服务器与所述物流数据服务器之间的通信链路发送所述封装后的数据包至所述物流数据服务器。According to an aspect of the embodiments of the present application, there is provided a data processing apparatus, comprising: a detection unit configured to, in response to a data packet from a target intelligent logistics device, detect a connection between the intermediate server and the target intelligent logistics device a communication link type; an execution unit, used for determining the target communication protocol used in the transmission of the data packet according to the communication link type between the intermediate server and the target intelligent logistics device; a parsing unit, used for Parse the data packet based on the target communication protocol to obtain parsed data; an encapsulation unit, configured to parse the parsing according to the communication protocol corresponding to the type of communication link between the intermediate server and the logistics data server The encapsulated data is encapsulated to generate encapsulated data packets; the sending unit is used to send the encapsulated data packets 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 target receiving port number that receives the data packet; and a first execution subunit, configured to detect the target receiving port number based on the target The port number and the corresponding relationship between the port number and the communication link type are received to 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 device type of the target smart logistics device; and a first generation subunit, configured to obtain a device type according to the target smart logistics 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 used for the 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 when the data packet is transmitted.
在本申请的一些实施例中,基于前述方案,所述发送单元包括:第二生成子单元,用于根据所述封装后的数据包,生成写入消息包;添加子单元,用于将所述写入消息包添加至消息发送队列中;发送子单元,用于通过所述中间服务器与所述物流数据服务器之间的通信链路,将所述消息发送队列中包含的写入消息包发送至所述物流数据服务器。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 write message packet in the message sending queue according to the content of the write message packet; The priority of the message package determines the sending order of each write message package in the message sending queue; based on the sending order, the write message packages in the message sending queue are sent to the logistics data server in sequence.
根据本申请实施例的一个方面,提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如上述实施例中所述的数据处理方法。According to an aspect of the embodiments of the present application, an electronic device is provided, including: one or more processors; and a storage device for storing one or more programs, when the one or more programs are stored by the one or more programs When executed by multiple processors, the one or more processors are caused to implement the data processing methods described in the above embodiments.
根据本申请实施例的一个方面,提供了一种计算机可读介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上述实施例中所述的数据处理方法。According to an 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, implements the data processing method described in the foregoing embodiments.
在本申请的一些实施例所提供的技术方案中,可以使得物流数据服务器能够支持各种不同的智能物流设备以及不同的智能物流设备与物流数据服务器之间的多种类型的通信链路类型,且在能够支持各种不同的智能物流设备以及不同的智能物流设备与物流数据服务器之间的多种类型的通信链路类型的同时,还可以有效减小物流数据服务平台的系统负荷。In the technical solutions provided by some embodiments of this application, the logistics data server can be enabled to support various different intelligent logistics devices and various types of communication link types between different intelligent logistics devices and the logistics data server, And while being able to support various types of intelligent logistics equipment and various types of communication link types 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 limiting of the present 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. Obviously, the drawings in the following description are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort. In the attached image:
图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 flowchart of a data processing method according to an embodiment of the present application;
图3示意性示出了根据本申请的一个实施例的数据处理方法的流程图;FIG. 3 schematically shows a flowchart of a data processing method according to an embodiment of the present application;
图4示意性示出了根据本申请的一个实施例的数据处理方法的流程图;FIG. 4 schematically shows a flowchart 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 flowchart 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 apparatus 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 according to the embodiment of the present application.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本申请将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various 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 concept 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 present 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, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the present invention.
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。The block diagrams shown in the figures are merely functional entities and do not necessarily 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 flowcharts shown in the figures are only exemplary illustrations and do not necessarily include all contents and operations/steps, nor do they have to be performed in the order described. For example, some operations/steps can be decomposed, and some operations/steps can be combined or partially combined, so the actual execution order 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
在中间服务器102中,中间服务器102响应于来自目标智能物流设备101的数据包,且检测中间服务器102与目标智能物流设备101之间的通信链路类型;并根据中间服务器102与目标智能物流设备101之间的通信链路类型,确定该数据包在传输时所采用的目标通信协议;基于该目标通信协议解析数据包,得到解析后的数据;按照中间服务器102与物流数据服务器103之间的通信链路类型所对应的通信协议对解析后的数据进行封装处理,生成封装后的数据包;通过中间服务器102与物流数据服务器103之间的通信链路发送封装后的数据包至物流数据服务器103。In the
可见,本申请实施例的技术方案可以使得物流数据服务器能支持各种类型的智能物流设备,以及智能物流设备与物流数据服务器之间的多种通信链路类型的同时,还能减小物流数据服务平台的系统负荷。It can be seen that the technical solutions of the embodiments 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 logistics data. The system load of the service platform.
本申请的实施例所提供的数据处理方法一般由中间服务器102执行。但本领域技术人员容易理解的是,本申请实施例所提供的数据处理方法也可以由物流数据服务器103执行本示例性实施例中的数据处理方法,对此不做特殊限定。The data processing methods provided by the embodiments of the present application are generally executed by the
以下对本申请实施例的技术方案的实现细节进行详细阐述: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 may be executed by the
在步骤S210中,响应于来自目标智能物流设备的数据包,检测中间服务器与目标智能物流设备之间的通信链路类型。In step S210, in response to the data packet from the target intelligent logistics device, the type of the communication link between the intermediate server and the target intelligent logistics device is detected.
在一个实施例中,智能物流设备为可以进行智能控制的物流设备,具体可以为实现分拣、搬运、存储等某种具体功能的物流设备。智能物流设备可以接收来自控制指令或者将自身的数据上传至对应的中间服务器,再由中间服务器转发至物流数据服务器,从而实现与物流数据服务器之间进行通信连接。In one embodiment, the intelligent logistics device is a logistics device that can perform intelligent control, and specifically may be a logistics device that implements certain specific functions such as sorting, handling, and storage. The intelligent logistics equipment can receive the control instructions or upload its own data to the corresponding intermediate server, and then the intermediate server forwards it to the logistics data 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 for communication connection. 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, Apocalypse satellite communication link, Xingyun satellite communication link Road and other low-orbit satellite communication links, etc., are not limited here. The data packet is a data packet sent by the intelligent logistics device to the intermediate server through any one of the above types of communication links.
中间服务器在接收到任意一个目标智能物流设备的数据包,可以检测中间服务器与目标智能物流设备之间的通信链路类型。When the intermediate server receives a data packet from any target intelligent logistics device, it can detect the type of communication link between the intermediate server and the target intelligent logistics device.
参考图3,图3示意性示出了根据本申请的一个实施例的数据处理方法的流程图,参考图3所示,检测中间服务器与目标智能物流设备之间的通信链路类型的步骤具体可以包括步骤S310至步骤S320,详细描述如下。Referring to FIG. 3, FIG. 3 schematically shows a flowchart of a data processing method according to an embodiment of the present application. Referring to FIG. 3, the steps of detecting the type of communication link between the intermediate server and the target intelligent logistics device are specific Steps S310 to S320 may be included, 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 function 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, and the receiving port number In order to uniquely identify some kind of identification information for different receiving ports, the identification information may specifically be the number of the receiving port or the device identification of the receiving port, which is not limited here. When determining the type of the communication link 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 correspondence between the receiving port numbers of different receiving ports and the corresponding communication link types, and the intermediate server determines the receiving port number of the determined target receiving port and the above-mentioned correspondence. The type of communication link between the intermediate server and the target intelligent logistics device.
图3所示的实施例的技术方案中,通过预先建立各个不同的接收端口对应的接收端口号与通信链路类型之间的对应关系,可以实现快速且准确地确定中间服务器与目标智能物流设备之间的通信链路类型,提高数据处理的效率。In the technical solution of the embodiment shown in FIG. 3 , by pre-establishing the correspondence between the receiving port numbers corresponding to different receiving ports and the communication link type, it is possible to quickly and accurately determine the intermediate server and the target intelligent logistics equipment 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, the target communication protocol used in the transmission of the data packet is determined.
在一个实施例中,中间服务器与目标智能物流设备之间的通信链路类型与该数据包在传输时所采用的目标通信协议之间存在关联关系,在确定得到中间服务器与目标智能物流设备之间的通信链路类型后,可以根据所确定的通信链路类型以及上述关联关系,确定该数据包在传输时所采用的目标通信协议,以便于对数据包进行解析处理。可以理解的是,由于同一通信链路类型可以对应多种不同的通信协议,因此,所确定的目标通信协议可以为一种或多种。In one embodiment, there is an association relationship between the type of communication link between the intermediate server and the target intelligent logistics device and the target communication protocol used for the data packet during transmission. After determining the communication link type between the two, the target communication protocol used 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 facilitate the analysis and processing of 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 flowchart 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 intelligent logistics devices of different device types use the same type of communication link to communicate with the intermediate server, the intelligent logistics Under the premise that the device types of the devices are different, the corresponding communication protocols will also be different. Therefore, it is necessary to transmit data packets between the two types of information based on the device type of the intelligent logistics device and the intelligent logistics device and the intermediate server. The type of communication link To determine the target communication protocol used by the data packet in transmission.
可选的,可以获取目标智能物流设备的设备标识,根据该目标智能物流设备的设备标识确定目标智能物流设备的设备类型。Optionally, the device identification of the target intelligent logistics device can be obtained, and the device type of the target intelligent logistics device is determined according to the device identification of the target intelligent logistics device.
在步骤S420中,根据目标智能物流设备的设备类型以及中间服务器与目标智能物流设备之间的通信链路类型,生成目标环境配置信息。In step S420, the target environment configuration information is generated according to the device type of the target intelligent logistics device and the communication link type between the intermediate server and the target intelligent logistics device.
在一个实施例中,在获取目标智能物流设备的设备类型以及中间服务器与目标智能物流设备之间的通信链路类型后,可以根据这两种信息生成目标智能物流设备对应的目标环境配置信息,并基于该环境配置信息确定数据包在传输时所采用的目标通信协议。可以理解的是,中间服务器可以预先存储有不同类型的智能物流设备对应的环境配置信息与数据包在传输时所采用的通信协议之间的对应关系,以便于根据环境配置信息确定在传输时所采用的通信协议。In one embodiment, after obtaining the device type of the target intelligent logistics device and the type of communication link between the intermediate server and the target intelligent logistics device, the target environment configuration information corresponding to the target intelligent logistics device can be generated according to the two kinds 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 can pre-store the correspondence between the environmental configuration information corresponding to different types of intelligent logistics equipment and the communication protocol used in the transmission of data packets, so as to facilitate the determination of the environmental configuration information according to the environmental 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, determine the target communication protocol used in the transmission of the data packet.
在一个实施例中,中间服务器可以根据生成的目标环境配置信息作为索引,在预存的环境配置信息与通信协议之间的对应关系中进行查找,确定来自目标智能物流设备的数据包在传输时所采用的目标通信协议。In one embodiment, the intermediate server may search the correspondence between the pre-stored environment configuration information and the communication protocol according to the generated target environment configuration information as an index, and determine the data packet from the target intelligent logistics device during transmission. The target communication protocol used.
图4所示实施例的技术方案中,通过存储有不同的环境配置信息与数据包在传输时所采用的通信协议之间的对应关系,可以使得中间服务器能支持不同设备类型的智能物流设备,更为快速地确定的数据包在传输时所采用的目标通信协议,提高数据处理的效率。In the technical solution of the embodiment shown in FIG. 4, by storing the correspondence between different environment configuration information and the communication protocol used in the transmission of the data packet, the intermediate server can be made to support intelligent logistics equipment of different equipment types, The target communication protocol used in the transmission of data packets can be determined more quickly, and the efficiency of data processing can be improved.
在步骤S230中,基于目标通信协议解析所述数据包,得到解析后的数据。In step S230, the data packet is parsed based on the target communication protocol to obtain parsed 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 smoothly receive and parse the data packet, it needs to be parsed 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 parsed 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 type of the communication link between the intermediate server and the logistics data server is a certain type of communication link pre-agreed by 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 parsed 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 may 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 flowchart 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 packet is added to the message sending queue.
在步骤S530中,通过中间服务器与物流数据服务器之间的通信链路,将消息发送队列中包含的写入消息包发送至所述物流数据服务器。In step S530, the write message packet 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 sending the encapsulated data packet to the logistics data server, the intermediate server 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 thread sending the message.
具体的,中间服务器通过与物流数据服务器之间进行通信连接的通信链路来将消息发送队列中包含的写入消息包发送至物流数据服务器。Specifically, the intermediate server sends the write message packet contained in the message sending queue to the logistics data server through a communication link that is communicatively connected with the logistics data server.
通过根据封装后的数据包,生成写入消息包,并将生成的写入消息包添加到消息发送队列,可以有效使得中间服务器可以将多个智能物流设备对应的写入消息有序地发送至物流数据服务器,避免遗漏写入消息包。By generating write message packets according to the encapsulated data packets, and adding the generated write message packets to the message sending queue, the intermediate server can effectively enable the intermediate server to send the write messages corresponding to multiple intelligent logistics devices in an orderly manner to Logistics data server to avoid missing write message packets.
图6示意性示出了根据本申请的一个实施例的数据处理方法的流程图,参考图6所示,将消息发送队列中包含的写入消息包发送至所述物流数据服务器的步骤具体可以包括步骤S610至步骤S630,详细描述如下。FIG. 6 schematically shows a flowchart 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 included in the message sending queue to the logistics data server may specifically be: It includes steps S610 to S630, which are described in detail as follows.
在步骤S610中,根据写入消息包的内容,确定消息发送队列中的各个写入消息包的优先级。In step S610, the priority of each write message package in the message sending queue is determined according to the content of the write message package.
在一个实施例中,中间服务器在消息发送队列中包含的写入消息包发送至物流数据服务器时,会根据写入消息包的内容,确定消息发送队列中的各个写入消息包的优先级。对于使用不同功能类型的写入消息包,其对应的优先级不同,例如,警告提示类型或设备维护类型的写入消息包所对应的优先级高,如数据存储类型的写入消息包所对应的优先级低。可选的,写入消息包的优先级具体可以划分为高优先级、中优先级,低优先级三个级别,当然也可以根据需求划分为三个以上级别的优先等级。In one embodiment, when the write message package included in the message sending queue is sent to the logistics data server, the intermediate server will determine the priority of each write message package in the message sending queue according to the content of the write message package. For write message packets using different function types, their corresponding priorities are different. For example, a write message packet of a warning prompt type or a device maintenance type corresponds to a higher priority, such as a write message packet of data storage type. of low priority. Optionally, the priority of writing the message packet can be specifically divided into three levels: high priority, medium priority, and low priority, and of course, it can also be divided into three or more priority levels according to requirements.
可选的,在根据写入消息包的内容,确定消息发送队列中的各个写入消息包的优先级时,可以根据写入消息包的内容所包含的特定字段,以及特定字段和优先级的对应关系,确定各个写入消息包的优先级。Optionally, when determining the priority of each write message packet in the message sending queue according to the content of the written message packet, it can be based on the specific fields contained in the content of the written message packet, and the specific fields and priorities. Corresponding relationship, determine the priority of each write message packet.
在步骤S620中,基于各个写入消息包的优先级,确定消息发送队列中各个写入消息包的发送顺序。In step S620, the sending order of each write message packet in the message sending queue is determined based on the priority of each write message packet.
在一个实施例中,基于各个写入消息包的优先级,确定消息发送队列中各个写入消息包的发送顺序时,优先级高的写入消息包对应的发送顺序靠前。需要指出的是,对于优先级相同的两个写入消息包,可以根据写入消息包添加至消息发送队列的时间来确定发送顺序,如添加至消息发送队列的时间较早的写入消息包所对应的发送顺序靠前。In one embodiment, when determining the sending order of each write message package in the message sending queue based on the priority of each write message package, the send order corresponding to the write message package with a higher priority is higher. It should be pointed out that for two write message packets with the same priority, the sending order can be determined according to the time when the write message packets are added to the message sending queue. For example, the write message packet 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 sequence, 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 FIG. 6 , the sending order of each write message packet in the message sending queue is determined based on the priority of each write message packet, so that according to the importance of each write message packet, priority is given to the most important High-level write message packets are sent to the logistics data server to meet more complex business scenarios and improve the applicable scenarios of the scheme.
以下介绍本申请的装置实施例,可以用于执行本申请上述实施例中的数据处理方法。对于本申请装置实施例中未披露的细节,请参照本申请上述的数据处理方法的实施例。The apparatus embodiments of the present application are introduced below, which can be used to execute the data processing methods in the above-mentioned embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the above-mentioned embodiments of the data processing method of the present application.
图7示意性示出了根据本申请的一个实施例的数据处理装置的框图。参照图7所示,根据本申请的一个实施例的数据处理装置700,包括:检测单元710、执行单元720、解析单元730、封装单元740以及发送单元750。FIG. 7 schematically shows a block diagram of a data processing apparatus according to an embodiment of the present application. Referring to FIG. 7 , a
其中,检测单元710用于响应于来自目标智能物流设备的数据包,检测所述中间服务器与所述目标智能物流设备之间的通信链路类型;执行单元720用于根据所述中间服务器与所述目标智能物流设备之间的通信链路类型,确定所述数据包在传输时所采用的目标通信协议;解析单元730用于基于所述目标通信协议解析所述数据包,得到解析后的数据;封装单元740用于按照所述中间服务器与所述物流数据服务器之间的通信链路类型所对应的通信协议对所述解析后的数据进行封装处理,生成封装后的数据包;发送单元750用于通过所述中间服务器与所述物流数据服务器之间的通信链路发送所述封装后的数据包至所述物流数据服务器。The
在本申请的一个实施例中,所述检测单元710包括:检测子单元,用于检测接收到所述数据包的目标接收端口号;第一执行子单元,用于基于所述目标接收端口号,以及端口号与通信链路类型之间的对应关系,确定所述中间服务器与所述目标智能物流设备之间的通信链路类型。In an embodiment of the present application, the
在本申请的一个实施例中,所述执行单元720包括:获取子单元,用于获取所述目标智能物流设备的设备类型;第一生成子单元,用于根据所述目标智能物流设备的设备类型以及所述中间服务器与所述目标智能物流设备之间的通信链路类型,生成目标环境配置信息;第二执行子单元,用于基于所述目标环境配置信息,以及环境配置信息与通信协议之间的对应关系,确定所述数据包在传输时所采用的目标通信协议。In an embodiment of the present application, the
在本申请的一个实施例中,所述发送单元750包括:第二生成子单元,用于根据所述封装后的数据包,生成写入消息包;添加子单元,用于将所述写入消息包添加至消息发送队列中;发送子单元,用于通过所述中间服务器与所述物流数据服务器之间的通信链路,将所述消息发送队列中包含的写入消息包发送至所述物流数据服务器。In an embodiment of the present application, the sending
在本申请的一个实施例中,所述发送单元750包括:发送子单元具体用于根据写入消息包的内容,确定所述消息发送队列中的各个写入消息包的优先级;基于各个写入消息包的优先级,确定所述消息发送队列中各个写入消息包的发送顺序;基于所述发送顺序依次将消息发送队列中的写入消息包发送至所述物流数据服务器In an embodiment of the present application, the sending
图8示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。FIG. 8 shows a schematic structural diagram of a computer system suitable for implementing the electronic device according to the embodiment of the present application.
需要说明的是,图8示出的电子设备的计算机系统800仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。It should be noted that the
如图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 , the
以下部件连接至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
特别地,根据本申请的实施例,下文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分809从网络上被下载和安装,和/或从可拆卸介质811被安装。在该计算机程序被中央处理单元(CPU)801执行时,执行本申请的系统中限定的各种功能。In particular, according to embodiments of the present application, the processes described below with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the
需要说明的是,本申请实施例所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(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 embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Erasable Programmable Read Only Memory (EPROM), flash memory, optical fiber, portable Compact Disc Read-Only Memory (CD-ROM), optical storage device, magnetic storage device, or any suitable of the above The combination. In this application, a computer-readable storage medium can 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, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination of the foregoing.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。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 the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks 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 the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented in special purpose hardware-based systems that perform the specified functions or operations, or can be implemented using A combination of dedicated hardware and computer instructions is implemented.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现,所描述的单元也可以设置在处理器中。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments of the present application may be implemented in software or hardware, and the described units may also be provided in a processor. Among them, the names of these units do not constitute a limitation on 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 alone 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, enables the electronic device to implement the methods described in the above-mentioned embodiments.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the apparatus for action performance are mentioned in the above detailed description, this division is not mandatory. Indeed, according to embodiments 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 may be further divided into multiple modules or units to be embodied.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、触控终端、或者网络设备等)执行根据本申请实施方式的方法。From the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application may be embodied in the form of software products, and the software products may be stored in a non-volatile storage medium (which may be CD-ROM, U disk, mobile hard disk, etc.) or on the network , which includes several instructions to cause a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.
本领域技术人员在考虑说明书及实践这里公开的申请后,将容易想到本申请的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。Other embodiments of the present application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of this application and include common knowledge or common technical means in the technical field not disclosed in this application .
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It is to be understood that the present application is not limited to the precise structures described above and shown in the accompanying drawings and that 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 (10)
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 true CN111818136A (en) | 2020-10-23 |
| CN111818136B 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) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112804288A (en) * | 2020-12-14 | 2021-05-14 | 国汽(北京)智能网联汽车研究院有限公司 | Vehicle-end data processing method and device, electronic equipment and computer storage medium |
| WO2021259013A1 (en) * | 2020-06-24 | 2021-12-30 | 深圳中集智能科技有限公司 | Data processing method and apparatus, electronic device, and computer-readable medium |
| CN113938531A (en) * | 2021-09-23 | 2022-01-14 | 北京车和家信息技术有限公司 | 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 |
| CN114827188A (en) * | 2022-03-04 | 2022-07-29 | 苏州智能交通信息科技股份有限公司 | Platform equipment management method, system, terminal and storage medium |
| CN114816785A (en) * | 2022-02-17 | 2022-07-29 | 中国平安人寿保险股份有限公司 | Service data processing method and device, electronic equipment and storage medium |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| 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 |
| CN121173886A (en) * | 2025-11-21 | 2025-12-19 | 惠州市乐亿通科技股份有限公司 | A universal extension method and device compatible with multiple battery communication methods |
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 |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021259013A1 (en) * | 2020-06-24 | 2021-12-30 | 深圳中集智能科技有限公司 | Data processing method and apparatus, 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 |
| CN113938531A (en) * | 2021-09-23 | 2022-01-14 | 北京车和家信息技术有限公司 | Data transmission method, device, equipment and medium |
| CN113938531B (en) * | 2021-09-23 | 2023-10-31 | 北京车和家信息技术有限公司 | Data transmission method, device, equipment and medium |
| US12375566B2 (en) | 2021-09-23 | 2025-07-29 | Beijing Chj Information Technology Co., Ltd. | Data transmission method, apparatus and device, and computer-readable storage medium |
| CN114025353A (en) * | 2021-11-04 | 2022-02-08 | 湖南三一华源机械有限公司 | Data processing method, device, storage medium and mobile device for mobile device |
| CN114816785A (en) * | 2022-02-17 | 2022-07-29 | 中国平安人寿保险股份有限公司 | Service data processing method and device, electronic equipment and storage medium |
| CN114827188A (en) * | 2022-03-04 | 2022-07-29 | 苏州智能交通信息科技股份有限公司 | Platform equipment management method, system, terminal and storage medium |
| CN114827188B (en) * | 2022-03-04 | 2024-04-16 | 苏州智能交通信息科技股份有限公司 | Platform equipment management method, system, terminal and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111818136B (en) | 2023-08-22 |
| 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 | |
| US11934287B2 (en) | Method, electronic device and computer program product for processing data | |
| CN115357663B (en) | Data synchronization method, system and device based on incremental data synchronization component | |
| CN113033680B (en) | Video classification method and device, readable medium and electronic equipment | |
| CN107404418B (en) | Internet product testing method, device, equipment and storage medium | |
| CN111783010B (en) | Webpage blank page monitoring method, device, terminal and storage medium | |
| CN113791792B (en) | Methods, devices and storage media for obtaining application call information | |
| CN112379967B (en) | Simulator detection method, device, equipment and medium | |
| CN111385150A (en) | Method and apparatus for obtaining information | |
| CN111858576A (en) | Real-time message processing method, system, device, storage medium and electronic device | |
| CN112311720B (en) | Data transmission method and device | |
| CN114398233B (en) | Load abnormality detection method and device, server and storage medium | |
| CN110908921A (en) | Game problem positioning method and device, electronic equipment and storage medium | |
| CN112905455A (en) | Interface information checking method, device, equipment and storage medium | |
| CN113778350A (en) | Log printing method and device | |
| CN112152879A (en) | Network quality determination method and device, electronic equipment and readable storage medium | |
| CN111459819A (en) | Software testing method and device, electronic equipment and computer readable medium | |
| CN115134254B (en) | Network simulation method, device, equipment and storage medium | |
| CN115225586B (en) | Data packet transmitting method, device, equipment and computer readable storage medium | |
| CN110245120A (en) | Stream computing system and log data processing method of stream computing system | |
| CN116781586A (en) | A gRPC traffic analysis method, device, equipment and medium | |
| CN117241092A (en) | A video processing method, device, storage medium and electronic equipment | |
| CN117873533A (en) | Method and device based on parallel flashing of upgrade packages | |
| CN111460020B (en) | Method, device, electronic equipment and medium for resolving message |
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 | ||
| PP01 | Preservation of patent right |
Effective date of registration: 20251205 Granted publication date: 20230822 |