CN109558252A - Data interactive method and device - Google Patents

Data interactive method and device Download PDF

Info

Publication number
CN109558252A
CN109558252A CN201811095243.2A CN201811095243A CN109558252A CN 109558252 A CN109558252 A CN 109558252A CN 201811095243 A CN201811095243 A CN 201811095243A CN 109558252 A CN109558252 A CN 109558252A
Authority
CN
China
Prior art keywords
target data
attribute
terminal
parameter
corresponding parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811095243.2A
Other languages
Chinese (zh)
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.)
China Construction Science and Technology Group Co Ltd Shenzhen Branch
Original Assignee
China Construction Science and Technology Co Ltd Shenzhen Branch
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 China Construction Science and Technology Co Ltd Shenzhen Branch filed Critical China Construction Science and Technology Co Ltd Shenzhen Branch
Priority to CN201811095243.2A priority Critical patent/CN109558252A/en
Publication of CN109558252A publication Critical patent/CN109558252A/en
Pending legal-status Critical Current

Links

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
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications

Abstract

The present invention is suitable for construction engineering technical field, provide data interactive method and device, the described method includes: receiving the request for the acquisition target data that the first application terminal is sent, obtain the corresponding parameter of every attribute for calculating the target data, according to every attribute corresponding parameter calculating target data, the target data is sent to first application terminal, multiple application terminals are interacted by respective data interaction interface with service terminal respectively, communicating with each other between multiple application terminals is realized using service terminal, it no longer needs to by being manually entered or developing dedicated data interaction interface, reduce manual steps or software development size of code, improve interactive efficiency, it is complicated to solve existing manual steps when communicating with each other between multiple application terminals in the prior art, software development The problem that size of code is big, interactive efficiency is low.

Description

