CN110134461B - Universal processing method and device for data interaction - Google Patents

Universal processing method and device for data interaction Download PDF

Info

Publication number
CN110134461B
CN110134461B CN201910280061.0A CN201910280061A CN110134461B CN 110134461 B CN110134461 B CN 110134461B CN 201910280061 A CN201910280061 A CN 201910280061A CN 110134461 B CN110134461 B CN 110134461B
Authority
CN
China
Prior art keywords
data
data interaction
use scene
current use
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910280061.0A
Other languages
Chinese (zh)
Other versions
CN110134461A (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.)
Suning Group Co ltd
Original Assignee
Suning Group 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 Suning Group Co ltd filed Critical Suning Group Co ltd
Priority to CN201910280061.0A priority Critical patent/CN110134461B/en
Publication of CN110134461A publication Critical patent/CN110134461A/en
Priority to PCT/CN2019/109110 priority patent/WO2020206955A1/en
Priority to CA3176864A priority patent/CA3176864A1/en
Application granted granted Critical
Publication of CN110134461B publication Critical patent/CN110134461B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Exchange Systems With Centralized Control (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a general processing method and device for data interaction, and belongs to the technical field of big data. The method comprises the following steps: setting initialization data parameters of the data interaction service according to a preset rule of the data interaction service; the current use scene calls the data interaction service according to the initialized data parameters; sending out a corresponding data request according to the difference data parameters corresponding to the current use scene; and processing the data required by the current use scene according to the data returned by the data request. The universal processing method and the universal processing device for data interaction can effectively improve the reusability, the high efficiency and the consistency of codes, and simultaneously realize the functions of data interaction method, result consistency, version control, expansion of use scenes, environment monitoring, error processing and the like.

Description

Universal processing method and device for data interaction
Technical Field
The invention relates to the technical field of big data, in particular to a general processing method and device for data interaction.
Background
The existing data interaction mode is to use a specific data interface to transmit query conditions to acquire data according to a specific use scene. The method is not beneficial to general scene processing of data interaction, such as prompting different error information according to different error state codes; and the version control of the uniform data interaction interface is not facilitated.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a general processing method and apparatus for data interaction, which can effectively improve reusability, efficiency and consistency of codes, and simultaneously implement functions of data interaction method and result consistency, version control, expansion of use scenarios, environment monitoring, error processing, and the like. The technical scheme is as follows:
in a first aspect, a general processing method for data interaction is provided, including: setting initialization data parameters of the data interaction service according to a preset rule of the data interaction service; the current use scene calls the data interaction service according to the initialized data parameters; sending out a corresponding data request according to the difference data parameters corresponding to the current use scene; and processing the data required by the current use scene according to the data returned by the data request.
With reference to the first aspect, in a first possible implementation manner, the initializing data parameter setting according to a preset rule of the data interaction service includes: and setting basic data interaction incoming parameters according to an agreed rule of the data interaction service, wherein the basic data interaction incoming parameters comprise a data interaction basic address, local encryption data for distinguishing the identity of the user and an identifier for distinguishing the identity of the user.
With reference to the first aspect, in a second possible implementation manner, before sending out a corresponding data request according to a difference data parameter corresponding to a current usage scenario, the method further includes: and setting the identification of the difference data parameter of the specific address information of the data interaction required by the current use scene, setting the transmission parameter identification of the data interaction required by the current use scene, and initializing the transmission parameter identification into a null object.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, the sending out a corresponding data request according to a difference data parameter corresponding to a current usage scenario includes: filling in the difference data parameters corresponding to the current use scene, and filling in the transmission parameters of data interaction required by the current use scene.
With reference to any one of the first to third possible implementation manners of the first aspect, in fourth to sixth possible implementation manners, performing data processing required by the current usage scenario according to data returned by the data request includes: and judging whether the data returned by the data request is normal data, if so, returning logic processing corresponding to the normal data, if not, further monitoring whether the current use scene needs exception processing, and if so, putting the exception processing logic corresponding to the exception processing into an exception callback.
In a second aspect, a general processing device for data interaction is provided, the device comprising: the initialization data parameter setting module is used for setting initialization data parameters of the data interaction service according to a preset rule of the data interaction service; the data interaction service calling module is used for calling the data interaction service according to the initialized data parameters in the current use scene; the data request initiating module is used for sending out a corresponding data request according to the difference data parameters corresponding to the current use scene; and the data processing module is used for processing the data required by the current use scene according to the data returned by the data request.
With reference to the second aspect, in a first possible implementation manner, the initialization data parameter setting module is configured to: and setting basic data interaction incoming parameters according to an agreed rule of the data interaction service, wherein the basic data interaction incoming parameters comprise a data interaction basic address, local encryption data for distinguishing the identity of the user and an identifier for distinguishing the identity of the user.
With reference to the second aspect, in a second possible implementation manner, the apparatus further includes a difference setting module, where the difference setting module is configured to: before the data request initiating module sends out a corresponding data request according to the difference data parameters corresponding to the current use scene, setting the identification of the difference data parameters of the specific address information of the data interaction required by the current use scene, setting the transmission parameter identification of the data interaction required by the current use scene, and initializing the transmission parameter identification into an empty object.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner, the data request initiating module is configured to: filling in the difference data parameters corresponding to the current use scene, and filling in the transmission parameters of data interaction required by the current use scene.
With reference to any one of the first to three possible implementation manners of the second aspect, in fourth to six possible implementation manners, the data processing module is configured to: and judging whether the data returned by the data request is normal data, if so, returning logic processing corresponding to the normal data, if not, further monitoring whether the current use scene needs exception processing, and if so, putting the exception processing logic corresponding to the exception processing into an exception callback.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
(1) and consistency, in the project creating period, initializing the device according to the convention specification of the project data provider and the convention result. In an actual use scene, a data request can be initiated and a data feedback result can be obtained only by calling a data interaction service, the consistency of a data interaction method and the result is realized, and the unified processing of the entry and return data of the front-end and back-end data interaction of a development project is realized, so that the repeated setting and processing in the actual use scene are reduced, because the entry and return data of the project data interaction are subjected to the unified packaging processing, the development codes, steps and logic are simplified, the reusability of the project codes, the consistency of operation, the centralization of the data interaction and the controllability of the version are enhanced, and the development efficiency is effectively improved.
(2) Specifically, in the process of performing system development by a programmer in the conventional data interaction mode, the developer needs to set and process the input parameter and the output parameter of the data interaction in the current use scene respectively when performing front-end data interaction and back-end data interaction, which is not beneficial to decoupling and reusing of code functions, brings about a challenge to the consistency of the whole project, cannot perform unified processing on the data interaction, and cannot perform unified version control on the data interaction.
(3) The system has the advantages that the system is extensible, calling parameters are reserved, customized parameters can be transmitted in actual use scenes, some abnormal requests can be processed according to different customized parameters, use scenes are expanded, and use requirements of more scenes are met;
(4) the environment monitoring can be realized by automatically acquiring the data of a corresponding data provider according to different environments in an actual use scene according to different data request addresses issued and configured on line in a project development period and a test period;
(5) and error processing, including an error processing mechanism, which performs conventional processing on the error data agreed by the rule, and reserves and monitors whether the error processing mechanism is needed to perform selective error callback processing in the use scene.
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, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart of a general processing method for data interaction provided in embodiment 1 of the present invention;
FIG. 2 is a flow chart of the detailed sub-steps of step 104 in example 1 of the present invention;
fig. 3 is a schematic structural diagram of a general processing device for data interaction according to embodiment 2 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. It is to be noted that, in the description of the present invention, "a plurality" or "a plurality" means two or more unless specifically defined otherwise.
According to the general processing method and device for data interaction provided by the embodiment of the invention, the customizable parameters are thrown out and initialized for the preset use scene in a dynamic parameter setting mode, and the use scene is called according to the preset parameter rule, so that the reusability, the high efficiency and the consistency of codes can be effectively improved, and the functions of the data interaction method, the consistency of results, version control, expansion of the use scene, environment monitoring, error processing and the like are realized.
The following describes in detail a general processing method and apparatus for data interaction according to an embodiment of the present invention with reference to specific embodiments and drawings.
Example 1
Fig. 1 is a flowchart of a general processing method for data interaction according to embodiment 1 of the present invention. As shown in fig. 1, the general processing method for data interaction provided in the embodiment of the present invention includes the following steps:
101. and carrying out initialization data parameter setting on the data interaction service according to a preset rule of the data interaction service.
Specifically, setting basic data interaction incoming parameters according to an agreed rule of the data interaction service, wherein the basic data interaction incoming parameters comprise a data interaction basic address, local encryption data used for distinguishing the identity of a user, and an identifier used for distinguishing the identity of the user. Here, the appointment rule of the data interaction service refers to a rule related to the data interaction service that is predetermined according to an appointment specification of a project data provider or an appointment rule of data interaction at front and back ends of a project.
Illustratively, according to the convention rule of data interaction at the front end and the back end of the project, information such as a storage unit of the information or baseUrl (basic address for data interaction), a cookie (data stored locally and encrypted for identifying the user identity), a token (an identifier for identifying the user identity agreed by both parties of the data interaction), and the like is set as a basic data interaction incoming parameter. In the project creating period, according to the convention rule of the project data interaction service, initialization is carried out according to the convention rule, data parameter setting is initialized, in the actual use scene, a data request can be initiated and a data feedback result can be obtained only by calling the data interaction service, and the consistency of the data interaction method and the result is realized.
It should be noted that, in the step 101, according to the preset rule of the data interaction service, the process of setting the initialization data parameter for the data interaction service may be implemented in other ways besides the above-mentioned ways, and the specific way is not limited in the embodiment of the present invention.
102. And the current use scene calls the data interaction service according to the initialized data parameters.
Specifically, the usage scenarios include multiple usage scenarios such as project development period, tester, online release and the like, the calling parameters are reserved, customized parameters can be transmitted in the actual usage scenarios, some abnormal requests can be processed according to different customized parameters, the usage scenarios are expanded, and the usage requirements of more scenarios are met.
It should be noted that, in the process of invoking the data interaction service according to the initialized data parameter in the current usage scenario of step 102, besides the manner described in the above step, the process may be implemented in other manners, and the specific manner is not limited in the embodiment of the present invention.
103. And sending out a corresponding data request according to the difference data parameters corresponding to the current use scene.
Specifically, filling in a difference data parameter corresponding to the current usage scenario, and filling in a transfer parameter of data interaction required by the current usage scenario.
Illustratively, the current usage scenario calls a data interaction service, fills a difference data parameter of an actual data interaction url (specific address information of data interaction) into an api (information for identifying a specific address agreed by the data interaction service) parameter according to an actual requirement, and fills a parameter required to be transmitted in the current interaction into a params (identification of a transmission parameter agreed by the data interaction service), so as to complete a corresponding data request of the current data interaction.
Before sending out a corresponding data request according to a difference data parameter corresponding to a current usage scenario, the general processing method for data interaction provided by the embodiment of the present invention further includes:
and setting the identification of the difference data parameter of the specific address information of the data interaction required by the current use scene, setting the transmission parameter identification of the data interaction required by the current use scene, and initializing the transmission parameter identification into a null object.
Illustratively, a url (specific address information of the data interaction service) differential data parameter of the front-end and back-end data interaction of the customized project is api (information for identifying a specific address agreed by the data interaction service), a parameter entry params (identification of a delivery parameter agreed by the data interaction service) of the data interaction service is set, and the parameter entry params is initialized to be an empty object.
It should be noted that, the process of sending out the corresponding data request in step 103 according to the difference data parameter corresponding to the current usage scenario may be implemented in other ways besides the above-mentioned ways, and the specific way is not limited in the embodiment of the present invention.
104. And processing the data required by the current use scene according to the data returned by the data request.
Fig. 2 is a flow chart of the detailed sub-steps of step 104 in embodiment 1 of the present invention.
Specifically, as shown in fig. 2, it is determined whether data returned by the data request is normal data, if so, returning logic processing corresponding to the normal data, if not, further monitoring whether the current usage scenario requires exception processing, and if so, placing exception processing logic corresponding to the exception processing into an exception callback.
Illustratively, according to an agreed rule of project front-end and back-end data interaction, error code monitoring is performed on returned data, different error processing mechanisms are provided according to different error codes, and whether selective error callback processing is performed on the error processing mechanisms is reserved in a monitoring use scene or not is reserved. And (4) carrying out normal successful callback on the abnormal-free data, and returning a data interaction return body for use in a use scene. In an actual use scene, the logic processing returned by the used normal data is written into the success callback of the device, and the conventional requirements can be met. If the actual use scene needs to perform special processing such as data resetting on the data return error scene, the logic of error processing can be put into the error callback, and if no special processing exists, the error callback can be left unfilled. The above process may be repeated for different scene uses.
It should be noted that, the process of performing data processing required by the current usage scenario according to the data returned by the data request in step 104 may be implemented in other ways besides the ways described in the above steps, and the specific way is not limited in the embodiment of the present invention.
Example 2
Fig. 3 is a schematic structural diagram of a general processing device for data interaction according to embodiment 2 of the present invention. As shown in fig. 2, a general processing apparatus 2 for data interaction according to an embodiment of the present invention includes: the system comprises an initialization data parameter setting module 21, a data interaction service calling module 22, a data request initiating module 23 and a data processing module 24.
The initialization data parameter setting module 21 is configured to perform initialization data parameter setting on the data interaction service according to a preset rule of the data interaction service. Specifically, the initialization data parameter setting module 21 is configured to: and setting basic data interaction incoming parameters according to an agreed rule of the data interaction service, wherein the basic data interaction incoming parameters comprise a data interaction basic address, local encryption data for distinguishing the identity of the user and an identifier for distinguishing the identity of the user.
And the data interaction service calling module 22 is used for calling the data interaction service according to the initialized data parameters in the current use scene.
The data request initiating module 23 is configured to send a corresponding data request according to the difference data parameter corresponding to the current usage scenario. Specifically, the data request initiating module 23 is configured to: filling in the difference data parameters corresponding to the current use scene, and filling in the transmission parameters of data interaction required by the current use scene. 8. The apparatus of claim 6, further comprising a difference setting module 25, the difference setting module 25 being configured to:
before the data request initiating module 23 sends out a corresponding data request according to the difference data parameters corresponding to the current usage scenario, setting identifiers of the difference data parameters of specific address information of data interaction required by the current usage scenario, setting transmission parameter identifiers of the data interaction required by the current usage scenario, and initializing the transmission parameter identifiers to be empty objects.
And the data processing module 24 is used for performing data processing required by the current use scene according to the data returned by the data request. Specifically, the data processing module 24 is configured to: and judging whether the data returned by the data request is normal data, if so, returning logic processing corresponding to the normal data, if not, further monitoring whether the current use scene needs exception processing, and if so, putting the exception processing logic corresponding to the exception processing into an exception callback.
It should be noted that: in the data interaction general processing apparatus provided in the foregoing embodiment, when the data interaction general processing method is triggered, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the data interaction general processing device provided in the above embodiments and the data interaction general processing method embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
In summary, the general processing method and apparatus for data interaction provided by the embodiments of the present invention have the following beneficial effects, compared with the prior art:
(1) and consistency, in the project creating period, initializing the device according to the convention specification of the project data provider and the convention result. In an actual use scene, a data request can be initiated and a data feedback result can be obtained only by calling a data interaction service, the consistency of a data interaction method and the result is realized, and the unified processing of the entry and return data of the front-end and back-end data interaction of a development project is realized, so that the repeated setting and processing in the actual use scene are reduced, because the entry and return data of the project data interaction are subjected to the unified packaging processing, the development codes, steps and logic are simplified, the reusability of the project codes, the consistency of operation, the centralization of the data interaction and the controllability of the version are enhanced, and the development efficiency is effectively improved.
(2) Specifically, in the process of performing system development by a programmer in the conventional data interaction mode, the developer needs to set and process the input parameter and the output parameter of the data interaction in the current use scene respectively when performing front-end data interaction and back-end data interaction, which is not beneficial to decoupling and reusing of code functions, brings about a challenge to the consistency of the whole project, cannot perform unified processing on the data interaction, and cannot perform unified version control on the data interaction.
(3) The system has the advantages that the system is extensible, calling parameters are reserved, customized parameters can be transmitted in actual use scenes, some abnormal requests can be processed according to different customized parameters, use scenes are expanded, and use requirements of more scenes are met;
(4) the environment monitoring can be realized by automatically acquiring the data of a corresponding data provider according to different environments in an actual use scene according to different data request addresses issued and configured on line in a project development period and a test period;
(5) and error processing, including an error processing mechanism, which performs conventional processing on the error data agreed by the rule, and reserves and monitors whether an error processing mechanism is needed in the use scene so as to perform selective error callback processing.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Those not described in detail in this specification are within the skill of the art.

Claims (8)

1. A general processing method for data interaction is characterized by comprising the following steps:
setting basic data interaction incoming parameters according to an agreed rule of data interaction services, wherein the agreed rule of the data interaction services refers to an agreed specification of a project data provider or an agreed rule of data interaction of front and back ends of a project, and the preset data interaction related rule is carried out, and the basic data interaction incoming parameters comprise a data interaction basic address, local encrypted data for distinguishing user identities and identifiers for distinguishing the user identities;
the current use scene calls the data interaction service according to the basic data interaction incoming parameters;
calling a data interaction service, and sending out a corresponding data request according to difference data parameters corresponding to a current use scene and transmission parameters of data interaction required by the current use scene, wherein the difference data parameters corresponding to the current use scene comprise difference data parameters of specific address information of the data interaction required by the current use scene;
and processing the data required by the current use scene according to the data returned by the data request.
2. The method of claim 1, wherein before issuing the corresponding data request according to the difference data parameter corresponding to the current usage scenario and the transfer parameter of the data interaction required by the current usage scenario, the method further comprises:
and setting the identification of the difference data parameter of the specific address information of the data interaction required by the current use scene, setting the transmission parameter identification of the data interaction required by the current use scene, and initializing the transmission parameter identification into a null object.
3. The method according to claim 2, wherein the issuing of the corresponding data request according to the difference data parameter corresponding to the current usage scenario and the transfer parameter of the data interaction required by the current usage scenario includes:
filling difference data parameters of specific address information of data interaction required by the current use scene, and filling transmission parameters of the data interaction required by the current use scene.
4. The method according to any one of claims 1 to 3, wherein the data processing required by the current usage scenario according to the data returned by the data request comprises:
and judging whether the data returned by the data request is normal data, if so, returning logic processing corresponding to the normal data, if not, further monitoring whether the current use scene needs exception processing, and if so, putting the exception processing logic corresponding to the exception processing into an exception callback.
5. A general-purpose processing apparatus for data interaction, the apparatus comprising:
the system comprises an initialization data parameter setting module, a basic data interaction incoming parameter setting module and a basic data interaction incoming parameter setting module, wherein the setting rule of the data interaction service refers to the setting rule of a project data provider convention specification or the setting rule of project front and back end data interaction, and the basic data interaction incoming parameter comprises a data interaction basic address, local encrypted data for distinguishing user identities and an identifier for distinguishing the user identities;
the data interaction service calling module is used for calling the data interaction service according to the basic data interaction incoming parameters in the current use scene;
the data request initiating module is used for calling data interaction service and sending out a corresponding data request according to difference data parameters corresponding to the current use scene and transmission parameters of data interaction required by the current use scene, wherein the difference data parameters corresponding to the current use scene comprise difference data parameters of specific address information of the data interaction required by the current use scene;
and the data processing module is used for processing the data required by the current use scene according to the data returned by the data request.
6. The apparatus of claim 5, further comprising a diversity setup module configured to:
before the data request initiating module sends out a corresponding data request according to the difference data parameters corresponding to the current use scene, setting the identification of the difference data parameters of the specific address information of the data interaction required by the current use scene, setting the transmission parameter identification of the data interaction required by the current use scene, and initializing the transmission parameter identification into an empty object.
7. The apparatus of claim 6, wherein the data request initiation module is configured to:
filling difference data parameters of specific address information of data interaction required by the current use scene, and filling transmission parameters of the data interaction required by the current use scene.
8. The apparatus of any one of claims 5 to 7, wherein the data processing module is configured to:
and judging whether the data returned by the data request is normal data, if so, returning logic processing corresponding to the normal data, if not, further monitoring whether the current use scene needs exception processing, and if so, putting the exception processing logic corresponding to the exception processing into an exception callback.
CN201910280061.0A 2019-04-09 2019-04-09 Universal processing method and device for data interaction Active CN110134461B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910280061.0A CN110134461B (en) 2019-04-09 2019-04-09 Universal processing method and device for data interaction
PCT/CN2019/109110 WO2020206955A1 (en) 2019-04-09 2019-09-29 Universal processing method and apparatus for data interaction
CA3176864A CA3176864A1 (en) 2019-04-09 2019-09-29 General-purpose processing method and apparatus for data exchange

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910280061.0A CN110134461B (en) 2019-04-09 2019-04-09 Universal processing method and device for data interaction

Publications (2)

Publication Number Publication Date
CN110134461A CN110134461A (en) 2019-08-16
CN110134461B true CN110134461B (en) 2021-08-06

Family

ID=67569478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910280061.0A Active CN110134461B (en) 2019-04-09 2019-04-09 Universal processing method and device for data interaction

Country Status (3)

Country Link
CN (1) CN110134461B (en)
CA (1) CA3176864A1 (en)
WO (1) WO2020206955A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134461B (en) * 2019-04-09 2021-08-06 苏宁易购集团股份有限公司 Universal processing method and device for data interaction

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100587693C (en) * 2007-10-30 2010-02-03 金蝶软件(中国)有限公司 Method and system for obtaining data from a plurality of data pool
CN102571550B (en) * 2010-12-30 2016-05-25 北京亿阳信通科技有限公司 A kind of general information exchange platform and method
CN105511895A (en) * 2014-09-24 2016-04-20 中兴通讯股份有限公司 Method, device, and system for configuring operating environment
CN106487861B (en) * 2015-09-01 2021-04-02 腾讯科技(北京)有限公司 Network data providing method and device
CN105335523A (en) * 2015-12-01 2016-02-17 深圳市迪菲特科技股份有限公司 Data interaction method and Web server
CN109547514A (en) * 2017-09-22 2019-03-29 北京金山云网络技术有限公司 A kind of task processing method, device, electronic equipment and storage medium
CN109408376B (en) * 2018-09-28 2022-04-22 深圳乐信软件技术有限公司 Configuration data generation method, device, equipment and storage medium
CN110134461B (en) * 2019-04-09 2021-08-06 苏宁易购集团股份有限公司 Universal processing method and device for data interaction

Also Published As

Publication number Publication date
CA3176864A1 (en) 2020-10-15
WO2020206955A1 (en) 2020-10-15
CN110134461A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN111163129B (en) Resource processing method and device based on cross-link network
CN108540433B (en) User identity verification method and device
CN107770269B (en) A kind of service response method and its terminal
CN111163130B (en) Network service system and data transmission method thereof
CN108833578B (en) Method and related equipment for duplex communication based on FIFO named pipeline
CN110289965B (en) Application program service management method and device
CN112866421B (en) Intelligent contract operation method and device based on distributed cache and NSQ
CN110582998A (en) Group communication method and device, computer storage medium and computer equipment
CN107295003B (en) Data transmission method, device and system
CN110134461B (en) Universal processing method and device for data interaction
CN106027365A (en) Information interaction method and device
CN106357654B (en) Remote procedure calling method, device and communication system
CN113434766B (en) Subscription information pushing method and device, storage medium and electronic device
CN109525550B (en) Data message processing method, device and system
CN114189384B (en) Service processing method, device, equipment and storage medium
CN114024822B (en) Block chain-based Internet of things equipment management method, equipment, server and medium
CN115766123A (en) Data cross-domain authorization method and device and electronic equipment
CN107438834B (en) Method and device for realizing virtual machine function service, electronic equipment and computer program product
CN113076380B (en) Data synchronization method, device, system, equipment and storage medium
CN111770101B (en) System and method for accessing block chain network
CN112766486A (en) Searching method of neural network structure, terminal, server and readable storage medium
CN108900602B (en) Virtual link establishing method and related device
KR102020112B1 (en) Method and platform for dds-based iec61850 request-response communication
CN110958240A (en) Message subscription system and method
CN112995095A (en) Data processing method, device and computer readable 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