CN112732468A - Data processing method, data interaction system and computing equipment - Google Patents

Data processing method, data interaction system and computing equipment Download PDF

Info

Publication number
CN112732468A
CN112732468A CN202110353785.0A CN202110353785A CN112732468A CN 112732468 A CN112732468 A CN 112732468A CN 202110353785 A CN202110353785 A CN 202110353785A CN 112732468 A CN112732468 A CN 112732468A
Authority
CN
China
Prior art keywords
data
interface
processing
data structure
request
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
Application number
CN202110353785.0A
Other languages
Chinese (zh)
Other versions
CN112732468B (en
Inventor
柳星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202110353785.0A priority Critical patent/CN112732468B/en
Priority to CN202110621254.5A priority patent/CN113312188A/en
Publication of CN112732468A publication Critical patent/CN112732468A/en
Application granted granted Critical
Publication of CN112732468B publication Critical patent/CN112732468B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Abstract

The invention discloses a data processing method, which is executed in an agent layer of an operating system, wherein the agent layer comprises one or more transmission interfaces and a processing interface, and the method comprises the following steps: acquiring a data structure sent by a data providing application based on a corresponding transmission interface; receiving a data processing request sent by a data request application based on a corresponding processing interface, wherein request parameters of the data processing request comprise a target data structure type; and acquiring a data structure template corresponding to the processing interface, executing corresponding data processing based on the data structure template and the request parameters, and returning a data processing result to the data request application. The invention also discloses a corresponding data interaction system and a corresponding computing device. According to the data processing method, a uniform data interface can be provided for each application based on the proxy layer, data processing is performed on the proxy layer, data requirements of various services can be met, and development efficiency of data request applications is improved.

Description

Data processing method, data interaction system and computing equipment
Technical Field
The present invention relates to the field of data interaction technologies, and in particular, to a data processing method, a data interaction system, and a computing device.
Background
In the prior art, data interaction between applications on a terminal system generally defines a set of data structures suitable for each other according to data required by a data request application and data provided by a data providing application, and designs a data interface corresponding to the data structures by the data providing application. When the data request application needs data, the data interface of the data providing application is called to acquire the data.
According to the prior art, when data interaction is carried out between applications based on specific data interfaces suitable for each other, the data interaction method is only suitable for the conditions of small data interaction amount, less data request application mathematics and single data service. When the data providing application needs to process data requests of various applications and the data interaction amount is large, the data processing of the data providing application is extremely complex, the accuracy and the timeliness of the data processing are difficult to guarantee, and the data requirements of different applications are difficult to meet. In addition, when the data processing of the data providing application is complex and the data types are numerous, the data processing logic of each data requesting application needs to be understood once, so that the development difficulty of the data requesting application is greatly increased. Moreover, deviation is easy to occur in the process of understanding the data processing logic, so that the problem of data abnormity is difficult to be checked.
In addition, according to the prior art, when the data structure of the data providing application changes and the interface needs to be adjusted, all the interfaces of the data request application depending on the data structure and the usage rules of the data need to be changed, which results in a great workload.
Therefore, a data processing method is needed to solve the problems in the above technical solutions.
Disclosure of Invention
To this end, the present invention provides a data processing method, a data interaction system and a computing device in an attempt to solve or at least alleviate the above-existing problems.
According to an aspect of the present invention, there is provided a data processing method, performed at a proxy layer of an operating system, the proxy layer including one or more transport interfaces and a processing interface, the method including: acquiring a data structure sent by a data providing application based on a corresponding transmission interface; receiving a data processing request sent by a data request application based on a corresponding processing interface, wherein request parameters of the data processing request comprise a target data structure type; and acquiring a data structure template corresponding to the processing interface, executing corresponding data processing based on the data structure template and the request parameters, and returning a data processing result to the data request application.
Optionally, in the data processing method according to the present invention, before acquiring the data structure sent by the data providing application based on the transmission interface, the method includes the steps of: and generating a transmission interface according to the data provided by the data providing application and generating a corresponding processing interface.
Optionally, in the data processing method according to the present invention, the step of generating a transmission interface according to data provided by the data providing application includes: acquiring data suitable for being provided by the data providing application, and acquiring one or more corresponding data structures based on the data; constructing a corresponding data structure template according to the data structure; and respectively generating corresponding transmission interfaces according to each data structure template.
Optionally, in the data processing method according to the present invention, after the respective transmission interfaces are respectively generated according to each data structure template, the method further includes the steps of: and establishing an association relationship between the transmission interface and the data providing application so that the data providing application can send a data structure based on the transmission interface.
Optionally, in the data processing method according to the present invention, the data structure template includes one or more data structure types, and each data structure type corresponds to an attribute variable.
Optionally, in the data processing method according to the present invention, the interface parameter of the transmission interface includes one or more key value pairs, and each key value pair corresponds to one data structure type and a corresponding attribute variable in the data structure template.
Optionally, in the data processing method according to the present invention, generating the corresponding processing interface includes: and respectively generating corresponding processing interfaces according to each data structure template.
According to an aspect of the present invention, there is provided a data interaction system, a proxy layer, comprising one or more transport interfaces and a processing interface, adapted to perform the method as described above; a data providing application adapted to send a data structure to the proxy layer based on a corresponding transport interface; and the data request application is suitable for sending a data processing request to the proxy layer based on the corresponding processing interface and receiving a data processing result returned by the proxy layer after executing corresponding data processing based on the data structure template and the request parameter corresponding to the processing interface.
According to an aspect of the present invention, there is provided a computing device comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the method as described above.
According to an aspect of the present invention, there is provided a readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method as described above.
According to the technical scheme of the invention, a data processing method and a data interaction system are provided, wherein an agent layer can construct a data structure template according to data provided by data providing application, and generate a transmission interface and a corresponding processing interface based on the data structure template. The proxy-based layer may provide a unified transport interface for a plurality of data providing applications, such that the data providing applications may send data structures to the proxy layer based on the unified transport interface. And, the proxy layer may provide a unified processing interface for the plurality of data requesting applications, so that the data requesting applications may proxy layer process data based on the unified processing interface. Therefore, each transmission interface and each processing interface established based on the agent layer can be used for data interaction and data processing requirements of various applications, and data requirements of various services are met. According to the technical scheme of the invention, the agent layer can not only integrate the data structure provided by the data providing application, but also perform complex data processing operation uniformly by the agent layer, thereby avoiding the complex process and processing deviation of performing data analysis and data processing by each data request application, and being beneficial to improving the development efficiency of the data request application.
Further, according to the technical scheme of the invention, when the interface function needs to be expanded, the new function can be realized only by newly adding the key value pair corresponding to the new function in the data byte stream of the interface, the original existing key value pair of the interface does not need to be changed, and the previous function of the interface is not influenced, so that the forward compatibility effect is realized.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a computing device 100, according to one embodiment of the invention;
FIG. 2 shows a schematic diagram of a data interaction system 200, according to one embodiment of the invention; and
FIG. 3 shows a flow diagram of a data processing method 300 according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a schematic block diagram of an example computing device 100.
As shown in FIG. 1, in a basic configuration 102, a computing device 100 typically includes a system memory 106 and one or more processors 104. A memory bus 108 may be used for communication between the processor 104 and the system memory 106.
Depending on the desired configuration, the processor 104 may be any type of processing, including but not limited to: a microprocessor (UP), a microcontroller (UC), a digital information processor (DSP), or any combination thereof. The processor 104 may include one or more levels of cache, such as a level one cache 110 and a level two cache 112, a processor core 114, and registers 116. The example processor core 114 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 118 may be used with the processor 104, or in some implementations the memory controller 118 may be an internal part of the processor 104.
Depending on the desired configuration, system memory 106 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 106 may include an operating system 120, one or more applications 122, and program data 124. In some implementations, the application 122 can be arranged to execute instructions on an operating system with program data 124 by one or more processors 104.
Computing device 100 may also include a storage interface bus 134. The storage interface bus 134 enables communication from the storage devices 132 (e.g., removable storage 136 and non-removable storage 138) to the basic configuration 102 via the bus/interface controller 130. At least a portion of the operating system 120, applications 122, and data 124 may be stored on removable storage 136 and/or non-removable storage 138, and loaded into system memory 106 via storage interface bus 134 and executed by the one or more processors 104 when the computing device 100 is powered on or the applications 122 are to be executed.
Computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via the bus/interface controller 130. The example output device 142 includes a graphics processing unit 148 and an audio processing unit 150. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 158. An example communication device 146 may include a network controller 160, which may be arranged to facilitate communications with one or more other computing devices 162 over a network communication link via one or more communication ports 164.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in a manner that encodes information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
Computing device 100 may be implemented as a personal computer including both desktop and notebook computer configurations. Of course, computing device 100 may also be implemented as part of a small-form factor portable (or mobile) electronic device such as a cellular telephone, a digital camera, a Personal Digital Assistant (PDA), a personal media player device, a wireless web-watch device, a personal headset, an application specific device, or a hybrid device that include any of the above functions. And may even be implemented as a server, such as a file server, a database server, an application server, a WEB server, and so forth. The embodiments of the present invention are not limited thereto.
In an embodiment in accordance with the invention, the operating system of the computing device 100 is configured to perform the data processing method 300 in accordance with the invention. Wherein a proxy layer 250 is disposed on an operating system of the computing device 100, the proxy layer 250 comprising a plurality of program instructions that execute the data processing method 300 according to the present invention, such that the data processing method 300 of the present invention may be executed at the proxy layer.
FIG. 2 shows a schematic diagram of a data interaction system 200, according to one embodiment of the invention. The data interaction system 200 resides in a computing device (e.g., the aforementioned computing device 100) and may be disposed above an operating system. The data interaction system 200 according to the present invention can be used for data interaction of applications with system services.
In an embodiment in accordance with the invention, as shown in FIG. 2, the data interaction system 200 includes one or more data providing applications 210, a broker layer 250, and one or more data requesting applications 220. Wherein the agent layer 250 is adapted to execute the data processing method 300 of the present invention, by executing the data processing method 300 of the present invention, the data providing application 210 and the data requesting application 220 can realize data interaction with the operating system based on the agent layer 350. The data processing method 300 of the present invention will be described in detail below.
It should be noted that the data providing application 210 is an application adapted to provide data, and the data requesting application 220 is an application adapted to request data. Here, the present invention does not limit the specific kinds and numbers of the data providing applications and the data requesting applications. In the present invention, by setting the proxy layer 250, the data provided by the data providing application 210 can be processed uniformly by using the proxy layer 250, and the data can be implemented as a corresponding data interface, so as to provide a uniform data interface for one or more data requesting applications 220 that need to use the data. Here, the present invention does not limit the specific structure of the data provided by the data providing application 210.
According to one embodiment of the invention, the proxy layer 250 may provide one or more transport interfaces and processing interfaces to the application. Specifically, the agent layer 250 may generate, in advance, one or more corresponding transmission interfaces and one or more corresponding processing interfaces according to the data construction provided by the data providing application 210, and provide the transmission interfaces and the processing interfaces to the application. Wherein the proxy layer 250 may provide a transport interface for the data providing application 210, such that the data providing application 210 sends the data structure to the proxy layer 250 based on the corresponding transport interface; also, the proxy layer 250 may provide a processing interface for the data requesting application 220 such that the data requesting application 220 requests data from the proxy layer 250 or requests the proxy layer 250 to process the data based on the corresponding processing interface.
FIG. 2 shows a flow diagram of a data processing method 300 according to one embodiment of the invention.
As shown in fig. 2, the method 300 begins at step S310. In step S310, the data structure sent by the data providing application 310 based on the corresponding transmission interface is acquired. Here, the data structure transmitted by the data providing application 310 based on the corresponding transmission interface is a specific data structure example including specific data content.
It should be noted that, before executing step S310, the agent layer 250 generates one or more corresponding transmission interfaces in advance according to the data construction provided by the data providing application 210, and generates one or more corresponding processing interfaces, so as to provide the transmission interfaces and the processing interfaces to the application. Among other things, a transport interface is provided for the data providing application 210 and a processing interface is provided for the data requesting application 220.
Specifically, when the transmission interface is generated according to the data provided by the data providing application 210, the agent layer obtains all data that the data providing application 210 can provide in advance, and by analyzing and parsing the data provided by the data providing application 210, one or more specific data structures (specific implementations) can be obtained based on the data.
After retrieving one or more particular data structures based on the data provided by the data providing application 210, the broker layer 250 may convert the particular data structures into corresponding data structure templates. Specifically, the concrete data structure (concrete implementation) is converted into a corresponding data structure template by performing abstraction processing on the concrete data structure and discarding concrete contents and implementation details in the data structure instance.
Specifically, the data providing application 210 provides a data structure that is designed for a specific service, and is applicable only to the specific service. On the basis, the invention abstracts the concrete data structure so as to construct a corresponding data structure template according to the concrete data structure, so that the constructed data structure template can adapt to the data transmission and data processing requirements of various services. Here, a corresponding data structure template may be respectively constructed according to each obtained specific data structure, or one data structure template may be constructed according to the obtained associated multiple data structures. That is, a data structure template may be constructed based on one or more specific data structures.
In one embodiment, each data structure template obtained after the abstract transformation may include one or more data structure types (tape). Here, each data structure type corresponds to an attribute variable.
After the data structure templates are constructed, corresponding transmission interfaces are respectively generated according to each constructed data structure template, wherein the data structure templates and the transmission interfaces are in a mutual corresponding relationship, each transmission interface respectively corresponds to one data structure template, and each data structure template can comprise one or more data structure types, so that each transmission interface can correspond to one or more data structure types. Based on this, the transmission interface generated according to the data structure template can be used for the transmission requirements of multiple service data, the proxy layer 250 can provide various data providing applications by constructing a uniform transmission interface, and the applications can call the existing transmission interface to provide the proxy layer 250 with specific data structures in different service scenarios. It should be understood that the data providing application 210 can convert the data provided by the data providing application 210 into a corresponding data structure and send the data structure to the proxy layer 250 based on the transmission interface by calling the corresponding transmission interface to send the data to the proxy layer 250 when providing the data to the proxy layer.
In one embodiment, the interface parameters of the transport interface may be implemented in a key-value pair byte stream format, such as, but not limited to, a json data format. Here, each key-value pair in the interface parameter corresponds to a data structure type and a corresponding attribute variable in the data structure template. Therefore, when the interface is required to be expanded, the new function can be realized only by newly adding the key value pair corresponding to the new function in the data byte stream of the interface, the original existing key value pair of the interface is not required to be changed, the previous function of the interface is not influenced, and the forward compatible effect is realized.
It should be further noted that the data structure-based template is constructed from data provided by the data providing application 210, and thus, one or more transmission interfaces corresponding to the data providing application 210 are generated from one or more constructed data structure templates. According to one embodiment, after generating one or more transmission interfaces according to the final construction of the data provided by the data providing application 210, the proxy layer 250 associates the one or more transmission interfaces with the data providing application 210, that is, binds the data providing application 210 with the one or more transmission interfaces. In this way, the data providing application 210 may directly invoke the transport interfaces associated therewith, based on which the corresponding concrete data structures are provided to the proxy layer 250.
According to an embodiment of the present invention, the proxy layer 250, after building one or more transmission interfaces from the data provided by the data providing application 210, also builds to generate corresponding one or more processing interfaces. It should be noted that each processing interface is also generated according to each data structure template constructed in the foregoing, and specifically, for each data structure template constructed, a processing interface corresponding to the data structure template is generated respectively. It is understood that the processing interface and the transmission interface are also in a corresponding relationship with each other.
That is, each processing interface generated by the proxy layer 250 is corresponding to one data structure template, and each data structure template may include one or more data structure types, so that each processing interface may correspond to one or more data structure types. Based on this, the processing interface generated according to the data structure template can meet the service requirements of various applications, the proxy layer 250 can provide various data request applications by constructing a uniform processing interface, the data request applications can call the existing processing interface to send a data processing request to the proxy layer 250, and the corresponding data processing requirements are realized based on the processing interface of the proxy layer.
It should also be noted that, since the data structure template corresponding to each processing interface includes one or more data structure types, in other words, each processing interface may correspond to one or more data structure types. Thus, when the data request application calls the processing interface, the data request application needs to send a data processing request to the corresponding processing interface by using the target data structure type as a request parameter.
Specifically, the agent layer 250 may perform the following steps S320-S330 based on the constructed one or more processing interfaces.
In step S310, the data processing request sent by the data request application 220 based on the corresponding processing interface is received. Here, the request parameter of the data processing request includes a target data structure type.
Subsequently, in step S320, a data structure template corresponding to the processing interface is acquired, the agent layer performs corresponding data processing based on the data structure template and the request parameter (e.g., the target data structure type), and returns the data processing result to the data request application 220. Here, it should be understood that the agent layer may generate a corresponding target data structure (implementation) according to the data structure template and the target data structure type, and perform a corresponding data processing operation according to the implementation-specific target data structure to obtain a data processing result.
It should be noted that after the data request application 220 calls the processing interface, the proxy layer 250 implements a specific target data structure, and executes a corresponding operation according to the specifically implemented target data structure, and returns a data processing result to the data request application 220. Here, the proxy layer may return the processing result to the data requesting application 220 in the form of a parameter. In this way, the complex data processing operations corresponding to each data structure template are uniformly executed by the agent layer 250, which avoids the complex and repeated processes that each data request application needs to analyze the data structure and execute the data processing operations in the prior art, and also avoids the deviation of different applications in the process of analyzing the data structure and processing the data, thereby being beneficial to reducing the development difficulty of the data request application and improving the development efficiency.
For example, in operating systems such as UOS and Windows, establishing a bluetooth connection is a specific example of an implementation of data interaction between an application and a system service. According to the prior art embodiments, when one or more applications need to use bluetooth functionality, it is first queried whether bluetooth is available. Under the condition of directly using an interface provided by an operating system, each application needs to know the whole set of Bluetooth processing logic, judges whether the current hardware is accessed into a Bluetooth adapter or not by the application, then judges whether the adapter is in an open state or not and whether the adapter is in a neglected state or not, and finally acquires data such as a Bluetooth MAC address and the like so as to establish connection with the appointed Bluetooth.
According to the technical scheme of the invention, in the implementation mode of establishing the Bluetooth connection, the agent layer performs unified processing on data in the Bluetooth connection process, constructs a corresponding data structure template and provides a unified interface for all applications needing to use the Bluetooth function. For example, according to the present invention, the proxy layer may provide a connection interface (connectictbluetooth) for the bluetooth connection process, when the application requesting the bluetooth connection function calls the connection interface, only the identifier (request parameter) of the bluetooth address of the opposite end needs to be provided, all connection checking and connection establishment are processed by the proxy layer, and finally, the proxy layer returns an error code to the application to feed back the result of executing the bluetooth connection. For the proxy interface of the bluetooth connection, the interface is connectictshutdown, the request parameter is the opposite end address-string, and the returned data is the bluetooth connection result-int.
Here, the above-mentioned establishment of a bluetooth connection is only one specific implementation of the method 300 according to the present invention, but the present invention is not limited to this implementation. It should be noted that the specific implementation of the prior art involving data interaction between applications and systems is within the scope of the present invention.
In summary, according to the technical solution of the present invention, the agent layer constructs a data structure template according to the data provided by the data providing application, and generates the transmission interface and the corresponding processing interface based on the data structure template. The proxy-based layer may provide a unified transport interface for a plurality of data providing applications, such that the data providing applications may send data structures to the proxy layer based on the unified transport interface. And, the proxy layer may provide a unified processing interface for the plurality of data requesting applications, so that the data requesting applications may proxy layer process data based on the unified processing interface. Thus, the transmission interface and the processing interface which are created based on the agent layer can be used for data interaction and data processing requirements of various applications. According to the technical scheme of the invention, the agent layer can not only integrate the data structure provided by the data providing application, but also the complex data processing operation is uniformly executed by the agent layer, thereby avoiding the complex process and processing deviation of each data request application for executing data analysis and data processing, and being beneficial to improving the development efficiency of the data request application.
Further, according to the technical scheme of the invention, when the interface function needs to be expanded, the new function can be realized only by newly adding the key value pair corresponding to the new function in the data byte stream of the interface, the original existing key value pair of the interface does not need to be changed, and the previous function of the interface is not influenced, so that the forward compatibility effect is realized.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U.S. disks, floppy disks, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the multilingual spam-text recognition method of the present invention according to instructions in said program code stored in the memory.
By way of example, and not limitation, readable media may comprise readable storage media and communication media. Readable storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with examples of this invention. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense, and the scope of the present invention is defined by the appended claims.

Claims (10)

1. A data processing method, performed at a proxy layer of an operating system, the proxy layer including one or more transport interfaces and a processing interface, the method comprising:
acquiring a data structure sent by a data providing application based on a corresponding transmission interface;
receiving a data processing request sent by a data request application based on a corresponding processing interface, wherein request parameters of the data processing request comprise a target data structure type; and
and acquiring a data structure template corresponding to the processing interface, executing corresponding data processing based on the data structure template and the request parameters, and returning a data processing result to the data request application.
2. The method of claim 1, wherein prior to obtaining the data structure transmitted by the data providing application over the transport interface, comprising the steps of:
and generating a transmission interface according to the data provided by the data providing application and generating a corresponding processing interface.
3. The method of claim 2, wherein generating a transmission interface from data provided by a data providing application comprises:
acquiring data suitable for being provided by the data providing application, and acquiring one or more corresponding data structures based on the data;
constructing a corresponding data structure template according to the data structure;
and respectively generating corresponding transmission interfaces according to each data structure template.
4. The method of claim 3, wherein after generating the corresponding transmission interface according to each data structure template, further comprising the steps of:
and establishing an association relationship between the transmission interface and the data providing application so that the data providing application can send a data structure based on the transmission interface.
5. The method of claim 3, wherein the data structure template comprises one or more data structure types, each data structure type corresponding to an attribute variable.
6. The method of claim 5, wherein the interface parameters of the transport interface include one or more key-value pairs, each key-value pair corresponding to a data structure type and a corresponding attribute variable in the data structure template.
7. The method of any of claims 3-6, wherein generating the respective processing interface comprises:
and respectively generating corresponding processing interfaces according to each data structure template.
8. A data interaction system, comprising:
a proxy layer comprising one or more transport interfaces and processing interfaces adapted to perform the method of any one of claims 1-7;
a data providing application adapted to send a data structure to the proxy layer based on a corresponding transport interface; and
and the data request application is suitable for sending a data processing request to the proxy layer based on the corresponding processing interface and receiving a data processing result returned by the proxy layer after executing corresponding data processing based on the data structure template and the request parameter corresponding to the processing interface.
9. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-7.
10. A readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-7.
CN202110353785.0A 2021-04-01 2021-04-01 Data processing method, data interaction system and computing equipment Active CN112732468B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110353785.0A CN112732468B (en) 2021-04-01 2021-04-01 Data processing method, data interaction system and computing equipment
CN202110621254.5A CN113312188A (en) 2021-04-01 2021-04-01 Data processing method, data interaction system and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110353785.0A CN112732468B (en) 2021-04-01 2021-04-01 Data processing method, data interaction system and computing equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110621254.5A Division CN113312188A (en) 2021-04-01 2021-04-01 Data processing method, data interaction system and computing equipment

Publications (2)

Publication Number Publication Date
CN112732468A true CN112732468A (en) 2021-04-30
CN112732468B CN112732468B (en) 2021-07-16

Family

ID=75596266

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110621254.5A Pending CN113312188A (en) 2021-04-01 2021-04-01 Data processing method, data interaction system and computing equipment
CN202110353785.0A Active CN112732468B (en) 2021-04-01 2021-04-01 Data processing method, data interaction system and computing equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110621254.5A Pending CN113312188A (en) 2021-04-01 2021-04-01 Data processing method, data interaction system and computing equipment

Country Status (1)

Country Link
CN (2) CN113312188A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778999A (en) * 2021-09-29 2021-12-10 平安资产管理有限责任公司 Data modularization processing method and device, computer equipment and storage medium
CN115022403A (en) * 2022-07-07 2022-09-06 中航信移动科技有限公司 Information processing system for multi-channel service agent

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101952800A (en) * 2008-02-25 2011-01-19 微软公司 Accessing different type structures via a common data structure
US20140164431A1 (en) * 2012-12-10 2014-06-12 Unisys Corporation Database and data bus architecture and systems for efficient data distribution
CN106599015A (en) * 2016-08-31 2017-04-26 重庆车杰盟科技有限公司 Data service management system and method
CN111698205A (en) * 2020-04-29 2020-09-22 中国平安财产保险股份有限公司 Service calling method and related equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101952800A (en) * 2008-02-25 2011-01-19 微软公司 Accessing different type structures via a common data structure
US20140164431A1 (en) * 2012-12-10 2014-06-12 Unisys Corporation Database and data bus architecture and systems for efficient data distribution
CN106599015A (en) * 2016-08-31 2017-04-26 重庆车杰盟科技有限公司 Data service management system and method
CN111698205A (en) * 2020-04-29 2020-09-22 中国平安财产保险股份有限公司 Service calling method and related equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778999A (en) * 2021-09-29 2021-12-10 平安资产管理有限责任公司 Data modularization processing method and device, computer equipment and storage medium
CN115022403A (en) * 2022-07-07 2022-09-06 中航信移动科技有限公司 Information processing system for multi-channel service agent
CN115022403B (en) * 2022-07-07 2022-12-13 中航信移动科技有限公司 Information processing system for multi-channel service agent

Also Published As

Publication number Publication date
CN112732468B (en) 2021-07-16
CN113312188A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
US10862979B2 (en) Techniques for supporting remote micro-services as native functions in spreadsheet applications
WO2020029971A1 (en) Processing method and device for payment process, medium and electronic device
CN112732468B (en) Data processing method, data interaction system and computing equipment
US11115913B2 (en) Wireless communication core network and method for analyzing user equipment mobility in the same
CN114528044B (en) Interface calling method, device, equipment and medium
CN113329069A (en) Instant messaging method, system and computing equipment
CN110647316A (en) Method and device for generating universal business object, computer equipment and storage medium
CN110795343A (en) Test system, test method and computing device
CN114090672A (en) Business data import and export method, system, computer equipment and medium
CN114189553A (en) Flow playback method, system and computing equipment
CN112988311A (en) On-line experimental method based on WEB server
CN116795913A (en) Data export method, data import method and data export import system
CN108173716B (en) Method for identifying network equipment manufacturer and computing equipment
CN113961086B (en) Shortcut key implementation method, computing device and storage medium
CN112398870B (en) Cross-platform protocol generation method, device, system, equipment and storage medium
CN114186958A (en) Method, computing device and storage medium for exporting list data as spreadsheet
CN113590699A (en) Interface request processing method and system and computing equipment
CN114880136A (en) Scanner using method and device, computing equipment and storage medium
CN114168937A (en) Resource access method, computing device and readable storage medium
CN113904962B (en) Resource access method and device and computing equipment
CN115361277B (en) Method, device, equipment and medium for deploying general cluster system
US8495659B1 (en) Eliminating redundancy in instance data of different versioned classes in communication between object request brokers using a common class definition
CN115348246A (en) Method, equipment, system and medium for packet capture debugging of multi-user online agent
CN111737284A (en) Pipeline-based database query analysis method and device and computing equipment
CN115618147A (en) Page updating method and device, computing equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant