CN112506514A - Multi-platform service sharing system - Google Patents

Multi-platform service sharing system Download PDF

Info

Publication number
CN112506514A
CN112506514A CN202011610535.2A CN202011610535A CN112506514A CN 112506514 A CN112506514 A CN 112506514A CN 202011610535 A CN202011610535 A CN 202011610535A CN 112506514 A CN112506514 A CN 112506514A
Authority
CN
China
Prior art keywords
mobile phone
computer
wcf
back end
adopts
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
CN202011610535.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.)
Jiangsu Shagang Gaoke Information Technology Co ltd
Jiangsu Shagang Group Co Ltd
Original Assignee
Jiangsu Shagang Gaoke Information Technology Co ltd
Jiangsu Shagang 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 Jiangsu Shagang Gaoke Information Technology Co ltd, Jiangsu Shagang Group Co Ltd filed Critical Jiangsu Shagang Gaoke Information Technology Co ltd
Priority to CN202011610535.2A priority Critical patent/CN112506514A/en
Publication of CN112506514A publication Critical patent/CN112506514A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a multi-platform service sharing system, which relates to a design framework of WCF service shared by multiple platforms in C # development; the design framework comprises a computer end front end, a mobile phone end front end, a computer end back end and a mobile phone end back end, wherein the front end and the back end of a framework are separated, the computer end front end adopts Winfrom technology, the mobile phone end front end adopts WebView technology, the computer end back end adopts WCF service, and the mobile phone end back end adopts WebService service; adding a service reference to a front end of a computer end to call a back end WCF, feeding a result back to the front end by the back end WCF, calling a back end WebService request data by a front end of a mobile phone, carrying out data response by the back end and feeding back to the front end, adding the service reference to call the WCF by the back end WebService of the mobile phone, feeding a result back to the WebService by the WCF, and directly calling the WCF by the front end WebView of the mobile phone; the framework can be applied to development of mobile-end software such as android, IOS and mobile phone browsers, has the advantages of small project resource, strong function, high performance and multi-end release, and is a front-end framework capable of achieving the experience close to the native APP.

Description

Multi-platform service sharing system
Technical Field
The invention relates to a design framework for sharing WCF (wideband control function) services by multiple platforms in C # development, in particular to a multi-platform service sharing system.
Background
In a traditional metallurgical enterprise, information software generally adopts a PC (personal computer) end to manage work records of daily production, business and the like.
The service manager needs to inquire information such as daily production and the like in the PC client, track the running state of the on-site production equipment and the like.
The field operator needs to timely feed back the conditions of field operation, maintenance, equipment abnormity, inventory change and the like to the administrator. In the process, artificial data micro errors are likely to be generated, and certain difference is generated in the data under the condition of daily accumulation and monthly accumulation.
Meanwhile, the administrator also needs to issue paper work tasks, duty plans, equipment management project modification and the like to the site in real time, but the phenomenon that the site operators are not timely when receiving the tasks exists, so that the work efficiency is reduced.
Disclosure of Invention
The invention aims to solve the technical problem that the error rate of a manual recording and summarizing method in the background technology is high, and data loss and recording errors are easily caused in the summarizing process to an administrator, so that system data is inaccurate, and provides a multi-platform service sharing system.
The invention adopts the following technical scheme for solving the technical problems:
a multi-platform service sharing system comprises a front end and a back end, wherein the front end comprises a computer end front end and a mobile phone end front end, and the back end comprises a computer end back end and a mobile phone end back end;
the computer end front end is used for adding service reference and calling the computer end back end WCF;
the computer end back end is used for feeding back the result to the computer end front end;
the mobile phone end front end requests data by using the mobile phone end back end, and the mobile phone end back end carries out data response and feeds back the data to the mobile phone end front end;
and the mobile phone end back end is used for adding service reference to call the computer end back end and feeding back a result to the mobile phone end back end, and the mobile phone end front end cannot directly call the computer end back end WCF.
As a further preferable scheme of the multi-platform service sharing system, the front end of the computer end adopts Winfrom + third-party control.
As a further preferable scheme of the multi-platform service sharing system of the present invention, the back end of the computer end employs WCF service.
As a further preferable scheme of the multi-platform service sharing system of the present invention, the front end and the back end of the computer end are developed by using C # language.
As a further preferable scheme of the multi-platform service sharing system, the front end of the mobile phone adopts HTML + MUI, namely JS framework.
As a further preferable scheme of the multi-platform service sharing system of the present invention, the back end of the mobile phone end adopts WebService as a framework and adopts C # language for development.
Compared with the prior art, the invention adopting the technical scheme has the following technical effects:
1. the invention can be applied to the development of mobile terminal software such as android, IOS, mobile phone browsers and the like;
2. the invention has the advantages of small project resource, strong function, high performance and multi-end release, and is a front-end framework capable of realizing the experience close to the original APP.
3. The invention can greatly reduce the technical research and development cost of the team, improve the real-time team development speed and reduce the time cost;
4. the invention can improve the code quality, reduce the project maintenance cost, keep the advancement of the technology and improve the productivity.
Drawings
Fig. 1 is a framework diagram of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the 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.
In the existing tooling part production management system in the metallurgical industry, data are recorded on site mainly by manpower, then the data are summarized and submitted to a manager of each unit, and finally the data are uniformly recorded into software by the managers of the units.
In the process, the error rate of the manual recording and summarizing method is high, and in the process of summarizing to an administrator, data loss and recording errors are easily caused, so that system data is inaccurate, and unpredictable loss is brought. This approach also affects the timeliness of the system data, causing a number of problems.
Along with the continuous deepening of the informatization degree, the demand of the metallurgy enterprises for the informatization is more and more intelligentized, the production information data is required to be recorded in the system in detail, and the further intelligentization, the high efficiency and the timeliness of the data maintenance in the system are required.
As shown in fig. 1, a multi-platform service sharing system includes a front end and a back end, where the front end includes a computer front end and a mobile phone front end, and the back end includes a computer back end and a mobile phone back end;
the computer end front end is used for adding service reference and calling the computer end back end WCF;
the computer end back end is used for feeding back the result to the computer end front end;
the mobile phone end front end requests data by using the mobile phone end back end, and the mobile phone end back end carries out data response and feeds back the data to the mobile phone end front end;
the mobile phone end back end is used for adding service reference to call the computer end back end and feeding back a result to the mobile phone end back end, and the mobile phone end front end cannot directly call the computer end back end WCF;
the application program framework is characterized in that the application program framework can only be applied to service calling between C # languages, HTML + MUI (JS framework) is adopted by the front end WebView of the subsequently developed mobile phone APP, and WCF service cannot be directly called by the front end of the mobile phone.
If the back-end function program of the mobile phone end is developed independently, a large amount of time is spent on developing similar repeated codes, the development efficiency is reduced seriously, and the later maintenance cost is increased. Therefore, a certain technology is needed to enable the mobile phone end to share the WCF service of the computer end.
In order to solve the technical problems, the invention adopts the following technical scheme:
the WebService at the back end of the mobile phone does not need to develop a specific function or method, and only needs to develop and call a transfer program to serve as a bridge for the front end of the mobile phone to communicate with the WCF at the back end of the computer. The premise is that WebService must be developed using C #.
The development of the APP of the mobile phone end is that the front end design of the mobile phone end and the program development of the WebService called by Ajax are completed through HTML + MUI (JS framework), service citation is added in the WebService, and WCF service which is developed and completed by the rear end of the computer end is cited.
The method comprises the following specific steps:
the method comprises the steps that a computer end front end adds service quotation to call a computer end rear end WCF, the computer end rear end WCF feeds results back to the computer end front end, a mobile phone end front end calls mobile phone end rear end WebService request data, the mobile phone end rear end carries out data response and feeds the data back to the mobile phone end front end, the mobile phone end rear end WebService adds the service quotation to call the computer end rear end WCF, the WCF feeds the results back to the mobile phone end rear end WebService, and the mobile phone end front end WebView cannot directly call the computer end rear end WCF.
The front end of the computer end adopts Winfrom + third-party control, and the rear end of the computer end adopts WCF service; the front end of the computer end and the back end of the computer end are developed by adopting C # language.
The method comprises the steps that the front end of the mobile phone end adopts HTML + MU (hypertext markup language) + MU (Java object), namely a JS (JavaScript) frame to complete design, and the rear end of the mobile phone end adopts C # language development, takes WebService as the frame and utilizes Ajax to call the WebService.
The front end is a client, and the back end is a server.
By adopting the software design architecture shared by the multiple platforms, the function reuse rate of codes and the project development efficiency are improved, the project progress is effectively improved, and the human and resource costs are reduced.
Through developing cell-phone end APP software, can realize removing the mode that official working replaces traditional artifical summary data, improve work efficiency and production data degree of accuracy.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The above embodiments are only for illustrating the technical idea of the present invention, and the protection scope of the present invention is not limited thereby, and any modifications made on the basis of the technical scheme according to the technical idea of the present invention fall within the protection scope of the present invention. While the embodiments of the present invention have been described in detail, the present invention is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present invention within the knowledge of those skilled in the art.

Claims (6)

1. A multi-platform service sharing system, characterized by: the mobile phone comprises a front end and a back end, wherein the front end comprises a computer end front end and a mobile phone end front end, and the back end comprises a computer end back end and a mobile phone end back end;
the computer end front end is used for adding service reference and calling the computer end back end WCF;
the computer end back end is used for feeding back the result to the computer end front end;
the mobile phone end front end requests data by using the mobile phone end back end, and the mobile phone end back end carries out data response and feeds back the data to the mobile phone end front end;
and the mobile phone end back end is used for adding service reference to call the computer end back end and feeding back a result to the mobile phone end back end, and the mobile phone end front end cannot directly call the computer end back end WCF.
2. The multi-platform service sharing system according to claim 1, wherein: and the front end of the computer end adopts Winfrom + third-party control.
3. The multi-platform service sharing system according to claim 1, wherein: and the back end of the computer end adopts WCF service.
4. A multi-platform service sharing system according to claim 2 or 3, wherein: the front end and the back end of the computer end are developed by adopting C # language.
5. The multi-platform service sharing system according to claim 1, wherein: the front end of the mobile phone end adopts HTML + MU, namely JS framework.
6. The multi-platform service sharing system according to claim 1, wherein: and the back end of the mobile phone terminal adopts WebService as a framework and adopts C # language for development.
CN202011610535.2A 2020-12-30 2020-12-30 Multi-platform service sharing system Pending CN112506514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011610535.2A CN112506514A (en) 2020-12-30 2020-12-30 Multi-platform service sharing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011610535.2A CN112506514A (en) 2020-12-30 2020-12-30 Multi-platform service sharing system

Publications (1)

Publication Number Publication Date
CN112506514A true CN112506514A (en) 2021-03-16

Family

ID=74952154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011610535.2A Pending CN112506514A (en) 2020-12-30 2020-12-30 Multi-platform service sharing system

Country Status (1)

Country Link
CN (1) CN112506514A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112967039A (en) * 2021-03-22 2021-06-15 江苏安赫电气有限公司 Multi-platform enterprise management system integrating auxiliary design

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930392A (en) * 2012-10-25 2013-02-13 沈阳化工大学 System for running information of transformer substation
CN104932452A (en) * 2015-04-21 2015-09-23 中国电子科技集团公司第四十一研究所 Method used for aviation bus tester remote control and system used for aviation bus tester remote control
CN105302575A (en) * 2015-11-19 2016-02-03 中国移动通信集团广东有限公司汕头分公司 Foundational development framework
CN106506519A (en) * 2016-11-21 2017-03-15 辽宁科技大学 The system and method for WCF framework net.tcp agreement Overpassing Platform by Using
CN108494606A (en) * 2018-04-19 2018-09-04 四川师范大学 A kind of data service frame building method based on WCF technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930392A (en) * 2012-10-25 2013-02-13 沈阳化工大学 System for running information of transformer substation
CN104932452A (en) * 2015-04-21 2015-09-23 中国电子科技集团公司第四十一研究所 Method used for aviation bus tester remote control and system used for aviation bus tester remote control
CN105302575A (en) * 2015-11-19 2016-02-03 中国移动通信集团广东有限公司汕头分公司 Foundational development framework
CN106506519A (en) * 2016-11-21 2017-03-15 辽宁科技大学 The system and method for WCF framework net.tcp agreement Overpassing Platform by Using
CN108494606A (en) * 2018-04-19 2018-09-04 四川师范大学 A kind of data service frame building method based on WCF technology

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CHR☆S: "使用WebService的方式调用部署在服务器的Wcf服务", Retrieved from the Internet <URL:https://www.cnblogs.com/chriskwok/archive/2010/06/24/1764190.html> *
IMCCL: "了解BFF架构", Retrieved from the Internet <URL:https://segmentfault.com/a/1190000009558309> *
朕在CODING: "webservice, webAPI, WCF调用方式", Retrieved from the Internet <URL:https://www.cnblogs.com/newcapecjmc/p/12758863.html> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112967039A (en) * 2021-03-22 2021-06-15 江苏安赫电气有限公司 Multi-platform enterprise management system integrating auxiliary design

Similar Documents

Publication Publication Date Title
CN100449505C (en) Apparatus, system, and method for modifying data storage configuration
CN112001594A (en) Robot management system based on material contract management and management method thereof
CN111429241A (en) Accounting processing method and device
CN112506514A (en) Multi-platform service sharing system
CN103530145B (en) progress bar setting method and device
CN113378579A (en) Method, system and electronic equipment for voice input of structured data
CN114846490A (en) Quantifying use of robot process automation related resources
CN109829003A (en) Database backup method and device
CN113190558A (en) Data processing method and system
CN110765610B (en) PDM integration method, PDM integration device, computer equipment and storage medium
CN110930118A (en) Construction engineering quality inspection system and related method
WO2023042986A1 (en) System and methods for bid optimization in real-time bidding
CN100403724C (en) Method and system for backward-forward analytic message at background
CN115907447A (en) Interactive working method based on multi-instance generation
CN116149808A (en) Robot flow automatic management system and method
KR20010099511A (en) Develop system of financial business workflow integration and integration channel workflow on web
CN102202007B (en) Method and device for automatically counting instant messaging behaviors
CN113269387A (en) Real-time management system and management method for digital labor force
CN111897518A (en) Method, device, equipment and storage medium for automatically executing business
US20200241994A1 (en) Global File Flow Forecasting System and Methods of Operation
CN112925840A (en) Data export method, system, device and storage medium
CN111523296A (en) Method for generating public opinion report based on Selenium
CN113556269B (en) SAP client performance test method, system, electronic equipment and storage medium
US20220129800A1 (en) Global File Flow Forecasting System and Methods of Operation
US11507728B2 (en) Click to document

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