CN103823821A - Method and equipment for processing web data - Google Patents

Method and equipment for processing web data Download PDF

Info

Publication number
CN103823821A
CN103823821A CN201310020028.7A CN201310020028A CN103823821A CN 103823821 A CN103823821 A CN 103823821A CN 201310020028 A CN201310020028 A CN 201310020028A CN 103823821 A CN103823821 A CN 103823821A
Authority
CN
China
Prior art keywords
local application
network data
module
data processing
user agent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310020028.7A
Other languages
Chinese (zh)
Other versions
CN103823821B (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 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 Co Ltd filed Critical Huawei Device 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

Images

Classifications

    • 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
    • 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

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

An embodiment of the invention discloses a method and equipment for processing web data. The method includes receiving web data processing request information triggered by a web object which is operated by a user; at least determining a matched local application program according to an operation type and a data type so as to process the web data; transmitting a processing result of the web data processed by the matched local application program to the web object via a proxy module of the user. The web data processing request information contains the operation type, the web data and the data type of the web data. The method and the equipment have the advantages that the method and the equipment cannot be affected by web conditions easily, and accordingly the continuity of web data processing business can be guaranteed.

Description

Network data processing method and equipment
Technical field
The embodiment of the present invention relates to field of computer technology, relates in particular to a kind of network data processing method and equipment.
Background technology
Conventionally, communication mechanism between discovery mechanism and the web application of the pack processing includes network service to network data, for example, user wishes a photo on network to be shared with good friend, but send to again good friend after needing this photo to edit or describe, existing disposal route is by requester network (English: web) application library, determine whether that adaptive web application processes this network data, if define adaptive web application, starting this web application processes network data, and result is shown on webpage again.
But the network data processing method of above-mentioned application program Network Based is easily subject to the impact of network condition, for example, when network condition is poor, easily cause the service disconnection of network data processing, affect application performance.
Summary of the invention
The embodiment of the present invention provides network data processing method and equipment, improves application performance when can guaranteeing the business continuance of network data processing.
First aspect, provides a kind of network data processing method, comprising:
The network data processing request message that receives user's operational network objects trigger, described network data processing request message comprises the data type of action type and network data and described network data;
The local application of at least determining a coupling according to described action type and described data type is to process described network data;
The result of the local application of described coupling being processed to described network data sends to described network object by user agent module.
Based on first aspect, in the possible implementation of the first,, comprising to process described network data according to the local application of described action type and at least definite coupling of described data type:
According to described action type and described data type, if determine the local application that has multiple couplings, show the mark of the local application of described multiple couplings, so that user determines the mark of the local application that carries out network data processing;
According to the mark of the described local application of determining, start the local application corresponding with the mark of described local application and process described network data.
In conjunction with the possible implementation of the first of first aspect and first aspect, in the possible implementation of the second, after the local application of described action type and at least definite coupling of described data type, comprising:
Store the mark of described definite local application that carries out network data processing and described local application and process action type and the data type of described network data.
Second aspect, provides a kind of network data processing equipment, comprising:
Receiver module, for receiving the network data processing request message of user's operational network objects trigger, described network data processing request message comprises the data type of action type and network data and described network data;
Local application module, for the local application of at least determining a coupling according to described action type and described data type to process described network data;
Sending module, sends to described network object for the result of the local application of described coupling being processed to described network data by user agent module.
The third aspect, provides a kind of network data processing method, comprising:
User agent module receives the network data processing request message of user's operational network objects trigger, and described network data processing request message comprises the data type of action type and network data and described network data;
Described network data processing request message is sent to local application module by described user agent module; So that the local application that described local application module is at least determined a coupling according to described action type and described data type to be to process described network data, and the result of described network data is sent to described user agent module;
The result of the described network data that described user agent module sends described local application module sends to described network object;
Described user agent module and described local application module are positioned at user terminal.
Based on the third aspect, in the possible implementation of the first, described user agent module is set up interprocess communication by operating system with described local application module and is connected.
The possible implementation of the first based on the third aspect and the third aspect, in the possible implementation of the second, described user agent module also comprises after described network data processing request message is sent to local application module:
Described user agent module receives the identification list of the local application of the described coupling of described local application module transmission, and the identification list of the local application of described coupling comprises the mark of the local application of multiple couplings;
Described user agent module shows the identification list of the local application of described coupling, so that user selects to process the local application of described network data.
The possible implementation of the second based on the third aspect, in the third possible implementation, described user agent module shows the identification list of the local application of described coupling, to after user selects to process the local application of described network data, also comprise:
Described user agent module sends and starts local application request message to described local application module, and described startup local application request message comprises the mark of the local application of described selection; So that the described local application module startup local application corresponding with the mark of the local application of described selection, so that the local application of described startup carries out the processing of described network data.
The possible implementation of the second based on the third aspect, in the 4th kind of possible implementation, described user agent module comprises before the mark of the local application of described selection is sent to described local application module:
Described user agent module is carried out by the local application of the mark of the local application of described selection and described selection the data type that the action type of network data processing and described local application carry out network data processing and is preserved.
Fourth aspect, provides a kind of network data processing method, comprising:
Local application module receives the network data processing request message that user agent module sends, described network data processing request message is the network data processing request message of user's operational network objects trigger, and described network data processing request message comprises the data type of action type and network data and described network data;
The local application that described local application module is at least determined a coupling according to described action type and described data type is to process described network data;
The result of described network data is sent to described user agent module by described local application module; So that the result of described network data is sent to described network object by described user agent module;
Described user agent module and described local application module are positioned at user terminal.
Based on fourth aspect, in the possible implementation of the first, between described local application module and described user agent module, set up interprocess communication and be connected.
Based on fourth aspect, in the possible implementation of the second, described local application module, comprising with before processing described network data according to the local application of described action type and at least definite coupling of described data type:
Described local application module receives respectively and preserves the log-on message that multiple local applications send, in described multiple log-on message, comprise respectively the mark of corresponding local application, the local application of described correspondence carries out action type and and the data type of described network data of network data processing.
The possible implementation of the second based on fourth aspect and fourth aspect, in the third possible implementation, described local application module, specifically comprises to process described network data according to the local application of described action type and at least definite coupling of described data type:
Described action type and described data type that the described network data processing request message that described local application module sends according to described user agent module comprises, inquire about the log-on message of described preservation;
If determine while there is the local application of multiple couplings, the identification list of the local application of described coupling is sent to described user agent module by described local application module, the mark of the local application of multiple couplings described in the identification list of the local application of described coupling; So that described user agent module shows the identification list of the local application of described coupling, so that user selects to carry out the local application of network data processing;
Described local application module receives the startup local application request message that described user agent module sends, and described startup local application request message comprises the mark of the local application of described selection;
The described local application module startup local application corresponding with the mark of the local application of described selection, so that the local application of described startup is processed described network data.
The present invention is in the time receiving user's operational network objects trigger network data processing request message, according to the data type of the action type comprising in network data processing request message and network data and described network data, the local application of at least determining a coupling is to process this network data, because the network data processing method of the embodiment of the present invention is not application program Network Based, therefore, be not easy to be subject to the impact of network condition, can guarantee the continuity of network data processing business;
Simultaneously, the local application that the present invention utilizes terminal to install carrys out network data, expand the range of application of existing network data processing mechanism, and the local application good user that had local application concurrently experiences and the cross-platform advantage of web application, can improve the application performance of network data processing mechanism.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The schematic flow sheet of the network data processing method that Fig. 1 provides for one embodiment of the invention;
The signaling diagram of the network data processing method that Fig. 2 provides for another embodiment of the present invention;
The structural representation of the network data processing equipment that Fig. 3 provides for another embodiment of the present invention;
The structural representation of the network data processing equipment that Fig. 4 provides for another embodiment of the present invention;
The schematic flow sheet of the network data processing method that Fig. 5 provides for another embodiment of the present invention;
The schematic flow sheet of the network data processing method that Fig. 6 provides for another embodiment of the present invention.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
It should be noted that, in following embodiment, the function of user agent module (English: User Agent, abbreviation UA) can adopt browser to realize in actual applications; The internet, applications that network object provides for server, concrete form can be for comprising the webpages such as word, picture, video, wherein, user agent module can be carried out information interaction with network object by application programming interfaces.
The schematic flow sheet of the network data processing method that Fig. 1 provides for one embodiment of the invention, as shown in Figure 1, the network data processing method of the present embodiment can comprise:
101, the network data processing request message that receives user's operational network objects trigger, described network data processing request message comprises the data type of action type and network data and described network data.
Wherein, the present embodiment adopts action parameter to be used for representing action type, for example editor's (English: edit), share (English: share) etc., adopt the data type of Type Parametric Representation network data, for example JPEG (joint photographic experts group) (English: Joint Photographic Experts Group, be called for short JPG) formulate standard image format or GIF(Graphic Interchange format) (English: Graphics Interchange Format, be called for short GIF) etc.
Step 101 is in the time of specific implementation, suppose that user browses news web page by browser, wish a photo in news web page to be shared with good friend, but before share photos is to good friend, need first editing photo, for example on photo, add some descriptions, on news web page, there is no the function of editing photo, user can operate news web page trigger network data processing request message, network data processing request message is called again intent event, the action type that described network data processing request message comprises is edit, the data type of network data is for example JPG, network data needs picture data to be processed exactly.
102, the local application of at least determining a coupling according to the data type of described action type and described network data is to process described network data.
It should be noted that, user terminal is provided with multiple local applications, and the local application of installation is all registered to local application module, for example, the mark of preserving each local application in local application module, and action type and the data type of the network data that can process of each local application; The local application adopting due to the embodiment of the present invention is to use graphic user interface (English: Graphical User Interface, be called for short GUI) as presentation layer, and the internal logic of each local application is processed use network technology, for example HTML (Hypertext Markup Language) (English: Hypertext Markup Language, be called for short HTML) or one can allow the more lively programming language of webpage (English: Java script), therefore, good user's experience of local application and the cross-platform advantage of web application have been had concurrently.
It should be noted that, user agent module in the present embodiment is set up interprocess communication by the application programming interfaces request of operating system with local application module and is connected, for example set up the connection of Dbus process communication, by Dbus Interprocess Communication Mechanism, user agent module can send to local application module by the network data processing request message of triggering.
Accordingly, the local application that local application module at least can be determined a coupling according to described action type and described data type is to process described network data.
In an embodiment of the invention, local application module is according to described action type and described data type, if determine the local application that has multiple couplings, show the mark of the local application of described multiple couplings, so that user determines the mark of the local application that carries out network data processing; According to the mark of the described local application of determining, start the local application corresponding with the mark of described local application and process described network data.
In an embodiment of the invention, with after processing described network data, store the mark of described definite local application that carries out network data processing and action type and the data type of described local application network data according to the local application of described action type and at least definite coupling of described data type.
103, the result of the local application of described coupling being processed to described network data sends to described network object by user agent module.
The embodiment of the present invention is in the time receiving user's operational network objects trigger network data processing request message, according to the data type of the action type comprising in network data processing request message and network data and described network data, the local application of at least determining a coupling is to process this network data, because the network data processing method of the embodiment of the present invention is not application program Network Based, therefore, be not easy to be subject to the impact of network condition, can guarantee the continuity of network data processing business;
Simultaneously, the local application that the present invention utilizes terminal to install carrys out network data, expand the range of application of existing network data processing mechanism, and the local application good user that had local application concurrently experiences and the cross-platform advantage of web application, can improve the application performance of network data processing mechanism.
The signaling diagram of the network data processing method that Fig. 2 provides for one embodiment of the invention, as shown in Figure 2, the network data processing method of the present embodiment can comprise:
201, user agent module receives the network data processing request message of user's operational network objects trigger.
When network data processing request message of user's operational network objects trigger, user agent module can be obtained network data processing request message, wherein network data processing request message comprises the data type (type parameter) of action type (action parameter) and network data, and network data processing event is called again intent event.
202, user agent module sends network data processing request message to local application module.
Particularly, user agent module can be set up Dbus interprocess communication by operating system and local application module and be connected, and is connected to local application module and is sent network data processing request message by Dbus interprocess communication.
203, local application module, according to the data type of action type and network data, is determined the local application of coupling.
Wherein, local application (English: Local Web Application) is mounted in user terminal this locality, and each local application is after installing, be registered to local application module, in local application module, preserve the log-on message of the local application of each registration, for example comprise the mark of local application, and this local application can the action type of network data and the data type of network data.
204, the local application mark of coupling is sent to user agent module by local application module.
It should be noted that, while supposing that local application module is determined the local application of multiple couplings, need to the mark of the local application of multiple couplings be sent to user agent module by step 204, if when local application module is only determined the local application of a coupling, can directly start flat coupling local application with network data.
205, the mark of the local application of user agent module demonstration coupling is selected for user.
206, the local application that carries out network data processing that user agent module is selected user identifies and sends to local application module.
207, the local application that carries out network data processing that local application module is selected according to user identifies and starts corresponding local application.
208, local application sends to user agent module by the result of network data by local application module.
Particularly, local application can network data carry out asynchronous process, and result is connected and is sent to user agent module by the Dbus interprocess communication between local application module and user agent module.
209, the result of network data is sent to described network object by user agent module.
The present invention is in the time receiving user's operational network objects trigger network data processing request message, according to the data type of the action type comprising in network data processing request message and network data and described network data, the local application of at least determining a coupling is to process this network data, because the network data processing method of the embodiment of the present invention is not application program Network Based, therefore, be not easy to be subject to the impact of network condition, can guarantee the continuity of network data processing business;
Simultaneously, the local application that the present invention utilizes terminal to install carrys out network data, expand the range of application of existing network data processing mechanism, and the local application good user that had local application concurrently experiences and the cross-platform advantage of web application, can improve the application performance of network data processing mechanism.
The structural representation of the network data processing equipment that Fig. 3 provides for another embodiment of the present invention; As shown in Figure 3, comprising:
Receiver module 31, for receiving the network data processing request message of user's operational network objects trigger, described network data processing request message comprises the data type of action type and network data and described network data;
Local application module 32, for the local application of at least determining a coupling according to the data type of described action type and described network data to process described network data;
Sending module 33, sends to described network object for the result of the local application of described coupling being processed to described network data by user agent module.
Wherein, local application module 32 specifically for: according to the data type of described action type and network data, if determine the local application that has multiple couplings, the mark of the local application of described multiple couplings is shown in to described network, so that user determines the mark of the local application that carries out network data processing; According to the mark of the described local application of determining, start the local application corresponding with the mark of described local application and process described network data.
For instance, described equipment also comprises: memory module 34, process action type and the data type of described network data for storing the mark of described definite local application that carries out network data processing and described local application.
The present invention is in the time receiving user's operational network objects trigger network data processing request message, according to the data type of the action type comprising in network data processing request message and network data and described network data, the local application of at least determining a coupling is to process this network data, because the network data processing method of the embodiment of the present invention is not application program Network Based, therefore, be not easy to be subject to the impact of network condition, can guarantee the continuity of network data processing business;
Simultaneously, the local application that the present invention utilizes terminal to install carrys out network data, expand the range of application of existing network data processing mechanism, and the local application good user that had local application concurrently experiences and the cross-platform advantage of web application, can improve the application performance of network data processing mechanism.
The structural representation of the network data processing equipment that Fig. 4 provides for another embodiment of the present invention; As shown in Figure 4, comprising: processor 41, storer 42 and communication bus 43, described processor 41 is connected with storer 42 by communication bus 43, in described storer 42, preserves the instruction that realizes network data processing method; Further, described network data processing equipment also comprises communication interface 44, communicates by letter with other network element devices by described communication interface.Further, described network data processing equipment also comprises display 45.
In the time that described processor 41 is transferred the instruction of preserving in storer 42, can carry out the function of user agent module and the function of local application module, described processor can be carried out following steps:
The network data processing request message that receives user's operational network objects trigger, described network data processing request message comprises the data type of action type and network data and described network data;
The local application of at least determining a coupling according to the data type of described action type and described network data is to process described network data;
The result of the local application of described coupling being processed to described network data sends to described network object by user agent module.
Based on first aspect, in the possible implementation of the first, the local application of at least determining a coupling according to the data type of described action type and network data, to process described network data, comprising:
According to the data type of described action type and network data, if determine the local application that has multiple couplings, show the mark of the local application of described multiple couplings by display 45, so that user determines the mark of the local application that carries out network data processing;
According to the mark of the described local application of determining, start the local application corresponding with the mark of described local application and process described network data.
Based on first aspect, in the possible implementation of the second,, comprising with after processing described network data according to the local application of the action type of described network data and at least definite coupling of data type:
Store the mark of described definite local application that carries out network data processing and described local application and process action type and the data type of described network data by described storer 42.
The present invention is in the time receiving user's operational network objects trigger network data processing request message, according to the data type of the action type comprising in network data processing request message and network data and described network data, the local application of at least determining a coupling is to process this network data, because the network data processing method of the embodiment of the present invention is not application program Network Based, therefore, be not easy to be subject to the impact of network condition, can guarantee the continuity of network data processing business;
Simultaneously, the local application that the present invention utilizes terminal to install carrys out network data, expand the range of application of existing network data processing mechanism, and the local application good user that had local application concurrently experiences and the cross-platform advantage of web application, can improve the application performance of network data processing mechanism.
The schematic flow sheet of the network data processing method that Fig. 5 provides for another embodiment of the present invention, as shown in Figure 5, the network data processing method of the present embodiment can comprise:
501, user agent module receives the network data processing request message of user's operational network objects trigger, and described network data processing request message comprises the data type of action type and network data and described network data.
In an embodiment of the invention, when user's operational network object share photos is to good friend, but, before sharing, need first editing photo, for example on photo, add some descriptions, when this network object does not have the function of editing photo, network object can be according to user instruction trigger network data processing request message, network data processing request message is sent to user agent module, when specific implementation, for example, on the photo limit that can need to share, add an editor (English: edit) button in network object, in the time that user clicks editor's (English: the edit) button in network object, the network data processing request message of triggering has been sent to user agent module by this network object, in order to notify this network object of user agent module to need the function of editing picture, wherein, described network data processing request message comprises the data type of action type and network data and described network data, wherein, action type is edit, and the data type of network data is for example JPG, and wherein, JPG is a kind of picture format, and described network data needs picture data to be processed exactly.
502, described network data processing request message is sent to local application module by described user agent module; So that described local application module at least determines that according to the data type of described action type and network data the local application of a coupling is to process described network data, and the result of described network data is sent to described user agent module.
It should be noted that, user agent module and local application module are all positioned at user terminal, wherein, local application module for network object trigger network data processing request message provide local application to carry out network data processing.For example, user terminal is provided with multiple local applications, and the local application of installation is registered to local application module, therefore, in local application module, preserve the mark of the local application that user terminal installs, and each local application action type of network data and the data type of network data that can process.
The local application adopting due to the embodiment of the present invention is to use graphic user interface (English: Graphical User Interface, be called for short GUI) as presentation layer, and the internal logic of each local application is processed the web technology that uses, for example HTML (Hypertext Markup Language) (English: Hypertext Markup Language, be called for short HTML) or one can allow the more lively programming language of webpage (English: Java script), therefore, good user's experience of local application and the cross-platform advantage of weblication have been had concurrently.
In an embodiment of the invention, user agent module can be set up interprocess communication with local application module by the application programming interfaces request of operating system and be connected, for example setting up Dbus process communication connects, connect by Dbus process communication, user agent module can send described network data processing request message to local application module.
Accordingly, after local application module receives network data processing request message, at least can determine that according to the data type of described action type and described network data the local application of a coupling is to process described network data, and the result of described network data is connected and sent to described user agent module by the interprocess communication of setting up.
In an embodiment of the invention, local application module is according to the data type of described action type and described network, if determine the local application of multiple couplings, local application module generates the local application of multiple couplings the identification list of the local application of coupling, and the identification list of the local application of this coupling is sent to user agent module, user agent module shows the identification list of the local application of described coupling, so that user selects to carry out the local application of network data processing.
Afterwards, user agent module sends and starts local application request message to local application module, and described startup local application request message comprises the mark of the local application that carries out network data processing of above-mentioned user's selection; It should be noted that, in actual applications, user agent module is connected to local application module and is sent and start local application request message by Dbus process communication, further, in startup local application request message, can carry following parameter:
Intent_method_call:(intent request);
Application ID: application program identification;
Origin_message_no: start the mark of local application request message, for the pairing of replying of returning.
Figure BDA00002752388500131
Accordingly, the local application module startup local application corresponding with the mark of the local application of described selection, sends to the local application of startup to process network data to be processed need.
It should be noted that, in actual applications, after local application starts and receives network data, returning to immediately a startup successfully replys to local application module, local application mould is successfully replied this startup and is sent to user agent module, and user agent module is successfully replied this startup and sent to network object.
After local application network data, the result of network data is sent to local application module, the result of network data is sent to user agent module by local application module.Wherein, the result of network data comprises following parameter:
Intent_method_return; Intent result;
Origin_message_no: result mark;
Success_flg or failure_flg: achievement or unsuccessfully mark;
Data: the detailed data of result, or process failed reason.
In an embodiment of the invention, according to the identification list of the local application of coupling, user can a network data processing of carrying out of operational network Object Selection local application, afterwards, user agent module can be registered the local application of this selection, and the mark of the local application that carries out network data processing that user agent module is selected described network object and described local application carry out the action type of network data processing and described application program and carry out the data type of network data processing and preserve.
The result of the described network data that 503, described user agent module sends described local application module is transmitted to described network object.
The present invention is in the time receiving user's operational network objects trigger network data processing request message, according to the data type of the action type comprising in network data processing request message and network data, the local application of at least determining a coupling is to process this network data, because the network data processing method of the embodiment of the present invention is not application program Network Based, therefore, be not easy to be subject to the impact of network condition, can guarantee the continuity of network data processing business;
Simultaneously, the local application that the present invention utilizes terminal to install carrys out network data, expand the range of application of existing network data processing mechanism, and the local application good user that had local application concurrently experiences and the cross-platform advantage of web application, can improve the application performance of network data processing mechanism.
The schematic flow sheet of the network data processing method that Fig. 6 provides for another embodiment of the present invention, as shown in Figure 6, the network data processing method of the present embodiment can comprise:
601, local application module receives the network data processing request message that user agent module sends, described network data processing request message is the network data processing request message of user's operational network objects trigger, and described network data processing request message comprises the data type of action type and network data and described network data.
602, the local application that described local application module is at least determined a coupling according to described action type and described data type is to process described network data.
For instance, before step 602, described local application module receives respectively and preserves the log-on message that multiple local applications send, in described multiple log-on message, comprise respectively the mark of corresponding local application, the local application of described correspondence carries out action type and and the data type of described network data of network data processing.
Further for instance, comprise when step 602 specific implementation:
Described action type and described data type that the described network data processing request message that described local application module sends according to described user agent module comprises, inquire about the log-on message of described preservation; If determine while there is the local application of multiple couplings, the identification list of the local application of described coupling is sent to described user agent module by described local application module, the mark of the local application of multiple couplings described in the identification list of the local application of described coupling; So that described user agent module shows the identification list of the local application of described coupling, so that user selects to carry out the local application of network data processing;
Described local application module receives the startup local application request message that described user agent module sends, and described startup local application request message comprises the mark of the local application of described selection; It should be noted that, in actual applications, user agent module is connected to local application module and is sent and start local application request message by Dbus process communication, further, in startup local application request message, can carry following parameter:
Intent_method_call:intent request;
Application ID: application program identification;
Origin_message_no: start the mark of local application request message, for the pairing of replying of returning.
Figure BDA00002752388500151
The described local application module startup local application corresponding with the mark of the local application of described selection, sends to the local application of startup to process network data to be processed need.It should be noted that, in actual applications, after local application starts and receives network data, returning to immediately a startup successfully replys to local application module, local application mould is successfully replied this startup and is sent to user agent module, and user agent module is successfully replied this startup and sent to network object.After local application network data, the result of network data is sent to local application module, wherein, the result of network data comprises following parameter:
Intent_method_return; Intent result;
Origin_message_no: result mark;
Success_flg or failure_flg: achievement or unsuccessfully mark;
Data: the detailed data of result, or process failed reason.
603, the result of described network data is sent to described user agent module by described local application module; So that the result of described network data is sent to described network object by described user agent module.
In the present embodiment, described user agent module and described local application module are positioned at user terminal, set up interprocess communication and be connected between described local application module and described user agent module.
The present invention is in the time receiving user's operational network objects trigger network data processing request message, according to the data type of the action type comprising in network data processing request message and network data, the local application of at least determining a coupling is to process this network data, because the network data processing method of the embodiment of the present invention is not application program Network Based, therefore, be not easy to be subject to the impact of network condition, can guarantee the continuity of network data processing business;
Simultaneously, the local application that the present invention utilizes terminal to install carrys out network data, expand the range of application of existing network data processing mechanism, and the local application good user that had local application concurrently experiences and the cross-platform advantage of web application, can improve the application performance of network data processing mechanism.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the equipment of foregoing description, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that disclosed equipment and method can realize by another way.For example, apparatus embodiments described above is only schematic, for example, the division of described module, be only that a kind of logic function is divided, when actual realization, can have other dividing mode, for example multiple modules or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, the indirect coupling of module or communication connection can be electrically, machinery or other form.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
The integrated unit that the above-mentioned form with SFU software functional unit realizes, can be stored in a computer read/write memory medium with the form of code.Above-mentioned code storage, in a computer-readable recording medium, comprises that some instructions are with so that processor or hardware circuit are carried out the part or all of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: the miniature high power capacity mobile storage disc without phisical drive of USB (universal serial bus), portable hard drive, ROM (read-only memory) (English: Read-Only Memory, be called for short ROM), the various media that can be program code stored such as random access memory (English: Random Access Memory, be called for short RAM), magnetic disc or CD.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the protection domain of various embodiments of the present invention technical scheme.

Claims (15)

1. a network data processing method, is characterized in that, comprising:
The network data processing request message that receives user's operational network objects trigger, described network data processing request message comprises the data type of action type and network data and described network data;
The local application of at least determining a coupling according to described action type and described data type is to process described network data;
The result of the local application of described coupling being processed to described network data sends to described network object by user agent module.
2. method according to claim 1, is characterized in that,, comprising to process described network data according to the local application of described action type and at least definite coupling of described data type:
According to described action type and described data type, if determine the local application that has multiple couplings, show the mark of the local application of described multiple couplings, so that user determines the mark of the local application that carries out network data processing;
According to the mark of the described local application of determining, start the local application corresponding with the mark of described local application and process described network data.
3. method according to claim 1 and 2, is characterized in that, after the local application of described action type and at least definite coupling of described data type, comprising:
Store the mark of described definite local application that carries out network data processing and described local application and process action type and the data type of described network data.
4. a network data processing equipment, is characterized in that, comprising:
Receiver module, for receiving the network data processing request message of user's operational network objects trigger, described network data processing request message comprises the data type of action type and network data and described network data;
Local application module, for the local application of at least determining a coupling according to described action type and described data type to process described network data;
Sending module, sends to described network object for the result of the local application of described coupling being processed to described network data by user agent module.
5. equipment according to claim 4, it is characterized in that, described local application module specifically for: according to described action type and described data type, if determine the local application that has multiple couplings, show the mark of the local application of described multiple couplings, so that user determines the mark of the local application that carries out network data processing;
According to the mark of the described local application of determining, start the local application corresponding with the mark of described local application and process described network data.
6. according to the equipment described in claim 4 or 5, it is characterized in that, described equipment also comprises memory module, processes action type and the data type of described network data for storing the mark of described definite local application that carries out network data processing and described local application.
7. a network data processing method, is characterized in that, comprising:
User agent module receives the network data processing request message of user's operational network objects trigger, and described network data processing request message comprises the data type of action type and network data and described network data;
Described network data processing request message is sent to local application module by described user agent module; So that the local application that described local application module is at least determined a coupling according to described action type and described data type to be to process described network data, and the result of described network data is sent to described user agent module;
The result of the described network data that described user agent module sends described local application module sends to described network object;
Described user agent module and described local application module are positioned at user terminal.
8. method according to claim 7, is characterized in that, described user agent module is set up interprocess communication by operating system with described local application module and is connected.
9. according to the method described in claim 7 or 8, it is characterized in that, described user agent module also comprises after described network data processing request message is sent to local application module:
Described user agent module receives the identification list of the local application of the described coupling of described local application module transmission, and the identification list of the local application of described coupling comprises the mark of the local application of multiple couplings;
Described user agent module shows the identification list of the local application of described coupling, so that user selects to process the local application of described network data.
10. according to the method described in claim 7-9 any one, it is characterized in that, described user agent module shows the identification list of the local application of described coupling, to after user selects to process the local application of described network data, also comprise:
Described user agent module sends and starts local application request message to described local application module, and described startup local application request message comprises the mark of the local application of described selection; So that the described local application module startup local application corresponding with the mark of the local application of described selection, so that the local application of described startup carries out the processing of described network data.
11. according to the method described in claim 7-10 any one, it is characterized in that, described user agent module comprises before the mark of the local application of described selection is sent to described local application module:
Described user agent module is carried out by the local application of the mark of the local application of described selection and described selection the data type that the action type of network data processing and described local application carry out network data processing and is preserved.
12. 1 kinds of network data processing methods, is characterized in that, comprising:
Local application module receives the network data processing request message that user agent module sends, described network data processing request message is the network data processing request message of user's operational network objects trigger, and described network data processing request message comprises the data type of action type and network data and described network data;
The local application that described local application module is at least determined a coupling according to described action type and described data type is to process described network data;
The result of described network data is sent to described user agent module by described local application module; So that the result of described network data is sent to described network object by described user agent module;
Described user agent module and described local application module are positioned at user terminal.
13. methods according to claim 12, is characterized in that, set up interprocess communication and be connected between described local application module and described user agent module.
14. according to the method described in claim 12-13 any one, it is characterized in that, described local application module, comprising with before processing described network data according to the local application of described action type and at least definite coupling of described data type:
Described local application module receives respectively and preserves the log-on message that multiple local applications send, in described multiple log-on message, comprise respectively the mark of corresponding local application, the local application of described correspondence carries out action type and and the data type of described network data of network data processing.
15. according to the method described in claim 12-14 any one, it is characterized in that, described local application module, specifically comprises to process described network data according to the local application of described action type and at least definite coupling of described data type:
Described action type and described data type that the described network data processing request message that described local application module sends according to described user agent module comprises, inquire about the log-on message of described preservation;
If determine while there is the local application of multiple couplings, the identification list of the local application of described coupling is sent to described user agent module by described local application module, the mark of the local application of multiple couplings described in the identification list of the local application of described coupling; So that described user agent module shows the identification list of the local application of described coupling, so that user selects to carry out the local application of network data processing;
Described local application module receives the startup local application request message that described user agent module sends, and described startup local application request message comprises the mark of the local application of described selection;
The described local application module startup local application corresponding with the mark of the local application of described selection, so that the local application of described startup is processed described network data.
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
CN2012104668408 2012-11-19
CN201210466840 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 true CN103823821A (en) 2014-05-28
CN103823821B 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)

Cited By (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
CN108885650A (en) * 2016-04-08 2018-11-23 欧姆龙健康医疗事业株式会社 Terminal installation
CN109040251A (en) * 2018-08-07 2018-12-18 中国建设银行股份有限公司 A kind of processing method and system of asynchronous message
CN110365720A (en) * 2018-03-26 2019-10-22 华为技术有限公司 A kind of method, apparatus and system of resource request processing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1412669A (en) * 2001-10-18 2003-04-23 精工爱普生株式会社 System for mounting and starting network application program
CN1599901A (en) * 2001-10-02 2005-03-23 茨特里克斯系统公司 Methods for distributed program execution with file-type association in a client-server network
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599901A (en) * 2001-10-02 2005-03-23 茨特里克斯系统公司 Methods for distributed program execution with file-type association in a client-server network
CN1412669A (en) * 2001-10-18 2003-04-23 精工爱普生株式会社 System for mounting and starting network application program
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
范策 等: "《计算机操作系统教程 核心与设计原理》", 30 April 2007 *

Cited By (6)

* 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
CN108885650A (en) * 2016-04-08 2018-11-23 欧姆龙健康医疗事业株式会社 Terminal installation
CN108885650B (en) * 2016-04-08 2023-03-28 欧姆龙健康医疗事业株式会社 Terminal device
CN110365720A (en) * 2018-03-26 2019-10-22 华为技术有限公司 A kind of method, apparatus and system of resource request processing
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

Also Published As

Publication number Publication date
WO2014075526A1 (en) 2014-05-22
CN103823821B (en) 2018-02-23

Similar Documents

Publication Publication Date Title
US10742694B2 (en) Method for migrating data and terminal
US20170272499A1 (en) Method and device for loading webpage
KR20140126328A (en) Using an application cache to update resources of installed applications
KR20160138424A (en) Flexible schema for language model customization
CN104704468A (en) Cross system installation of WEB applications
CN108416021B (en) Browser webpage content processing method and device, electronic equipment and readable medium
CN104395884A (en) Tiers of data storage for web applications and browser extensions
CN103268257A (en) Hardware resource access system and method for accessing hardware resource of electric device
CN103530160A (en) Page loading method and device
CN112836152B (en) Page rendering method, system, computer device and computer readable storage medium
CN110457632B (en) Webpage loading processing method and device
CN105573845A (en) Information processing method and system and terminals
CN103823821A (en) Method and equipment for processing web data
CN103885775A (en) Method and device for obtaining driver file
CN110633443B (en) Method, device, equipment and medium for intra-page data communication
CN103473035A (en) Screen capturing method and device
CN112491974A (en) Remote browsing method and device, storage medium, terminal equipment and server
CN102523271B (en) Terminal and communication method and system thereof
US20140331117A1 (en) Application-based dependency graph
KR20180010442A (en) User device for processing online authoring service and method for storing document thereof
CN104346120A (en) Display method and electronic equipment
CN106851535B (en) Method and device for sharing Bluetooth by multiple systems
CN113656041A (en) Data processing method, device, equipment and storage medium
CN115698988A (en) System and method for viewing incompatible web pages via remote browser instances
US20180032365A1 (en) System and method for creating virtual disk images for use with remote computer

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
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.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
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.