Data interactive method and device
Technical field
The invention belongs to construction engineering technical field more particularly to a kind of data interactive methods and device.
Background technique
So that assembled architecture is promoted, building house can be such as production machine, will for the development of modern industrial technology Prefabricated building element, transport to construction site carry out assembly assembled architecture can be obtained.Assembled architecture is relative to tradition Site operation, have the advantage that energy conservation and environmental protection, low noise, short time limit, safety are stronger.
In existing assembled architecture information system management, design, buying, production, construction, O&M links are all independent Management system, be all made of respective individual application program, these application programs are typically mounted on different application terminals, Between data interaction interface disunity, can not directly communicate with each other between multiple application terminals, be by artificial in the prior art Dedicated data transformation interface is inputted or develops, there are manual steps complexity, software development size of code is big, interactive efficiency is low Defect.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of data interactive method and device, it is more in the prior art to solve When being communicated with each other between a application terminal the problem of existing interactive operation complexity, low efficiency.
The first aspect of the embodiment of the present invention provides a kind of data interactive method, comprising:
Receive the request of the acquisition target data of the first application terminal transmission;
Obtain the corresponding parameter of every attribute for calculating the target data;
According to every attribute corresponding parameter calculating target data;
The target data is sent to first application terminal.
In a kind of possible implementation, the corresponding ginseng of every attribute obtained for calculating the target data Number, comprising:
Every attribute for calculating the target data is determined according to the request;
Obtain the corresponding parameter of every attribute.
It is described to obtain the corresponding parameter of every attribute in a kind of possible implementation, comprising:
It searches and whether preserves the corresponding parameter of every attribute in database;
If saving, determine that lookup result is the corresponding parameter of every attribute;
Otherwise, the corresponding parameter of every attribute is obtained from the second application terminal.
It is described to obtain the corresponding parameter of every attribute, packet from the second application terminal in a kind of possible implementation It includes:
The second application terminal is determined according to every attribute, determines that the second obtained application terminal is at least one, one At least preserve the corresponding parameter of an attribute in a second application terminal;
Request for obtaining the corresponding parameter of every attribute is sent to second application terminal;
Receive the corresponding parameter of the items attribute that second application terminal is sent;
The corresponding parameter of every attribute is saved to the database.
In a kind of possible implementation, the request carries the dimension of the target data;
It is described that the target data is calculated according to the corresponding parameter of the items attribute, comprising:
According to the corresponding parameter calculated result of the items attribute;
Whether the dimension for judging the result is identical as the dimension of the target data;
If they are the same, determine that the result is the target data;
Otherwise, the dimension of the result is converted as the dimension of the target data, determines that transformation result is the number of targets According to.
The second aspect of the embodiment of the present invention provides a kind of data interactive method, comprising:
The request getparms that service terminal is sent is received, the parameter is used to calculate the number of targets of the first application terminal According to;
Database is searched, the parameter is obtained;
The parameter is sent to the service terminal, so that the service terminal calculates the number of targets according to the parameter According to.
The third aspect of the embodiment of the present invention provides a kind of data interaction device, comprising:
Receiving module, the request of the acquisition target data for receiving the transmission of the first application terminal;
Module is obtained, for obtaining the corresponding parameter of every attribute for calculating the target data;
Computing module, for calculating the target data according to the corresponding parameter of each attribute;
Sending module, for sending the target data to first application terminal.
The fourth aspect of the embodiment of the present invention provides a kind of data interaction device, comprising:
Receiving module, for receiving the request getparms of service terminal transmission, the parameter is answered for calculating first With the target data of terminal;
Searching module obtains the parameter for searching database;
Sending module, for sending the parameter to the service terminal, so that the service terminal is according to the parameter Calculate the target data.
5th aspect of the embodiment of the present invention provides a kind of terminal device, comprising:
Memory, processor and storage are in the memory and the computer journey that can run on the processor The step of sequence, the processor realizes method as described above when executing the computer program.
6th aspect of the embodiment of the present invention provides a kind of computer readable storage medium, comprising:
The computer-readable recording medium storage has computer program, real when the computer program is executed by processor The step of existing method as described above.
Data interactive method and device provided in an embodiment of the present invention receive the first application terminal by service terminal and send Acquisition target data request, the corresponding parameter of every attribute for calculating the target data is obtained, according to described each The corresponding parameter of item attribute calculates the target data, sends the target data to first application terminal, answers multiple It is interacted respectively by respective data interaction interface with service terminal with terminal, multiple applications is realized using service terminal Communicating with each other between terminal no longer needs to reduce manual operation step by being manually entered or developing dedicated data interaction interface Rapid or software development size of code, improves interactive efficiency, solves when communicating with each other between multiple application terminals in the prior art The problem that existing manual steps are complicated, software development size of code is big, interactive efficiency is low.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the schematic diagram for the data interaction system that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram of data interactive method provided by Embodiment 2 of the present invention;
Fig. 3 is the implementation process schematic diagram for the data interactive method that the embodiment of the present invention three provides;
Fig. 4 is the implementation process schematic diagram for the data interactive method that the embodiment of the present invention four provides;
Fig. 5 is the implementation process schematic diagram for the data interactive method that the embodiment of the present invention five provides;
Fig. 6 is the exemplary diagram for the data interaction device that the embodiment of the present invention six provides;
Fig. 7 is the schematic diagram for the data interaction device that the embodiment of the present invention seven provides;
Fig. 8 is the schematic diagram for the data interaction device that the embodiment of the present invention eight provides;
Fig. 9 is the schematic diagram for the terminal device that the embodiment of the present invention nine provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 is the schematic diagram for the data interaction system that the embodiment of the present invention one provides, as shown in Figure 1, the system comprises Service terminal 11 and application terminal 12, service terminal 11 are logical by multiple data interaction interfaces and one or more application terminal 12 Letter connection, carries out data interaction.Service terminal 11 can be network server, database server etc., pacify on service terminal 11 Equipped with assembled architecture platform.Application terminal 12 can be PC, tablet computer, smart phone etc., on application terminal 12 Application program is installed, the application program installed on different application terminals is different, such as design application, buying apply journey Sequence, production application program, construction application program, O&M application program etc..It is answered in the application with the first application terminal and second The different application terminal is distinguished with terminal.When one application terminal will obtain a certain target data, service is sent a request to eventually End, service terminal obtain the parameter for calculating the target data from another or multiple application terminals, and multiple application terminals lead to respectively It crosses respective data interaction interface to interact with service terminal, be realized using service terminal mutual between multiple application terminals Communicate, no longer need to by be manually entered or development and application terminal and application terminal between dedicated data interaction interface, reduce Manual steps or software development size of code, improve interactive efficiency, solve between multiple application terminals in the prior art The problem that existing manual steps are complicated when communicating with each other, software development size of code is big, interactive efficiency is low.
Fig. 2 is the implementation process schematic diagram of data interactive method provided by Embodiment 2 of the present invention, the execution of the present embodiment Main body is service terminal, and assembled architecture platform is equipped on the service terminal, as shown in Fig. 2, the method for the present embodiment includes Following steps:
Step 21, the request for receiving the acquisition target data that the first application terminal is sent.
When the user of the first application terminal needs to obtain target data, runs first installed on the first application terminal and answer The first application program can be accessed and be filled by the data interaction interface between the first application terminal and service terminal with program With formula construction platform, exploitation has the software mould for carrying out data interaction with the first application program accordingly on assembled architecture platform Block.The request for obtaining target data is sent to service terminal by the data interaction interface of the first application terminal, in service terminal Assembled architecture platform on record and show the request.The request message can be sent by way of wired connection, can also It is sent in a manner of through wireless connection, such as GPRS, WiFi, bluetooth, infrared etc., it is preferred that the present embodiment is to be wirelessly connected Mode send.
Step 22 obtains the corresponding parameter of every attribute for calculating the target data.
After service terminal receives the request for obtaining target data, obtain from the second application terminal for calculating the data The corresponding parameter of every attribute.Wherein, the second application terminal is different terminals from the first application terminal.For example, the first application The user of terminal is operation maintenance personnel, when the target data that the user obtains is the cost of a certain exterior wall, the first application terminal of operation The O&M application program of upper installation sends the request for obtaining the exterior wall cost to service terminal.The assembly installed on service terminal Formula construction platform obtains the corresponding parameter of association attributes for calculating the cost of the exterior wall, such as the face of exterior wall according to the request The area of long-pending and exterior wall unit area cost, exterior wall can be obtained by design application terminal, the cost of exterior wall unit area It can be obtained by production application terminal.As it can be seen that in the present embodiment, O&M application terminal, design application terminal and production application Terminal is that data interaction is carried out with assembled architecture platform, without carrying out data interaction between three, thus, it is only required to develop These three application terminals and service terminal carry out the interface of data interaction, without the data interaction developed between three application terminals Interface greatly reduces software development size of code.
Step 23 calculates the target data according to the corresponding parameter of the items attribute.
Service terminal calculates target data, e.g., the area that will acquire according to the corresponding parameter of the every attribute got It carries out multiplying operation with the cost of unit area, obtains the cost for the exterior wall that user to be calculated.
Step 24 sends the target data to first application terminal.
The target data of calculating is returned to the first application by the data interaction interface of the first application terminal by service terminal The user of terminal, the first application terminal checks the data by the first application program.It is not counted between multiple application terminals According to interaction, there is no need to develop dedicated data transformation interface, reduce software development size of code, and the acquisition of target data Cheng Zhong is received or sent automatically by the data interaction interface between application terminal and service terminal, is manually operated, is subtracted without user Manual steps are lacked, have improved interactive efficiency, has solved and deposited when being communicated with each other between multiple application terminals in the prior art Manual steps are complicated, software development size of code is big, interactive efficiency is low problem.
Data interactive method provided in this embodiment receives the acquisition target that the first application terminal is sent by service terminal The request of data obtains the corresponding parameter of every attribute for calculating the target data, corresponding according to every attribute Parameter calculate the target data, send the target data to first application terminal, multiple application terminals distinguished It is interacted by respective data interaction interface with service terminal, is realized between multiple application terminals using service terminal It communicates with each other, no longer needs to be reduced manual steps by being manually entered or developing dedicated data interaction interface or software is opened Size of code is sent out, interactive efficiency is improved, is solved existing artificial when being communicated with each other between multiple application terminals in the prior art The problem that operating procedure is complicated, software development size of code is big, interactive efficiency is low.
Fig. 3 is the implementation process schematic diagram for the data interactive method that the embodiment of the present invention three provides, the execution of the present embodiment Main body is service terminal, and assembled architecture platform is equipped on the service terminal, and the present embodiment is one kind of embodiment illustrated in fig. 2 Implementation.As shown in figure 3, the method for the present embodiment the following steps are included:
Step 31, the request for receiving the acquisition target data that the first application terminal is sent, the request carry the target The dimension of data.
When the user of the first application terminal needs to obtain target data, pass through the data interaction interface of the first application terminal The request message for obtaining target data is sent to service terminal, which carries the dimension of target data.
Step 32 determines every attribute for calculating the target data according to the request.
After request of the service terminal by the data interaction interface target data of the first application terminal, according to the request Determine every attribute for calculating target data.For example, the target data that user obtains is the cost of a certain exterior wall, service is eventually End determines that the attribute of the cost for calculating the exterior wall is the area of exterior wall and the cost of exterior wall unit area according to the request.
Step 33 obtains the corresponding parameter of every attribute.
Optionally, described to obtain the corresponding parameter of every attribute, comprising: to search described in whether being preserved in database The corresponding parameter of every attribute determines that lookup result is otherwise the corresponding parameter of every attribute is answered from second if saving The corresponding parameter of every attribute is obtained with terminal.
If service terminal obtains the corresponding parameter of every attribute from the second application terminal in advance, saved in database There is the corresponding parameter of every attribute, the lookup result for searching database is the corresponding parameter of every attribute.If service terminal is not The corresponding parameter of all properties is obtained from the second application terminal in advance, then the corresponding ginseng of not stored all properties in its database Number, service terminal are each after determining every attribute for calculating target data according to request, then to the request of the second application terminal The corresponding parameter of item attribute.
Optionally, described to obtain the corresponding parameter of every attribute from the second application terminal, comprising: according to the items Attribute determines the second application terminal, wherein determines that the second obtained application terminal is at least one, second application terminal is extremely The corresponding parameter of an attribute is preserved less.Request for obtaining the corresponding parameter of every attribute is sent to described second Application terminal receives the corresponding parameter of the items attribute that second application terminal is sent, saves every attribute pair The parameter answered is to the database.
Service terminal determines that the terminal for the parameter for saving every attribute is the second application according to every attribute of target data Terminal sends asking for the parameter for obtaining every attribute by the data interaction interface of the second application terminal to the second application terminal It asks, its database is inquired in the second application terminal, and query result is returned to service terminal.Wherein, every attribute can be from same It obtains, can also be obtained from different application terminals on application terminal, accordingly, it is determined that the second obtained application terminal is at least One, the corresponding parameter of an attribute is at least preserved on second application terminal.For example, when production application terminal is protected simultaneously When having the parameter of the area of exterior wall and the cost of exterior wall unit area, the second application terminal be production application terminal this A, the parameter of the cost of the area and exterior wall unit area of exterior wall is obtained from production application terminal.When design application terminal Save the parameter for designing the area of relevant attribute such as exterior wall, the cost of attribute relevant to cost such as exterior wall unit area Parameter be stored in production application terminal, at this point, the second application terminal is two, attribute is the parameter of the area of exterior wall from design It is obtained in application terminal, attribute is that the parameter of the cost of exterior wall unit area is obtained from production application terminal.
After service terminal gets every attribute corresponding parameter from the second application terminal, which is stored, In order to subsequent lookup, accelerate speed getparms, to improve interactive efficiency.
In the present embodiment, all application terminals only carry out data interaction with service terminal, thus, it is only required to develop all answer The interface that data interaction is carried out with terminal and service terminal, without the data interaction interface of development and application terminal and application terminal, Compared to the mode for developing the progress data interaction of data interaction interface between existing application terminal two-by-two, the scheme of the present embodiment Reduce the size of code of exploitation data interaction interface.When increasing an application terminal, it is only necessary to develop the newly-increased application terminal with The data interaction interface of service terminal can be realized the application terminal and be counted with other all application terminals on the service terminal According to interaction.
Step 34, according to the corresponding parameter calculated result of every attribute.
According to the corresponding parameter calculated result of every attribute of acquisition, as exemplified above, the area for the exterior wall that will acquire and The cost of exterior wall unit area is multiplied, and obtains the cost for the exterior wall that user to be calculated.
Whether step 35, the dimension for judging the result are identical as the dimension of the target data.
Due to the amount of parameter on the dimension of the parameter of same application terminal disparate databases preservation or multiple application terminals Guiding principle may be different, for example, the dimension of the length obtained in disparate databases can be rice in same application terminal, it can also milli Rice, alternatively, the dimension of the time obtained in disparate databases can be day in different application terminal, when being also possible to, may lead The dimension disunity of the result and target data that are calculated is caused, so that the target data obtained is incorrect.To what is be calculated As a result the operation for unifying dimension with target data can carry out manual conversion by the user of the application terminal of acquisition target data, It can be converted, can also be converted by service terminal by the application terminal of acquisition target data.In the application preferably by Service terminal converts, concrete operations are as follows: service terminal is right after result is calculated according to the corresponding parameter of every attribute The dimension of the result is judged, if the dimension phase for the target data that the dimension for the result being calculated is obtained with application terminal Together, step 36 is executed, otherwise, executes step 37.
Step 36 determines that the result is the target data.
When the dimension for the result being calculated is identical as the dimension for the target data that the first application terminal is requested, it is determined that The result is target data, goes to and executes step 39.
Step 37 converts the dimension of the result as the dimension of the target data.
Step 38 determines that transformation result is the target data.
When the dimension for the result being calculated and the first application terminal request target data two differences when, by its into Row conversion operation keeps its dimension identical as the dimension of target data, determines that the data after this is converted are requested into the first application terminal Target data.
Step 39 sends the target data to first application terminal.
Target data is returned to the first application terminal by service terminal.
Data interactive method provided in this embodiment receives the acquisition target that the first application terminal is sent by service terminal The request of data, the request carry the dimension of the target data, are determined according to the request for calculating the number of targets According to every attribute, obtain the corresponding parameter of every attribute, according to the corresponding parameter calculated result of every attribute, sentence Whether the dimension for the result of breaking and the dimension of the target data are identical, determine that the result is the target data, conversion The dimension of the result is the dimension of the target data, determines that transformation result is the target data, sends the number of targets According to first application terminal, multiple application terminals are handed over by respective data interaction interface with service terminal respectively Mutually, communicating with each other between multiple application terminals is realized using service terminal, no longer needed to dedicated by being manually entered or developing Data interaction interface reduces manual steps or software development size of code, improves interactive efficiency, solve the prior art In existing manual steps are complicated, software development size of code is big, interactive efficiency when communicating with each other between multiple application terminals Low problem.
Fig. 4 is the implementation process schematic diagram for the data interactive method that the embodiment of the present invention four provides, the execution of the present embodiment Main body is the first application terminal, and the first application terminal is the request end of target data.As shown in figure 4, the method packet of the present embodiment Include following steps:
Step 41 sends the request for obtaining target data.
It is obtained by the data interaction interface of the first application terminal and service terminal to service terminal transmission the first application terminal The request of target data is taken, the dimension of target data is carried in the request.
Step 42, receive service terminal send the target data, the target data by the service terminal according to Second application terminal obtains.
Service terminal returns to target data, the mesh to the first application terminal by the data interaction interface of the first application terminal The dimension for marking data is with the dimension of target data of the first application terminal request identical, to ensure the target data of acquisition Correctness.
Data interactive method provided in this embodiment, by the data interaction interface of the first application terminal and service terminal with And service terminal and the data interaction interface of the second application terminal realize the data of the first application terminal Yu the second application terminal Interaction is no longer needed to by the exclusive data interactive interface that is manually entered or develops between the first application terminal and the second application terminal i.e. Data interaction can be achieved, reduce manual steps or software development size of code, improve interactive efficiency, solve existing skill Existing manual steps are complicated when communicating with each other between multiple application terminals in art, software development size of code is big, interaction effect The low problem of rate.
Fig. 5 is the implementation process schematic diagram for the data interactive method that the embodiment of the present invention five provides, the execution of the present embodiment Main body is the second application program, and the second application terminal is the offer end of target data, when target data is calculated by multinomial attribute Then, it is generally multiple to provide end.As shown in figure 5, the method for the present embodiment the following steps are included:
Step 51 receives the request getparms that service terminal is sent, and the parameter is for calculating the first application terminal Target data.
After service terminal determines the corresponding parameter of every attribute of the first application terminal request target data, pass through Two application terminals and the data interaction interface of service terminal are to the corresponding parameter of the second application terminal request items attribute.
Step 52 searches database, obtains the parameter.
Its database is searched in second application terminal, obtains the corresponding parameter of every attribute of target data.
Step 53 sends the parameter to the service terminal, so that the service terminal calculates institute according to the parameter State target data.
Data interactive method provided in this embodiment, will by the data interaction interface of the second application terminal and service terminal Its parameter is sent to service terminal, so that service terminal calculates what the first application terminal was requested according to the parameter of the second application terminal Target data, then calculated result is sent to the first application terminal by service terminal, without again by being manually entered or developing Data interaction can be realized in exclusive data interactive interface between first application terminal and the second application terminal, reduces artificial behaviour Make step or software development size of code, improve interactive efficiency, solves and mutually communicated between multiple application terminals in the prior art The problem that existing manual steps are complicated when letter, software development size of code is big, interactive efficiency is low.
Fig. 6 is the exemplary diagram for the data interaction device that the embodiment of the present invention six provides, as shown in fig. 6, the number of the present embodiment Include: according to interactive device
Receiving module 61, the request of the acquisition target data for receiving the transmission of the first application terminal.
Module 62 is obtained, for obtaining the corresponding parameter of every attribute for calculating the target data.
Computing module 63, for calculating the target data according to the corresponding parameter of each attribute.
Sending module 64, for sending the target data to first application terminal.
Data interaction device provided in this embodiment, for realizing the data interactive method of embodiment illustrated in fig. 2 two, wherein The function of modules can be referred to and be described accordingly in embodiment of the method, and it is similar that the realization principle and technical effect are similar, herein not It repeats again.
Fig. 7 is the exemplary diagram for the data interaction device that the embodiment of the present invention seven provides, as shown in fig. 7, the number of the present embodiment Include: according to interactive device
Sending module 71 sends the request for obtaining target data.
Receiving module 72 receives the target data that service terminal is sent, and the target data is by the service terminal It is obtained according to the second application terminal.
Data interaction device provided in this embodiment, for realizing the data interactive method of embodiment illustrated in fig. 4 four, wherein The function of modules can be referred to and be described accordingly in embodiment of the method, and it is similar that the realization principle and technical effect are similar, herein not It repeats again.
Fig. 8 is the exemplary diagram for the data interaction device that the embodiment of the present invention eight provides, as shown in figure 8, the number of the present embodiment Include: according to interactive device
Receiving module 81, for receiving the request getparms of service terminal transmission, the parameter is for calculating first The target data of application terminal.
Searching module 82 obtains the parameter for searching database.
Sending module 83, for sending the parameter to the service terminal, so that the service terminal is according to the ginseng Number calculates the target data.
Data interaction device provided in this embodiment, for realizing the data interactive method of embodiment illustrated in fig. 5 five, wherein The function of modules can be referred to and be described accordingly in embodiment of the method, and it is similar that the realization principle and technical effect are similar, herein not It repeats again.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Fig. 9 is the schematic diagram for the terminal device that the embodiment of the present invention nine provides.As shown in figure 9, the terminal of the embodiment is set Standby 9 include: processor 90, memory 91 and are stored in the meter that can be run in the memory 91 and on the processor 90 Calculation machine program 92, such as data interaction program.The processor 90 realizes above-mentioned each number when executing the computer program 92 According to the step in exchange method embodiment, such as step 21 shown in Fig. 2 is to 24.Alternatively, the processor 90 executes the meter The function of each module in above-mentioned each Installation practice, such as the function of module 61 to 64 shown in Fig. 6 are realized when calculation machine program 92.
Illustratively, the computer program 92 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 91, and are executed by the processor 90, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 92 in the terminal device 9 is described.For example, the computer program 92 can be divided It is cut into receiving module, obtains module, computing module, sending module (unit module in virtual bench), each module concrete function It is as follows:
Receiving module, the request of the acquisition target data for receiving the transmission of the first application terminal;
Module is obtained, for obtaining the corresponding parameter of every attribute for calculating the target data;
Computing module, for calculating the target data according to the corresponding parameter of each attribute;
Sending module, for sending the target data to first application terminal.
The terminal device 9 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The terminal device 9 may include, but be not limited only to, processor 90, memory 91.It will be understood by those skilled in the art that figure 9 be only the example of terminal device 9, does not constitute the restriction to terminal device 9, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the terminal device 9 can also include input-output equipment, net Network access device, bus etc..
Alleged processor 90 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 91 can be the internal storage unit of the terminal device 9, such as the hard disk or interior of terminal device 9 It deposits.The memory 91 is also possible to the External memory equipment of the terminal device 9, such as be equipped on the terminal device 9 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 91 can also both include the storage inside list of the terminal device 9 Member also includes External memory equipment.The memory 91 is for storing needed for the computer program and the terminal device 9 Other programs and data.The memory 91 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of the terminal device is divided into different functional unit or module, to complete All or part of function described above.Each functional unit in embodiment, module can integrate in one processing unit, It is also possible to each unit to physically exist alone, can also be integrated in one unit with two or more units, above-mentioned collection At unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function Unit, module specific name be also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above-mentioned system The specific work process of unit in system, module, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the meter The content that calculation machine readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, It such as does not include electric carrier signal and telecommunications according to legislation and patent practice, computer-readable medium in certain jurisdictions Signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of data interactive method characterized by comprising
Receive the request of the acquisition target data of the first application terminal transmission;
Obtain the corresponding parameter of every attribute for calculating the target data;
According to every attribute corresponding parameter calculating target data;
The target data is sent to first application terminal.
2. the method as described in claim 1, which is characterized in that the every attribute obtained for calculating the target data Corresponding parameter, comprising:
Every attribute for calculating the target data is determined according to the request;
Obtain the corresponding parameter of every attribute.
3. method according to claim 2, which is characterized in that described to obtain the corresponding parameter of every attribute, comprising:
It searches and whether preserves the corresponding parameter of every attribute in database;
If saving, determine that lookup result is the corresponding parameter of every attribute;
Otherwise, the corresponding parameter of every attribute is obtained from the second application terminal.
4. method as claimed in claim 3, which is characterized in that described corresponding from the second application terminal acquisition every attribute Parameter, comprising:
The second application terminal is determined according to every attribute, determines that the second obtained application terminal is at least one, one the At least preserve the corresponding parameter of an attribute in two application terminals;
Request for obtaining the corresponding parameter of every attribute is sent to second application terminal;
Receive the corresponding parameter of the items attribute that second application terminal is sent;
The corresponding parameter of every attribute is saved to the database.
5. the method as described in claim 1, which is characterized in that the request carries the dimension of the target data;
It is described that the target data is calculated according to the corresponding parameter of the items attribute, comprising:
According to the corresponding parameter calculated result of the items attribute;
Whether the dimension for judging the result is identical as the dimension of the target data;
If they are the same, determine that the result is the target data;
Otherwise, the dimension of the result is converted as the dimension of the target data, determines that transformation result is the target data.
6. a kind of data interactive method characterized by comprising
The request getparms that service terminal is sent is received, the parameter is used to calculate the target data of the first application terminal;
Database is searched, the parameter is obtained;
The parameter is sent to the service terminal, so that the service terminal calculates the target data according to the parameter.
7. a kind of data interaction device characterized by comprising
Receiving module, the request of the acquisition target data for receiving the transmission of the first application terminal;
Module is obtained, for obtaining the corresponding parameter of every attribute for calculating the target data;
Computing module, for calculating the target data according to the corresponding parameter of each attribute;
Sending module, for sending the target data to first application terminal.
8. a kind of data interaction device characterized by comprising
Receiving module, for receiving the request getparms of service terminal transmission, the parameter is for calculating the first application eventually The target data at end;
Searching module obtains the parameter for searching database;
Sending module, for sending the parameter to the service terminal, so that the service terminal is calculated according to the parameter The target data.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 6 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as claim 1 to 6 of realization the method.
CN201811095243.2A 2018-09-19 2018-09-19 Data interactive method and device Pending CN109558252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811095243.2A CN109558252A (en) 2018-09-19 2018-09-19 Data interactive method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811095243.2A CN109558252A (en) 2018-09-19 2018-09-19 Data interactive method and device

