CN103823821B - Network data processing method and equipment - Google Patents

Network data processing method and equipment Download PDF

Info

Publication number
CN103823821B
CN103823821B CN201310020028.7A CN201310020028A CN103823821B CN 103823821 B CN103823821 B CN 103823821B CN 201310020028 A CN201310020028 A CN 201310020028A CN 103823821 B CN103823821 B CN 103823821B
Authority
CN
China
Prior art keywords
network data
local application
module
network
data processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310020028.7A
Other languages
Chinese (zh)
Other versions
CN103823821A (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Dongguan 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 Huawei Device Dongguan Co Ltd filed Critical Huawei Device Dongguan Co Ltd
Priority to CN201310020028.7A priority Critical patent/CN103823821B/en
Priority to PCT/CN2013/085233 priority patent/WO2014075526A1/en
Publication of CN103823821A publication Critical patent/CN103823821A/en
Application granted granted Critical
Publication of CN103823821B publication Critical patent/CN103823821B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of network data processing method and equipment, including:The network data processing request message that user operates network object triggering is received, the network data processing request message includes the data type of action type and network data and the network data;One local application matched is at least determined according to the action type and the data type to handle the network data;The result that the local application of the matching is handled to the network data is sent to the network object by user agent module;It is not readily susceptible to the influence of network condition, it is ensured that the continuity of network data processing business.

Description

Network data processing method and equipment
Technical field
The present embodiments relate to field of computer technology, more particularly to a kind of network data processing method and equipment.
Background technology
Generally, the processing to network data includes the communication equipment between the discovery mechanism and web application of network service System, for example, user wishes a photo on network being shared with good friend, but need to enter the photo after edlin or description again Good friend is sent to, existing processing method is by inquiring about network(English:web)Application library, it is determined whether have the net of adaptation Network application program handles the network data, however, it is determined that has the web application of adaptation, starts the web application to net Network data are handled, and result is shown on webpage again.
However, the above-mentioned network data processing method based on web application is easily influenceed by network condition, example Such as, when network condition is poor, the service disconnection of network data processing is easily caused, influences application performance.
The content of the invention
The embodiment of the present invention provides network data processing method and equipment, can ensure the business continuity of network data processing Application performance is improved while property.
First aspect, there is provided a kind of network data processing method, including:
The network data processing request message that user operates network object triggering is received, the network data processing request disappears Breath includes the data type of action type and network data and the network data;
At least determine the local application of a matching to handle according to the action type and the data type State network data;
The result that the local application of the matching is handled to the network data is sent out by user agent module Give the network object.
Based in a first aspect, in the first possible implementation, according to the action type and the data type A local application matched is at least determined to handle the network data, including:
According to the action type and the data type, however, it is determined that the local application of multiple matchings be present, then show Show the mark of the local application of the multiple matching, so that user determines to carry out the local application of network data processing Mark;
It is corresponding with the mark of the local application originally according to the mark of the local application of determination, startup Ground application program handles the network data.
With reference to the possible implementation of the first of first aspect and first aspect, in second of possible implementation In, after the local application that a matching is at least determined according to the action type and the data type, including:
Store the mark of the local application of the carry out network data processing of the determination and the locally applied journey The action type and data type of the sequence processing network data.
Second aspect, there is provided a kind of network data processing equipment, including:
Receiving module, the network data processing request message of network object triggering, the network are operated for receiving user Data processing request message includes the data type of action type and network data and the network data;
Locally applied module, at least determining the local of a matching according to the action type and the data type Application program is to handle the network data;
Sending module, for the local application of the matching is handled the result of the network data by using Family proxy module is sent to the network object.
The third aspect, there is provided a kind of network data processing method, including:
User agent module receives the network data processing request message that user operates network object triggering, the network number Include the data type of action type and network data and the network data according to processing request message;
The network data processing request message is sent to locally applied module by the user agent module;It is so that described Locally applied module at least determines a local application matched to locate according to the action type and the data type The network data is managed, and the result of the network data is sent to the user agent module;
The result for the network data that the user agent module sends the locally applied module is sent to The network object;
The user agent module and the locally applied module are located at user terminal.
Based on the third aspect, in the first possible implementation, the user agent module by operating system with The locally applied module establishes interprocess communication connection.
Based on the possible implementation of the first of the third aspect and the third aspect, in second of possible implementation In, after the network data processing request message is sent to locally applied module by the user agent module, in addition to:
The user agent module receives the mark of the local application for the matching that the locally applied module is sent Know list, the identification list of the local application of the matching includes the mark of the local application of multiple matchings;
The user agent module shows the identification list of the local application of the matching, so that user's selection is handled The local application of the network data.
Second of possible implementation based on the third aspect, in the third possible implementation, the user Proxy module shows the identification list of the local application of the matching, so that user selects to handle the sheet of the network data After ground application program, in addition to:
The user agent module is sent to the locally applied module starts local application request message, described to open Dynamic local application request message includes the mark of the local application of the selection;So that the locally applied module Start local application corresponding with the mark of the local application of the selection, so that the locally applied journey of the startup Sequence carries out the processing of the network data.
Second of possible implementation based on the third aspect, in the 4th kind of possible implementation, the user Before the mark of the local application of the selection is sent to the locally applied module by proxy module, including:
The user agent module is locally applied by the mark of the local application of the selection and the selection The data type of action type and local application progress network data processing that program carries out network data processing is entered Row preserves.
Fourth aspect, there is provided a kind of network data processing method, including:
Locally applied module receives the network data processing request message that user agent module is sent, at the network data It is the network data processing request message that user operates network object triggering to manage request message, and the network data processing request disappears Breath includes the data type of action type and network data and the network data;
The locally applied module at least determines the local of a matching according to the action type and the data type Application program is to handle the network data;
The result of the network data is sent to the user agent module by the locally applied module;So that institute State user agent module and the result of the network data is sent to the network object;
The user agent module and the locally applied module are located at user terminal.
Based on fourth aspect, in the first possible implementation, the locally applied module and the user agent Interprocess communication connection is established between module.
Based on fourth aspect, in second of possible implementation, the locally applied module is according to the operation class Type and the data type at least determine the local application of a matching with before handling the network data, including:
The locally applied module receives and preserved the log-on message that multiple local applications are sent respectively, the multiple Include the mark of corresponding local application in log-on message respectively, the corresponding local application carries out network data The action type of processing and and the network data data type.
Second of possible implementation based on fourth aspect and fourth aspect, in the third possible implementation In, the locally applied module at least determines the locally applied journey of a matching according to the action type and the data type Sequence is specifically included with handling the network data:
In the network data processing request message that the locally applied module is sent according to the user agent module Including the action type and the data type, inquire about the log-on message of the preservation;
If it is determined that when the local application of multiple matchings be present, the locally applied module should by the local of the matching The user agent module is sent to the identification list of program, described in the identification list of the local application of the matching The mark of the local application of multiple matchings;So that the user agent module shows the local application of the matching Identification list, so that user selects to carry out the local application of network data processing;
The locally applied module receives the startup local application request message that the user agent module is sent, institute State the mark for starting the local application that local application request message includes the selection;
The locally applied module starts local application corresponding with the mark of the local application of the selection, So that the local application of the startup handles the network data.
The present invention is when receiving user's operation network object triggering network data processing request message, according to network data The action type and the data type of network data and the network data included in processing request message, at least determines one The local application of matching is to handle the network data, because the network data processing method of the embodiment of the present invention is not based on Web application, thus it is not easy to be influenceed by network condition, it is ensured that the continuity of network data processing business;
Meanwhile the local application that the present invention is installed using terminal extends existing network come network data The application of data processing mechanism, and local application has had the good Consumer's Experience and network of local application concurrently The cross-platform advantage of application program, the application performance of network data processing mechanism can be improved.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet for the network data processing method that one embodiment of the invention provides;
Fig. 2 is the signaling diagram for the network data processing method that another embodiment of the present invention provides;
Fig. 3 is the structural representation for the network data processing equipment that another embodiment of the present invention provides;
Fig. 4 is the structural representation for the network data processing equipment that another embodiment of the present invention provides;
Fig. 5 is the schematic flow sheet for the network data processing method that another embodiment of the present invention provides;
Fig. 6 is the schematic flow sheet for the network data processing method that another embodiment of the present invention provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
It should be noted that in following embodiment, user agent module(English:User Agent, abbreviation UA)Work( It can be realized in actual applications using browser;The Internet, applications that network object provides for server, concrete form Can be to include the webpages such as word, picture, video, wherein, user agent module can be with network pair by application programming interfaces As carrying out information exchange.
Fig. 1 is the schematic flow sheet for the network data processing method that one embodiment of the invention provides, as shown in figure 1, this reality Applying the network data processing method of example can include:
101st, the network data processing request message that user operates network object triggering is received, the network data processing please Message is asked to include the data type of action type and network data and the network data.
Wherein, the present embodiment is used to represent action type, such as editor's (English using action parameters:Edit), share (English:share)Deng using the data type of Type parameter expression network data, such as JPEG's (English: Joint Photographic Experts Group, abbreviation JPG) formulate standard image format or GIF(Graphic Interchange format)(English: Graphics Interchange Format, abbreviation GIF)Deng.
Step 101 is in specific implementation, it is assumed that user browses news web page by browser, it is desirable to by news web page One photo is shared with good friend, but first editing photo is needed before share photos are to good friend, such as adds on photo Description, but there is no the function of editing photo on news web page, and user can operate news web page triggering network data processing please Message is sought, network data processing request message is also known as intent events, what the network data processing request message included Action type is edit, and the data type of network data is, for example, JPG, and network data exactly needs picture data to be processed.
102nd, at least determine that the local of a matching should according to the data type of the action type and the network data With program to handle the network data.
It should be noted that user terminal is provided with multiple local applications, and by the local application of installation Locally applied module is registered to, for example, the mark of each local application is preserved in locally applied module, and each The action type and data type for the network data that local application can be handled;The local used due to the embodiment of the present invention Application program is to use graphic user interface(English:Graphical User Interface, abbreviation GUI)As expression layer, And the internal logic processing of each local application uses network technology, such as HTML(English: Hypertext Markup Language, abbreviation HTML)Or one kind can allow the more lively programming language of webpage(English: Java script), therefore, had the cross-platform advantage of the good Consumer's Experience and web application of local application concurrently.
It should be noted that user agent module in the present embodiment by the application programming interfaces request of operating system with Locally applied module establishes interprocess communication connection, such as establishes the connection of Dbus process communications, passes through Dbus process communication machines The network data processing request message of triggering can be sent to locally applied module by system, user agent module.
Accordingly, locally applied module can at least determine a matching according to the action type and the data type Local application to handle the network data.
In an embodiment of the invention, locally applied module is according to the action type and the data type, If it is determined that the local application of multiple matchings be present, then the mark of the local application of the multiple matching is shown, so that User determines to carry out the mark of the local application of network data processing;According to the mark of the local application of determination Know, start local application corresponding with the mark of the local application and handle the network data.
In an embodiment of the invention, one is at least determined according to the action type and the data type After the local application matched somebody with somebody is to handle the network data, the local for storing the carry out network data processing of the determination should With the mark of program and the action type and data type of the local application network data.
The 103rd, result that the local application of the matching is handled to the network data passes through user agent's mould Block is sent to the network object.
The embodiment of the present invention is when receiving user's operation network object triggering network data processing request message, according to net The action type and the data type of network data and the network data included in network data processing request message, at least really The local application of a fixed matching to handle the network data, due to the embodiment of the present invention network data processing method not It is to be based on web application, thus it is not easy to be influenceed by network condition, it is ensured that the company of network data processing business Continuous property;
Meanwhile the local application that the present invention is installed using terminal extends existing network come network data The application of data processing mechanism, and local application has had the good Consumer's Experience and network of local application concurrently The cross-platform advantage of application program, the application performance of network data processing mechanism can be improved.
Fig. 2 is the signaling diagram for the network data processing method that one embodiment of the invention provides, as shown in Fig. 2 the present embodiment Network data processing method can include:
201st, user agent module receives the network data processing request message that user operates network object triggering.
A network data processing request message is triggered when user operates network object, user agent module can obtain net Network data processing request message, wherein network data processing request message include action type(Action parameters)With network number According to data type(Type parameters), network data processing event is also known as intent events.
202nd, user agent module sends network data processing request message to locally applied module.
Specifically, user agent module can establish Dbus interprocess communications by operating system and locally applied module and connect Connect, connected by Dbus interprocess communications to locally applied module and send network data processing request message.
203rd, locally applied module is according to action type and the data type of network data, it is determined that the locally applied journey of matching Sequence.
Wherein, local application(English:Local Web Application)User terminal local is mounted in, and And each local application is after mounting, is registered to locally applied module, each registration is preserved in locally applied module Local application log-on message, such as the mark including local application, and the local application can locate Manage the action type of network data and the data type of network data.
204th, the local application mark of matching is sent to user agent module by locally applied module.
It should be noted that assume that locally applied module is determined during the local application of multiple matchings, it is necessary to pass through step The mark of the local application of multiple matchings is sent to user agent module by rapid 204, if locally applied module only determines one During the local application of individual matching, then flat matching local application can be directly initiated with network data.
205th, user agent module shows the mark of the local application of matching for selection by the user.
206th, the local application mark for the carry out network data processing that user selects is sent to by user agent module Locally applied module.
207th, the local application mark for the carry out network data processing that locally applied module selects according to user starts Corresponding local application.
208th, the result of network data is sent to user agent's mould by local application by locally applied module Block.
Specifically, local application can carry out asynchronous process with network data, and result be passed through locally applied Dbus interprocess communication linkup transmits between module and user agent module are to user agent module.
209th, the result of network data is sent to the network object by user agent module.
The present invention is when receiving user's operation network object triggering network data processing request message, according to network data The action type and the data type of network data and the network data included in processing request message, at least determines one The local application of matching is to handle the network data, because the network data processing method of the embodiment of the present invention is not based on Web application, thus it is not easy to be influenceed by network condition, it is ensured that the continuity of network data processing business;
Meanwhile the local application that the present invention is installed using terminal extends existing network come network data The application of data processing mechanism, and local application has had the good Consumer's Experience and network of local application concurrently The cross-platform advantage of application program, the application performance of network data processing mechanism can be improved.
Fig. 3 is the structural representation for the network data processing equipment that another embodiment of the present invention provides;As shown in figure 3, bag Include:
Receiving module 31, the network data processing request message of network object triggering, the net are operated for receiving user Network data processing request message includes the data type of action type and network data and the network data;
Locally applied module 32, at least determining one according to the data type of the action type and the network data The local application of individual matching is to handle the network data;
Sending module 33, the result for the local application of the matching to be handled to the network data pass through User agent module is sent to the network object.
Wherein, locally applied module 32 is specifically used for:According to the action type and the data type of network data, if really Surely the local application of multiple matchings be present, then the mark of the local application of the multiple matching is shown in the net Network, so that user determines to carry out the mark of the local application of network data processing;According to the locally applied journey of determination The mark of sequence, start local application corresponding with the mark of the local application and handle the network data.
For example, the equipment also includes:Memory module 34, for storing the carry out network data processing of the determination Local application mark and the local application handle the action type and data type of the network data.
The present invention is when receiving user's operation network object triggering network data processing request message, according to network data The action type and the data type of network data and the network data included in processing request message, at least determines one The local application of matching is to handle the network data, because the network data processing method of the embodiment of the present invention is not based on Web application, thus it is not easy to be influenceed by network condition, it is ensured that the continuity of network data processing business;
Meanwhile the local application that the present invention is installed using terminal extends existing network come network data The application of data processing mechanism, and local application has had the good Consumer's Experience and network of local application concurrently The cross-platform advantage of application program, the application performance of network data processing mechanism can be improved.
Fig. 4 is the structural representation for the network data processing equipment that another embodiment of the present invention provides;As shown in figure 4, bag Include:Processor 41, memory 42 and communication bus 43, the processor 41 are connected by communication bus 43 with memory 42, institute State the instruction preserved in memory 42 and realize network data processing method;Further, the network data processing equipment is also Including communication interface 44, communicated by the communication interface with other network element devices.Further, the network data processing is set It is standby also to include display 45.
When the processor 41 transfers the instruction preserved in memory 42, can perform user agent module function and The function of locally applied module, the processor can perform following steps:
The network data processing request message that user operates network object triggering is received, the network data processing request disappears Breath includes the data type of action type and network data and the network data;
The locally applied journey of a matching is at least determined according to the data type of the action type and the network data Sequence is to handle the network data;
The result that the local application of the matching is handled to the network data is sent out by user agent module Give the network object.
Based in a first aspect, in the first possible implementation, according to the number of the action type and network data A local application matched is at least determined according to type to handle the network data, including:
According to the action type and the data type of network data, however, it is determined that the locally applied journey of multiple matchings be present Sequence, then the mark of the local application of the multiple matching is shown by display 45, so that user determines to carry out network number According to the mark of the local application of processing;
It is corresponding with the mark of the local application originally according to the mark of the local application of determination, startup Ground application program handles the network data.
Based in a first aspect, in second of possible implementation, according to the action type sum of the network data After at least determining a local application matched to handle the network data according to type, including:
Stored by the memory 42 mark of the local application of the carry out network data processing of the determination with And the local application handles the action type and data type of the network data.
The present invention is when receiving user's operation network object triggering network data processing request message, according to network data The action type and the data type of network data and the network data included in processing request message, at least determines one The local application of matching is to handle the network data, because the network data processing method of the embodiment of the present invention is not based on Web application, thus it is not easy to be influenceed by network condition, it is ensured that the continuity of network data processing business;
Meanwhile the local application that the present invention is installed using terminal extends existing network come network data The application of data processing mechanism, and local application has had the good Consumer's Experience and network of local application concurrently The cross-platform advantage of application program, the application performance of network data processing mechanism can be improved.
Fig. 5 is the schematic flow sheet for the network data processing method that another embodiment of the present invention provides, as shown in figure 5, this The network data processing method of embodiment can include:
501st, user agent module receives the network data processing request message that user operates network object triggering, the net Network data processing request message includes the data type of action type and network data and the network data.
In an embodiment of the invention, when user operate network object share photos to good friend, still, sharing First editing photo is needed before, such as adds some descriptions on photo, but the network object does not have the function of editing photo, Network object can trigger network data processing request message according to user instruction, and network data processing request message is sent to User agent module, during specific implementation, for example, one editor of addition on the photo side shared can be needed in network object (English:Edit) button, editor's (English in network object is clicked on as user:Edit) during button, the network object will trigger Network data processing request message be sent to user agent module, to notify the user agent module network object needs The function of editing picture;Wherein, the network data processing request message includes action type and network data and described The data type of network data;Wherein, action type is edit, and the data type of network data is, for example, JPG, wherein, JPG is A kind of picture format, the network data exactly need picture data to be processed.
502nd, the network data processing request message is sent to locally applied module by the user agent module;So that The locally applied module at least determines that the local of a matching should according to the data type of the action type and network data With program to handle the network data, and the result of the network data is sent to the user agent module.
It should be noted that user agent module and locally applied module are respectively positioned on user terminal, wherein, locally applied mould Block provides local application to carry out network data processing for the network data processing request message that network object triggers.Example Such as, user terminal is provided with multiple local applications, and the local application of installation is registered into locally applied module, Therefore, the mark of the local application of user terminal installation, and each locally applied journey are preserved in locally applied module The action type for the network data that sequence can be handled and the data type of network data.
Because the local application that the embodiment of the present invention uses is to use graphic user interface(English:Graphical User Interface, abbreviation GUI)As expression layer, and the internal logic processing of each local application uses web skills Art, such as HTML(English:Hypertext Markup Language, abbreviation HTML)Or one kind can allow webpage More lively programming language(English:Java script), therefore, had the good user's body of local application concurrently Test the cross-platform advantage with weblication.
In an embodiment of the invention, user agent module can be asked by the application programming interfaces of operating system Ask and establish interprocess communication with locally applied module and be connected, such as establish Dbus process communications connection, pass through Dbus process communications Connection, user agent module can send the network data processing request message to locally applied module.
Accordingly, after locally applied module receives network data processing request message, according to the action type and The data type of the network data can at least determine the local application of a matching to handle the network data, and The result of the network data is given to the user agent module by the interprocess communication linkup transmit of foundation.
In an embodiment of the invention, locally applied module is according to the action type and the data of the network Type, however, it is determined that the local application of multiple matchings, locally applied module is by the generation of the local applications of multiple matchings The identification list for the local application matched somebody with somebody, and the identification list of the local application of the matching is sent to user agent's mould Block, user agent module show the identification list of the local application of the matching, so that user selects to carry out network data The local application of processing.
Afterwards, user agent module is sent to locally applied module starts local application request message, the startup Local application request message includes the mark of the local application of the carry out network data processing of above-mentioned user's selection; It should be noted that in actual applications, user agent module is connected to locally applied module by Dbus process communications and sent Start local application request message, further, following ginseng can be carried in local application request message is started Number:
Intent_method_call:(intent requests);
application ID:Application program identification;
origin_message_no:Start the mark of local application request message, match somebody with somebody for the response with return It is right.
Accordingly, locally applied module starts locally applied journey corresponding with the mark of the local application of the selection Sequence, it would be desirable to which the local application that the network data of processing is sent to startup is handled.
It should be noted that in actual applications, after local application starts and receives network data, return immediately One starts successful response and gives locally applied module, and the successful response of the startup is sent to user agent's mould by locally applied mould The successful response of the startup is sent to network object by block, user agent module.
After local application network data, the result of network data is sent to locally applied module, The result of network data is sent to user agent module by locally applied module.Wherein, the result bag of network data Containing following parameter:
intent_method_return;Intent results;
origin_message_no:Result identifies;
success_flg or failure_flg:Achievement unsuccessfully identifies;
data:The detailed data of result, or the reason for processing failure.
In an embodiment of the invention, can be grasped according to the identification list of the local application of matching, user Make the local application that network object selects the network data processing of a progress, afterwards, user agent module can be to this The local application of selection is registered, i.e., the carry out network data processing that user agent module selects the network object Local application mark and the local application carry out network data processing action type and the application The data type that program carries out network data processing is preserved.
503rd, the result for the network data that the user agent module sends the locally applied module turns Issue the network object.
The present invention is when receiving user's operation network object triggering network data processing request message, according to network data The action type and the data type of network data included in processing request message, at least determine the locally applied journey of a matching Sequence is to handle the network data, because the network data processing method of the embodiment of the present invention is not based on web application, because This, it is not easy to influenceed by network condition, it is ensured that the continuity of network data processing business;
Meanwhile the local application that the present invention is installed using terminal extends existing network come network data The application of data processing mechanism, and local application has had the good Consumer's Experience and network of local application concurrently The cross-platform advantage of application program, the application performance of network data processing mechanism can be improved.
Fig. 6 is the schematic flow sheet for the network data processing method that another embodiment of the present invention provides, as shown in fig. 6, this The network data processing method of embodiment can include:
601st, locally applied module receives the network data processing request message that user agent module is sent, the network number It is the network data processing request message that user operates network object triggering according to processing request message, the network data processing please Message is asked to include the data type of action type and network data and the network data.
602nd, the locally applied module according to the action type and the data type at least determine one matching Local application is to handle the network data.
For example, before step 602, the locally applied module receives and preserves multiple local applications respectively The log-on message of transmission, includes the mark of corresponding local application in the multiple log-on message respectively, it is described corresponding to Local application carry out network data processing action type and and the network data data type.
Further for example, include when step 602 implements:
In the network data processing request message that the locally applied module is sent according to the user agent module Including the action type and the data type, inquire about the log-on message of the preservation;If it is determined that multiple matchings be present During local application, the identification list of the local application of the matching is sent to the use by the locally applied module Family proxy module, the mark of the local application of multiple matchings described in the identification list of the local application of the matching Know;So that the user agent module shows the identification list of the local application of the matching, so that user selects to carry out The local application of network data processing;
The locally applied module receives the startup local application request message that the user agent module is sent, institute State the mark for starting the local application that local application request message includes the selection;It should be noted that In practical application, user agent module connects to send to locally applied module by Dbus process communications starts local application Request message, further, following parameter can be carried in local application request message is started:
Intent_method_call:Intent is asked;
application ID:Application program identification;
origin_message_no:Start the mark of local application request message, match somebody with somebody for the response with return It is right.
The locally applied module starts local application corresponding with the mark of the local application of the selection, The local application for needing network data to be processed to be sent to startup is handled.It should be noted that in practical application In, after local application starts and receives network data, a successful response of startup is returned immediately and gives locally applied mould The successful response of the startup is sent to user agent module by block, locally applied mould, and user agent module is successful by the startup Response is sent to network object.After local application network data, the result of network data is sent to this Ground application module, wherein, the result of network data includes following parameter:
intent_method_return;Intent results;
origin_message_no:Result identifies;
success_flg or failure_flg:Achievement unsuccessfully identifies;
data:The detailed data of result, or the reason for processing failure.
603rd, the result of the network data is sent to the user agent module by the locally applied module;With Make the user agent module that the result of the network data is sent into the network object.
In the present embodiment, the user agent module and the locally applied module are located at user terminal, and the local should Connected with interprocess communication is established between module and the user agent module.
The present invention is when receiving user's operation network object triggering network data processing request message, according to network data The action type and the data type of network data included in processing request message, at least determine the locally applied journey of a matching Sequence is to handle the network data, because the network data processing method of the embodiment of the present invention is not based on web application, because This, it is not easy to influenceed by network condition, it is ensured that the continuity of network data processing business;
Meanwhile the local application that the present invention is installed using terminal extends existing network come network data The application of data processing mechanism, and local application has had the good Consumer's Experience and network of local application concurrently The cross-platform advantage of application program, the application performance of network data processing mechanism can be improved.
It is apparent to those skilled in the art that for convenience and simplicity of description, the equipment of foregoing description Specific work process, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through Its mode is realized.For example, apparatus embodiments described above are only schematical, for example, the division of the module, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple module or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication link of module Connect, can be electrical, mechanical or other forms.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit realized in the form of SFU software functional unit, one can be stored in the form of code and is counted In calculation machine read/write memory medium.Above-mentioned code is stored in a computer-readable recording medium, including some instructions to Processor or hardware circuit is set to perform the part or all of step of each embodiment methods described of the present invention.And foregoing storage is situated between Matter includes:USB without the miniature high power capacity mobile storage disc of phisical drive, mobile hard disk, read-only deposit Reservoir(English:Read-Only Memory, abbreviation ROM), random access memory(English:Random Access Memory, Abbreviation RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modifications or replacement, the essence of appropriate technical solution is departed from the protection model of various embodiments of the present invention technical scheme Enclose.

Claims (6)

  1. A kind of 1. network data processing method, it is characterised in that including:
    The network data processing request message that user operates network object triggering is received, in the network data processing request message Data type including action type and network data and the network data;
    One local application matched is at least determined according to the action type and the data type to handle the net Network data;
    The result that the local application of the matching is handled to the network data is sent to by user agent module The network object;
    After the local application that a matching is at least determined according to the action type and the data type, including:
    Store at mark and the local application of the local application of the carry out network data processing of the determination Manage the action type and data type of the network data;
    One local application matched is at least determined according to the action type and the data type to handle the net Network data, including:
    According to the action type and the data type, however, it is determined that the local application of multiple matchings be present, then show institute The mark of the local application of multiple matchings is stated, so that user determines to carry out the mark of the local application of network data processing Know;
    According to the mark of the local application of determination, startup is corresponding with the mark of the local application locally should The network data is handled with program.
  2. A kind of 2. network data processing equipment, it is characterised in that including:
    Receiving module, the network data processing request message of network object triggering, the network data are operated for receiving user Processing request message includes the data type of action type and network data and the network data;
    Locally applied module, for according to the action type and the data type at least determine one matching it is locally applied Program is to handle the network data;
    Sending module, the result for the local application of the matching to be handled to the network data pass through user's generation Reason module is sent to the network object;
    The equipment also includes memory module, the local application of the carry out network data processing for storing the determination Mark and the local application handle the action type and data type of the network data;
    The locally applied module is specifically used for:According to the action type and the data type, however, it is determined that there is multiple The local application matched somebody with somebody, then the mark of the local application of the multiple matching is shown, so that user determines to carry out network The mark of the local application of data processing;
    According to the mark of the local application of determination, startup is corresponding with the mark of the local application locally should The network data is handled with program.
  3. A kind of 3. network data processing method, it is characterised in that including:
    User agent module receives the network data processing request message that user operates network object triggering, at the network data Reason request message includes the data type of action type and network data and the network data;
    The network data processing request message is sent to locally applied module by the user agent module;So that the local Application module at least determines the local application of a matching to handle according to the action type and the data type Network data is stated, and the result of the network data is sent to the user agent module;
    The result for the network data that the user agent module sends the locally applied module is sent to described Network object;
    The user agent module and the locally applied module are located at user terminal;
    After the network data processing request message is sent to locally applied module by the user agent module, in addition to:
    The user agent module receives the identity column of the local application for the matching that the locally applied module is sent Table, the identification list of the local application of the matching include the mark of the local application of multiple matchings;
    The user agent module shows the identification list of the local application of the matching, so as to described in user's selection processing The local application of network data;
    The user agent module shows the identification list of the local application of the matching, so as to described in user's selection processing After the local application of network data, in addition to:
    The user agent module is sent to the locally applied module starts local application request message, described to start this Ground application requests message includes the mark of the local application of the selection;The user agent module is to described Ground application module is sent before starting local application request message, including:The user agent module is by the selection The mark of local application and the local application of the selection carry out the action type of network data processing and described The data type that local application carries out network data processing is preserved;So that the locally applied module start with it is described Local application corresponding to the mark of the local application of selection, so that described in the local application progress of the startup The processing of network data.
  4. 4. according to the method for claim 3, it is characterised in that the user agent module passes through operating system and described Ground application module establishes interprocess communication connection.
  5. A kind of 5. network data processing method, it is characterised in that including:
    Locally applied module receives the network data processing request message that user agent module is sent, and the network data processing please Message is asked to operate the network data processing request message of network object triggering for user, in the network data processing request message Data type including action type and network data and the network data;
    The locally applied module according to the action type and the data type at least determine one matching it is locally applied Program is to handle the network data;
    The result of the network data is sent to the user agent module by the locally applied module;So that the use The result of the network data is sent to the network object by family proxy module;
    The user agent module and the locally applied module are located at user terminal;
    The locally applied module according to the action type and the data type at least determine one matching it is locally applied Program with before handling the network data, including:
    The locally applied module receives and preserved the log-on message that multiple local applications are sent, multiple log-on messages respectively The middle mark for including corresponding local application respectively, the corresponding local application carry out the behaviour of network data processing Make type and and the network data data type;
    The locally applied module according to the action type and the data type at least determine one matching it is locally applied Program is specifically included with handling the network data:
    The network data processing request message that the locally applied module is sent according to the user agent module includes The action type and the data type, inquire about the log-on message of the preservation;
    If it is determined that when the local application of multiple matchings be present, the locally applied module is by the locally applied journey of the matching The identification list of sequence is sent to the user agent module, multiple described in the identification list of the local application of the matching The mark of the local application of matching;So that the user agent module shows the mark of the local application of the matching List, so that user selects to carry out the local application of network data processing;
    The locally applied module receives the startup local application request message that the user agent module is sent, described to open Dynamic local application request message includes the mark of the local application of the selection;
    The locally applied module starts local application corresponding with the mark of the local application of the selection, so that The local application of the startup handles the network data.
  6. 6. according to the method for claim 5, it is characterised in that the locally applied module and the user agent module it Between establish interprocess communication connection.
CN201310020028.7A 2012-11-19 2013-01-18 Network data processing method and equipment Active CN103823821B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310020028.7A CN103823821B (en) 2012-11-19 2013-01-18 Network data processing method and equipment
PCT/CN2013/085233 WO2014075526A1 (en) 2012-11-19 2013-10-15 Network data processing method and device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201210466840.8 2012-11-19
CN201210466840 2012-11-19
CN2012104668408 2012-11-19
CN201310020028.7A CN103823821B (en) 2012-11-19 2013-01-18 Network data processing method and equipment

Publications (2)

Publication Number Publication Date
CN103823821A CN103823821A (en) 2014-05-28
CN103823821B true CN103823821B (en) 2018-02-23

Family

ID=50730573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310020028.7A Active CN103823821B (en) 2012-11-19 2013-01-18 Network data processing method and equipment

Country Status (2)

Country Link
CN (1) CN103823821B (en)
WO (1) WO2014075526A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760395A (en) * 2014-12-18 2016-07-13 华为技术有限公司 Data processing method, device and system
JP6701903B2 (en) * 2016-04-08 2020-05-27 オムロンヘルスケア株式会社 Terminal
CN110365720B (en) * 2018-03-26 2021-02-12 华为技术有限公司 Method, device and system for processing resource request
CN109040251A (en) * 2018-08-07 2018-12-18 中国建设银行股份有限公司 A kind of processing method and system of asynchronous message

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005505051A (en) * 2001-10-02 2005-02-17 サイトリックス システムズ,インコーポレイテッド Distributed program execution method based on file type relationship in client-server network
US20030093508A1 (en) * 2001-10-18 2003-05-15 Seiko Epson Corporation System for installing and launching network applications
US20060059174A1 (en) * 2004-09-16 2006-03-16 International Business Machines Corporation Apparatus, system, and method for locating an application compatible with a file
CN101493817A (en) * 2008-01-21 2009-07-29 宏达国际电子股份有限公司 File opening method

Also Published As

Publication number Publication date
CN103823821A (en) 2014-05-28
WO2014075526A1 (en) 2014-05-22

Similar Documents

Publication Publication Date Title
CN105045887B (en) The system and method for mixed mode cross-domain data interaction
CN102664909B (en) Re-establishing push notification channels via user identifiers
CN103729425B (en) Operate response method, client, browser and system
US20150161089A1 (en) Method, Device And Mobile Terminal For Restoring Page
CN107391664A (en) Page data processing method and system based on WEB
CN104462534A (en) Network information sharing method and device
CN103823821B (en) Network data processing method and equipment
CN102272747A (en) Method and apparatus for managing state information of remote user interface
CN103747074B (en) mobile monitoring system based on Web server
CN102447720A (en) Method for remotely controlling personal computer (PC) by mobile phone
KR20150005547A (en) Binding crud-type protocols in distributed agreement protocols
CN105095220B (en) A kind of browser implementation method, terminal and virtualization agent device
CN104010031A (en) Distributed cooperative method improving application efficiency of Web browser
CN104040995B (en) Multimedia redirection method, multimedia server, and computer system
CN108632301A (en) A kind of log in renews processing method and terminal after state fails
WO2023005163A1 (en) Method for loading application page, storage medium and related device thereof
CN109639749A (en) Access method, device, equipment and the storage medium of cloud desktop
CN106549989A (en) A kind of data transmission method and its system, user terminal, application server
CN109274705A (en) Service providing method, apparatus and system based on user identity
CN104142975A (en) Microblog information promotion method, device and system
CN101770511B (en) Browse system for accelerating backspace operation of mobile communication equipment terminal and application method thereof
CN113055348B (en) Cross-platform data request method and device and electronic equipment
CN112379938A (en) Cross-browser safe local application calling method based on domestic operating system
US9760326B2 (en) Print facilitation
CN107979577A (en) A kind of method and apparatus of terminal authentication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20171030

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: Huawei Device Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.

CP01 Change in the name or title of a patent holder