CN108933838A - Application data processing method and device - Google Patents

Application data processing method and device Download PDF

Info

Publication number
CN108933838A
CN108933838A CN201810898881.1A CN201810898881A CN108933838A CN 108933838 A CN108933838 A CN 108933838A CN 201810898881 A CN201810898881 A CN 201810898881A CN 108933838 A CN108933838 A CN 108933838A
Authority
CN
China
Prior art keywords
application
server
data
request message
session identification
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.)
Granted
Application number
CN201810898881.1A
Other languages
Chinese (zh)
Other versions
CN108933838B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201810898881.1A priority Critical patent/CN108933838B/en
Publication of CN108933838A publication Critical patent/CN108933838A/en
Application granted granted Critical
Publication of CN108933838B publication Critical patent/CN108933838B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • 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/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

This application discloses a kind of application data processing method and devices.This method comprises: the first application determines the second application to be communicated according to equipment mark code, wherein the second application is embedded with shareware development kit, is used for sharing application data;First application obtains the web page address agreement of session identification and the second application from server;First application is carried out with the second application using data interaction using session identification and web page address agreement.It by the application, solves between applying in the related technology that data interaction safety is lower, is easy the problem of being held as a hostage.

Description

Application data processing method and device
Technical field
This application involves technical field of data processing, in particular to a kind of application data processing method and device.
Background technique
Major company usually develops the App of multiple and different functions, also generally will be installed several same public affairs on user mobile phone The App of department.For several App of same company's exploitation, data sharing is carried out between App on a user device and is led to Letter, is substantially that App needs to interact by the method for process communication between any two.Existing difficulty has at this stage:
A. the difficulty on realizing: the programming interface disunity communicated between iOS and the App of Android platform, and apply Between communication interface calling, need to know the packet name of other application and being specifically defined for interface.And the communication of each App connects The definition of mouth is often different, and just the App of the same manufacturer is also difficult unified interface at last.Therefore it is difficult directly to utilize iOS Or the primary communication interface of Android device carries out the communication of App.
B. lack central inlet: not necessarily as developer is willing to be mounted with certain necessary App on user equipment.And it is more A App lacks unified account system, and direct result is that manufacturer does not recognize that user is used on the same mobile phone It is multiple they issue App, such as: the data between multiple game of certain company are not integrated at present, between game into Row linkage is highly difficult.The available more users device-dependent message actually on cell phone apparatus, distinguishes different set enough It is standby, it is believed that using this equipment is usually the same user.
C. security risk is larger: if realization is leaky, extremely privacy of user is be easy to cause to reveal, damage manufacturer image It simultaneously again may be by undercarriage.
Scheme in the related technology, is broadly divided into two classes, and one kind is that the App for the high installation for having superelevation user coverage rate makees For super entrance (such as: wechat, Alipay), account system is constructed, provides and logs in such function using wechat.And it is many public The App all without such high installation is taken charge of, therefore this mode is only suitable for fewer companies.Therefore it can only be realized using another Mode: each App is opening a HTTP Web Server, the fixing end that other App pass through access user mobile phone local from the background Mouthful, to interact.This implementation is since there are problems for the backstage keep-alive of App, it cannot be guaranteed that App was locally opened Web server can be always maintained at unlatching and received message.And Http service is easy by App malicious exploitation, and there are very high peaces Full blast danger.
For problem above-mentioned in the related technology, currently no effective solution has been proposed.
Summary of the invention
The main purpose of the application is to provide a kind of application data processing method and device, to solve to answer in the related technology Data interaction safety is lower between, is easy the problem of being held as a hostage.
To achieve the goals above, according to the one aspect of the application, a kind of application data processing method is provided.The party Method includes: that the first application determines the second application to be communicated according to equipment mark code, wherein second application is embedded with shared Software Development Kit is used for sharing application data;First application obtains session identification and described second from server and answers Web page address agreement;First application is using the session identification and the web page address agreement and second application It carries out using data interaction.
Further, first application determines that second application includes: described first according to the equipment mark code The equipment mark code is sent using to the server, so that the server determines described the according to the equipment mark code Multiple applications that shareware developing instrument is wrapped are embedded on user equipment where one application;Described first applies from described Second application is chosen in multiple applications.
Further, it is answered using the session identification and the web page address agreement with described second in first application With carrying out using before data interaction, further includes: first application is called out by calling the web page address agreement of the second application Wake up it is described second application.
Further, first application is using the session identification and the web page address agreement and second application It carries out including: first application using data interaction by applying corresponding application programming interface to institute with described second It states the second application and sends communication request message, so that second application determines to be interacted answer according to the communication request message With data, wherein the parameter information that the application programming interface includes includes at least: the session identification, the webpage Address protocol, communications command.
Further, first application by with the second corresponding application programming interface of application to described the It includes: that first application is applied by the application programming interface to described second that two applications, which send communication request message, Send communication request message, wherein the information that the communication request message carries includes at least: the session identification, described logical Letter order, the communication request message, which is used to obtain first from second application, applies data;First application receives institute Server issues described first is stated using data, wherein the first application data are by the server according to described second It is determined using the session identification and the communications command of transmission.
Further, it before the first application data that first application receives that the server issues, also wraps Include: second application receives the security verification of server-side, wherein it is described that the security verification, which uses the server-side, What the public key of the second application distribution, the server-side were locally stored applies with the private key of public key pairing and described first Security key that the server-side prestores is completed.
Further, first application by with the second corresponding application programming interface of application to described the It includes: that first application is applied by the application programming interface to described second that two applications, which send communication request message, Communication request message is sent, so that second application is drawn using the session identification and the communications command from the server It takes described second using data, wherein the information that the communication request message carries includes at least: the session identification, described Communications command, the communication request message, which is used to send second to second application, applies data.
To achieve the goals above, it according to the another aspect of the application, provides a kind of using data processing equipment.The dress It sets and comprises determining that unit, determine the second application to be communicated according to equipment mark code for the first application, wherein described second Using shareware development kit is embedded with, it to be used for sharing application data;Acquiring unit is used for first application from service Device obtains the web page address agreement of session identification and second application;Data interaction unit is used for first application The session identification and the web page address agreement and second application are carried out using data interaction.
Further, the determination unit further include: the first sending module is used for first application to the server The equipment mark code is sent, so that the server determines the user where first application according to the equipment mark code Multiple applications that shareware developing instrument is wrapped are embedded in equipment;Module is chosen, is applied for described first from described more Second application is chosen in a application.
Further, further includes: wakeup unit, for using the session identification and the webpage in first application Address protocol and second application are carried out using before data interaction, and first application passes through the webpage for calling the second application Address protocol is applied to wake up described second.
Further, the data interaction unit includes: the second sending module, for it is described first application by with it is described The second corresponding application programming interface of application sends communication request message to second application, so that second application Application data to be interacted are determined according to the communication request message, wherein the parameter that the application programming interface includes Information includes at least: the session identification, the web page address agreement, communications command.
Further, second sending module includes: the first sending submodule, is passed through for first application described Application programming interface sends communication request message to second application, wherein the letter that the communication request message carries Breath includes at least: the session identification, the communications command, and the communication request message is used to obtain the from second application One applies data;First receiving submodule applies number using described first that the reception server issues for described first According to, wherein the session identification and described that the first application data are sent by the server according to second application Communications command determines.
Further, further includes: security verification unit, for receiving what the server issued in first application Before the first application data, second application receives the security verification of server-side, wherein the security verification is adopted It is the described second private key with public key pairing being locally stored using the public key of distribution, the server-side with the server-side And described first apply the security key prestored in the server-side to complete.
Further, second sending module includes: the second sending submodule, is passed through for first application described Application programming interface sends communication request message to second application, so that second application uses the session mark Know and apply data from described in the server pull second with the communications command, wherein what the communication request message carried Information includes at least: the session identification, the communications command, and the communication request message is used to send to second application Second applies data.
To achieve the goals above, according to the another aspect of the application, a kind of processor is provided, which is characterized in that institute Processor is stated for running program, wherein described program executes when running applies data processing side described in above-mentioned any one Method.
To achieve the goals above, according to the another aspect of the application, a kind of storage medium is provided, which is characterized in that The storage medium includes the program of storage, wherein described program, which executes, applies data processing side described in above-mentioned any one Method.
To achieve the goals above, according to the another aspect of the application, a kind of electronic equipment is provided, which is characterized in that It include: one or more processors, memory, display device and one or more programs, wherein one or more of journeys Sequence is stored in the memory, and is configured as being executed by one or more of processors, one or more of Program includes for executing application data processing method described in above-mentioned any one.
By the application, using following steps: the first application determines the second application to be communicated according to equipment mark code, In, second application is embedded with shareware development kit, is used for sharing application data;Described first applies from server Obtain the web page address agreement of session identification and second application;First application uses the session identification and the net Page address agreement and second application carry out solving data interaction safety between applying in the related technology using data interaction Property it is lower, be easy the problem of being held as a hostage, so achieved the effect that promoted application between data interaction safety.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, the schematic reality of the application Example and its explanation are applied for explaining the application, is not constituted an undue limitation on the present application.In the accompanying drawings:
Fig. 1 is the flow chart according to application data processing method provided by the embodiments of the present application;
Fig. 2 is the signal according to the PUSH message of server in application data processing method provided by the embodiments of the present application Figure;
Fig. 3 is according to the signal for sending message between applying in application data processing method provided by the embodiments of the present application Figure;And
Fig. 4 is according to the schematic diagram provided by the embodiments of the present application using data processing equipment.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein.In addition, term " includes " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
For ease of description, below to the invention relates to part noun or term be illustrated:
Share SDK: the SDK for message distribution from each other being embedded in multiple App.
ShareService: the background service for being used to exchange message run in the App of insertion Share SDK.
The server that Share SDK Server:Share SDK is connected.
ShareAPI: more App for exchanging the crucial API of information, such as following Send Command To Share App。
UDID:User Device Identifier is different from UDID (the unique Device of Apple here Identifier), refer to the equipment feature of the user obtained by certain algorithm, can be used to distinguish different user equipmenies.
A kind of App custom protocol of Url Scheme, Android and iOS platform, for example, a fixed share- App: //xxx, similar to the link of URL, as long as with share-app: the event of the link of // beginning can all be assigned to this App processing.
According to an embodiment of the present application, a kind of application data processing method is provided.
Fig. 1 is the flow chart according to the application data processing method of the embodiment of the present application.As shown in Figure 1, this method includes Following steps:
Step S101, the first application determine the second application to be communicated according to equipment mark code, wherein the second application is embedded There is shareware development kit, is used for sharing application data.
Above-mentioned shareware development kit can be Share SDK, apply for second and disappear between other application Breath distribution.
Step S102, the first application obtain the web page address agreement of session identification and the second application from server.
Above-mentioned session identification can be Session ID, and above-mentioned web page address agreement can be Url Scheme.
First application sends request to server and indicates a desire to be communicated with the second application, and server is back to first and answers The Url Scheme of the application of Session ID and second in.
It should be noted that the SessionID referred in the embodiment of the present application can for comprising, communication service number, One sequence such as communication security code is used to simply prevent from forging and distinguishing the Hash character string of different requests.
Step S103, the first application hand over using data with the second application using session identification and web page address agreement Mutually.
Due to be using the first session identification for being got from server of application and the web page address agreement of the second application with Second application is carried out using data interaction.It avoids the first application and directly carries out data interaction with the second application, improve first Using the safety of data interaction between the second application.
Application data processing method provided by the embodiments of the present application is determined according to equipment mark code to logical by the first application Second application of letter, wherein second application is embedded with shareware development kit, is used for sharing application data;It is described First application obtains the web page address agreement of session identification and second application from server;Described in first application uses Session identification and the web page address agreement and second application solve and apply in the related technology using data interaction Between data interaction safety it is lower, be easy the problem of being held as a hostage, so reached promotion application between data interaction safety Effect.
Optionally, in application data processing method provided by the embodiments of the present application, the first application is according to equipment mark code Determine that the second application includes: the first application to server sending device identification code, so that server is determined according to equipment mark code Multiple applications that shareware developing instrument is wrapped are embedded on user equipment where first application;First application is answered from multiple The second application is chosen with middle.
The application being related in the embodiment of the present application can be loaded on the mobile terminals such as mobile phone and plate, due to mobile whole End etc. is private article, it is generally recognized that the mobile phone and plate in big portion all correspond to unique user, can be with for this kind of equipment A unique equipment mark code (UDID) is generated based on hardware characteristics code, it is understood that is unique user identifier.
It should be noted that generating the algorithm of UDID has very much, iOS is contemplated that with Uinque Device The hardware characteristics such as indentifier and type come together to generate this UDID, and Android, which can be considered, utilizes IMEI code and one A little hardware characteristics generate this UDID, and each different UDID can consider a corresponding different equipment.It is logged in user Using generally have later cell-phone number or mailbox and real-name authentication (for example, game requires real-name authentication, each account regardless of It is cell-phone number registration or mailbox registration, unique real name user can be finally obtained by cell-phone number or mailbox).It allows User obtains UDID by Share SDK, and by UDID come bound device, in order to avoid string number, an equipment only binds one A user, if be that a user can be determined that (user can have multiple trips by cell-phone number or real-name authentication Play account), the user of the same newest binding of equipment instead before bind user, can guarantee by such method user and The stringent one-to-many relationship of equipment.
Therefore, in the above scheme, the first application sends UDID to server, so that server determines first according to UDID The multiple applications wrapped using shareware developing instrument is embedded on the user equipment at place, from multiple applications choose to Second application of the first application communication.
Optionally, in application data processing method provided by the embodiments of the present application, session identification is used in the first application It carries out with web page address agreement and the second application using before data interaction, further includes: the first application is by calling the second application Web page address agreement wake up the second application.
For example, the first application is by calling the Url Scheme of the second application, to wake up the Share SDK of the second application Background service process.
Optionally, in application data processing method provided by the embodiments of the present application, the first application using session identification and Web page address agreement and the second application carry out including: the first application using data interaction by applying journey using corresponding with second Sequence programming interface sends communication request message to the second application, so that the second application is to be interacted according to communication request message determination Using data, wherein the parameter information that application programming interface includes includes at least: session identification, leads at web page address agreement Letter order.
In the above scheme, by calling the SendCommandToShareApp of the second application, (corresponding above-mentioned transmission is logical Believe request message), such application programming interface to indicate to the second application, it is desirable to obtain a certain number of the second application According to (corresponding above-mentioned application data to be interacted), this data type can be set by communications command.Wherein, application program The parameter information that programming interface includes includes at least: Session ID, UrlScheme, Command.
Optionally, in application data processing method provided by the embodiments of the present application, the first application with second by applying It includes: that the first application passes through application programming that corresponding application programming interface, which sends communication request message to the second application, Interface sends communication request message to the second application, wherein the information that communication request message carries includes at least: session identification, Communications command, communication request message, which is used to obtain first from the second application, applies data;First application receives what server issued First apply data, wherein first application data by server according to second application send session identification and communications command come It determines.
In the above scheme, the information that communication request message carries includes at least: Session ID and communications command, That is, Session ID and communications command are sent server by the second application, the first application data are finally issued extremely by server First application.
Optionally, it in application data processing method provided by the embodiments of the present application, is received under server in the first application Before first application data of hair, further includes: the second application receives the security verification of server-side, wherein security verification is adopted It is applied and is being taken for the private key and second matched with public key that the public key of the second application distribution, server-side are locally stored with server-side The business security key that prestores of end is completed.
In the above scheme, if there is the second application is pretended to be in " malicious application two " application, to server pull message, at this moment Actually waiting server needs to verify the second application " malicious application two " or real second application.For server and second Communication between, server can by each App be packaged a RSA public key, server repository private key and this As soon as a App is pre-stored in the security key of server end, whether the App that can verify client is real second application.By It is that the session identification and communications command sent by server according to the second application determines in the data of the first application, is determining the In the case that two applications are real first application, so that the data that just can guarantee that the first application is got are accuracys, also protect The safety of data interaction is demonstrate,proved.
Optionally, in application data processing method provided by the embodiments of the present application, the first application with second by applying It includes: that the first application passes through application programming that corresponding application programming interface, which sends communication request message to the second application, Interface sends communication request message to the second application, so that the second application uses session identification and communications command from server pull Second applies data, wherein the information that communication request message carries includes at least: session identification, communications command, communication request disappear Breath applies data for sending second to the second application.
In the above scheme, the information that communication request message carries includes at least: Session ID and communications command, That is, the first application will carry Session ID and the communication request message of communications command sends the second application, the second application will be adopted Second is pulled from server using data with session identification and communications command, and the second application data are finally issued extremely by server Second application.
In the above-described embodiment, scheme realize thinking be, if App1 want to App2 send out message (namely carry out data Interaction), inquire the Url Scheme of App2 on the server first, at this moment available devices identification code UDID confirms that player is current Which equipment what is logged in is, which has accessed the App of Share SDK in this equipment.Then App1 is called corresponding Communication Session and Command is issued App2 by API, and App2 takes these parameters to go server pull data again, completes entire Communication.It is not that App2 is directly transmitted to by App1 on a user device since information is from App2 to server pull, therefore, The mechanism that information is directly transmitted than existing App1 and App2 is safer.
In order to increase the probability that App receives the PUSH message of server in time, therefore the App in operating status is conceded to divide Send out message.By message distribution from each other, as long as can accomplish there is one to survive in these App on backstage, respond to The message of server pushes, and message distribution is illustrated in fig. 2 shown below to target application.
Message is sent out between App, is segmented into two steps, as shown in figure 3, waking up another App from the background first.Then Message is received and processed in the background service of another App, process is as follows: step 1:App1 in Share SDK by disappearing Breath transmitting portion issues App2 and opens Share Service.Step 2:Share Service notifies server A pp1 in number of request According to Data1.Step 3: server just gives App1 data distributing, is received and processed by code in the Share SDK in App1 Data.
Its communication process is explained as follows: App1 sends request to server first and indicates a desire to be communicated with App2, takes The Url Scheme, App1 that business device returns to Session an ID and App2 wake up the Url Scheme by calling App2, To wake up the Share SDK background service process of App2.Then pass through the SendCommandToShareApp of calling App2 API as (Session ID, UrlScheme, Command, UserData) to indicate to App2, it is desirable to obtain certain of App2 One data, this data type can be set by Command.App2 again sends SessionID and Command to Share SDK Server finally issues data to App1 by Share SDK Server.
It should be noted that SendCommandToShareApp (ShareAPI) here is merely illustrative CommAPI Usage, 3 key messages of this kind of API: SessionID and UrlScheme and Command, come describe communication object and Behavior, specific API implementation is very flexible, is not construed as limiting in this application.
In conclusion the application data processing method of the embodiment of the present application, independent of App credentials check, it is not assumed that Device channel safety, but communication safe between applying is guaranteed using a kind of message system Pull model of band certification.
For example, the network transmission of user guarantees safety by Https, then the App on user equipment can not be cracked rewriting, The account number cipher of user is not leaked, and the user equipment third party App that do not escape from prison cannot arbitrarily read the data of other App. Lower surface analysis App1 and three kinds of challenge models (Threat Model) present in App2 communication process:
1, communication channel is held as a hostage on user equipment: the information that App1 directly issues App2 only have Session ID and Command, monitor channel does not steal any effective information yet on equipment mobile phone.
2, App1 is pretended to be by malice App: even if having " malicious application one " pretend to be App1 to App2 hair Session and Command, since information needs App2 to go to pull to server, " malicious application one " is can not to obtain information.
3, App2 is pretended to be by malice App: if there is " malicious application two " pretends to be App2, to server pull message, at this moment Actually waiting server needs to verify App2 " malicious application two " or real App2.For Share SDK Server with Communication between App2, Share SDK Server can be by being packaged a RSA public key, server repository to each App As soon as private key and this App are pre-stored in the Secure Key of server end, whether the App that can verify client is real App2.
These three situations include the possible attack pattern of almost all of malice App in normal device, and the application is real The application data processing method of example is applied, these three attacks can be defendd, can guarantee that the safety of the data information between App is handed over substantially It changes.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
Data processing equipment is applied the embodiment of the present application also provides a kind of, it should be noted that the embodiment of the present application It can be used for executing provided by the embodiment of the present application using data processing equipment for application data processing method.Below to this What application embodiment provided is introduced using data processing equipment.
Fig. 4 is the schematic diagram using data processing equipment according to the embodiment of the present application.As shown in figure 4, the device includes: Determination unit 10, acquiring unit 20 and data interactive unit 30.
Specifically, it is determined that unit 10, determines the second application to be communicated according to equipment mark code for the first application, In, the second application is embedded with shareware development kit, is used for sharing application data;
Acquiring unit 20 obtains the web page address agreement of session identification and the second application for the first application from server;
Data interaction unit 30 is answered using session identification and web page address agreement with second for the first application Use data interaction.
It is provided by the embodiments of the present application to apply data processing equipment, by the application of determination unit 10 first according to device identification Code determines the second application to be communicated, wherein the second application is embedded with shareware development kit, is used for sharing application number According to;The application of acquiring unit 20 first obtains the web page address agreement of session identification and the second application from server;Data interaction list 30 first application of member carries out solving related skill using data interaction with the second application using session identification and web page address agreement Data interaction safety is lower between applying in art, is easy the problem of being held as a hostage, and then has reached data between promotion application and handed over The effect of mutual safety.
Optionally, in application data processing equipment provided by the embodiments of the present application, determination unit 10 further include: the first hair Module is sent, for the first application to server sending device identification code, so that server determines that first answers according to equipment mark code The multiple applications wrapped with shareware developing instrument is embedded on the user equipment at place;Module is chosen, for the first application The second application is chosen from multiple applications.
Optionally, in application data processing equipment provided by the embodiments of the present application, further includes: wakeup unit is used for First application is carried out with the second application using before data interaction using session identification and web page address agreement, and the first application passes through The web page address agreement of the second application is called to wake up the second application.
Optionally, in application data processing equipment provided by the embodiments of the present application, data interaction unit 30 includes: second Sending module is asked for the first application by sending communication to the second application with the second corresponding application programming interface of application Message is sought, so that the second application determines application data to be interacted according to communication request message, wherein application programming interface The parameter information for including includes at least: session identification, web page address agreement, communications command.
Optionally, in application data processing equipment provided by the embodiments of the present application, the second sending module includes: the first hair Submodule is sent, communication request message is sent to the second application by application programming interface for the first application, wherein communication The information that request message carries includes at least: session identification, communications command, and communication request message is used to obtain the from the second application One applies data;First receiving submodule applies data using first that reception server issues for first, wherein first It is determined by server according to the session identification of the second application transmission and communications command using data.
Optionally, in application data processing equipment provided by the embodiments of the present application, further includes: security verification unit, For before the first application data that the first application receives that server issues, the second application to receive the safety school of server-side Test, wherein security verification use server-side for second application distribution public key, server-side be locally stored with public key pairing Private key and second the security key prestored in server-side is applied to complete.
Optionally, in application data processing equipment provided by the embodiments of the present application, the second sending module includes: the second hair Submodule is sent, communication request message is sent to the second application by application programming interface for the first application, so that second Data are applied from server pull second using using session identification and communications command, wherein the letter that communication request message carries Breath includes at least: session identification, communications command, and communication request message, which is used to send second to the second application, applies data.
The application data processing equipment includes processor and memory, above-mentioned determination unit 10,20 sum number of acquiring unit It is stored in memory as program unit according to interactive unit 30 is equal, above-mentioned journey stored in memory is executed by processor Sequence unit realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, by adjusting kernel parameter come promoted application between data interaction safety.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor The existing application data processing method.
The embodiment of the invention provides a kind of processor, the processor is for running program, wherein described program operation Application data processing method described in Shi Zhihang.
The embodiment of the invention provides a kind of electronic equipment, comprising: one or more processors, memory, display device And one or more programs, wherein one or more of programs are stored in the memory, and be configured as by One or more of processors execute, and one or more of programs include for executing application described in above-mentioned any one Data processing method.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (17)

1. a kind of application data processing method characterized by comprising
First application determines second application to be communicated according to equipment mark code, wherein second application be embedded with share it is soft Part development kit is used for sharing application data;
First application obtains the web page address agreement of session identification and second application from server;
First application is carried out using the session identification and the web page address agreement and second application using data Interaction.
2. the method according to claim 1, wherein first application determines institute according to the equipment mark code Stating the second application includes:
First application sends the equipment mark code to the server, so that the server is according to the device identification Code, which determines, is embedded with multiple applications that shareware developing instrument is wrapped on the user equipment where first application;
Second application is chosen in first application from the multiple application.
3. the method according to claim 1, wherein in first application using the session identification and described Web page address agreement and second application are carried out using before data interaction, further includes:
First application wakes up second application by calling the web page address agreement of the second application.
4. the method according to claim 1, wherein first application uses the session identification and the net Page address agreement is carried out with second application using data interaction
First application is logical by sending with the second corresponding application programming interface of application to second application Request message is believed, so that second application determines application data to be interacted according to the communication request message, wherein described The parameter information that application programming interface includes includes at least: the session identification, the web page address agreement, communication life It enables.
5. according to the method described in claim 4, it is characterized in that, first application passes through with described second using corresponding Application programming interface sends communication request message to second application
First application sends communication request message to second application by the application programming interface, wherein The information that the communication request message carries includes at least: the session identification, the communications command, the communication request message Data are applied for obtaining first from second application;
First application receives the server issues described first using data, wherein the first application data by The server is determined according to the session identification of the second application transmission and the communications command.
6. according to the method described in claim 5, it is characterized in that, receiving the institute that the server issues in first application First is stated using before data, further includes:
Second application receives the security verification of server-side, wherein the security verification uses the server-side for institute State the public key of the second application distribution, the private key matched with the public key that the server-side is locally stored and first application It is completed in security key that the server-side prestores.
7. according to the method described in claim 4, it is characterized in that, first application passes through with described second using corresponding Application programming interface sends communication request message to second application
First application sends communication request message to second application by the application programming interface, so that institute It states the second application and data is applied from described in the server pull second using the session identification and the communications command, In, the information that the communication request message carries includes at least: the session identification, the communications command, the communication request Message, which is used to send second to second application, applies data.
8. a kind of apply data processing equipment characterized by comprising
Determination unit determines the second application to be communicated according to equipment mark code for the first application, wherein second application It is embedded with shareware development kit, is used for sharing application data;
Acquiring unit obtains the web page address association of session identification and second application for first application from server View;
Data interaction unit uses the session identification and the web page address agreement and described second for first application Using carrying out using data interaction.
9. device according to claim 8, which is characterized in that the determination unit further include:
First sending module sends the equipment mark code to the server for first application, so that the service Device is determined according to the equipment mark code is embedded with shareware development kit on the user equipment where first application On multiple applications;
Module is chosen, chooses second application from the multiple application for first application.
10. device according to claim 8, which is characterized in that further include:
Wakeup unit, for being answered using the session identification and the web page address agreement with described second in first application With carrying out using before data interaction, first application wakes up described the by calling the web page address agreement of the second application Two applications.
11. device according to claim 8, which is characterized in that the data interaction unit includes:
Second sending module is applied for described first by applying corresponding application programming interface to institute with described second It states the second application and sends communication request message, so that second application determines to be interacted answer according to the communication request message With data, wherein the parameter information that the application programming interface includes includes at least: the session identification, the webpage Address protocol, communications command.
12. device according to claim 11, which is characterized in that second sending module includes:
First sending submodule is sent by the application programming interface to second application for first application Communication request message, wherein the information that the communication request message carries includes at least: the session identification, communication life It enables, the communication request message, which is used to obtain first from second application, applies data;
First receiving submodule applies data using described first that the reception server issues for described first, wherein The session identification and the communications command that the first application data are sent by the server according to second application To determine.
13. device according to claim 12, which is characterized in that further include:
Security verification unit, for first application receive the first application data that the server issues it Before, second application receives the security verification of server-side, wherein it is described that the security verification, which uses the server-side, What the public key of the second application distribution, the server-side were locally stored applies with the private key of public key pairing and described first Security key that the server-side prestores is completed.
14. device according to claim 11, which is characterized in that second sending module includes:
Second sending submodule is sent by the application programming interface to second application for first application Communication request message, so that second application uses the session identification and the communications command from the server pull institute Second is stated using data, wherein the information that the communication request message carries includes at least: the session identification, the communication Order, the communication request message, which is used to send second to second application, applies data.
15. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit require any one of 1 to 7 described in application data processing method.
16. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution Benefit require any one of 1 to 7 described in application data processing method.
17. a kind of electronic equipment characterized by comprising one or more processors, memory, display device and one Or multiple programs, wherein one or more of programs are stored in the memory, and are configured as by one Or multiple processors execute, one or more of programs include for answering described in any one of perform claim requirement 1 to 7 Use data processing method.
CN201810898881.1A 2018-08-08 2018-08-08 Application data processing method and device Active CN108933838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810898881.1A CN108933838B (en) 2018-08-08 2018-08-08 Application data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810898881.1A CN108933838B (en) 2018-08-08 2018-08-08 Application data processing method and device

Publications (2)

Publication Number Publication Date
CN108933838A true CN108933838A (en) 2018-12-04
CN108933838B CN108933838B (en) 2022-07-29

Family

ID=64445593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810898881.1A Active CN108933838B (en) 2018-08-08 2018-08-08 Application data processing method and device

Country Status (1)

Country Link
CN (1) CN108933838B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007936A (en) * 2019-04-16 2019-07-12 上海连尚网络科技有限公司 Data processing method and device
CN110311895A (en) * 2019-05-28 2019-10-08 深圳壹账通智能科技有限公司 Session authorization check method, system and the electronic equipment of identity-based verifying
CN110677391A (en) * 2019-09-09 2020-01-10 平安普惠企业管理有限公司 Third-party link verification method based on URL Scheme technology and related equipment
CN111090530A (en) * 2019-12-09 2020-05-01 维沃移动通信有限公司 Distributed cross-interprocess communication bus system
WO2024060411A1 (en) * 2022-09-19 2024-03-28 中国银联股份有限公司 Data sharing system, method and apparatus, and device and medium

Citations (18)

* 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
US20140075513A1 (en) * 2012-09-10 2014-03-13 Adobe Systems Incorporated Device token protocol for authorization and persistent authentication shared across applications
CN103942093A (en) * 2013-01-23 2014-07-23 阿里巴巴集团控股有限公司 Service processing method and system
WO2015010199A1 (en) * 2013-07-21 2015-01-29 Mobility View Inc. System, smart device and method for apportioning smart device operations and costs
CN105553920A (en) * 2014-10-29 2016-05-04 腾讯科技(深圳)有限公司 Data interaction method, apparatus, and system
US20160134620A1 (en) * 2014-11-06 2016-05-12 Ca, Inc. Loading user devices with lists of proximately located broadcast beacons and associated service identifiers
CN105635051A (en) * 2014-10-29 2016-06-01 腾讯科技(深圳)有限公司 Data interaction method, device, and system
CN105743958A (en) * 2015-04-13 2016-07-06 乐视网信息技术(北京)股份有限公司 Terminal-to-terminal communication method and device
EP3076586A1 (en) * 2015-03-31 2016-10-05 Ricoh Company, Ltd. Communication terminal, communication system, communication method, and carrier means
CN106156190A (en) * 2015-04-21 2016-11-23 阿里巴巴集团控股有限公司 A kind of data push method and device
US20170171187A1 (en) * 2015-12-15 2017-06-15 Verizon Patent And Licensing Inc. Secure authentication service
CN107135499A (en) * 2016-02-26 2017-09-05 华为技术有限公司 Data transmission method, the network equipment and terminal
CN107342861A (en) * 2017-07-14 2017-11-10 银联商务有限公司 A kind of data processing method, apparatus and system
US9847990B1 (en) * 2014-07-18 2017-12-19 Google Inc. Determining, by a remote system, applications provided on a device based on association with a common identifier
CN107645486A (en) * 2016-12-28 2018-01-30 平安科技(深圳)有限公司 Login authentication method and device
CN107846511A (en) * 2017-10-30 2018-03-27 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for accessing moving advertising
CN108132812A (en) * 2017-12-21 2018-06-08 维沃移动通信有限公司 A kind of method of data synchronization, mobile terminal and server
US20180219921A1 (en) * 2017-01-31 2018-08-02 Telia Company Ab Methods for Providing Continuity in Chatbot Communications

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140075513A1 (en) * 2012-09-10 2014-03-13 Adobe Systems Incorporated Device token protocol for authorization and persistent authentication shared across applications
CN103942093A (en) * 2013-01-23 2014-07-23 阿里巴巴集团控股有限公司 Service processing method and system
CN103546532A (en) * 2013-07-02 2014-01-29 Tcl集团股份有限公司 Method and system for shared data in application
WO2015010199A1 (en) * 2013-07-21 2015-01-29 Mobility View Inc. System, smart device and method for apportioning smart device operations and costs
US9847990B1 (en) * 2014-07-18 2017-12-19 Google Inc. Determining, by a remote system, applications provided on a device based on association with a common identifier
CN105553920A (en) * 2014-10-29 2016-05-04 腾讯科技(深圳)有限公司 Data interaction method, apparatus, and system
CN105635051A (en) * 2014-10-29 2016-06-01 腾讯科技(深圳)有限公司 Data interaction method, device, and system
US20160134620A1 (en) * 2014-11-06 2016-05-12 Ca, Inc. Loading user devices with lists of proximately located broadcast beacons and associated service identifiers
EP3076586A1 (en) * 2015-03-31 2016-10-05 Ricoh Company, Ltd. Communication terminal, communication system, communication method, and carrier means
CN105743958A (en) * 2015-04-13 2016-07-06 乐视网信息技术(北京)股份有限公司 Terminal-to-terminal communication method and device
CN106156190A (en) * 2015-04-21 2016-11-23 阿里巴巴集团控股有限公司 A kind of data push method and device
US20170171187A1 (en) * 2015-12-15 2017-06-15 Verizon Patent And Licensing Inc. Secure authentication service
CN107135499A (en) * 2016-02-26 2017-09-05 华为技术有限公司 Data transmission method, the network equipment and terminal
CN107645486A (en) * 2016-12-28 2018-01-30 平安科技(深圳)有限公司 Login authentication method and device
US20180219921A1 (en) * 2017-01-31 2018-08-02 Telia Company Ab Methods for Providing Continuity in Chatbot Communications
CN107342861A (en) * 2017-07-14 2017-11-10 银联商务有限公司 A kind of data processing method, apparatus and system
CN107846511A (en) * 2017-10-30 2018-03-27 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for accessing moving advertising
CN108132812A (en) * 2017-12-21 2018-06-08 维沃移动通信有限公司 A kind of method of data synchronization, mobile terminal and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
路晔绵等: "Android Settings机制应用安全性分析与评估", 《计算机研究与发展》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007936A (en) * 2019-04-16 2019-07-12 上海连尚网络科技有限公司 Data processing method and device
CN110007936B (en) * 2019-04-16 2022-04-29 上海连尚网络科技有限公司 Data processing method and device
CN110311895A (en) * 2019-05-28 2019-10-08 深圳壹账通智能科技有限公司 Session authorization check method, system and the electronic equipment of identity-based verifying
CN110677391A (en) * 2019-09-09 2020-01-10 平安普惠企业管理有限公司 Third-party link verification method based on URL Scheme technology and related equipment
CN110677391B (en) * 2019-09-09 2023-04-07 平安普惠企业管理有限公司 Third-party link verification method based on URL Scheme technology and related equipment
CN111090530A (en) * 2019-12-09 2020-05-01 维沃移动通信有限公司 Distributed cross-interprocess communication bus system
CN111090530B (en) * 2019-12-09 2024-03-05 维沃移动通信有限公司 Distributed inter-process communication bus system
WO2024060411A1 (en) * 2022-09-19 2024-03-28 中国银联股份有限公司 Data sharing system, method and apparatus, and device and medium

Also Published As

Publication number Publication date
CN108933838B (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN108933838A (en) Application data processing method and device
CN104838616B (en) Cloud center applications trust authentication
EP3764308A1 (en) Blockchain-based system, and electronic apparatus and method in the system
CN110855791B (en) Block link point deployment method and related equipment
CN109756582A (en) Information recording method, device, node and storage medium in block chain network
CN109086596A (en) The authentication method of application program, apparatus and system
CN113472807B (en) Private communication method and device between users
CN110267270A (en) A kind of substation's inner sensor terminal access Border Gateway authentication intelligence contract
Brincat et al. On the use of Blockchain technologies in WiFi networks
US20110320359A1 (en) secure communication method and device based on application layer for mobile financial service
TW202101350A (en) Method and device for cross-chain transmission of authenticable message based on processing module
CN110149323A (en) A kind of processing unit with millions TPS contract processing capacity
CN112749812A (en) Joint learning system, training result aggregation method and equipment
CN116781292A (en) Data processing method, device, equipment and readable storage medium
CN110276693A (en) Settlement of insurance claim method and system
CN115409511B (en) Personal information protection system based on block chain
CN111461878A (en) Block chain transaction processing method and system based on intelligent contracts outside chains
CN114897177B (en) Data modeling method and device, electronic equipment and storage medium
CN108270563A (en) A kind of method for interchanging data and system based on SM2 Encryption Algorithm
US12047353B2 (en) Verified anonymous persona for a distributed token
US20220278966A1 (en) Secure Virtual Personalized Network with Preconfigured Wallets
CN106534047A (en) Information transmitting method and apparatus based on Trust application
Yan et al. Methodology to bridge different domains of trust in mobile communications
JP2008131057A (en) Device and method for generating encryption protocol, and program
Xu et al. Secure transfer protocol between app and device of Internet of Things

Legal Events

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