Publications (1)

Publication Number Publication Date
CN109558252A true CN109558252A (en) 2019-04-02

Family

ID=65864683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811095243.2A Pending CN109558252A (en) 2018-09-19 2018-09-19 Data interactive method and device

Country Status (1)

Country Link
CN (1) CN109558252A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110719503A (en) * 2019-09-27 2020-01-21 视联动力信息技术股份有限公司 Data acquisition method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546532A (en) * 2013-07-02 2014-01-29 Tcl集团股份有限公司 Method and system for shared data in application
CN106326266A (en) * 2015-06-30 2017-01-11 深圳市星电商科技有限公司 Data interaction processing method and apparatus
CN106326270A (en) * 2015-06-30 2017-01-11 深圳市星电商科技有限公司 Data interaction processing method, device and system
CN106846045A (en) * 2016-12-29 2017-06-13 蔡婷 A kind of man-machine interactive system for building supplier's real-time price quotations
CN108446247A (en) * 2018-02-08 2018-08-24 深圳太极云软技术股份有限公司 A kind of method and terminal of data interaction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546532A (en) * 2013-07-02 2014-01-29 Tcl集团股份有限公司 Method and system for shared data in application
CN106326266A (en) * 2015-06-30 2017-01-11 深圳市星电商科技有限公司 Data interaction processing method and apparatus
CN106326270A (en) * 2015-06-30 2017-01-11 深圳市星电商科技有限公司 Data interaction processing method, device and system
CN106846045A (en) * 2016-12-29 2017-06-13 蔡婷 A kind of man-machine interactive system for building supplier's real-time price quotations
CN108446247A (en) * 2018-02-08 2018-08-24 深圳太极云软技术股份有限公司 A kind of method and terminal of data interaction

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110719503A (en) * 2019-09-27 2020-01-21 视联动力信息技术股份有限公司 Data acquisition method and device

Similar Documents

Publication Publication Date Title
CN108924198B (en) Data scheduling method, device and system based on edge calculation
Zhang et al. Game theory based real‐time shop floor scheduling strategy and method for cloud manufacturing
CN109815657A (en) A kind of identity identifying method and terminal device based on alliance's chain
CN110096309A (en) Operation method, device, computer equipment and storage medium
CN109919424A (en) Container determines method and device, medium and calculates equipment
CN109902105A (en) For the data query system of micro services framework, method, equipment and storage medium
CN110096310A (en) Operation method, device, computer equipment and storage medium
CN107122490A (en) The data processing method and system of aggregate function in a kind of Querying by group
CN102227122A (en) Platform-independent protocol modularized system
CN106921702B (en) It is a kind of based on service-oriented power distribution network information physical system
CN109491857A (en) A kind of data monitoring method, system and the terminal device of rule-based engine
CN102523200A (en) Internet of things information processing method
CN112130534A (en) Processing method and controller for constructing workshop digital twin body
CN108255602A (en) Task combined method and terminal device
CN107889183A (en) Data transmission method and device
CN110377655A (en) The method and terminal device that front equipment end data are shown
CN109376430A (en) Assembled architecture execution management method therefor
CN111159897B (en) Target optimization method and device based on system modeling application
CN110135814A (en) The correlating method of BIM and project data, system and terminal device
CN109558252A (en) Data interactive method and device
Li Application of Artificial Intelligence System Based on Wireless Sensor Network in Enterprise Management
CN110442753A (en) A kind of chart database auto-creating method and device based on OPC UA
CN110399612A (en) The semantic conversion method and middleware of marginal layer in industry internet
Xu Social governance structure construction and resource allocation methods under the management mode of the Internet of Things
CN109034401A (en) O&M monitoring method and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190402