CN105553976B - A kind of data processing method, apparatus and system - Google Patents

A kind of data processing method, apparatus and system Download PDF

Info

Publication number
CN105553976B
CN105553976B CN201510927412.4A CN201510927412A CN105553976B CN 105553976 B CN105553976 B CN 105553976B CN 201510927412 A CN201510927412 A CN 201510927412A CN 105553976 B CN105553976 B CN 105553976B
Authority
CN
China
Prior art keywords
server
data
data processing
local
browser
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.)
Expired - Fee Related
Application number
CN201510927412.4A
Other languages
Chinese (zh)
Other versions
CN105553976A (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.)
Beijing WatchSmart Technologies Co Ltd
Original Assignee
Beijing WatchSmart Technologies 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 Beijing WatchSmart Technologies Co Ltd filed Critical Beijing WatchSmart Technologies Co Ltd
Priority to CN201510927412.4A priority Critical patent/CN105553976B/en
Publication of CN105553976A publication Critical patent/CN105553976A/en
Application granted granted Critical
Publication of CN105553976B publication Critical patent/CN105553976B/en
Expired - Fee Related 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • 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/0853Network architectures or network communication protocols for network security for authentication of entities using an additional device, e.g. smartcard, SIM or a different communication terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention discloses a kind of data processing method, which comprises after accessing any server by browser, receives the data that the server is returned by the browser;If the server is the server in default security server list, the corresponding local data processing application of the server is inquired;Data forwarding from the server to local data processing is applied, and application is handled by the local data, the data is handled.The present invention can be realized the secure communication of terminal and server, and handle the data from security server.

Description

A kind of data processing method, apparatus and system
Technical field
The present invention relates to data processing fields, and in particular to a kind of data processing method, apparatus and system.
Background technique
Currently, browser usually all carries a kind of plug-in unit that can be used as general-purpose interface, the server of external website can The data and application of local terminal are accessed by this general-purpose interface.But due to the versatility of this plug-in unit, some malice nets Standing can also access to the data of local terminal and application by this general-purpose interface, this undoubtedly can be the data of local terminal Bring security risk.
In order to effectively avoid using above-mentioned plug-in unit bring security risk, many browsers have all abandoned this at present Plug-in unit.But the communication of server and local terminal data and application etc. cannot be also realized without the browser of above-mentioned plug-in unit Interaction, this allows for the internet banking system such as accessed by browser, cannot be by normal use.
Summary of the invention
In view of this, the present invention provides a kind of data processing method, apparatus and system conduct can be abandoned in browser In the case where the plug-in unit of general-purpose interface, guarantee the normal use of the server accessed by browser.
The present invention provides a kind of data processing methods, which comprises
After accessing any server by browser, the data that the server is returned by the browser are received;
If the server is the server in default security server list, the server corresponding is inquired Ground data handling utility;
Data forwarding from the server to local data processing is applied, and is handled by the local data It is handled using to the data.
Preferably, the server is internet banking system server;
It is described that the data are handled by local data processing application, comprising:
After local data processing application is parsed the data from the internet banking system server, be forwarded to Corresponding USBKey middleware is applied in local data processing, so as to the USBKey middleware by the data transmission extremely USBKey。
Preferably, the data from the internet banking system server include data to be signed;
The method, further includes:
The signed data that the USBKey is returned by local data processing application is received, and by the signed data It is uploaded to the internet banking system server.
Preferably, the data from the server include encryption data;Described handled by the local data is answered It is handled with to the data, comprising:
The encryption data is decrypted in the local data processing application.
Preferably, the browser is Chrome browser, it is described by the data forwarding from the server to described Local data processing application, comprising:
By local message Native Message mechanism, by the data forwarding from the server to the local number It is applied according to processing.
The present invention also provides a kind of data processing equipment, described device is applied to browser, and described device includes:
Receiving module, for receiving the server and passing through the browsing after accessing any server by browser The data that device returns;
Enquiry module, for inquiring the clothes when the server is the server in default security server list The corresponding local data processing application of business device;
Forwarding module, for applying the data forwarding from the server to local data processing, and by institute Local data processing application is stated to handle the data.
Preferably, the browser is Chrome browser, and the forwarding module is specifically used for:
By local message Native Message mechanism, by the data forwarding from the server to the local number It is applied according to processing.
The present invention also provides a kind of data processing systems, and the system comprises data processing equipments and local data to handle Using;
The data processing equipment is above-mentioned data processing equipment;
The local data processing application, for receiving the data from the data processing equipment, and to the data It is handled.
Preferably, the local data processing application, specifically for solving the data from internet banking system server After analysis, it is forwarded to and applies corresponding USBKey middleware with local data processing, so that the USBKey middleware is by institute Data transmission is stated to USBKey.
Preferably, the data processing equipment is also used to receive the USBKey and passes through local data processing application The signed data of return, and the signed data is uploaded to the internet banking system server.
It is described when terminal user accesses any server by browser in data processing method provided by the invention Server can be by the browser to terminal returned data, in order to guarantee that the data from the server will not be terminal band Carry out security threat, so the present invention first determines whether the server is the server preset in security server list, i.e., Terminal security server predetermined.The only described server is security server, and terminal can will just come from the server Data forwarding to local data corresponding with the server processing application, and by the local data handle application to the number According to being handled.In this way, the present invention can be realized the secure communication of terminal and server, and to the data from security server It is handled.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of data processing method flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of data processing method that internet banking system server is accessed by browser provided in an embodiment of the present invention Flow chart;
Fig. 3 is another data processing method flow chart provided in an embodiment of the present invention;
Fig. 4 is a kind of data processing equipment structural diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of data processing system structural schematic diagram provided in an embodiment of the present invention;
Fig. 6 is another data processing equipment structural diagram provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
Currently, due to the presence of safety problem, browser no longer supports the plug-in unit as general-purpose interface, as Chrome is browsed Device no longer supports NPAPI plug-in unit, this is not normally functioning the business communicated using above-mentioned plug-in unit.The embodiment of the present invention A kind of data processing method is provided, the clothes can be come from when receiving in the business for accessing server by browser When the data of business device, security verification is carried out to the server first, if the server is security server, in the future From the data forwarding of the server to the corresponding local data processing application of the server, there is the local data processing application The data are handled.As it can be seen that the embodiment of the present invention is the case where browser no longer supports the plug-in unit as general-purpose interface Under, it also can be realized the normal operation that the business of server is accessed by browser, while ensure that safety.
The introduction of embodiment particular content is carried out below.
It is a kind of number provided in an embodiment of the present invention that the embodiment of the invention provides a kind of data processing methods with reference to Fig. 1 According to processing method flow chart, which comprises,
S101: after accessing any server by browser, the number that the server is returned by the browser is received According to.
S102: if the server is the server in default security server list, the server pair is inquired The local data processing application answered.
S103: the data forwarding from the server to local data processing is applied, and by the local number The data are handled according to processing application.
In data processing method provided in an embodiment of the present invention, when terminal user accesses any server by browser When, the server can be by the browser to terminal returned data, in order to guarantee that the data from the server will not Security threat is brought for terminal, so the embodiment of the present invention first determines whether the server is default security server list In server, i.e. terminal security server predetermined.The only described server is security server, and terminal just can be in the future The processing application from the data forwarding of the server to local data corresponding with the server, and handled by the local data It is handled using to the data.In this way, the embodiment of the present invention can be realized the secure communication of terminal and server, and to next It is handled from the data of security server.
In practical application scene, the embodiment of the invention provides a kind of numbers that internet banking system server is accessed by browser According to processing method, with reference to Fig. 2, for a kind of data for accessing internet banking system server by browser provided in an embodiment of the present invention Processing method flow chart, which comprises
S201: after accessing any internet banking system server by Chrome browser, the internet banking system server is received The data returned by the Chrome browser, the data include data to be signed.The Chrome browser is not supported NPAPI plug-in unit.
In practical application, after terminal user accesses internet banking system server by the Chrome browser, it can carry out It transfers accounts, pay etc. and being related to safe operation.The internet banking system server can generate corresponding number to be signed for aforesaid operations According to, such as the data to be signed of the transfer amounts, transfer account that need user to confirm by USBKey, and pass through customized event The data to be signed are back to terminal by createEvent.
S202: if the internet banking system server is the server in default security server list, described in inquiry The corresponding local data processing application of internet banking system server.
It is first before handling the data to be signed from the internet banking system server in the embodiment of the present invention First judge whether the internet banking system server is security server, and is confirming that the internet banking system server is security service In the case where device, the local data processing application of the internet banking system server is inquired.The local data processing application is for locating Manage the data from the internet banking system server.
S203: the data forwarding from the internet banking system server to local data processing is applied, and by institute Local data processing application is stated to handle the data.
In the embodiment of the present invention, system can be answered by local message Native Message mechanism and local data processing With being communicated, specifically, will be taken from the internet banking system in a manner of binary stream by Native Message mechanism The data forwarding of business device to local data processing is applied.
S204: after the local data processing application is parsed the data from the internet banking system server, turn It is sent to and applies corresponding USBKey middleware with local data processing, so that the USBKey middleware passes the data It send to USBKey.
In the embodiment of the present invention, local data processing, which is applied, is receiving the data from the internet banking system server Afterwards, data to be signed are parsed, obtains the data lattice that the USBKey middleware of the internet banking system server can identify Formula.Data to be signed after parsing are sent to the USBKey middleware, the USBKey middleware is by the data It is sent to USBKey and is shown to user, so that user carries out the operation such as confirming according to display data.
S205: the signed data that the USBKey is returned by local data processing application is received, and by the label Name data are uploaded to the internet banking system server.
It, will after user is confirmed to obtain signed data to the USBKey data shown in the embodiment of the present invention The signed data is uploaded to the internet banking system service by the USBKey middleware and local data processing application Device is finally completed the operation such as transfer accounts, pay.
In the data processing method provided in an embodiment of the present invention for accessing internet banking system server by Chrome browser, When receiving from the data of internet banking system server, first determines whether the safety of the internet banking system server, confirming In the case where the internet banking system server security, forwards the data on to local data processing application and handled, realized The secure communication of the internet banking system server and terminal.
In addition, with reference to Fig. 3, being provided the embodiment of the invention also provides a kind of data processing method for the embodiment of the present invention A kind of data processing method flow chart, which comprises
S301: after accessing any server by browser, the number that the server is returned by the browser is received According to the data include encryption data.
S302: if the server is the server in default security server list, the server pair is inquired The local data processing application answered, the local data processing application is for being decrypted the encryption data;
S303: the data forwarding from the server to local data processing is applied, and by the local number The encryption data is decrypted according to processing application.
S304: the data after decryption are uploaded to the browser by the local data processing application, and are shown to user.
Data processing method provided in an embodiment of the present invention, which can be applied to access in server by browser, encrypts number According to business.By installing decryption application in terminal local, the function that encryption data in server is accessed by browser is realized.
It is a kind of number provided in an embodiment of the present invention that the embodiment of the invention provides a kind of data processing equipments with reference to Fig. 4 According to processing device structure diagram, described device is applied to browser, and described device includes:
Receiving module 401, for by browser access any server after, receive the server pass through it is described clear The data that device of looking at returns.
Enquiry module 402, for when the server is the server in default security server list, described in inquiry The corresponding local data processing application of server.
Forwarding module 403, for the data forwarding from the server to local data processing to be applied, and by The local data processing application handles the data.
Wherein, the browser for being equipped with above-mentioned data processing equipment can be Chrome browser;
The forwarding module is specifically used for that the server will be come from by local message Native Message mechanism Data forwarding to the local data processing apply.
The present invention additionally provides a kind of data processing system in implementing, and with reference to Fig. 5, Fig. 5 is provided in an embodiment of the present invention A kind of data processing system structural schematic diagram, the system comprises data processing equipments 501 and local data processing to apply 502;
The data processing equipment 501 is the data processing equipment in above-mentioned Fig. 4;
The local data processing applies 502, for receiving the data from the data processing equipment, and to the number According to being handled.
In practical application, local data processing application, specifically for will the data from internet banking system server into After row parsing, it is forwarded to and applies corresponding USBKey middleware with local data processing, so as to the USBKey middleware By the data transmission to USBKey.
Correspondingly, the data processing equipment, is also used to receive the USBKey and passes through local data processing application The signed data of return, and the signed data is uploaded to the internet banking system server.
The embodiment of the present invention can be realized the secure communication of terminal and server, and to the data from security server into Row processing.
The present invention also provides a kind of data processing equipment structural diagrams, as shown in Figure 6, wherein the base station is at least It further include at least one network interface 603 including a memory 601 and at least one processor 602;Memory 601, processing It is connected with each other between device 602 and network interface 603 by bus.
The program code is transferred to the processor 602 for storing program code by memory 601.
Processor 602 is used to execute following steps according to the instruction in said program code:
After accessing any server by browser, the data that the server is returned by the browser are received;
If the server is the server in default security server list, the server corresponding is inquired Ground data handling utility;
Data forwarding from the server to local data processing is applied, and is handled by the local data It is handled using to the data.
Preferably, the processor 602 is also used to pass through local message when the browser is Chrome browser Native Message mechanism applies the data forwarding from the server to local data processing.
For apparatus embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.Apparatus embodiments described above are merely indicative, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not In the case where making the creative labor, it can understand and implement.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Be provided for the embodiments of the invention a kind of data processing method above, apparatus and system is described in detail, Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only used In facilitating the understanding of the method and its core concept of the invention;At the same time, for those skilled in the art, according to the present invention Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as Limitation of the present invention.

Claims (10)

1. a kind of data processing method, which is characterized in that the described method includes:
After accessing any server by browser, the data that the server is returned by the browser are received;
If the server is the server in default security server list, the corresponding local number of the server is inquired It is applied according to processing;
Data forwarding from the server to local data processing is applied, and is handled and is applied by the local data The data are handled.
2. the method according to claim 1, wherein the server is internet banking system server;
It is described that the data are handled by local data processing application, comprising:
After local data processing application is parsed the data from the internet banking system server, be forwarded to it is described Local data processing apply corresponding USBKey middleware, so as to the USBKey middleware by the data transmission extremely USBKey。
3. according to the method described in claim 2, it is characterized in that, the data from the internet banking system server include Data to be signed;
The method, further includes:
The signed data that the USBKey is returned by local data processing application is received, and the signed data is uploaded To the internet banking system server.
4. the method according to claim 1, wherein the data from the server include encryption number According to;It is described that the data are handled by local data processing application, comprising:
The encryption data is decrypted in the local data processing application.
5. the method according to claim 1, wherein the browser be Chrome browser, it is described to come from The data forwarding of the server to local data processing is applied, comprising:
Through local message Native Message mechanism, at the data forwarding from the server to the local data It ought to use.
6. a kind of data processing equipment, which is characterized in that described device is applied to browser, and described device includes:
Receiving module, for receiving the server and being returned by the browser after accessing any server by browser The data returned;
Enquiry module, for inquiring the server when the server is the server in default security server list Corresponding local data processing application;
Forwarding module, for applying the data forwarding from the server to local data processing, and by described Ground data handling utility handles the data.
7. device according to claim 6, which is characterized in that the browser is Chrome browser, the forwarding mould Block is specifically used for:
Through local message Native Message mechanism, at the data forwarding from the server to the local data It ought to use.
8. a kind of data processing system, which is characterized in that the system comprises data processing equipments and local data processing application;
The data processing equipment is the data processing equipment in the claims 6 or 7;
The local data processing application, carries out for receiving the data from the data processing equipment, and to the data Processing.
9. system according to claim 8, which is characterized in that the local data processing application, specifically for that will come from After the data of internet banking system server are parsed, it is forwarded to local data processing using among corresponding USBKey Part, so that the USBKey middleware is by the data transmission to USBKey.
10. system according to claim 9, which is characterized in that the data processing equipment is also used to receive described The signed data that USBKey is returned by local data processing application, and the signed data is uploaded to the Internetbank system System server.
CN201510927412.4A 2015-12-14 2015-12-14 A kind of data processing method, apparatus and system Expired - Fee Related CN105553976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510927412.4A CN105553976B (en) 2015-12-14 2015-12-14 A kind of data processing method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510927412.4A CN105553976B (en) 2015-12-14 2015-12-14 A kind of data processing method, apparatus and system

Publications (2)

Publication Number Publication Date
CN105553976A CN105553976A (en) 2016-05-04
CN105553976B true CN105553976B (en) 2019-01-25

Family

ID=55832912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510927412.4A Expired - Fee Related CN105553976B (en) 2015-12-14 2015-12-14 A kind of data processing method, apparatus and system

Country Status (1)

Country Link
CN (1) CN105553976B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060128B (en) * 2016-05-25 2019-05-10 飞天诚信科技股份有限公司 A kind of method and device of browser access intelligent cipher key equipment
CN106203144A (en) * 2016-07-25 2016-12-07 飞天诚信科技股份有限公司 A kind of method and system realizing browser access intelligent cipher key equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360110A (en) * 2008-10-06 2009-02-04 中国电信股份有限公司 Set-top box application security detecting method, apparatus and system
CN103365907A (en) * 2012-04-06 2013-10-23 腾讯科技(深圳)有限公司 Method, system and server for displaying payment page

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360110A (en) * 2008-10-06 2009-02-04 中国电信股份有限公司 Set-top box application security detecting method, apparatus and system
CN103365907A (en) * 2012-04-06 2013-10-23 腾讯科技(深圳)有限公司 Method, system and server for displaying payment page

Also Published As

Publication number Publication date
CN105553976A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN105357191B (en) The encryption method and device of user data
CN102833258B (en) Network address access method and system
CN105516246B (en) A kind of method and server of anti-application program downloading abduction
CN108574709B (en) Method and device for realizing cross-domain operation
CN104335523A (en) Access control method, client and server
CN105474574A (en) Systems and methods for authentication using a device identifier
CN104965690B (en) Data processing method and device
CN103546652B (en) A kind of Number translation service device and the communication means of telephone number secrecy, system
CN103634935A (en) WPS (Wi-Fi protected setup) or QSS (quick secure setup)-based network accessing method and device
CN104954894A (en) Video traffic guiding method and device as well as electronic equipment
CN103916400A (en) User account management method and system
CN105119928A (en) Data transmission method, device and system for Android intelligent terminal
CN107274222A (en) Advertisement placement method and device
CN105553976B (en) A kind of data processing method, apparatus and system
CN109561010A (en) Message processing method, electronic equipment and readable storage medium
CN108833500B (en) Service calling method, service providing method, data transmission method and server
CN103051722B (en) A kind ofly determine the method whether page is held as a hostage and relevant device
KR20130072907A (en) Method and system for shortening url
CN110633432A (en) Method, device, terminal equipment and medium for acquiring data
CN106330665A (en) Information interaction processing method, terminal and system
CN105721398A (en) Data access method and device
CN105306455B (en) A kind of method and terminal device handling data
CN105405011A (en) Method, server and system for transaction authentication through mobile terminal
CN107508805A (en) A kind of data package processing method and system
CN105592032B (en) Safety information interaction method Internet-based

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190125

Termination date: 20211214