CN104735173B - A kind of method and system carrying service related information by application signature - Google Patents

A kind of method and system carrying service related information by application signature Download PDF

Info

Publication number
CN104735173B
CN104735173B CN201310705943.XA CN201310705943A CN104735173B CN 104735173 B CN104735173 B CN 104735173B CN 201310705943 A CN201310705943 A CN 201310705943A CN 104735173 B CN104735173 B CN 104735173B
Authority
CN
China
Prior art keywords
application
service
signature
address
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310705943.XA
Other languages
Chinese (zh)
Other versions
CN104735173A (en
Inventor
李强
王东兴
王生
郑佳栋
蒋孝金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Founder International Co Ltd
Founder International Beijing Co Ltd
Original Assignee
Founder International Co Ltd
Founder International Beijing 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 Founder International Co Ltd, Founder International Beijing Co Ltd filed Critical Founder International Co Ltd
Priority to CN201310705943.XA priority Critical patent/CN104735173B/en
Publication of CN104735173A publication Critical patent/CN104735173A/en
Application granted granted Critical
Publication of CN104735173B publication Critical patent/CN104735173B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of method and systems that service related information is carried by application signature.Method of the present invention is the following steps are included: (1) terminal applies developer provides the application unsigned, and will apply and upload to publisher server;(2) publisher server automatically parses application message, and database is recorded in this type of information;(3) deployment implementation personnel find the application in the service list of unsigning that issuing service generates, and corresponding address of service is applied in modification;(4) deployment implements personnel point to hit the signature function of issuing service offer to be that application is signed;(5) after the completion of application signature, application can be issued, the application of publication directly downloads for user.The human cost of terminal modifications address of service consuming can be saved using method and system of the present invention, it is only necessary to terminal applies signature be modified by application issuing service, it is made to automatically point to service.

Description

A kind of method and system carrying service related information by application signature
Technical field
The invention belongs to mobile LAN fields, and in particular to a kind of to carry service related information by application signature Method and system.
Background technique
With the rapid development of mobile Internet, mobile application emerges in multitude, and makes daily life and work more Add enrich it is convenient.Most mobile application gets the information that user needs to access by network and server, mentions for user For service.But this mode is only suitable for public network type as interactive basis will go out when being applied to the same inner-mesh network of public security net Existing problem.Intranet service is needed through the address ip rather than domain name access, thus terminal must fixed service address.This It must determine that the address of service arrangement could modify the address of service for including in application if sample, finally issue application again.In this way Cause terminal publication not flexible, application is issued in the address of service that terminal applies will be modified when address of service changes again.Work as clothes It is engaged in endure when corresponding terminal applies are few, but if there is tens up to a hundred applications that will go wrong, send out every time Cloth just needs developer to go to modify corresponding address of service, has not only wasted human cost but also has dragged slowly issuing process.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is one kind, and service correlation is carried by application signature The method and system of information.This method and system can save the human cost of terminal modifications address of service consuming, it is only necessary to logical It crosses using issuing service modification terminal applies signature, it is made to automatically point to service.
To achieve the above objectives, the technical solution adopted by the present invention is that, it is related that one kind carrying service by application signature The method of information, comprising the following steps:
(1) terminal applies developer provides the application unsigned, and will apply and upload to publisher server;
(2) publisher server automatically parses application message, and database is recorded in this type of information;
(3) deployment implementation personnel find the application, modification application pair in the service list of unsigning that issuing service generates The address of service answered;
(4) deployment implements personnel point to hit the signature function of issuing service offer to be that application is signed;
(5) after the completion of application signature, the application of publication application, publication directly downloads for user.
Further, in step (2), the application message includes applying packet name, version number, and described applying takes in publication Business device is extracted, and extracts the information configuration file of application.
Further, the method for extracting the information configuration file of application is as follows:
1) package/res/values/string.xml file in apk file is extracted by apktool.jar order;
2) read release root under AndroidManifest.xml file, got from this document APK packet name, Version information;
3) detection APK packet name whether there is in the database, and if it is the APK newly uploaded, then its packet name is in the database It is not present, otherwise just forbids the APK for uploading identical packet name, when modification is not detected;
4) information required for being obtained by regular expression.
Further, in step 1), if not obtaining string.xml file when release apk file, increase on backstage Add: $ _ config_product_apktool_count parameter, to control the maximum times of release.
Further, in step (4), it will unsign and be saved in signature using the address of service that needs access.
Further, the address of service of publisher server is recorded in application, application access is inputted in signature process Address of service information, while the signature process can keep a record the address of service of publisher server.
Further, when application has more new version, it is notified that terminal updates application, terminal passes through more new function and publication clothes Business device interaction will realize the update of application.
Further, using when the address of service that accesses can do and change, but the address of issuing service is fixed and invariable.
A kind of system carrying service related information by application signature, comprises the following modules:
The terminal applies unsigned are uploaded to publisher server for developer by uploading module;
Parsing module automatically parses application message for publisher server, and database is recorded in this type of information;
Modified module finds the application in the service list of unsigning that issuing service generates for disposing implementation personnel, Corresponding address of service is applied in modification;
Signature blocks implement personnel point to hit the signature function of issuing service offer to be that application is signed for disposing;
Release module, for after the completion of application signature, the application of publication application, publication to directly download for user.
Further, the application message of parsing module parsing includes applying packet name, version number, and described applying is being issued Server is extracted, and extracts the information configuration file of application.
The signature blocks will unsign using needing the address of service accessed to be saved in signature, by publisher server Address of service be recorded in application, the address of service information of application access, while the signature process meeting are inputted in signature process The address of service of publisher server is kept a record;
When application has more new version, the release module is notified that terminal updates application, and terminal passes through more new function The update of application will be realized with publisher server interaction.
Effect of the invention is that: method of the present invention is used, the consuming of terminal modifications address of service can be saved Human cost, it is only necessary to terminal applies signature be modified by application issuing service, make it automatically point to service, to solve Intranet Publication application expends unnecessary human cost problem in service, improves efficiency for issuing.
Detailed description of the invention
Fig. 1 is the flow chart of the method for the invention;
Fig. 2 is the structure chart of system of the present invention.
Specific embodiment
Present invention will be further described below with reference to the accompanying drawings and specific embodiments.
Core of the invention thought is: terminal applies developer needs to parse signature first in development and application, leads to The address of service that signature gets its access is crossed, it, will be using packing but without signature, after the completion of packing after the completion of application and development The application unsigned is uploaded into publisher server;The application unsigned is signed in publisher server using post staff Name;After the completion of application signature, application can be issued, user can arrive issuing service and download the application.
In the present embodiment, as shown in Figure 1, a kind of method that service related information is carried by application signature, including with Lower step:
S1, terminal applies developer provides the application unsigned, and will apply and upload to publisher server;
S2, publisher server automatically parses application message, for example applies packet name, version number etc., and this type of information is remembered Record database;
It applies and is extracted in publisher server, and extract the information configuration file of application, the technology of extraction has because of platform It is distinguished, Android platform can use the following method.
1) firstly, extracting package/res/values/string.xml in apk file by apktool.jar order File increases: $ _ config_product_ if not obtaining string.xml file when release apk file on backstage Apktool_count parameter, to control the maximum times of release;
2) read release root under AndroidManifest.xml file, got from this document APK packet name, Version information;
3) detection APK packet name whether there is in the database, and if it is the APK newly uploaded, then its packet name is in the database It is not present, otherwise just forbids the APK for uploading identical packet name, when modification is not detected;
4) information required for, being obtained by regular expression.
S3, deployment implementation personnel find the application, modification application pair in the service list of unsigning that issuing service generates The address of service answered;
S4, deployment implement personnel point to hit " signature " function of issuing service offer to be that application is signed;
Because platform is different, the technology used of signing and principle have difference, but can all be carried by signing Information.Based on such principle, post staff will unsign to be saved in signature using the address of service that needs access.The part needs To be appointed with developer signature in which be partially address of service.The address of service of publisher server can be recorded simultaneously Into application, so that terminal automatically updates.
The address of service information of application access is accurately inputted in signature process, while the signature process can be by issuing service The address of service of device keeps a record, and when application has new version, is notified that terminal updates application, terminal passes through more new function and publication Server interaction will realize the update of software.
In the present embodiment, the more new function is updated dependent on publisher server, using when the service that accesses Address, which can be done, to be changed, but the address of issuing service cannot change.Based on Android platform, the implementation ginseng of server-side signature See network address:
http://wenku.baidu.com/link?url=SjtqrOlBryGWSHBQNaHFfnCEd7jh4R Sl-JG cpgEEbBqLbkGBKBQBx0vu5FJAqWPllTWT06UByAnHX_jrRGhhYO 0ndZQ2FQY4erXtfP1bi2i
S5 after the completion of application signature, can issue application, and the application of publication directly downloads for user.
As shown in Fig. 2, a kind of system for carrying service related information by application signature, comprises the following modules:
The terminal applies unsigned are uploaded to publisher server for developer by uploading module 11;
Parsing module 12 automatically parses application message for publisher server, and database is recorded in this type of information;
Modified module 13 finds this in the service list of unsigning that issuing service generates for disposing implementation personnel and answers With corresponding address of service is applied in modification;
Signature blocks 14 implement personnel point to hit the signature function of issuing service offer to be that application is signed for disposing;
Release module 15, for after the completion of application signature, the application of publication application, publication to directly download for user.
In the present embodiment, the application message that parsing module 12 parses includes applying packet name, version number, the application It is extracted in publisher server, and extracts the information configuration file of application.
The signature blocks 14 will unsign using needing the address of service accessed to be saved in signature, by issuing service The address of service of device is recorded in application, and the address of service information of application access, while the signature process are inputted in signature process The address of service of publisher server can be kept a record;
When application has more new version, the release module is notified that terminal updates application, and terminal passes through more new function The update of application will be realized with publisher server interaction.
In practical application, method of the present invention is applied in the service of the Intranets such as public security net, terminal can be saved and repaired Change the human cost of address of service consuming, it is only necessary to terminal applies signature be modified by application issuing service, automatically point to it Service to solve the problems, such as that publication application expends unnecessary human cost in Intranet service, improves efficiency for issuing, and passes through clothes Business end generates application signature (address of service is carried in signature), and such published method determines terminal applies only and may have access to corresponding clothes The address information that business end signature provides.
It will be understood by those skilled in the art that method and system of the present invention is not limited to institute in specific embodiment The embodiment stated, specific descriptions above are intended merely to explain the purpose of the present invention, are not intended to limit the present invention.This field skill Art personnel can derive other implementation manners according to the technical scheme of the present invention, and also belong to the scope of the technical innovation of the present invention, this The protection scope of invention is defined by the claims and their equivalents.

