CN117194068A - Cross-process data transmission method, system, equipment and storage medium - Google Patents
Cross-process data transmission method, system, equipment and storage medium Download PDFInfo
- Publication number
- CN117194068A CN117194068A CN202311065823.8A CN202311065823A CN117194068A CN 117194068 A CN117194068 A CN 117194068A CN 202311065823 A CN202311065823 A CN 202311065823A CN 117194068 A CN117194068 A CN 117194068A
- Authority
- CN
- China
- Prior art keywords
- data transmission
- data
- request information
- inter
- local
- 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.)
- Pending
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
技术领域Technical field
本发明涉及数据通信技术领域,尤其涉及一种跨进程数据传输方法、系统、设备及存储介质。The present invention relates to the field of data communication technology, and in particular to a cross-process data transmission method, system, equipment and storage medium.
背景技术Background technique
安卓操作系统主要用于移动设备,如智能手机或平台电脑中,基于安卓系统开发的安卓软件在各行各业中也得到了进一步的应用。The Android operating system is mainly used in mobile devices, such as smartphones or platform computers. Android software developed based on the Android system has also been further used in various industries.
而在一些特殊的使用场景下,处于安全性能等考虑,安卓软件需要访问的目标对象被移入了隔离的命名空间,只有进入到相应网络命名空间的本地应用才可使用网络对目标对象进行访问,使得安卓应用无法直接使用HTTP协议经由外网对目标对象进行访问。In some special usage scenarios, due to security and other considerations, the target objects that Android software needs to access are moved into an isolated namespace. Only local applications that have entered the corresponding network namespace can use the network to access the target objects. This makes it impossible for Android applications to directly use the HTTP protocol to access target objects through the external network.
现有技术中常由安卓软件直接调用核心应用程序接口的方式,将安卓应用自身移动到与目标对象相同的命名空间中;或通过设置除目标对象外的其他中转端进行数据中转,以最终实现安卓软件对目标对象的访问。然而,直接调用核心应用程序接口情况下需要赋予安卓软件管理权限,存在较大安全隐患;而通过其他中转端进行中转,会使得以太网数据流量加倍,降低数据传输性能,且在中转端失效情况下,将直接影响安卓软件的访问功能,难以满足软件应用稳定性的需求。In the existing technology, Android software often directly calls the core application program interface to move the Android application itself into the same namespace as the target object; or by setting up other transfer terminals other than the target object for data transfer, so as to ultimately realize Android Software access to target objects. However, directly calling the core application program interface requires granting management rights to the Android software, which poses a major security risk; and relaying through other relays will double the Ethernet data traffic, reduce data transmission performance, and cause failure at the relay end. This will directly affect the access functions of Android software and make it difficult to meet the stability requirements of software applications.
发明内容Contents of the invention
本发明提供了一种跨进程数据传输方法、系统、设备及存储介质,通过在系统中的本地服务端,实现相互隔离的软件应用端和数据提供端的数据打通,无需为软件应用端提供管理权限,也无需增加独立的三方应用,避免了应用层直接提升权限导致的安全漏洞,在无需更多流量的情况下实现数据的跨进程传输,简化了数据跨进程传输的逻辑,提升了软件应用在进行数据调用时的稳定性。The present invention provides a cross-process data transmission method, system, equipment and storage medium. Through the local server in the system, data communication between mutually isolated software application terminals and data providing terminals is realized without providing management authority for the software application terminals. , there is no need to add independent third-party applications, avoiding security loopholes caused by direct permission elevation at the application layer, enabling cross-process data transmission without requiring more traffic, simplifying the logic of data cross-process transmission, and improving the performance of software applications. Stability when making data calls.
第一方面,本发明实施例提供了一种跨进程数据传输方法,应用于跨进程数据传输系统中,跨进程数据传输系统包括软件应用端、本地服务端和数据提供端;其中,软件应用端与本地服务端间能够进行进程间通信;方法包括:In the first aspect, embodiments of the present invention provide a cross-process data transmission method, which is applied in a cross-process data transmission system. The cross-process data transmission system includes a software application end, a local server end and a data provider end; wherein, the software application end Inter-process communication can be performed with the local server; methods include:
软件应用端在接收到数据传输指令时,根据数据传输指令生成数据传输请求信息,并将数据传输请求信息通过进程间通信发送至本地服务端;When the software application receives the data transfer instruction, it generates data transfer request information according to the data transfer instruction, and sends the data transfer request information to the local server through inter-process communication;
本地服务端对数据传输请求信息进行解析,若数据传输请求信息包含预设数据获取标识,则根据数据传输请求信息配置本地服务端,并将数据传输请求信息发送至数据提供端;The local server parses the data transfer request information. If the data transfer request information contains the preset data acquisition identifier, the local server is configured according to the data transfer request information and sends the data transfer request information to the data provider;
数据提供端将与数据传输请求信息对应的请求数据回传至本地服务端,并由本地服务端将请求数据通过进程间通信回传至软件应用端。The data provider transmits the request data corresponding to the data transmission request information back to the local server, and the local server transmits the request data back to the software application through inter-process communication.
第二方面,本发明实施例还提供了一种跨进程数据传输系统,包括软件应用端、本地服务端和数据提供端;其中,软件应用端与本地服务端间能够进行进程间通信;In a second aspect, embodiments of the present invention also provide a cross-process data transmission system, including a software application end, a local server end, and a data provider end; wherein, inter-process communication is possible between the software application end and the local server end;
软件应用端,用于在接收到数据传输指令时,根据数据传输指令生成数据传输请求信息,并将数据传输请求信息通过进程间通信发送至本地服务端;The software application end is used to generate data transfer request information according to the data transfer instruction when receiving the data transfer instruction, and send the data transfer request information to the local server through inter-process communication;
本地服务端,用于对数据传输请求信息进行解析,若数据传输请求信息包含预设数据获取标识,则根据数据传输请求信息配置本地服务端,并将数据传输请求信息发送至数据提供端;The local server is used to parse the data transfer request information. If the data transfer request information contains the preset data acquisition identifier, the local server is configured according to the data transfer request information and sends the data transfer request information to the data provider;
数据提供端,用于将与数据传输请求信息对应的请求数据回传至本地服务端,并由本地服务端将请求数据通过进程间通信回传至软件应用端。The data provider is used to transmit the request data corresponding to the data transmission request information back to the local server, and the local server transmits the request data back to the software application through inter-process communication.
第三方面,本发明实施例还提供了一种跨进程数据传输设备,包括:In a third aspect, embodiments of the present invention also provide a cross-process data transmission device, including:
至少一个处理器;以及at least one processor; and
与至少一个处理器通信连接的存储器;其中,A memory communicatively connected to at least one processor; wherein,
存储器存储有可被至少一个处理器执行的计算机程序,计算机程序被至少一个处理器执行,以使至少一个处理器能够执行本发明任一实施例提供的跨进程数据传输方法。The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor, so that at least one processor can execute the cross-process data transmission method provided by any embodiment of the present invention.
第四方面,本发明实施例还提供了一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时用于执行本发明任一实施例提供的跨进程数据传输方法。In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to perform the cross-process data transmission method provided by any embodiment of the present invention.
本发明实施例提供的一种跨进程数据传输方法、系统、设备及存储介质,通过软件应用端在接收到数据传输指令时,根据数据传输指令生成数据传输请求信息,并将数据传输请求信息通过进程间通信发送至本地服务端;本地服务端对数据传输请求信息进行解析,若数据传输请求信息包含预设数据获取标识,则根据数据传输请求信息配置本地服务端,并将数据传输请求信息发送至数据提供端;数据提供端将与数据传输请求信息对应的请求数据回传至本地服务端,并由本地服务端将请求数据通过进程间通信回传至软件应用端。通过采用上述技术方案,在进行跨进程数据传输前,构建一个包含软件应用端、本地服务端和数据提供端的跨进程数据传输系统,通过设置于系统自身的本地服务端以及进程间通信功能,使得软件应用端在接收到数据传输指令时,可将数据传输请求信息经由本地服务端解析后,在其中包含预设数据获取标识时将该数据传输请求信息发送至数据提供端,进而将数据提供端提供的数据经由本地服务端回传至需要该数据的软件应用端,在无需单独增加第三方应用的情况下通过在系统自身构建的本地服务端和进程间通信技术,实现了无法互通的软件应用端和数据提供端间的数据传输请求中转,无需为软件应用端提供管理权限,也无需增加独立的三方应用,避免了应用层直接提升权限导致的安全漏洞,在无需更多流量的情况下实现数据的跨进程传输,简化了数据跨进程传输的逻辑,提升了软件应用在进行数据调用时的稳定性。Embodiments of the present invention provide a cross-process data transmission method, system, device and storage medium. When receiving a data transmission instruction through a software application end, the data transmission request information is generated according to the data transmission instruction, and the data transmission request information is passed through Inter-process communication is sent to the local server; the local server parses the data transfer request information. If the data transfer request information contains the preset data acquisition identifier, the local server is configured according to the data transfer request information and sends the data transfer request information. to the data provider; the data provider transmits the request data corresponding to the data transmission request information back to the local server, and the local server transmits the request data back to the software application through inter-process communication. By adopting the above technical solution, before carrying out cross-process data transmission, a cross-process data transmission system including a software application end, a local server end and a data provider end is constructed. By setting up the local server end and inter-process communication function in the system itself, it makes When the software application receives the data transfer instruction, it can parse the data transfer request information through the local server, and then send the data transfer request information to the data provider if it contains a preset data acquisition identifier, and then the data provider The provided data is transmitted back to the software application that needs the data through the local server. Without the need to add a separate third-party application, through the local server and inter-process communication technology built in the system itself, software applications that cannot interoperate are realized. The transfer of data transmission requests between the client and the data provider eliminates the need to provide management permissions to the software application, and does not require the addition of independent third-party applications. This avoids security vulnerabilities caused by direct permission elevation at the application layer and can be achieved without the need for more traffic. The cross-process transmission of data simplifies the logic of cross-process data transmission and improves the stability of software applications when making data calls.
应当理解,本部分所描述的内容并非旨在标识本发明的实施例的关键或重要特征,也不用于限制本发明的范围。本发明的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the invention, nor is it intended to limit the scope of the invention. Other features of the present invention will become easily understood from the following description.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.
图1为本发明实施例一提供的一种跨进程数据传输方法的流程示意图;Figure 1 is a schematic flow chart of a cross-process data transmission method provided by Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种跨进程数据传输方法的流程图;Figure 2 is a flow chart of a cross-process data transmission method provided in Embodiment 2 of the present invention;
图3为本发明实施例三提供的一种跨进程数据传输系统的结构示意图;Figure 3 is a schematic structural diagram of a cross-process data transmission system provided in Embodiment 3 of the present invention;
图4为本发明实施例四提供的一种跨进程数据传输设备的结构示意图。Figure 4 is a schematic structural diagram of a cross-process data transmission device provided in Embodiment 4 of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only These are some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of protection of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the invention described herein are capable of being practiced in sequences other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus that encompasses a series of steps or units and need not be limited to those explicitly listed. Those steps or elements may instead include other steps or elements not expressly listed or inherent to the process, method, product or apparatus.
实施例一Embodiment 1
图1为本发明实施例一提供的一种跨进程数据传输方法的流程示意图,本发明实施例可适用于对无法直接通过真实网络地址进行访问的应用端和服务端进行数据打通,使得应用端和服务端间数据进行跨进程传输的情况,该方法可以由跨进程数据传输系统来执行,该跨进程数据传输系统可以由软件和/或硬件来实现,该跨进程数据传输系统可以配置在跨进程数据传输设备中。可选的,跨进程数据传输设备可以为笔记本、台式计算机、智能平板及其他具有数据计算功能的设备等,本发明实施例对此不进行限制。Figure 1 is a schematic flowchart of a cross-process data transmission method provided in Embodiment 1 of the present invention. This embodiment of the present invention can be applied to connect data between an application and a server that cannot be directly accessed through a real network address, so that the application In the case of cross-process data transmission between the server and the server, this method can be performed by a cross-process data transmission system. The cross-process data transmission system can be implemented by software and/or hardware. The cross-process data transmission system can be configured on the cross-process data transmission system. Process data transfer equipment. Optionally, the cross-process data transmission device can be a notebook, a desktop computer, a smart tablet, and other devices with data computing functions, which are not limited in this embodiment of the present invention.
在本发明实施例中,跨进程数据传输方法可被应用于跨进程数据传输系统中,其中,跨进程数据传输系统包括软件应用端、本地服务端和数据提供端。In embodiments of the present invention, the cross-process data transmission method can be applied to a cross-process data transmission system, where the cross-process data transmission system includes a software application end, a local server end, and a data provider end.
其中,软件应用端与本地服务端间能够进行进程间通信。Among them, inter-process communication can be carried out between the software application end and the local server end.
在本实施例中,软件应用端具体可理解为安卓或其他系统下开发的,适用于HTTP协议访问的应用程序,可选的,软件应用端常为Java应用或其他第三方应用程序。本地服务端具体可理解为安卓系统中经由C++或C代码写出的,供Java进行远程调用的服务端,其是直接在系统中创建的可随系统启动而自启动的程序。数据提供端具体可理解为为软件应用端提供数据支持的应用程序或数据存储模块,数据提供端中数据存储的网址可被认为是真实网络地址。示例性的,假设跨进程数据传输方法被应用于行车记录仪中,则软件应用端可为行车记录仪中用于进行视频播放的安卓应用软件,数据提供端可为行车记录仪中的电子控制器,行车记录仪所采集的视频数据可被存储于电子控制器中,若视频播放软件希望播放行车记录仪采集的视频,则需访问电子控制器中的相册,并获取相册中的视频数据进行播放,本发明实施例对不同场景下的软件应用端和数据提供端不进行限制。可选的,软件应用端与本地服务端可通过Unix Domain Socket进行进程间通信。In this embodiment, the software application can be specifically understood as an application developed under Android or other systems and suitable for HTTP protocol access. Optionally, the software application is often a Java application or other third-party application. The local server can be specifically understood as a server written in C++ or C code in the Android system for remote calling by Java. It is a program created directly in the system that can start automatically when the system starts. The data provider can be specifically understood as an application or data storage module that provides data support for the software application. The URL where the data is stored in the data provider can be considered a real network address. For example, assuming that the cross-process data transmission method is applied to the driving recorder, the software application end can be the Android application software used for video playback in the driving recorder, and the data provider can be the electronic control in the driving recorder. The video data collected by the driving recorder can be stored in the electronic controller. If the video playback software wants to play the video collected by the driving recorder, it needs to access the photo album in the electronic controller and obtain the video data in the album. For playback, embodiments of the present invention do not impose restrictions on software applications and data providers in different scenarios. Optionally, the software application and the local server can communicate between processes through Unix Domain Socket.
如图1所示,本发明实施例提供的一种跨进程数据传输方法,具体包括如下步骤:As shown in Figure 1, an embodiment of the present invention provides a cross-process data transmission method, which specifically includes the following steps:
S101、软件应用端在接收到数据传输指令时,根据数据传输指令生成数据传输请求信息,并将数据传输请求信息通过进程间通信发送至本地服务端。S101. When receiving the data transfer instruction, the software application generates data transfer request information according to the data transfer instruction, and sends the data transfer request information to the local server through inter-process communication.
在本实施例中,数据传输指令具体可理解为由外部输入的,用于确定是否需要进行数据传输,或控制数据传输起止情况的指令。数据传输请求信息具体可理解为对真实网络地址进行本地化处理后生成的,包含所需真实网络地址信息及其他用于判定是否需要进行数据传输的信息。In this embodiment, the data transmission instruction can specifically be understood as an instruction input from the outside and used to determine whether data transmission needs to be performed or to control the start and end of data transmission. The data transmission request information can be specifically understood as being generated after localization processing of the real network address, including the required real network address information and other information used to determine whether data transmission is required.
具体的,软件应用端在接收到数据传输指令时,对数据传输指令的具体类型进行判断,针对需要进行数据传输的指令,对真实网络地址进行处理使其适用于与本地服务端的进程间通信,并将处理后的网络地址与用以表征需要进行数据传输的信息进行综合生成数据传输请求信息,进而由软件应用端通过进程间通信将该数据传输请求信息发送至本地服务端。针对需要停止数据传输的指令,软件应用端将用以表征需要停止数据传输的信息生成数据传输请求信息,进而由软件应用端通过进程间通信将该数据传输请求信息发送至本地服务端。Specifically, when the software application receives the data transfer instruction, it determines the specific type of the data transfer instruction, and processes the real network address for the instruction that requires data transmission to make it suitable for inter-process communication with the local server. The processed network address and the information used to represent the need for data transmission are combined to generate data transmission request information, and then the software application sends the data transmission request information to the local server through inter-process communication. In response to the instruction that needs to stop data transmission, the software application will generate data transmission request information using the information indicating that data transmission needs to be stopped, and then the software application will send the data transmission request information to the local server through inter-process communication.
S102、本地服务端对数据传输请求信息进行解析,若数据传输请求信息包含预设数据获取标识,则根据数据传输请求信息配置本地服务端,并将数据传输请求信息发送至数据提供端。S102. The local server parses the data transmission request information. If the data transmission request information contains the preset data acquisition identifier, configures the local server according to the data transmission request information and sends the data transmission request information to the data provider.
在本实施例中,预设数据获取标识具体可理解为预先设定的,用以表征软件应用端需要数据提供端进行数据提供需求的标识信息。In this embodiment, the preset data acquisition identifier can specifically be understood as preset identification information used to represent the software application end's need for the data provider end to provide data.
具体的,本地服务端在经由进程间通信接收到数据传输请求信息后,将对数据传输请求信息进行解析,若解析后所得字段的前缀部分包含预设数据获取标识,则可认为数据传输请求信息为用于向数据提供端请求数据的信息,此时需由本地服务端对该数据传输请求信息进行转发。由于本地服务端为起到转发作用的服务端,为更好地对接真实网络地址下的数据提供端,需根据数据传输请求信息中包含的真实网络地址对本地服务端进行配置,并通过配置后的本地服务端将数据传输请求信息发送至数据提供端。Specifically, after receiving the data transfer request information through inter-process communication, the local server will parse the data transfer request information. If the prefix part of the field obtained after parsing contains the preset data acquisition identifier, it can be regarded as the data transfer request information. It is the information used to request data from the data provider. At this time, the local server needs to forward the data transmission request information. Since the local server is a server that plays a forwarding role, in order to better connect with the data provider under the real network address, the local server needs to be configured according to the real network address contained in the data transmission request information, and after the configuration The local server sends the data transfer request information to the data provider.
在本发明实施例中,通过直接在系统中构建与软件应用端可进行本地进程间通信的本地服务端,实现通过本地服务端对无法直接由真实网络地址访问的软件应用端和数据提供端的打通,无需引入外部服务端,降低了数据传输过程中的数据流量消耗量,提升了数据传输安全性和传输效率。In the embodiment of the present invention, by directly building a local server in the system that can perform local inter-process communication with the software application, it is possible to connect the software application and the data provider that cannot be directly accessed by the real network address through the local server. , there is no need to introduce an external server, which reduces data traffic consumption during data transmission and improves data transmission security and efficiency.
S103、数据提供端将与数据传输请求信息对应的请求数据回传至本地服务端,并由本地服务端将请求数据通过进程间通信回传至软件应用端。S103. The data provider returns the request data corresponding to the data transmission request information to the local server, and the local server returns the request data to the software application through inter-process communication.
具体的,数据提供端在接收到数据传输请求后,将与数据传输请求对应的请求数据回传至本地服务端,进而通过本地服务端与软件应用端间的进程间通信将请求数据回传至软件应用端,以实现软件应用端对无法直接访问的数据提供端中数据的传输调用。Specifically, after receiving the data transmission request, the data provider transmits the request data corresponding to the data transmission request back to the local server, and then transmits the request data back to the local server through inter-process communication between the local server and the software application. The software application end is used to realize the transmission and call of data from the data provider end that cannot be directly accessed by the software application end.
本实施例的技术方案,通过软件应用端在接收到数据传输指令时,根据数据传输指令生成数据传输请求信息,并将数据传输请求信息通过进程间通信发送至本地服务端;本地服务端对数据传输请求信息进行解析,若数据传输请求信息包含预设数据获取标识,则根据数据传输请求信息配置本地服务端,并将数据传输请求信息发送至数据提供端;数据提供端将与数据传输请求信息对应的请求数据回传至本地服务端,并由本地服务端将请求数据通过进程间通信回传至软件应用端。通过采用上述技术方案,在进行跨进程数据传输前,构建一个包含软件应用端、本地服务端和数据提供端的跨进程数据传输系统,通过设置于系统自身的本地服务端以及进程间通信功能,使得软件应用端在接收到数据传输指令时,可将数据传输请求信息经由本地服务端解析后,在其中包含预设数据获取标识时将该数据传输请求信息发送至数据提供端,进而将数据提供端提供的数据经由本地服务端回传至需要该数据的软件应用端,在无需单独增加第三方应用的情况下通过在系统自身构建的本地服务端和进程间通信技术,实现了无法互通的软件应用端和数据提供端间的数据传输请求中转,无需为软件应用端提供管理权限,也无需增加独立的三方应用,避免了应用层直接提升权限导致的安全漏洞,在无需更多流量的情况下实现数据的跨进程传输,简化了数据跨进程传输的逻辑,提升了软件应用在进行数据调用时的稳定性。The technical solution of this embodiment is that when the software application receives a data transfer instruction, it generates data transfer request information according to the data transfer instruction, and sends the data transfer request information to the local server through inter-process communication; the local server processes the data The transfer request information is parsed. If the data transfer request information contains the preset data acquisition identifier, the local server is configured according to the data transfer request information and the data transfer request information is sent to the data provider; the data provider will communicate with the data transfer request information. The corresponding request data is sent back to the local server, and the local server sends the request data back to the software application through inter-process communication. By adopting the above technical solution, before carrying out cross-process data transmission, a cross-process data transmission system including a software application end, a local server end and a data provider end is constructed. By setting up the local server end and inter-process communication function in the system itself, it makes When the software application receives the data transfer instruction, it can parse the data transfer request information through the local server, and then send the data transfer request information to the data provider if it contains a preset data acquisition identifier, and then the data provider The provided data is transmitted back to the software application that needs the data through the local server. Without the need to add a separate third-party application, through the local server and inter-process communication technology built in the system itself, software applications that cannot interoperate are realized. The transfer of data transmission requests between the client and the data provider eliminates the need to provide management permissions to the software application, and does not require the addition of independent third-party applications. This avoids security vulnerabilities caused by direct permission elevation at the application layer and can be achieved without the need for more traffic. The cross-process transmission of data simplifies the logic of cross-process data transmission and improves the stability of software applications when making data calls.
实施例二Embodiment 2
图2为本发明实施例二提供的一种跨进程数据传输方法的流程图,本发明实施例的技术方案在上述各可选技术方案的基础上进一步优化,通过在软件应用端接收到数据传输指令前,在本地服务端和软件应用端中分别穿件进程间通信服务端和进程间通信客户端,并构建进程间通信服务端与进程间通信客户端的通信连接,实现软件应用端和本地服务端间的通信。同时通过在软件应用端中创建本地代理服务端,实现了对数据传输端口输入真实网络地址的本地化配置,使其适用于向本地服务端传输,进而在软件应用端接收到数据传输指令时,根据数据传输指令的指令类型,完成对数据传输端口的地址配置和用于请求数据的数据传输请求信息的生成,或完成用于停止数据传输的数据传输请求信息的生成,使得软件应用端和本地服务端可在需要进行数据传输时进行适当的地址配置,在不进行数据传输时可尽快完成资源释放,提升了跨进程数据传输的效率和稳定性,简化了数据跨进程传输的逻辑,提升了软件应用在进行数据调用时的稳定性。Figure 2 is a flow chart of a cross-process data transmission method provided in Embodiment 2 of the present invention. The technical solution of the embodiment of the present invention is further optimized based on the above optional technical solutions. By receiving the data transmission at the software application end, Before the instruction, install the inter-process communication server and inter-process communication client in the local server and software application side respectively, and build the communication connection between the inter-process communication server and the inter-process communication client to realize the software application side and local service Communication between terminals. At the same time, by creating a local proxy server in the software application, the localized configuration of inputting the real network address of the data transmission port is realized, making it suitable for transmission to the local server. Then, when the software application receives the data transmission instruction, According to the instruction type of the data transfer instruction, complete the address configuration of the data transfer port and the generation of data transfer request information for requesting data, or complete the generation of data transfer request information for stopping data transfer, so that the software application end and the local The server can perform appropriate address configuration when data transmission is required, and can complete resource release as soon as possible when data transmission is not performed. This improves the efficiency and stability of cross-process data transmission, simplifies the logic of cross-process data transmission, and improves the efficiency of cross-process data transmission. The stability of software applications when making data calls.
如图2所示,本发明实施例提供的一种跨进程数据传输方法,具体包括如下步骤:As shown in Figure 2, a cross-process data transmission method provided by an embodiment of the present invention specifically includes the following steps:
S201、根据预设进程间通信名在本地服务端中创建进程间通信服务端。S201. Create an inter-process communication server in the local server according to the preset inter-process communication name.
在本实施例中,预设进程间通信名具体可理解为根据实际情况预先设置的,用以对构建的进程间通信(Unix Domain Socket,UDS)进行个性化身份表示的命名。示例性的,假设针对的是对媒体数据进行获取并播放的情况,也即与软件应用端相对应的数据需求由MediaPlayer提供,则可将进程间通信名设置为“MediaPlayerUDS”,也可根据实际情况进行对应的进程间通信名预设,本发明实施例对此不进行限制。In this embodiment, the preset inter-process communication name can specifically be understood as a name that is set in advance according to the actual situation and is used to express the personalized identity of the built inter-process communication (Unix Domain Socket, UDS). For example, assuming that the media data is acquired and played, that is, the data requirements corresponding to the software application are provided by MediaPlayer, the inter-process communication name can be set to "MediaPlayerUDS", or it can be set according to the actual situation. The corresponding inter-process communication name is preset according to the situation, and the embodiment of the present invention does not limit this.
具体的,在跨进程数据传输系统投入使用前,可在系统本地拉起一个本地服务端Native Service,进而在本地服务端以预设进程间通信名作为参数,创建安卓原生支持UDS的进程间通信服务端LocalServerSocket,进而可在子线程中调用LocalServerSocket的accept方法,阻塞式等待与进程间通信服务端相对应客户端的连接。Specifically, before the cross-process data transmission system is put into use, a local server Native Service can be launched locally in the system, and then the preset inter-process communication name is used as a parameter on the local server to create inter-process communication that natively supports UDS in Android. Server-side LocalServerSocket, and then the accept method of LocalServerSocket can be called in the child thread to block the connection with the client corresponding to the inter-process communication server.
S202、根据预设进程间通信名在软件应用端中创建进程间通信客户端。S202. Create an inter-process communication client in the software application according to the preset inter-process communication name.
具体的,在跨进程数据传输系统投入使用前,且在本地服务端中进程间通信服务端建立后,可根据与进程间通信服务端名字相同的预设进程间通信名,在软件应用端中对应创建安卓原生支持UDS的进程间通信客户端LocalSocket。Specifically, before the cross-process data transmission system is put into use and after the inter-process communication server is established in the local server, the preset inter-process communication name can be used in the software application side based on the same preset inter-process communication name as the inter-process communication server name. Corresponds to the creation of Android's native inter-process communication client LocalSocket that supports UDS.
S203、软件应用端根据预设进程间通信名和预置地址创建指令确定套接字地址,并将套接字地址传递至进程间通信客户端,以完成进程间通信客户端和进程间通信服务端的通信连接。S203. The software application determines the socket address according to the preset inter-process communication name and the preset address creation instruction, and passes the socket address to the inter-process communication client to complete the inter-process communication client and the inter-process communication server. Communication connection.
具体的,软件应用端在完成进程间通信客户端的创建后,由于进程间通信客户端与进程间通信服务端具有相同的预设进程间通信名,可根据其构建二者间的对应关系,进而可由软件应用端使用预设进程间通信名和安卓系统中预先配置的预置地址创建指令作为参数,创建支持USD的Unix域套接字抽象命名空间下的套接字地址,进而将该套接字地址传递至进程间通信客户端,使得进程间通信客户端可将该套接字地址作为参数调用自身对应的connet方法,完成进程间通信客户端和进程间通信服务端的通信连接。可选的,其中预置地址创建指令可为Specifically, after the software application completes the creation of the inter-process communication client, since the inter-process communication client and the inter-process communication server have the same preset inter-process communication name, the corresponding relationship between the two can be constructed based on it, and then The software application can use the preset inter-process communication name and the preset address creation instruction preconfigured in the Android system as parameters to create a socket address under the Unix domain socket abstract namespace that supports USD, and then use the socket address The address is passed to the inter-process communication client, so that the inter-process communication client can use the socket address as a parameter to call its corresponding connet method to complete the communication connection between the inter-process communication client and the inter-process communication server. Optional, the preset address creation instruction can be
LocalSocketAdress.Namespace.ABSTRACT,所创建的套接字地址可表示为LocalSocketAdress。LocalSocketAdress.Namespace.ABSTRACT, the created socket address can be expressed as LocalSocketAdress.
S204、在软件应用端中创建本地代理服务端。S204. Create a local proxy server in the software application.
在本实施例中,本地代理服务端具体可理解为建立于本地并适配本地网络地址的,用于对需要请求数据的客户端进行监听的,并可连接到其他服务器的套接字。In this embodiment, the local proxy server can be specifically understood as a socket that is established locally and adapted to the local network address, used to monitor clients that need to request data, and can be connected to other servers.
具体的,为在本地代理需要进行数据请求和数据传输的,来自于真实网络地址的请求时,需要在软件应用端简历本地HTTP协议下的服务端套接字ServerSocket,并将创建所得的服务端套接字确定为本地代理服务端。Specifically, when the local proxy needs to perform data requests and data transmission, when the request comes from the real network address, the server socket ServerSocket under the local HTTP protocol needs to be created on the software application end, and the resulting server end will be created. The socket is identified as the local proxy server.
S205、将本地代理服务端绑定预设本地域名和预设空闲端口号。S205. Bind the local proxy server to the preset local domain name and the preset idle port number.
在本实施例中,预设本地域名具体可理解为预先设置的本地网络IP地址的域名。预设空闲端口号具体可理解为预先设置的一个空闲的端口号。In this embodiment, the preset local domain name can be specifically understood as the domain name of the preset local network IP address. The preset idle port number can specifically be understood as a preset idle port number.
示例性的,假设本地ip地址为“127.0.0.1”,预设空闲端口号为9090,则可将构建的本地代理服务端与该本地IP地址和预设空闲端口号进行绑定,进而可通过在子线程中调用ServerSocket的accept方法阻塞式等待提供数据需求的MediaPlayer的数据传输请求。For example, assuming that the local IP address is "127.0.0.1" and the default idle port number is 9090, the built local proxy server can be bound to the local IP address and the default idle port number, and then the built-in local proxy server can be bound to the local IP address and the default idle port number. Call the accept method of ServerSocket in the child thread to block and wait for the data transmission request of MediaPlayer that provides data requirements.
S206、根据预设本地域名、预设空闲端口号和预置真实网络地址生成本地网络地址。S206. Generate a local network address based on the preset local domain name, the preset free port number and the preset real network address.
在本实施例中,预置真实网络地址具体可理解为根据软件应用端调用需求预先配置的,数据提供端中存储需要调用数据的真实网络地址。In this embodiment, the preset real network address can be specifically understood as a real network address that is preconfigured according to the calling requirements of the software application, and the data provider stores the real network address of the data that needs to be called.
接上述示例,假设在行车记录仪的使用场景中,软件应用端为需要获取视频数据的视频播放软件,预置真实网络地址为电子控制器中相册的地址,可表示为DVR_REAL_MP4_PATH,则可将该预置真实网络地址中的域名替换为预设本地域名“127.0.0.1”,并将该预置真实网络地址的端口号替换为本地代理服务端使用的预设空闲端口号9090。Continuing from the above example, assume that in the usage scenario of a driving recorder, the software application is a video playback software that needs to obtain video data, and the preset real network address is the address of the photo album in the electronic controller, which can be expressed as DVR_REAL_MP4_PATH, then the Replace the domain name in the preset real network address with the preset local domain name "127.0.0.1", and replace the port number of the preset real network address with the default idle port number 9090 used by the local proxy server.
S207、对数据传输端口进行初始化,并由本地代理服务端对初始化后的数据传输端口进行监听。S207: Initialize the data transmission port, and have the local proxy server monitor the initialized data transmission port.
具体的,在完成针对软件应用端和本地服务端间进程间通信的构建,以及其中本地代理服务端的配置后,可认为软件应用端可被用于对给出数据传输需求的数据传输端口进行请求接收,并执行后续针对数据传输请求的处理。此时可对软件应用端中用于对外接收数据传输指令的数据传输端口进行初始化,以完成跨进程数据传输准备,进而可由本地代理服务端对初始化后的数据传输端口进行监听,使得本地代理服务端可及时获取到数据传输端口输入的数据传输指令。Specifically, after completing the construction of inter-process communication between the software application and the local server, and the configuration of the local proxy server, it can be considered that the software application can be used to request the data transmission port given the data transmission requirements. Receive and perform subsequent processing of data transfer requests. At this time, the data transmission port in the software application end for receiving external data transmission instructions can be initialized to complete the cross-process data transmission preparation, and then the local proxy server can monitor the initialized data transmission port, so that the local proxy service The terminal can obtain the data transmission instructions input by the data transmission port in time.
接上述示例,假设在行车记录仪的使用场景中,软件应用端为需要获取视频数据的视频播放软件,则可认为软件应用端的数据传输端口为与MediaPlayer相关的SDK端口,在完成针对软件应用端和本地服务端间进程间通信的构建,以及其中本地代理服务端的配置后,可通过调用MediaPlayer的setOnPreparedListener方法来设置播放器onPrepared的回调监听,进而实现通过本地代理服务端对数据传输端口中输入的数据传输指令的监听。Continuing from the above example, assuming that in the usage scenario of the driving recorder, the software application end is video playback software that needs to obtain video data, then the data transmission port of the software application end can be considered to be the SDK port related to MediaPlayer. After completing the software application end After establishing the inter-process communication with the local server and configuring the local proxy server, you can set the callback monitoring of the player onPrepared by calling the setOnPreparedListener method of MediaPlayer, and then realize the input in the data transmission port through the local proxy server. Monitoring of data transfer instructions.
S208、在软件应用端接收到数据传输端口输入的数据传输指令时,若数据传输指令的指令类型为请求类型,则执行S209;若数据传输指令的指令类型为停止类型,则执行S215。S208. When the software application terminal receives the data transfer instruction input from the data transfer port, if the instruction type of the data transfer instruction is the request type, execute S209; if the instruction type of the data transfer instruction is the stop type, execute S215.
具体的,在软件应用端通过数据传输端口接收到输入的数据传输指令时,可认为软件应用端可能有进行数据调用或停止数据调用的需求,此时可对数据传输指令的指令类型进行分析,若该指令类型为请求类型,则可认为需要软件应用端经由本地服务端向数据提供端完成跨进程数据调用,此时执行步骤S209;若该指令类型为停止类型,则可认为软件应用端需要停止由本地服务端向数据提供端进行跨进程数据调用的行为,此时执行步骤S215。Specifically, when the software application receives an input data transfer instruction through the data transmission port, it can be considered that the software application may have a need to make a data call or stop a data call. At this time, the instruction type of the data transfer instruction can be analyzed. If the instruction type is a request type, it can be considered that the software application needs to complete the cross-process data call to the data provider through the local server, and step S209 is performed at this time; if the instruction type is a stop type, it can be considered that the software application needs Stop the cross-process data call from the local server to the data provider, and execute step S215 at this time.
S209、为数据传输端口设置本地网络地址。S209. Set a local network address for the data transmission port.
具体的,在确定数据传输端口对应的软件需要对数据进行调用传输后,为满足本地通信的需求,在软件应用端中将其预先确定好的本地网络地址对数据传输端口进行设置。Specifically, after it is determined that the software corresponding to the data transmission port needs to call and transmit data, in order to meet the needs of local communication, the predetermined local network address is set to the data transmission port in the software application end.
接上述示例,可由软件应用端将其中生成的本地网络地址作为参数,调用与数据传输端口对应MediaPlayer的setDataSource方法,然后调用该MediaPlayer的prepareAsync方法,触发完成初始化的MediaPlayer下发数据传输请求,使得该数据传输请求可经由数据传输端口被与本地网络地址对应的本地代理服务端监听到。Following the above example, the software application can use the generated local network address as a parameter, call the setDataSource method of the MediaPlayer corresponding to the data transmission port, and then call the prepareAsync method of the MediaPlayer to trigger the initialized MediaPlayer to issue a data transmission request, so that the The data transmission request can be monitored by the local proxy server corresponding to the local network address via the data transmission port.
S210、在本地代理服务端监听到本地数据传输请求时,通过预置真实网络域名、预置真实端口号和预设数据获取标识对本地数据传输请求进行更新,将更新后的本地数据传输请求确定为数据传输请求信息,并将数据传输请求信息发送至进程间通信客户端。S210. When the local proxy server monitors the local data transmission request, update the local data transmission request by presetting the real network domain name, the preset real port number and the preset data acquisition identifier, and determine the updated local data transmission request. Requests information for the data transfer and sends the data transfer request information to the interprocess communication client.
在本实施例中,本地数据传输请求具体可理解为具有数据传输需求的软件在完成初始化和本地网络地址配置后,经由数据传输端口下发的用于请求数据调用的请求。In this embodiment, the local data transmission request can be specifically understood as a request for data invocation issued by software with data transmission requirements through the data transmission port after completing initialization and local network address configuration.
具体的,在本地代理服务端监听到本地数据传输请求时,可认为通过数据传输端口接入软件应用端的服务具有数据传输的需求,而由于本地数据传输请求中所包含的地址信息为替换过的本地网络地址,在需要将其发送至本地服务端,进以通过本地服务端向具有真实地址的数据提供端进行数据请求时,需在向本地服务端发送的信息中携带与真实网络地址相关的信息,故此时可通过与预置真实网络地址相对应的预置真实网络域名和预置真实端口号对本地数据传输请求进行更新,同时为使得本地服务端可根据输入其中的数据传输请求信息明确是否要进行数据获取,需在更新后的本地数据传输请求中添加一个用以表征需要进行数据获取的预设数据获取标识,将完成上述所有更新和信息添加的本地数据传输请求确定为数据传输请求信息,并由本地代理服务端将其发送至软件应用端的进程间通信客户端中。Specifically, when the local proxy server monitors the local data transmission request, it can be considered that the service accessing the software application through the data transmission port has data transmission requirements, and because the address information contained in the local data transmission request is replaced The local network address needs to be sent to the local server to make a data request to the data provider with a real address through the local server. The information sent to the local server needs to carry the information related to the real network address. information, so at this time, the local data transmission request can be updated through the preset real network domain name and the preset real port number corresponding to the preset real network address. At the same time, the local server can make the local data transmission request clear based on the input data transmission request information. Whether you want to obtain data, you need to add a preset data acquisition identifier to the updated local data transfer request to indicate the need for data acquisition, and determine the local data transfer request that completes all the above updates and information addition as a data transfer request. The information is sent by the local proxy server to the inter-process communication client of the software application.
接上述示例,在本地代理服务端ServerSocket获取到由MediaPlayer经由数据传输端口传入的本地数据传输请求时,将本地数据传输请求中的本地网络域名和端口号替换为真实的预置真实网络地址中的网络域名和端口号,生成对真实网络进行数据传输请求的信息,同时,在该请求信息前年添加一个预先设置的数据获取标识,如“real_socket_request”,将添加后的请求信息确定为数据传输请求信息,并将该数据传输请求信息发送至进程间通信客户端LocalSocket。Following the above example, when the local proxy server ServerSocket obtains the local data transmission request passed in by MediaPlayer through the data transmission port, the local network domain name and port number in the local data transmission request are replaced with the real preset real network address. The network domain name and port number are generated to generate data transmission request information for the real network. At the same time, a preset data acquisition identifier is added to the request information, such as "real_socket_request", and the added request information is determined as a data transmission request. information, and sends the data transfer request information to the inter-process communication client LocalSocket.
S211、进程间通信客户端将数据传输请求信息发送至进程间通信服务端。S211. The inter-process communication client sends the data transmission request information to the inter-process communication server.
S212、本地服务端对数据传输请求信息进行解析,若数据传输请求信息包含预设数据获取标识,则根据数据传输请求信息中的预置真实网络域名和预置真实端口号在本地服务端创建数据传输端。S212. The local server parses the data transmission request information. If the data transmission request information contains the preset data acquisition identifier, create data on the local server based on the preset real network domain name and the preset real port number in the data transmission request information. transmission end.
具体的,本地服务端在接收到数据传输请求信息时将对该数据传输请求信息进行解析,若解析后确定数据传输请求信息中包含预设数据获取标识,则可认为该数据传输请求信息为希望对数据提供端进行访问并获取反馈数据的请求信息,此时可在本地服务端中创建一个用于对数据提供端进行访问的数据传输端,并通过数据传输请求信息中的预置真实网络域名和预置真实端口号对数据传输端进行配置,使得数据传输端在配置后可与具有真实地址的数据提供端直接进行数据传输。Specifically, when the local server receives the data transfer request information, it will parse the data transfer request information. If it is determined after the analysis that the data transfer request information contains the preset data acquisition identifier, the data transfer request information can be considered to be a desired one. To access the data provider and obtain the request information for feedback data, you can create a data transmission end in the local server to access the data provider, and use the preset real network domain name in the data transmission request information. Configure the data transmission end with the preset real port number, so that the data transmission end can directly transmit data with the data provider with a real address after configuration.
接上述示例,本地服务端Native Service在通过进程间通信服务端LocalServerSocket接收到数据传输请求信息后,通过对其进行解析判断该数据传输请求信息是否以预设数据获取标识开头,若是,则在本地服务端Native Service中创建一个Socket作为数据传输端,进而依据数据传输请求信息中的预置真实网络域名和预置真实端口号完成数据传输端与数据提供端的连接,进而将由进程间通信服务端LocalServerSocket接收到数据传输请求信息传递至数据提供端中。Following the above example, after the local server Native Service receives the data transfer request information through the inter-process communication server LocalServerSocket, it parses it to determine whether the data transfer request information starts with the preset data acquisition identifier. If so, it will Create a Socket in the server Native Service as the data transmission end, and then complete the connection between the data transmission end and the data provider based on the preset real network domain name and preset real port number in the data transmission request information, and then use the inter-process communication server LocalServerSocket The received data transfer request information is passed to the data provider.
S213、数据传输端将数据传输请求信息发送至数据提供端。S213. The data transmission terminal sends the data transmission request information to the data provider.
S214、数据提供端将与数据传输请求信息对应的请求数据回传至本地服务端,并由本地服务端将请求数据通过进程间通信回传至软件应用端。S214. The data provider returns the request data corresponding to the data transmission request information to the local server, and the local server returns the request data to the software application through inter-process communication.
具体的,数据提供端在接收到数据传输请求信息后,将根据数据传输请求信息提供对应的请求数据,由于数据提供端与本地服务端中的数据传输端建立的连接,故可通过该连接将请求数据回传至数据传输端,进而由数据传输端将该请求数据传输至进程间通信服务端,使得进程间通信服务端可根据与进程间通信客户端间的通信连接,将本地服务端接收到的请求数据回传至软件应用端的进程间通信客户端中,进而经由软件应用端中的本地代理服务端传至具有数据传输需求的数据传输端口,完成对数据的传输和调用。Specifically, after receiving the data transmission request information, the data provider will provide corresponding request data according to the data transmission request information. Since the data provider establishes a connection with the data transmission end in the local server, the data can be transferred through this connection. The request data is sent back to the data transmission end, and then the data transmission end transmits the request data to the inter-process communication server, so that the inter-process communication server can receive the local server based on the communication connection with the inter-process communication client. The received request data is sent back to the inter-process communication client of the software application, and then transmitted to the data transmission port with data transmission requirements through the local proxy server in the software application to complete the transmission and call of the data.
S215、生成包含预设数据释放标识的数据传输请求信息。S215. Generate data transmission request information including a preset data release identifier.
具体的,在软件应用端确定其接收到的数据传输指令为停止类型时,可认为软件应用端需要停止由本地服务端向其提供的跨进程数据传输。为使得本地服务端可根据输入其中的数据传输请求信息明确是否要进行数据获取,此时可生成一个包含用以表征需要停止数据获取的预设数据释放标识的数据传输请求信息。Specifically, when the software application determines that the data transmission instruction it receives is of the stop type, it can be considered that the software application needs to stop the cross-process data transmission provided to it by the local server. In order to allow the local server to determine whether to obtain data based on the data transmission request information input therein, a data transmission request information containing a preset data release flag indicating that the data acquisition needs to be stopped can be generated.
示例性的,预设数据释放标识可表示为“stop_socket_request”,本发明实施例对此不进行限制。For example, the preset data release identifier may be expressed as "stop_socket_request", which is not limited in this embodiment of the present invention.
S216、进程间通信客户端将数据传输请求信息发送至进程间通信服务端,并释放进程间通信客户端的资源。S216. The inter-process communication client sends the data transmission request information to the inter-process communication server, and releases the resources of the inter-process communication client.
具体的,软件应用端通过进程间通信客户端将包含有预设数据释放标识的数据传输请求信息发送至本地服务端,同时由于软件应用端在接收到数据传输指令后已明确需要停止对数据的获取,故此时可对其中进程间通信客户端的资源进行释放,以减少对内存的消耗。Specifically, the software application sends the data transfer request information containing the preset data release identification to the local server through the inter-process communication client. At the same time, the software application has clearly needs to stop processing the data after receiving the data transfer instruction. Obtain, so the resources of the inter-process communication client can be released at this time to reduce memory consumption.
S217、本地服务端对数据传输请求信息进行解析,若数据传输请求信息包含预设数据释放标识,则释放进程间通信服务端的资源。S217. The local server parses the data transmission request information. If the data transmission request information contains the preset data release identifier, the resources of the inter-process communication server are released.
具体的,本地服务端在接收到数据传输请求信息时将对该数据传输请求信息进行解析,若解析后确定数据传输请求信息中包含预设数据释放标识,则可认为该数据传输请求信息为希望停止从数据提供端获取数据,并对本地服务端中资源进行释放的请求信息,此时可停止数据传输端对数据提供端数据的接收,同时释放进程间通信服务端的资源。Specifically, when the local server receives the data transfer request information, it will parse the data transfer request information. If it is determined after analysis that the data transfer request information contains the preset data release identification, the data transfer request information can be considered to be a desired one. Request information to stop obtaining data from the data provider and release resources in the local server. At this time, the data transmission end can stop receiving data from the data provider and release the resources of the inter-process communication server.
本实施例的技术方案,在软件应用端接收到数据传输指令前,在本地服务端和软件应用端中分别穿件进程间通信服务端和进程间通信客户端,并构建进程间通信服务端与进程间通信客户端的通信连接,实现软件应用端和本地服务端间的通信。同时通过在软件应用端中创建本地代理服务端,实现了对数据传输端口输入真实网络地址的本地化配置,使其适用于向本地服务端传输,进而在软件应用端接收到数据传输指令时,根据数据传输指令的指令类型,完成对数据传输端口的地址配置和用于请求数据的数据传输请求信息的生成,或完成用于停止数据传输的数据传输请求信息的生成,使得软件应用端和本地服务端可在需要进行数据传输时进行适当的地址配置,在不进行数据传输时可尽快完成资源释放,提升了跨进程数据传输的效率和稳定性,简化了数据跨进程传输的逻辑,提升了软件应用在进行数据调用时的稳定性。The technical solution of this embodiment is that before the software application receives the data transmission instruction, the inter-process communication server and the inter-process communication client are respectively installed in the local server and the software application, and the inter-process communication server and the inter-process communication client are constructed. The communication connection of the inter-process communication client realizes communication between the software application and the local server. At the same time, by creating a local proxy server in the software application, the localized configuration of inputting the real network address of the data transmission port is realized, making it suitable for transmission to the local server. Then, when the software application receives the data transmission instruction, According to the instruction type of the data transfer instruction, complete the address configuration of the data transfer port and the generation of data transfer request information for requesting data, or complete the generation of data transfer request information for stopping data transfer, so that the software application end and the local The server can perform appropriate address configuration when data transmission is required, and can complete resource release as soon as possible when data transmission is not performed. This improves the efficiency and stability of cross-process data transmission, simplifies the logic of cross-process data transmission, and improves the efficiency of cross-process data transmission. The stability of software applications when making data calls.
实施例三Embodiment 3
图3为本发明实施例三提供的一种跨进程数据传输系统的结构示意图,如图3所示,跨进程数据传输系统1包括:软件应用端11、本地服务端12和数据提供端13。其中,软件应用端11与本地服务端12间能够进行进程间通信。Figure 3 is a schematic structural diagram of a cross-process data transmission system provided in Embodiment 3 of the present invention. As shown in Figure 3, the cross-process data transmission system 1 includes: a software application end 11, a local server end 12 and a data provider end 13. Among them, the software application terminal 11 and the local server terminal 12 can perform inter-process communication.
软件应用端11,用于在接收到数据传输指令时,根据数据传输指令生成数据传输请求信息,并将数据传输请求信息通过进程间通信发送至本地服务端12;The software application terminal 11 is configured to generate data transmission request information according to the data transmission instruction when receiving the data transmission instruction, and send the data transmission request information to the local server 12 through inter-process communication;
本地服务端12,用于对数据传输请求信息进行解析,若数据传输请求信息包含预设数据获取标识,则根据数据传输请求信息配置本地服务端12,并将数据传输请求信息发送至数据提供端13;The local server 12 is used to parse the data transmission request information. If the data transmission request information contains the preset data acquisition identifier, configure the local server 12 according to the data transmission request information and send the data transmission request information to the data provider. 13;
数据提供端13,用于将与数据传输请求信息对应的请求数据回传至本地服务端12,并由本地服务端12将请求数据通过进程间通信回传至软件应用端11。The data providing end 13 is used to transmit the request data corresponding to the data transmission request information back to the local server 12, and the local server 12 transmits the request data back to the software application end 11 through inter-process communication.
本实施例的技术方案,在进行跨进程数据传输前,构建一个包含软件应用端、本地服务端和数据提供端的跨进程数据传输系统,通过设置于系统自身的本地服务端以及进程间通信功能,使得软件应用端在接收到数据传输指令时,可将数据传输请求信息经由本地服务端解析后,在其中包含预设数据获取标识时将该数据传输请求信息发送至数据提供端,进而将数据提供端提供的数据经由本地服务端回传至需要该数据的软件应用端,在无需单独增加第三方应用的情况下通过在系统自身构建的本地服务端和进程间通信技术,实现了无法互通的软件应用端和数据提供端间的数据传输请求中转,无需为软件应用端提供管理权限,也无需增加独立的三方应用,避免了应用层直接提升权限导致的安全漏洞,在无需更多流量的情况下实现数据的跨进程传输,简化了数据跨进程传输的逻辑,提升了软件应用在进行数据调用时的稳定性。The technical solution of this embodiment is to build a cross-process data transmission system including a software application end, a local server end and a data provider end before performing cross-process data transmission. Through the local server end and inter-process communication function set in the system itself, When the software application receives the data transfer instruction, it can parse the data transfer request information through the local server, and then send the data transfer request information to the data provider when it contains the preset data acquisition identifier, and then provide the data. The data provided by the client is transmitted back to the software application that needs the data through the local server. Without the need to add a separate third-party application, through the local server and inter-process communication technology built in the system itself, software that cannot interoperate is realized The transfer of data transmission requests between the application end and the data provider eliminates the need to provide management permissions to the software application end, and does not require the addition of independent third-party applications. This avoids security vulnerabilities caused by direct permission elevation at the application layer without requiring more traffic. Realizing cross-process data transmission simplifies the logic of data cross-process transmission and improves the stability of software applications when making data calls.
可选的,软件应用端11,包括:数据传输端口110、本地代理服务端111和进程间通信客户端112。本地服务端12,包括:进程间通信服务端120。Optionally, the software application terminal 11 includes: a data transmission port 110, a local proxy server 111 and an inter-process communication client 112. The local server 12 includes: inter-process communication server 120.
其中,进程间通信服务端120为根据预设进程间通信名在本地服务端12中创建的;进程间通信客户端112为根据预设进程间通信名在软件应用端11中创建的。Among them, the inter-process communication server 120 is created in the local server 12 according to the preset inter-process communication name; the inter-process communication client 112 is created in the software application 11 according to the preset inter-process communication name.
软件应用端11,具体用于:Software application end 11, specifically used for:
根据预设进程间通信名和预置地址创建指令确定套接字地址,并将套接字地址传递至进程间通信客户端112,以完成进程间通信客户端112和进程间通信服务端120的通信连接;Determine the socket address according to the preset inter-process communication name and the preset address creation instruction, and pass the socket address to the inter-process communication client 112 to complete the communication between the inter-process communication client 112 and the inter-process communication server 120 connect;
将本地代理服务端111绑定预设本地域名和预设空闲端口号;Bind the local proxy server 111 to the preset local domain name and the preset idle port number;
根据预设本地域名、预设空闲端口号和预置真实网络地址生成本地网络地址;Generate a local network address based on the preset local domain name, preset free port number and preset real network address;
对数据传输端口110进行初始化,并由本地代理服务端111对初始化后的数据传输端口110进行监听。The data transmission port 110 is initialized, and the local proxy server 111 monitors the initialized data transmission port 110 .
可选的,在软件应用端11接收到数据传输端口110输入的数据传输指令时,若数据传输指令的指令类型为请求类型,则为数据传输端口110设置本地网络地址;Optionally, when the software application end 11 receives the data transfer instruction input from the data transfer port 110, if the instruction type of the data transfer instruction is a request type, then set a local network address for the data transfer port 110;
在本地代理服务端111监听到本地数据传输请求时,通过预置真实网络域名、预置真实端口号和预设数据获取标识对本地数据传输请求进行更新,将更新后的本地数据传输请求确定为数据传输请求信息,并将数据传输请求信息发送至进程间通信客户端112;When the local proxy server 111 monitors the local data transmission request, it updates the local data transmission request by presetting the real network domain name, the preset real port number and the preset data acquisition identifier, and determines the updated local data transmission request as Data transfer request information, and send the data transfer request information to the inter-process communication client 112;
进程间通信客户端112将数据传输请求信息发送至进程间通信服务端120。The inter-process communication client 112 sends the data transmission request information to the inter-process communication server 120 .
可选的,根据数据传输请求信息配置本地服务端12,并将数据传输请求信息发送至数据提供端13,包括:Optionally, configure the local server 12 according to the data transmission request information, and send the data transmission request information to the data provider 13, including:
根据数据传输请求信息中的预置真实网络域名和预置真实端口号在本地服务端12创建数据传输端121;Create a data transmission terminal 121 on the local server 12 according to the preset real network domain name and the preset real port number in the data transmission request information;
数据传输端121将数据传输请求信息发送至数据提供端13。The data transmission terminal 121 sends the data transmission request information to the data providing terminal 13 .
可选的,在软件应用端11接收到数据传输端口110输入的数据传输指令时,若数据传输指令的指令类型为停止类型,则生成包含预设数据释放标识的数据传输请求信息;Optionally, when the software application end 11 receives the data transfer instruction input from the data transfer port 110, if the instruction type of the data transfer instruction is a stop type, data transfer request information containing a preset data release identifier is generated;
进程间通信客户端112将数据传输请求信息发送至进程间通信服务端120,并释放进程间通信客户端112的资源。The inter-process communication client 112 sends the data transmission request information to the inter-process communication server 120 and releases the resources of the inter-process communication client 112.
本地服务端12对数据传输请求信息进行解析,若数据传输请求信息包含预设数据释放标识,则释放进程间通信服务端120的资源。The local server 12 parses the data transmission request information. If the data transmission request information contains a preset data release identifier, the resources of the inter-process communication server 120 are released.
本发明实施例提供的跨进程数据传输系统可执行本发明任意实施例所提供的跨进程数据传输方法,具备执行方法相应的功能模块和有益效果。The cross-process data transmission system provided by embodiments of the present invention can execute the cross-process data transmission method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
实施例四Embodiment 4
图4为本发明实施例四提供的一种跨进程数据传输设备的结构示意图。跨进程数据传输设备40可为电子设备,旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备(如头盔、眼镜、手表等)和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本发明的实现。Figure 4 is a schematic structural diagram of a cross-process data transmission device provided in Embodiment 4 of the present invention. Cross-process data transfer device 40 may be an electronic device intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computer. Electronic devices may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (eg, helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are examples only and are not intended to limit the implementation of the invention described and/or claimed herein.
如图4所示,跨进程数据传输设备40包括至少一个处理器41,以及与至少一个处理器41通信连接的存储器,如只读存储器(ROM)42、随机访问存储器(RAM)43等,其中,存储器存储有可被至少一个处理器执行的计算机程序,处理器41可以根据存储在只读存储器(ROM)42中的计算机程序或者从存储单元48加载到随机访问存储器(RAM)43中的计算机程序,来执行各种适当的动作和处理。在RAM 43中,还可存储跨进程数据传输设备40操作所需的各种程序和数据。处理器41、ROM 42以及RAM 43通过总线44彼此相连。输入/输出(I/O)接口45也连接至总线44。As shown in Figure 4, the cross-process data transmission device 40 includes at least one processor 41, and a memory communicatively connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., where , the memory stores a computer program that can be executed by at least one processor. The processor 41 can be based on a computer program stored in a read-only memory (ROM) 42 or loaded from a storage unit 48 into a random access memory (RAM) 43. program to perform various appropriate actions and processing. In the RAM 43, various programs and data required for the operation of the cross-process data transmission device 40 may also be stored. The processor 41, ROM 42 and RAM 43 are connected to each other through a bus 44. An input/output (I/O) interface 45 is also connected to bus 44 .
跨进程数据传输设备40中的多个部件连接至I/O接口45,包括:输入单元46,例如键盘、鼠标等;输出单元47,例如各种类型的显示器、扬声器等;存储单元48,例如磁盘、光盘等;以及通信单元49,例如网卡、调制解调器、无线通信收发机等。通信单元49允许跨进程数据传输设备40通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the cross-process data transmission device 40 are connected to the I/O interface 45, including: input unit 46, such as keyboard, mouse, etc.; output unit 47, such as various types of displays, speakers, etc.; storage unit 48, such as Disk, optical disk, etc.; and communication unit 49, such as network card, modem, wireless communication transceiver, etc. The communication unit 49 allows the cross-process data transfer device 40 to exchange information/data with other devices through computer networks such as the Internet and/or various telecommunications networks.
处理器41可以是各种具有处理和计算能力的通用和/或专用处理组件。处理器41的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的处理器、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。处理器41执行上文所描述的各个方法和处理,例如跨进程数据传输方法。Processor 41 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processing processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 performs various methods and processes described above, such as the cross-process data transmission method.
在一些实施例中,跨进程数据传输方法可被实现为计算机程序,其被有形地包含于计算机可读存储介质,例如存储单元48。在一些实施例中,计算机程序的部分或者全部可以经由ROM 42和/或通信单元49而被载入和/或安装到跨进程数据传输设备40上。当计算机程序加载到RAM 43并由处理器41执行时,可以执行上文描述的跨进程数据传输方法的一个或多个步骤。备选地,在其他实施例中,处理器41可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行跨进程数据传输方法。In some embodiments, the cross-process data transmission method may be implemented as a computer program, which is tangibly embodied in a computer-readable storage medium, such as storage unit 48. In some embodiments, part or all of the computer program may be loaded and/or installed onto the cross-process data transfer device 40 via the ROM 42 and/or the communication unit 49. When the computer program is loaded into RAM 43 and executed by processor 41, one or more steps of the above-described cross-process data transfer method may be performed. Alternatively, in other embodiments, the processor 41 may be configured to perform the cross-process data transfer method in any other suitable manner (eg, by means of firmware).
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described above may be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip implemented in a system (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or a combination thereof. These various embodiments may include implementation in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor The processor, which may be a special purpose or general purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device. An output device.
用于实施本发明的方法的计算机程序可以采用一个或多个编程语言的任何组合来编写。这些计算机程序可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器,使得计算机程序当由处理器执行时使流程图和/或框图中所规定的功能/操作被实施。计算机程序可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Computer programs for implementing the methods of the invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that the computer program, when executed by the processor, causes the functions/operations specified in the flowcharts and/or block diagrams to be implemented. A computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
在本发明的上下文中,计算机可读存储介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的计算机程序。计算机可读存储介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。备选地,计算机可读存储介质可以是机器可读信号介质。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of this invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
为了提供与用户的交互,可以在电子设备上实施此处描述的系统和技术,该电子设备具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给电子设备。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display)) for displaying information to the user monitor); and a keyboard and pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and may be provided in any form, including Acoustic input, voice input or tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)、区块链网络和互联网。The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., A user's computer having a graphical user interface or web browser through which the user can interact with implementations of the systems and technologies described herein), or including such backend components, middleware components, or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communications network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
计算系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务中,存在的管理难度大,业务扩展性弱的缺陷。Computing systems may include clients and servers. Clients and servers are generally remote from each other and typically interact over a communications network. The relationship of client and server is created by computer programs running on corresponding computers and having a client-server relationship with each other. The server can be a cloud server, also known as cloud computing server or cloud host. It is a host product in the cloud computing service system to solve the problems of difficult management and weak business scalability in traditional physical hosts and VPS services. defect.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发明中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本发明的技术方案所期望的结果,本文在此不进行限制。It should be understood that various forms of the process shown above may be used, with steps reordered, added or deleted. For example, each step described in the present invention can be executed in parallel, sequentially, or in different orders. As long as the desired results of the technical solution of the present invention can be achieved, there is no limitation here.
上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the scope of the present invention. It will be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions are possible depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention shall be included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311065823.8A CN117194068A (en) | 2023-08-22 | 2023-08-22 | Cross-process data transmission method, system, equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311065823.8A CN117194068A (en) | 2023-08-22 | 2023-08-22 | Cross-process data transmission method, system, equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117194068A true CN117194068A (en) | 2023-12-08 |
Family
ID=88986142
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311065823.8A Pending CN117194068A (en) | 2023-08-22 | 2023-08-22 | Cross-process data transmission method, system, equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117194068A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118193254A (en) * | 2024-05-15 | 2024-06-14 | 先临三维科技股份有限公司 | A process communication method, device, medium and equipment |
-
2023
- 2023-08-22 CN CN202311065823.8A patent/CN117194068A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118193254A (en) * | 2024-05-15 | 2024-06-14 | 先临三维科技股份有限公司 | A process communication method, device, medium and equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9251040B2 (en) | Remote debugging in a cloud computing environment | |
| US9706371B2 (en) | Push notification middleware | |
| WO2019000871A1 (en) | Method and device for providing voice service, and server | |
| CN111045833B (en) | Method and device for interface calling | |
| CN113821352B (en) | A remote service calling method and device | |
| CN113691602B (en) | Business processing method, system, device, equipment and medium based on cloud phone | |
| CN109981719A (en) | Information processing method and its system, computer system and computer readable medium | |
| CN109995801A (en) | A kind of method for message transmission and device | |
| CN113595927A (en) | Method and device for processing mirror flow in bypass mode | |
| CN109918191B (en) | Method and device for frequency prevention of service request | |
| CN113010238A (en) | Permission determination method, device and system for micro application call interface | |
| CN112015383B (en) | A login method and device | |
| CN113765871A (en) | Fortress management method and device | |
| CN113742617A (en) | Method and device for updating cache | |
| CN117194068A (en) | Cross-process data transmission method, system, equipment and storage medium | |
| US20130151721A1 (en) | Remote Session Management | |
| CN112929453A (en) | Method and device for sharing session data | |
| CN108021462A (en) | Method and apparatus for calling cloud service | |
| CN113765972A (en) | Data request response method, device, system, server and storage medium | |
| CN116561013B (en) | Test methods, devices, electronic equipment and media based on the target service framework | |
| WO2024045646A1 (en) | Method, apparatus and system for managing cluster access permission | |
| CN115840601A (en) | Task speed limiting method and device | |
| CN115865974A (en) | Edge device, cloud device, edge computing system and method, and storage medium | |
| CN115720224A (en) | Access method, device, electronic device and medium based on desktop cloud | |
| CN112099841A (en) | Method and system for generating configuration file |
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: 20250429 Address after: No. 6 Raffles Wharf, Singapore, # 14-02 Applicant after: Yikatong Technology (Singapore) Co.,Ltd. Country or region after: Singapore Address before: 430056 Building C4, Zone A, Huazhong Jiaocheng Project, Qiangwei Road, Wuhan Economic and Technological Development Zone, Wuhan, Hubei Province Applicant before: Yikatong (Hubei) Technology Co.,Ltd. Country or region before: China |