CN106598872A - Application processing system and method for intelligent device - Google Patents

Application processing system and method for intelligent device Download PDF

Info

Publication number
CN106598872A
CN106598872A CN201710001332.5A CN201710001332A CN106598872A CN 106598872 A CN106598872 A CN 106598872A CN 201710001332 A CN201710001332 A CN 201710001332A CN 106598872 A CN106598872 A CN 106598872A
Authority
CN
China
Prior art keywords
application program
test application
fastdfs
storage server
systems
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
CN201710001332.5A
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.)
Bai Rong (beijing) Financial Information Service Ltd By Share Ltd
Original Assignee
Bai Rong (beijing) Financial Information Service Ltd By Share 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 Bai Rong (beijing) Financial Information Service Ltd By Share Ltd filed Critical Bai Rong (beijing) Financial Information Service Ltd By Share Ltd
Priority to CN201710001332.5A priority Critical patent/CN106598872A/en
Publication of CN106598872A publication Critical patent/CN106598872A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Abstract

Embodiments of the invention provide an application processing system and method for an intelligent device. The system comprises an access server based on a Node.js operation system, a storage server based on a FastDFS, a session storage server based on a Redis operation system, and a data storage server based on MySQL, and further comprises a control server used for controlling application uploading/downloading. The control server comprises an identity authentication module, an uploading control module, and a test application package analysis module.

Description

Smart machine application program processing system and method
Technical field
The invention belongs to computer software technical field, more particularly to a kind of smart machine application program processing system And method.
Background technology
With the development of society, various smart machines have become electronics indispensable in people's live and work and set It is standby.Existing smart machine can install various application programs (App), to complete various functions, and constantly complete A series of Application testing bag and field mapped file (mapping files) can be produced during kind.In development and application journey During sequence, developer can be repeatedly changed application program, perfect, can thus leave the application journey of multiple versions Sequence.Due to being necessarily required to that each version is tested on stream, and how effectively to manage, test these Test bag and mapping files, directly affects application development, front end exploitation, the work efficiency of tester.Existing skill All it is that smart machine is connected to into development equipment in art, Application testing bag is installed to into smart machine from development equipment On, to test application program on smart machine.Due to being necessarily required in test to various different models, different versions The intelligent terminal of this operating system will test one by one, very poorly efficient using this mode of prior art.
The content of the invention
For the test application program of multiple versions is difficult in test process is developed to application program in prior art In the problem for carrying out effective management, the purpose of the embodiment of the present invention is to provide a kind of effective and efficient smart machine application program Processing system and method.
In order to solve the above problems, the embodiment of the present invention proposes a kind of smart machine application program processing system, including: Based on the access server of Node.js operating systems, based on the storage server of FastDFS systems, based on Redis operating systems Session information (session) storage server, the data storage server based on MySQL;
Also include the control server for uploading/downloading for controlling application program, the control server includes:
Authentication module, for carrying out authentication to user;
Upload control module, for after authenticating user identification passes through, calling the storage server based on FastDFS systems In packaged upload interface routine, test application program bag is transferred to into the storage server based on FastDFS systems;
Test application program packet analysis module, for being analyzed to extract test application journey to test application program bag The package informatin of sequence bag, the package informatin is at least one parameter below the test application program bag:System information, filename, version This information, type information, running environment information;And by the test application program bag in the storage service based on FastDFS systems FastDFS key assignments in device, the store path in the storage server based on FastDFS systems, download the test application journey The download address of sequence bag, package informatin, store to the data storage server for being based on MySQL.
Wherein, the control server also includes:
Control module is downloaded, for obtaining test application program the package list from the data storage server based on MySQL, with And the download address of default test application program bag;And the download address is converted to into Quick Response Code so that intelligent terminal passes through barcode scanning Mode downloads default test application program bag.
Wherein, the store path in the storage server based on FastDFS systems, is based on ISO operating systems The corresponding plist files of test application program bag storage address.
Wherein, the cookie information in the upload request that the authentication module is sent by user, from being based on The User logs in stored in the access server of Node.js operating systems and authority information, enter to the upload request that user sends Row certification.
Meanwhile, the embodiment of the present invention also proposed a kind of smart machine application program using the system as described in front any one Processing method, including:
When user's upload test application program bag is received, authentication is carried out to user;
After authenticating user identification passes through, upload packaged in the storage server based on FastDFS systems is called to connect Mouth program, by test application program bag the storage server based on FastDFS systems is transferred to;
Test application program bag is analyzed to extract the package informatin of test application program bag, the package informatin is should At least one parameter below test application program bag:System information, filename, version information, type information, running environment letter Breath;And by the test application program bag based on FastDFS systems storage server in FastDFS key assignments, be based on Store path in the storage server of FastDFS systems, download address, the package informatin for downloading the test application program bag, deposit Store up the data storage server for being based on MySQL.
Wherein, methods described also includes:
Test application program the package list, and default test application journey are obtained from the data storage server based on MySQL The download address of sequence bag;And be converted to Quick Response Code to make intelligent terminal download default test by barcode scanning mode by the download address Application package.
Wherein, methods described also includes:
Store path in the storage server based on FastDFS systems, is the test based on ISO operating systems The storage address of the corresponding plist files of application package.
Wherein, it is described that authentication is carried out to user, specifically include:
The cookie information in the upload request that user sends is obtained, from the access service based on Node.js operating systems The User logs in stored in device and authority information, are authenticated to the upload request that user sends.
The above-mentioned technical proposal of the present invention has the beneficial effect that:Above-mentioned technical scheme proposes a kind of smart machine should With program handling system and method, shelves can be stored and stayed to test application program bag, and by test application program bag Package informatin carries out unifying storage.So compare the more existing mode for simply storing on development equipment, using the teaching of the invention it is possible to provide more may be used The development records leaned on, so as to realize fine-grained management.Further, can also pass through to download the two dimension that control module generates download Code, the intelligent terminal of such test only just need to can download from a server test application program bag by barcode scanning, so as to reality Existing Fast Installation test, to improve development efficiency.
Description of the drawings
Fig. 1 is the system structure diagram of the embodiment of the present invention.
Specific embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool Body embodiment is described in detail.
The embodiment of the present invention proposes a kind of smart machine application program processing system as shown in Figure 1 and method.This The prior art being applied in bright embodiment includes:
1、OTA:OTA (Over-the-Air Technology) over the air, is different from wire transmission, passes through Wirelessly app is updated and is installed.
2、Node.js:Node.js is a Javascript running environment (runtime).Actually it is to Google V8 engines are encapsulated.The speed that V8 engines perform Javascript is very fast, and performance is very good.Node.js is special to some Different use-case is optimized, there is provided the API of replacement so that V8 runs more preferably under non-browser environment.Node.js is one The individual platform set up when being run based on Chrome JavaScript, for easily building fast response time, being easy to the net that extends Network application.Node.js uses event-driven, Non-Blocking I/O models and be able to light weight and efficiently, be highly suitable for distributed apparatus The intensive real-time application of upper service data.
3、Express:Express is a succinct and flexible node.js Web application framework, provides a series of powerful Characteristic helps you to create various Web applications.Express does not carry out secondary abstract to the existing characteristics of node.js, and we simply exist Web is extended on it using required function.Abundant HTTP facility and from Connect frameworks middleware with take with With creating strong, friendly API becomes quick and simple.
4、FastDFS:FastDFS is a lightweight distributed file system increased income, and it is managed to file, work( Can include:File storage, file synchronization, file access (files passe, file download) etc., solve massive store and load Problem in a balanced way.It is particularly suitable for the online service with file as carrier, such as photograph album website, video website.
5、MySQL:MySQL is a Relational DBMS, is developed by MySQL AB companies of Sweden, at present category The product under Oracle.The most popular Relational DBMSs of MySQL, MySQL is best in terms of WEB application One of RDBMS (Relational Database Management System, relational database management system) application software.
The embodiment of the present invention proposes a kind of smart machine application program processing system as shown in Figure 1, including
Using nodejs as kernel service end and provide https service;Stable little text is provided using fastdfs clusters Part storage service;Session session informations are stored using redis;Using mysql storage subscriber identity informations, record service end And the various states and result of fastdfs storage clusters.
The Mapping files passe flow processs of APMB package and ARIXTRA bag:
1st, by the cookie information in user's request head, thumb redis and judge User logs in and authority information, if passing through Authority and authentication, then continue, and otherwise returns 403 mistakes to front end;
2nd, APMB package post is uploaded to service end by front end by the upload service interface for calling service end to provide;
3rd, by analysis bag file components, package informatin (system, bag name, version, type, environment etc.) is extracted, if Fructus Mali pumilae IPA bags, then can add and generate the exclusive plist files of the installation kit according to template by the information for extracting;
4th, analyze and generate after corresponding document, call the packaged fastdfs of service end to upload interface, by APMB package and Plist files (if there is) is uploaded to fastdfs clusters simultaneously;
5th, write into Databasce after success, record fastdfs key assignments, store path, download address and related package informatin are uploaded. Error reason can be fed back to by front end, and misregistration daily record by interface if failure is uploaded.This all content for uploading Whole abandoned wells are discharged.
OTA is downloaded:
1st, service end interface is called in front end when the page is rendered, and app the package lists of current application are obtained from mysql;
2nd, according to different Packet types, it is intended that different download address, ARIXTRA APK bag download address is its place Fastdfs paths, and the download path of Fructus Mali pumilae IPA bags is then plist places path.
3rd, download address is converted into by Quick Response Code by using canvas;User's barcode scanning is capable of achieving OTA and installs.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, on the premise of without departing from principle of the present invention, some improvements and modifications can also be made, these improvements and modifications Should be regarded as protection scope of the present invention.

Claims (8)

1. a kind of smart machine application program processing system, it is characterised in that include:Access based on Node.js operating systems Server, based on the storage server of FastDFS systems, based on Redis operating systems session information (session) storage clothes Business device, the data storage server based on MySQL;
Also include the control server for uploading/downloading for controlling application program, the control server includes:
Authentication module, for carrying out authentication to user;
Upload control module, for after authenticating user identification passes through, calling the storage server based on FastDFS systems in seal The upload interface routine for installing, by test application program bag the storage server based on FastDFS systems is transferred to;
Test application program packet analysis module, for being analyzed to extract test application program bag to test application program bag Package informatin, the package informatin be the test application program bag below at least one parameter:System information, filename, version letter Breath, type information, running environment information;And by the test application program bag in the storage server based on FastDFS systems FastDFS key assignments, based on FastDFS systems storage server in store path, download the test application program bag Download address, package informatin, store to the data storage server for being based on MySQL.
2. smart machine application program processing system according to claim 1, it is characterised in that the control server is also Including:
Control module is downloaded, for obtaining test application program the package list from the data storage server based on MySQL, and in advance If the download address of test application program bag;And be converted to Quick Response Code to make intelligent terminal by barcode scanning mode by the download address Download default test application program bag.
3. smart machine application program processing system according to claim 1, it is characterised in that described to be based on Store path in the storage server of FastDFS systems, is that the test application program bag based on ISO operating systems is corresponding The storage address of plist files.
4. smart machine application program processing system according to claim 1, it is characterised in that the authentication module By the cookie information in the upload request that user sends, store from the access server based on Node.js operating systems User logs in and authority information, to user send upload request be authenticated.
5. a kind of smart machine applied program processing method using the system as described in any one of claim 1-4, its feature exists In, including:
When user's upload test application program bag is received, authentication is carried out to user;
After authenticating user identification passes through, upload interface journey packaged in the storage server based on FastDFS systems is called Sequence, by test application program bag the storage server based on FastDFS systems is transferred to;
Test application program bag is analyzed to extract the package informatin of test application program bag, the package informatin is the test At least one parameter below application package:System information, filename, version information, type information, running environment information;And FastDFS key assignments by the test application program bag in the storage server based on FastDFS systems, based on FastDFS Store path in the storage server of system, download address, the package informatin for downloading the test application program bag, store to being based on Data storage server based on MySQL.
6. smart machine applied program processing method according to claim 5, it is characterised in that include:
Test application program the package list, and default test application program bag are obtained from the data storage server based on MySQL Download address;And be converted to Quick Response Code to make intelligent terminal download default test application by barcode scanning mode by the download address Program bag.
7. smart machine applied program processing method according to claim 5, it is characterised in that include:
Store path in the storage server based on FastDFS systems, is based on the test application of ISO operating systems The storage address of the corresponding plist files of program bag.
8. smart machine applied program processing method according to claim 5, it is characterised in that described that body is carried out to user Part certification, specifically includes:
The cookie information in the upload request that user sends is obtained, from the access server based on Node.js operating systems The User logs in and authority information of storage, is authenticated to the upload request that user sends.
CN201710001332.5A 2017-01-03 2017-01-03 Application processing system and method for intelligent device Pending CN106598872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710001332.5A CN106598872A (en) 2017-01-03 2017-01-03 Application processing system and method for intelligent device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710001332.5A CN106598872A (en) 2017-01-03 2017-01-03 Application processing system and method for intelligent device

Publications (1)

Publication Number Publication Date
CN106598872A true CN106598872A (en) 2017-04-26

Family

ID=58582180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710001332.5A Pending CN106598872A (en) 2017-01-03 2017-01-03 Application processing system and method for intelligent device

Country Status (1)

Country Link
CN (1) CN106598872A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989362A (en) * 2017-05-31 2018-12-11 北京京东尚科信息技术有限公司 A kind for the treatment of method and apparatus of static resource
CN111562941A (en) * 2020-04-28 2020-08-21 中国银行股份有限公司 Nodejs-based mobile APP installation package management system and method
CN111562941B (en) * 2020-04-28 2024-04-26 中国银行股份有限公司 Nodejs-based mobile APP installation package management system and method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075571A (en) * 2010-12-31 2011-05-25 成都市华为赛门铁克科技有限公司 Method, equipment and system for executing application program
CN102355426A (en) * 2011-06-30 2012-02-15 北京神州泰岳软件股份有限公司 Method for transmitting off-line file and system
CN102811240A (en) * 2011-06-03 2012-12-05 南京中兴新软件有限责任公司 Application program downloading method and device
US20130019237A1 (en) * 2011-07-12 2013-01-17 Apple Inc. System and method for linking pre-installed software to a user account on an online store
CN103347258A (en) * 2013-06-07 2013-10-09 北京车音网科技有限公司 Downloading method, system and server of application program and terminal equipment
CN105512167A (en) * 2015-10-30 2016-04-20 广东广信通信服务有限公司 Multi-business user data managing system based on mixed database and method for same
CN105610845A (en) * 2016-01-05 2016-05-25 深圳云安宝科技有限公司 Data routing method and device based on cloud service and system
CN105701156A (en) * 2015-12-29 2016-06-22 青岛海信网络科技股份有限公司 Distributed file system management method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075571A (en) * 2010-12-31 2011-05-25 成都市华为赛门铁克科技有限公司 Method, equipment and system for executing application program
CN102811240A (en) * 2011-06-03 2012-12-05 南京中兴新软件有限责任公司 Application program downloading method and device
CN102355426A (en) * 2011-06-30 2012-02-15 北京神州泰岳软件股份有限公司 Method for transmitting off-line file and system
US20130019237A1 (en) * 2011-07-12 2013-01-17 Apple Inc. System and method for linking pre-installed software to a user account on an online store
CN103347258A (en) * 2013-06-07 2013-10-09 北京车音网科技有限公司 Downloading method, system and server of application program and terminal equipment
CN105512167A (en) * 2015-10-30 2016-04-20 广东广信通信服务有限公司 Multi-business user data managing system based on mixed database and method for same
CN105701156A (en) * 2015-12-29 2016-06-22 青岛海信网络科技股份有限公司 Distributed file system management method and device
CN105610845A (en) * 2016-01-05 2016-05-25 深圳云安宝科技有限公司 Data routing method and device based on cloud service and system

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
CS_SHARP: "nodejs通过session实现身份验证", 《HTTPS://MY.OSCHINA.NET/U/2351685/BLOG/507463》 *
YMYANG: "Nodejs Client for FastDFS", 《HTTP://WWW.ZHIMENGZHE.COM/JAVASCRIPTJIAOCHENG/80653.HTML》 *
但丁笔记: "Nodejs使用session、cookie进行登录验证功能的实现", 《HTTPS://BLOG.CSDN.NET/QQ_30100043/ARTICLE/DETAILS/52858149》 *
李卫中: "FastDFS实现文件上传下载实战", 《HTTPS://BLOG.CSDN.NET/U013045878/ARTICLE/DETAILS/53244134》 *
网络虫: "NodeJS+Express+MySQL开发小记", 《HTTP://WWW.ZHIMENGZHE.COM/JAVASCRIPTJIAOCHENG/80653.HTML》 *
蓝学网: "Node.js session的使用及通过session实现身份验证", 《HTTPS://WWW.ABLANXUE.COM/PRONE_30101_1.HTML》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989362A (en) * 2017-05-31 2018-12-11 北京京东尚科信息技术有限公司 A kind for the treatment of method and apparatus of static resource
CN111562941A (en) * 2020-04-28 2020-08-21 中国银行股份有限公司 Nodejs-based mobile APP installation package management system and method
CN111562941B (en) * 2020-04-28 2024-04-26 中国银行股份有限公司 Nodejs-based mobile APP installation package management system and method

Similar Documents

Publication Publication Date Title
CN107908541B (en) Interface testing method and device, computer equipment and storage medium
US11068382B2 (en) Software testing and verification
US11693624B2 (en) AI capability research and development platform and data processing method
CN104142825A (en) Method and system for modularization development of products
CN112085217B (en) Method, device, equipment and computer medium for deploying artificial intelligence service
CN104516738A (en) Integrated implementing method for development and release of APP
CN101377759A (en) Automatic interface test system
CN104391694B (en) Intelligent mobile terminal software public service support platform system
CN109684847A (en) Self-repairing method, device, equipment and the storage medium of script loophole
CN109284106A (en) Method for release management, electronic device and the readable storage medium storing program for executing of business rule
CN111930617B (en) Automatic test method and device based on data objectification
CN106371881A (en) Method and system for updating program versions in servers
CN105095207A (en) Methods for retrieving and obtaining contents of application software, and devices for retrieving and obtaining contents of application software
CN110298007A (en) User behavior statistical method, device, electronic equipment and computer readable storage medium
CN108763042A (en) A kind of Cloud Server performance data acquisition method and device based on python
CN107797823A (en) Business Rule Management method, apparatus, storage medium and computer equipment
CN114189274A (en) Satellite ground station monitoring system based on microservice
CN107656910A (en) Method and apparatus for generating list
CN107122307B (en) Internet of things execution system
CN108021503A (en) The method, apparatus and computer-readable storage medium of automated function test
CN111506305B (en) Tool pack generation method, device, computer equipment and readable storage medium
CN107368407A (en) Information processing method and device
CN107402878A (en) Method of testing and device
CN106371931A (en) Web framework-based high-performance geocomputation service system
CN106598872A (en) Application processing system and method for intelligent 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

Application publication date: 20170426

RJ01 Rejection of invention patent application after publication