Claims (6)

1. a kind of method for carrying service related information by application signature, comprising the following steps:
(1) terminal applies developer provides the application unsigned, and will apply and upload to publisher server;
(2) publisher server automatically parses application message, and database is recorded in this type of information;
(3) deployment implementation personnel find the application in the service list of unsigning that issuing service generates, and modification application is corresponding Address of service;
(4) deployment implements personnel point to hit the signature function of issuing service offer to be that application is signed;(5) application signature is completed Afterwards, the application of publication application, publication directly downloads for user;
In step (4), it will unsign and be saved in signature using the address of service that needs access;
The address of service of publisher server is recorded in application, the address of service information of application access is inputted in signature process, The signature process can keep a record the address of service of publisher server simultaneously;
When application has more new version, it is notified that terminal updates application, terminal is interactive just by more new function and publisher server It can realize the update of application.
2. a kind of method for carrying service related information by application signature as described in claim 1, it is characterized in that: step (2) in, the application message includes applying packet name, version number, and described applying is extracted in publisher server, and extracts and answer Information configuration file.
3. a kind of method for carrying service related information by application signature as claimed in claim 2, characterized in that extract The method of the information configuration file of application is as follows:
1) it is extracted in apk file by apktool.jar order
Package/res/values/string.xml file;
2) the AndroidManifest.xml file under release root is read, APK packet name, version are got from this document Information;
3) detection APK packet name whether there is in the database, and if it is the APK newly uploaded, then its packet name is not deposited in the database Otherwise just forbidding the APK for uploading identical packet name, when modification is not detected;
4) information required for being obtained by regular expression.
4. a kind of method for carrying service related information by application signature as claimed in claim 3, it is characterized in that: step 1) in, if not obtaining string.xml file when release apk file, increase on backstage: $ _ config_product_ Apktool_count parameter, to control the maximum times of release.
5. a kind of method that service related information is carried by application signature as described in claim 1, it is characterized in that: using The address of service accessed when use, which can be done, to be changed, but the address of issuing service is fixed and invariable.
6. a kind of system for carrying service related information by application signature, comprises the following modules:
The terminal applies unsigned are uploaded to publisher server for developer by uploading module;
Parsing module automatically parses application message for publisher server, and database is recorded in this type of information;
Modified module finds the application in the service list of unsigning that issuing service generates for disposing implementation personnel, modification Using corresponding address of service;
Signature blocks implement personnel point to hit the signature function of issuing service offer to be that application is signed for disposing;
Release module, for after the completion of application signature, the application of publication application, publication to directly download for user;
The application message of parsing module parsing includes applying packet name, version number, and described applying is solved in publisher server Pressure, and extract the information configuration file of application;
The signature blocks will unsign using needing the address of service accessed to be saved in signature, by the clothes of publisher server Business address is recorded in application, the address of service information of application access is inputted in signature process, while the signature process can will be sent out The address of service of cloth server keeps a record;
When application has more new version, the release module is notified that terminal updates application, and terminal passes through more new function and hair The interaction of cloth server will realize the update of application.
CN201310705943.XA 2013-12-19 2013-12-19 A kind of method and system carrying service related information by application signature Active CN104735173B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310705943.XA CN104735173B (en) 2013-12-19 2013-12-19 A kind of method and system carrying service related information by application signature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310705943.XA CN104735173B (en) 2013-12-19 2013-12-19 A kind of method and system carrying service related information by application signature

Publications (2)

Publication Number Publication Date
CN104735173A CN104735173A (en) 2015-06-24
CN104735173B true CN104735173B (en) 2019-09-20

Family

ID=53458599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310705943.XA Active CN104735173B (en) 2013-12-19 2013-12-19 A kind of method and system carrying service related information by application signature

Country Status (1)

Country Link
CN (1) CN104735173B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339161A (en) * 2016-08-30 2017-01-18 维沃移动通信有限公司 Arrangement method of desktop icons and mobile terminal
CN106648806B (en) * 2017-01-03 2020-03-31 深圳铂睿智恒科技有限公司 Analysis method and system of application installation package of application server and application server
CN107944253B (en) * 2017-12-12 2021-02-09 深圳创维数字技术有限公司 Third-party APK signature method, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420325A (en) * 2008-11-21 2009-04-29 华为技术有限公司 Automatic deployment method, apparatus and system for software package
CN102799444A (en) * 2011-05-27 2012-11-28 华为软件技术有限公司 Method and device for packaging program in different platforms

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420325A (en) * 2008-11-21 2009-04-29 华为技术有限公司 Automatic deployment method, apparatus and system for software package
CN102799444A (en) * 2011-05-27 2012-11-28 华为软件技术有限公司 Method and device for packaging program in different platforms

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Android 程序自动更新";hgl868;《CSDN博客》;20111010;第1-2页 *
"php上传apk后自动提取apk包的信息";大头爸爸;《CSDN博客》;20120903;第1-4页 *
"游走Android系列之APK文件的反编译、修改和重新编译打包";hr1986sd;《CSDN博客》;20130531;第1-5页 *

Also Published As

Publication number Publication date
CN104735173A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN108038053B (en) A kind of dynamic configuration buries method and apparatus a little
CN105450461B (en) A kind of shunt method and the network equipment
CN104111944B (en) Page processing method and device and page generation method and device
CN106027406B (en) NS3 analogue system flow introduction method based on Netflow
CN103023710B (en) A kind of safety test system and method
CN103368781B (en) A kind of cluster Network Management Equipment method of automatic configuration based on XML
CN102740342B (en) The analog detection method of Network Management Equipment performance and system
CN105138505B (en) The Auto-writing method and device of visa application form
CN103377053B (en) Method, device and system for controlling application
CN102970348B (en) Network application method for pushing, system and network application server
CN104735173B (en) A kind of method and system carrying service related information by application signature
CN104504006B (en) The method and system of data acquisition and parsing to news client
CN107766509A (en) A kind of method and apparatus of webpage static backup
CN105404514B (en) JavaScript rendering method and device
CN107885658B (en) Test preposition implementation method, device, terminal device and storage medium
CN103906013B (en) A kind of information push method and device based on mobile device
CN107979489A (en) Integrated access equipment configuration monitoring method
CN106339273A (en) Application program restoration method, terminal and server
CN110213113A (en) The WEB configuring management method of base station and base station
CN103905482B (en) Method, push server and the system of pushed information
CN102508886A (en) Extensive makeup language (XML)-based method for synchronously updating increment of spatial data
CN104348682A (en) Method and system for mobile application flow feature automatic analysis
CN103684925B (en) A kind of performance test methods based on emulation terminal
CN106599120A (en) Stream processing framework-based data processing method and apparatus
CN102567517A (en) Device and method for issuing data of database

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant