CN107528797B - Data processing method, device and system - Google Patents

Data processing method, device and system Download PDF

Info

Publication number
CN107528797B
CN107528797B CN201610447316.4A CN201610447316A CN107528797B CN 107528797 B CN107528797 B CN 107528797B CN 201610447316 A CN201610447316 A CN 201610447316A CN 107528797 B CN107528797 B CN 107528797B
Authority
CN
China
Prior art keywords
resource
label
user terminal
tag
library
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
CN201610447316.4A
Other languages
Chinese (zh)
Other versions
CN107528797A (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.)
Institute of Microelectronics of CAS
Original Assignee
Institute of Microelectronics of CAS
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 Institute of Microelectronics of CAS filed Critical Institute of Microelectronics of CAS
Priority to CN201610447316.4A priority Critical patent/CN107528797B/en
Publication of CN107528797A publication Critical patent/CN107528797A/en
Application granted granted Critical
Publication of CN107528797B publication Critical patent/CN107528797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

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

Abstract

The embodiment of the invention provides a data processing method, a device and a system, and by adopting the method provided by the embodiment of the invention, after a resource access request sent by a target user terminal is received, a target resource label is obtained from the resource access request, when a first resource label matched with the target resource label is determined, a sending user terminal corresponding to the first resource label is obtained, a communication channel between the target user terminal and the sending user terminal is established, the first resource is sent to the target user terminal by the sending user terminal, and when a second resource label unmatched with the resource label in a resource label library in the target resource label is determined, a second resource is obtained from a native resource library and is sent to the target user terminal. Therefore, the times that the user terminal obtains the resources from the native resource library are reduced, and the data transmission load of the web server is greatly reduced. Compared with the prior art, the method saves the hardware overhead and the economic cost of enterprise development of the network system.

Description

Data processing method, device and system
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a data processing method, a data processing device and a data processing system.
Background
With the rapid development of information communication technology and the advent of the big data era of networks, an increasing large amount of data resources are dependent on efficient transmission processing by a network system.
In a traditional network system architecture, various resource data are mostly stored in a database of a server of a network system, and when each user terminal initiates a resource access request, the server responds to the resource access request and transmits the resource according to a path of the resource access request, that is, the resource request access and the server response return resource are the same network path. In the case of a high frequency access of multiple user terminals to the server, a single server is very susceptible to overload conditions with heavy data transfer exchanges.
The current common solution is to adopt the increasing number of servers to form a server cluster to meet the requirement of high concurrent data requests of a plurality of user terminals, but the processing mode usually adds the hardware overhead of the whole network system invisibly, thereby increasing the economic cost of enterprise development of the network system.
Disclosure of Invention
Therefore, the embodiment of the invention provides a data processing method, a data processing device and a data processing system, which aim to solve the problem that a single server is easily in an overload state with busy data transmission and exchange under the condition of high-frequency network access of a plurality of user terminals in the prior art.
In order to achieve the purpose, the invention provides the following technical scheme:
a data processing method is applied to a web server, the web server comprises a resource tag library and a native resource library, the resource tag library stores resource tags corresponding to resources that each user terminal has accessed the web server and corresponding relations between each resource tag and the user terminal accessing the resource tag, the native resource library stores various resources of a network system, and the data processing method comprises the following steps:
receiving a resource access request sent by a target user terminal;
acquiring a target resource label from the access request;
matching the resource label in the resource label library with the target resource label;
when a first resource label matched with the target resource label is determined, a sending user terminal corresponding to the first resource label is obtained;
establishing a communication channel between the destination user terminal and the sending user terminal, wherein the communication channel is a channel for the sending user terminal to send the first resource corresponding to the first resource label to the destination user terminal;
and when a second resource label which is not matched with the resource label in the resource label library in the target resource label is determined, acquiring a second resource corresponding to the second resource label from the native resource library, and sending the second resource to the target user terminal.
A data processing apparatus applied to a web server, the web server including a resource tag library and a native resource library, the resource tag library storing therein resource tags corresponding to resources that have been accessed by respective user terminals to the web server, and correspondence between the respective resource tags and the user terminals that have accessed the resource tags, the native resource library storing therein various resources of a network system, the data processing apparatus comprising:
the receiving module is used for receiving a resource access request sent by a target user terminal;
the first acquisition module is used for acquiring a target resource label from the access request;
the matching module is used for matching the resource label in the resource label library with the target resource label;
the second acquisition module is used for acquiring a sending user terminal corresponding to the first resource label when the first resource label matched with the target resource label is determined;
a communication channel establishing module, configured to establish a communication channel between the destination user terminal and the sending user terminal, where the communication channel is a channel through which the sending user terminal sends the first resource corresponding to the first resource tag to the destination user terminal;
and the first sending module is used for acquiring a second resource corresponding to the second resource label from the native resource library and sending the second resource to the target user terminal when the second resource label which is not matched with the resource label in the resource label library in the target resource label is determined.
A data processing system comprising a web server as described above for the data processing apparatus and a plurality of user terminals, each of said user terminals comprising a device database.
Compared with the prior art, the embodiment of the invention provides a data processing method, and the web server comprises a resource tag library and a native resource library, after receiving a resource access request sent by a user terminal, obtaining a target resource label from the resource access request, matching the target resource label with each resource label in the resource data, when a first resource label matched with the target resource label is determined, obtaining a sending user terminal corresponding to the first resource label, and establishing a communication channel between the destination user terminal and the sending user terminal, the first resource being sent by the sending user terminal to the destination user terminal, when it is determined that a second resource label of the destination resource labels does not match a resource label of the resource label library, and acquiring a second resource corresponding to the second resource label from the native resource library and sending the second resource to the target user terminal. Namely, the destination terminal can obtain the first resource from other sending user terminals with the first resource, namely, the network system of the cooperative resource sharing mechanism of each user terminal is realized, so that the times of obtaining the resource from the original resource library by the user terminal is reduced, and the data transmission load of the web server is greatly reduced. Compared with the prior art that the number of the servers is continuously increased to form a server cluster to meet the requirement of high concurrent data requests of the multi-user terminal, the method saves hardware overhead, thereby saving the economic cost of an enterprise for developing a network system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for implementing matching of a resource tag in the resource tag library with the target resource tag in the data processing method according to the embodiment of the present invention;
fig. 3 is a schematic method flow diagram of another implementation manner of matching a resource tag in the resource tag library with the target resource tag in the data processing method according to the embodiment of the present invention;
fig. 4 is a schematic flow chart of a method for establishing a communication channel between a destination ue and a sending ue in a data processing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an implementation manner of a matching module in a data processing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another implementation manner of a matching module in a data processing apparatus according to the present invention;
fig. 8 is a schematic structural diagram of an implementation manner of establishing a communication channel module in a data processing apparatus according to an embodiment of the present invention;
FIG. 9 is an architecture diagram of a data processing system;
FIG. 10 is a signaling diagram between a web server, a destination user terminal, and a sending user terminal in a data processing system.
Detailed Description
For the sake of reference and clarity, the descriptions, abbreviations or abbreviations of the technical terms used hereinafter are summarized as follows:
web: an internet;
TCP/IP: transmission Control Protocol/Internet Protocol, Transmission Control Protocol/Internet Protocol;
DTS: digita1time-stamp service, digital timestamp.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In a network system of a multi-user terminal, a Web server stores large-capacity data resources, and for a resource access request initiated by each user terminal, if the database of the whole Web server is directly searched in a traversal manner, a complicated and time-consuming redundant operation process is adopted, the operation efficiency of the Web server is seriously influenced, and when a plurality of user terminals carry out high-frequency cross repeated resource access, the network system is very easy to block. The greatest improvement of the sharing rate of network resource access and the robustness of the network system are inevitable trends in the development of information communication technology.
Based on this, the embodiment of the invention provides the following technical scheme: the user terminal A initiates a request of resource access to the Web server, but the Web server does not directly return the requested resource, but matches the user terminal B storing the resource by inquiring the resource label library, and enables the user terminal B to send the matched resource to the user terminal A by establishing a communication channel of the two user terminals.
Please refer to fig. 1, which is a flowchart illustrating a data processing method according to an embodiment of the present invention, where the method is applied to a web server, where the web server includes a resource tag library and a native resource library, and the resource tag library stores resource tags corresponding to effective resources that each user terminal has accessed the web server, and a corresponding relationship between each resource tag and a user terminal accessing the resource tag. The native resource library stores various data resources of the whole network system, and the newly added resources of the network system must be stored in the native resource library for backup at any time, which also shows that the network system is a dynamically-increased database and continuously updates itself with the addition of the newly added resources.
The data processing method in the embodiment of the invention comprises the following steps:
step S101: and receiving a resource access request sent by a destination user terminal.
Step S102: and obtaining a target resource label from the resource access request.
Obtaining the destination resource tag from the resource access request may include: and obtaining attribute information corresponding to the resource from the resource access request, and packaging the attribute information into a resource label in a standard format.
The resource label library comprises resource labels generated by resources accessed by different user terminals all the time, and the Web server orderly extracts and stores the resource attribute information in the resource access requests in the resource label library. The resource tag in the resource tag library may include an effective resource tag and an invalid resource tag, or may only include an effective resource tag, which is not limited in the embodiment of the present invention.
The web server may obtain attribute information describing the resource from the resource access request, encapsulate the attribute information into a resource tag having a canonical format, and store in a resource tag repository. Since the resource has a variety of attributes, the resource tag also includes a variety of attribute information.
In order to make the resource tags in the resource tag library all be effective resource tags, a resource access request may be initiated from the user terminal to the web server, and after the web server determines that the resource is an effective resource (for example, if the web server feeds back the resource corresponding to the resource access request to the user terminal, or if other user terminals feed back the resource corresponding to the resource access request to the user terminal, it determines that the resource is an effective resource), the resource tag may be obtained from the resource access request.
When the resource labels in the resource label library all correspond to the effective resources, the resource labels in the resource label library have symbiosis, and can be generated and stored in the Web server in real time only by initiating effective resource access requests through different user terminals.
The resource label can be a string with a specific meaning, the occupied memory space is extremely small, and only a small bandwidth is occupied in the network transmission process.
For example, the resource access request is: when environmental temperature data of terminal equipment No. 9, point 10 to point 9 and point 20 minutes in No. 10/2016 of the campus environment monitoring system is inquired, the resource access request can be a link of http:// 192.168.62.48: 8080/yuanqu/environment/temperature/2016.05.10_09.00.00&2016.05.10_9.20.00/03, and the web server can obtain request information corresponding to the resource from the resource access request, such as "yuanqu", "environment", "temperature", "2016.05.10 _09.00.00&2016.05.10_ 9.20.00" and "03", and package the attribute information into a resource tag in a canonical format.
The attribute information contained in the resource tag may include: data type, time information, device information, etc. The format of the resource tag may be "{ data type of resource }/{ duration of resource }/{ device ID for generating the resource," and the format of the resource tag differs according to the specific resource, which is determined according to the actual situation, and is not specifically limited in this embodiment of the present invention.
Step S103: and matching the resource label in the resource label library with the target resource label.
Step S104: and when the first resource label matched with the target resource label is determined, obtaining the sending user terminal corresponding to the first resource label.
Step S105: and establishing a communication channel between the target user terminal and the sending user terminal, wherein the communication channel is a channel for the sending user terminal to send the first resource corresponding to the first resource label to the target user terminal.
Step S106: and when a second resource label which is not matched with the resource label in the resource label library in the target resource label is determined, acquiring a second resource corresponding to the second resource label from the native resource library, and sending the second resource to the target user terminal.
The user terminal related in the embodiment of the invention is electronic equipment which has a data receiving function and a data sending function and can be added into a network system based on a TCP/IP protocol to transmit and exchange resource data.
Each user terminal has a locally stored device database. Resources of the device database are continuously accumulated by the user terminal initiating different resource access requests. And each resource stored in the equipment database sets a resource tag as a primary key index. And the user terminal carries out a resource access request and stores the resource in the equipment database in real time after receiving the resource.
In the data processing method provided by the embodiment of the invention, the web server comprises a resource tag library and a native resource library, after receiving a resource access request sent by a user terminal, obtaining a target resource label from the resource access request, matching the target resource label with each resource label in the resource data, when a first resource label matched with the target resource label is determined, obtaining a sending user terminal corresponding to the first resource label, and establishing a communication channel between the destination user terminal and the sending user terminal, the first resource being sent by the sending user terminal to the destination user terminal, when it is determined that a second resource label of the destination resource labels does not match a resource label of the resource label library, and acquiring a second resource corresponding to the second resource label from the native resource library and sending the second resource to the target user terminal. Namely, the destination terminal can obtain the first resource from other sending user terminals with the first resource, namely, the network system of the cooperative resource sharing mechanism of each user terminal is realized, so that the times of obtaining the resource from the original resource library by the user terminal is reduced, and the data transmission load of the web server is greatly reduced. Compared with the prior art that the number of the servers is continuously increased to form a server cluster to meet the requirement of high concurrent data requests of the multi-user terminal, the method saves hardware overhead, thereby saving the economic cost of an enterprise for developing a network system.
Referring to fig. 2, a schematic flow chart of a method for implementing matching of a resource tag in the resource tag library with the target resource tag in the data processing method according to the embodiment of the present invention is shown, where the method includes:
step S201: and judging whether the target resource label is included in the resource label library.
Specifically, whether the resource label in the resource label library is completely matched with the target resource label is judged. For example, the destination resource tag is { temperature }/{2016.05.10_09.00.00&2016.05.10_9.20.00}/{03}, that is, the environmental temperature data of 10 o 'clock 9 o' clock 20 minutes at month 10 of year 5 of 2016 of terminal device number 03, and if the resource tag is stored in the resource tag library { temperature }/{2016.05.10_09.10.00&2016.05.10_9.30.00}/{03}, that is, the environmental temperature data of 10 o 'clock 9 o' clock 30 minutes at month 10 of year 5 of 2016 of terminal device number 03, the destination resource tag does not match with the resource tag due to the different time periods.
Assuming that the destination resource tag is { temperature }/{2016.05.10_09.00.00&2016.05.10_9.20.00}/{03}, when the resource tag library stores the resource tag { temperature }/{2016.05.10_09.00.00&2016.05.10_9.20.00}/{03}, it is determined that the destination resource tag is included in the resource tag library.
Step S202: and when the target resource label is included in the resource label library, determining that the target resource label is the first resource label.
And when the target resource label is included in the resource label library, determining that the target resource label is the first resource label because of the complete matching.
Step S203: and when the target resource label is not included in the resource label library, determining that the target resource label is the second resource label.
Referring to fig. 3, a schematic flow chart of a method according to another implementation manner for matching a resource tag in the resource tag library with the target resource tag in the data processing method according to the embodiment of the present invention is shown, where the method includes:
step S300: and judging whether the target resource label is included in the resource label library.
Step S301: and when the target resource label is included in the resource label library, determining that the target resource label is the first resource label.
And if the resource label library comprises a first resource label which is completely matched with the target resource label, the first resource label is the target resource label.
Step S302: and when the target resource label is not included in the resource label library, judging whether the resource label in the resource label library includes a part of the target resource label.
And if the resource label library does not comprise the resource label completely matched with the target resource label, judging whether the resource label in the resource label library comprises a part of the target resource label or not.
Assume that the destination resource tag is { temperature }/{2016.05.10_09.00.00&2016.05.10_9.20.00}/{03}, i.e., the ambient temperature data of 10 o 'clock 9 to 20 o' clock 9 of terminal device No. 03, No. 5/10/2016.
If a resource tag { temperature }/{2016.05.10_09.10.00&2016.05.10_9.30.00}/{03}, that is, the environmental temperature data of terminal device number 03 from 9 o 10 to 9 o 30 minutes in 2016, month 5, 10, the resource tag includes a part of the target resource tag of { temperature }/{2016.05.10_09.00.00&2016.05.10_9.20.00}/{03 }.
If the resource tag { temperature }/{2016.05.10_09.10.00&2016.05.10_9.15.00}/{03}, that is, the environmental temperature data of 10 o 9 o 15 o 9 o 10/2016 of terminal device No. 03 in 2016, is stored in the resource tag library, then a part of the destination resource tag included in the resource tag is the resource tag { temperature }/{2016.05.10_09.10.00&2016.05.10_9.15.00}/{03 }.
If a resource tag { temperature }/{2016.05.10_09.15.00&2016.05.10_9.30.00}/{03}, that is, the environmental temperature data of terminal device No. 03 from 9 o 'clock 15 to 9 o' clock 30 minutes, No. 5/month, No. 10, 2016, then the part of the destination resource tag included in the resource tag is { temperature }/{2016.05.10_09.15.00&2016.05.10_9.20.00}/{03 }.
Step S303: and determining a part of the target resource label included in the resource label library as the first resource label.
Still taking the above example as an example, if the resource tag repository stores resource tags { temperature }/{2016.05.10_09.10.00&2016.05.10_9.30.00}/{03}, the first resource tag is { temperature }/{2016.05.10_09.00.00&2016.05.10_9.20.00}/{03 }. If the resource tag repository stores the resource tags { temperature }/{2016.05.10_09.10.00&2016.05.10_9.15.00}/{03}, the first resource tag is { temperature }/{2016.05.10_09.10.00&2016.05.10_9.15.00}/{03 }. If the resource tag repository stores the resource tags { temperature }/{2016.05.10_09.15.00&2016.05.10_9.30.00}/{03}, the first resource tag is { temperature }/{2016.05.10_09.15.00&2016.05.10_9.20.00}/{03 }.
Step S304: and determining a part of the target resource label which is not included by the resource labels in the resource label library as the second resource label.
Still taking the above example as an example, if the resource tag { temperature }/{2016.05.10_09.10.00&2016.05.10_9.30.00}/{03} is stored in the resource tag library, the second resource tag does not exist. If the resource tag { temperature }/{2016.05.10_09.10.00&2016.05.10_9.15.00}/{03} is stored in the resource tag library assembly, then the second resource tag is { temperature }/{2016.05.10_09.16.00&2016.05.10_9.20.00}/{03 }. If the resource tag repository has a resource tag { temperature }/{2016.05.10_09.15.00&2016.05.10_9.30.00}/{03}, stored therein, then the second resource tag is { temperature }/{2016.05.10_09.10.00&2016.05.10_9.14.00}/{03 }.
In the embodiment of the invention, if part of the resource tags in the target resource tag are the same as the first resource tag in the resource tag library, the web server can establish a communication channel between the target user terminal and the sending user terminal, so that the sending user terminal sends the first resource corresponding to the first resource tag to the target user terminal, and the second resource tag in the target resource tag is not the same as the resource tag in the resource tag library, the web server obtains the resource corresponding to the second resource tag from the native resource library and sends the resource to the target user terminal, thereby further reducing the times of obtaining the resource from the native resource library by the user terminal and greatly lightening the data transmission load of the web server.
Referring to fig. 4, a flow chart of a method for establishing a communication channel between a destination ue and a sending ue in a data processing method according to an embodiment of the present invention is shown, where the method includes:
step S401: and generating a symbiotic resource response object of the target user terminal for acquiring the first resource corresponding to the first resource label from the sending user terminal.
Generating a symbiotic resource response object for the destination user terminal to acquire the first resource corresponding to the first resource tag from the sending user terminal includes: generating a resource signaling for acquiring a first resource corresponding to the first resource label from the sending user terminal, wherein the resource signaling comprises the sending user terminal identification ID and the first resource label information; obtaining access initiation time from the access request; and generating the symbiotic resource response object according to the identification ID of the target user terminal, the access initiation time and the resource signaling.
The message of the resource access request sent by the destination user terminal can include a timestamp, and the timestamp refers to the total seconds from the greenwich mean time 1970, 01, 00 min 00 s (01, 08, 00 s) 1970 to the present.
The sending user terminal and the target user terminal generate the time stamps in the mode, the time difference value comparison is carried out on the Web server, and the resource transmission time is generally considered to be normal within 5-10 s.
The access initiation time is obtained from the access request, and specifically, the access initiation time may be obtained from a timestamp in the resource access request.
The time stamp can avoid unnecessary occupation of network broadband caused by that the target user terminal initiates the same resource access request for many times in a short time.
And the Web server extracts a target resource label corresponding to the resource access request, and generates a resource signaling capable of acquiring the resource matched with the resource access request from the sending user terminal after the target resource label is successfully matched with the resource label in the resource label library. In the embodiment of the invention, the resource signaling is generated by the Web server and is sent to the target user terminal and the sending user terminal, and the resource transmission is carried out between the target user terminal and the sending user terminal through the resource signaling. Because the symbiotic resource response object adds the timestamp, the resource signaling has timeliness, and the target user terminal has to call the resource from the sending user terminal within the appointed response time, otherwise, the resource access is regarded as invalid access.
Step S402: and sending the symbiotic resource response object to the target user terminal and the sending user terminal.
And after the Web server sends the symbiotic resource response object to the target user terminal and the sending user terminal, a communication channel between the target user terminal and the sending user terminal is established.
In order to reduce the redundancy of the resource tag library, the repeated resource tags in the resource tag library may be deleted, and only the corresponding relationship between the resource tag closest to the current time and the user terminal is reserved, for example, the corresponding relationship between the first resource tag and the sending user terminal is stored in the resource tag library, and the destination user terminal obtains the resource corresponding to the first resource tag from the sending user terminal, so the corresponding relationship between the first resource tag and the destination user terminal may be stored in the resource tag library, and the corresponding relationship between the first resource tag and the sending user terminal is deleted. Specifically, in any of the above embodiments of the data processing method, the method may further include: storing the target resource label and the corresponding relation of the target user terminal to the resource label library; and deleting the corresponding relation between the first resource label and the sending user terminal in the resource label library.
Since the target user terminal obtains the target resource corresponding to the target resource label, the corresponding relationship between the target user terminal and the target resource label can be stored in the resource label library. The sending user terminal may correspond to a plurality of resource tags, and since the corresponding relationship between the destination resource tag and the destination user terminal already includes the corresponding relationship between the first resource tag and the destination user terminal, the corresponding relationship between the first resource tag and the sending user terminal may be deleted.
It will be appreciated that although the device database in the user terminal may store resources that the user terminal obtains from the native repository of the web server or other user terminals, the user terminal may not always have such resources stored, and thus may be allowed to delete resources in the device database. After the user terminal deletes the resource in the device database, the web server deletes the corresponding relationship between the user terminal and the resource label corresponding to the resource. Specifically, in any of the above embodiments of the data processing method, the method may further include: and when a target resource instruction which is sent by the target user terminal and corresponds to the target resource label is received, deleting the corresponding relation between the target user terminal and the target resource label in the resource label library.
Please refer to fig. 5, which is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention, the apparatus is applied to a web server, the web server includes a resource tag library and a native resource library, and the resource tag library stores resource tags corresponding to valid resources that each user terminal has accessed the web server, and a corresponding relationship between each resource tag and a user terminal accessing the resource tag. The native resource library stores various data resources of the whole network system, and the newly added resources of the network system must be stored in the native resource library for backup at any time, which also shows that the network system is a dynamically-increased database and continuously updates itself with the addition of the newly added resources.
The data processing device in the embodiment of the invention comprises: a receiving module 501, a first obtaining module 502, a matching module 503, a second obtaining module 504, a communication channel establishing module 505 and a first sending module 506, wherein:
a receiving module 501, configured to receive a resource access request sent by a destination user terminal.
A first obtaining module 502, configured to obtain the destination resource tag from the access request.
The first obtaining module 502 may be specifically configured to: and obtaining attribute information corresponding to the resource from the resource access request, and packaging the attribute information into a resource label in a standard format.
The resource label library comprises resource labels generated by resources accessed by different user terminals all the time, and the Web server orderly extracts and stores the resource attribute information in the resource access requests in the resource label library. The resource tag in the resource tag library may include an effective resource tag and an invalid resource tag, or may only include an effective resource tag, which is not limited in the embodiment of the present invention.
The web server may obtain attribute information describing the resource from the resource access request, encapsulate the attribute information into a resource tag having a canonical format, and store in a resource tag repository. Since the resource has a variety of attributes, the resource tag also includes a variety of attribute information.
In order to make the resource tags in the resource tag library all be effective resource tags, a resource access request may be initiated from the user terminal to the web server, and after the web server determines that the resource is an effective resource (for example, if the web server feeds back the resource corresponding to the resource access request to the user terminal, or if other user terminals feed back the resource corresponding to the resource access request to the user terminal, it determines that the resource is an effective resource), the resource tag may be obtained from the resource access request.
When the resource labels in the resource label library all correspond to the effective resources, the resource labels in the resource label library have symbiosis, and can be generated and stored in the Web server in real time only by initiating effective resource access requests through different user terminals.
The resource label can be a string with a specific meaning, the occupied memory space is extremely small, and only a small bandwidth is occupied in the network transmission process.
For example, the resource access request is: when environmental temperature data of terminal equipment No. 9, point 10 to point 9 and point 20 minutes in No. 10/2016 of the campus environment monitoring system is inquired, the resource access request can be a link of http:// 192.168.62.48: 8080/yuanqu/environment/temperature/2016.05.10_09.00.00&2016.05.10_9.20.00/03, and the web server can obtain request information corresponding to the resource from the resource access request, such as "yuanqu", "environment", "temperature", "2016.05.10 _09.00.00&2016.05.10_ 9.20.00" and "03", and package the attribute information into a resource tag in a canonical format.
The attribute information contained in the resource tag may include: data type, time information, device information, etc. The format of the resource tag may be "{ data type of resource }/{ duration of resource }/{ device ID for generating the resource," and the format of the resource tag differs according to the specific resource, which is determined according to the actual situation, and is not specifically limited in this embodiment of the present invention.
A matching module 503, configured to match the resource tag in the resource tag library with the destination resource tag.
A second obtaining module 504, configured to, when the first resource tag matching the target resource tag is determined, obtain a sending user terminal corresponding to the first resource tag.
A communication channel establishing module 505, configured to establish a communication channel between the destination user terminal and the sending user terminal, where the communication channel is a channel through which the sending user terminal sends the first resource corresponding to the first resource tag to the destination user terminal.
A first sending module 506, configured to, when it is determined that a second resource tag in the destination resource tag does not match a resource tag in the resource tag library, obtain, from the native resource library, a second resource corresponding to the second resource tag, and send the second resource to the destination user terminal.
The user terminal related in the embodiment of the invention is electronic equipment which has a data receiving function and a data sending function and can be added into a network system based on a TCP/IP protocol to transmit and exchange resource data.
Each user terminal has a locally stored device database. Resources of the device database are continuously accumulated by the user terminal initiating different resource access requests. And each resource stored in the equipment database sets a resource tag as a primary key index. And the user terminal carries out a resource access request and stores the resource in the equipment database in real time after receiving the resource.
In a data processing apparatus provided in an embodiment of the present invention, a web server includes a resource tag library and a native resource library, after a receiving module 501 receives a resource access request sent by a user terminal, a first obtaining module 502 obtains a target resource tag from the resource access request, a matching module 503 matches the target resource tag with each resource tag in resource data, when a second obtaining module 504 determines a first resource tag matching with the target resource tag, a sending user terminal corresponding to the first resource tag is obtained, and a communication channel between the target user terminal and the sending user terminal is established through an establishing communication channel module 505, where a first resource is sent to the target user terminal by the sending user terminal, and when a second resource tag in the target resource tag that does not match with a resource tag in the resource tag library is determined by the first sending module 506, and acquiring a second resource corresponding to the second resource label from the native resource library and sending the second resource to the target user terminal. Namely, the destination terminal can obtain the first resource from other sending user terminals with the first resource, namely, the network system of the cooperative resource sharing mechanism of each user terminal is realized, so that the times of obtaining the resource from the original resource library by the user terminal is reduced, and the data transmission load of the web server is greatly reduced. Compared with the prior art that the number of the servers is continuously increased to form a server cluster to meet the requirement of high concurrent data requests of the multi-user terminal, the method saves hardware overhead, thereby saving the economic cost of an enterprise for developing a network system.
Referring to fig. 6, a schematic structural diagram of an implementation manner of a matching module in a data processing apparatus according to an embodiment of the present invention is shown, where the matching module includes: a first determination unit 601, a first determination unit 602, and a second determination unit 603, wherein:
a first determining unit 601, configured to determine whether the resource tag library includes the destination resource tag.
The first determining unit 601 may be specifically configured to: and judging whether the resource label in the resource label library is completely matched with the target resource label. For example, the destination resource tag is { temperature }/{2016.05.10_09.00.00&2016.05.10_9.20.00}/{03}, that is, the environmental temperature data of 10 o 'clock 9 o' clock 20 minutes at month 10 of year 5 of 2016 of terminal device number 03, and if the resource tag is stored in the resource tag library { temperature }/{2016.05.10_09.10.00&2016.05.10_9.30.00}/{03}, that is, the environmental temperature data of 10 o 'clock 9 o' clock 30 minutes at month 10 of year 5 of 2016 of terminal device number 03, the destination resource tag does not match with the resource tag due to the different time periods.
Assuming that the destination resource tag is { temperature }/{2016.05.10_09.00.00&2016.05.10_9.20.00}/{03}, when the resource tag library stores the resource tag { temperature }/{2016.05.10_09.00.00&2016.05.10_9.20.00}/{03}, it is determined that the destination resource tag is included in the resource tag library.
A first determining unit 602, configured to determine, when the resource tag library includes the destination resource tag, that the destination resource tag is the first resource tag.
And when the target resource label is included in the resource label library, determining that the target resource label is the first resource label because of the complete matching.
A second determining unit 603, configured to determine that the destination resource tag is the second resource tag when the destination resource tag is not included in the resource tag library.
Please refer to fig. 7, which is a schematic structural diagram of another implementation manner of a matching module in a data processing apparatus according to the present invention, where the matching module includes: a second judging unit 700, a third determining unit 701, a third judging unit 702, a fourth determining unit 703 and a fifth determining unit 704, wherein:
a second determining unit 700, configured to determine whether the resource tag library includes the destination resource tag.
A third determining unit 701, configured to determine, when the resource tag library includes the destination resource tag, that the destination resource tag is the first resource tag.
And if the resource label library comprises a first resource label which is completely matched with the target resource label, the first resource label is the target resource label.
A third determining unit 702, configured to determine, when the destination resource tag is not included in the resource tag library, whether a resource tag in the resource tag library includes a part of the destination resource tag.
And if the resource label library does not comprise the resource label completely matched with the target resource label, judging whether the resource label in the resource label library comprises a part of the target resource label or not.
Assume that the destination resource tag is { temperature }/{2016.05.10_09.00.00&2016.05.10_9.20.00}/{03}, i.e., the ambient temperature data of 10 o 'clock 9 to 20 o' clock 9 of terminal device No. 03, No. 5/10/2016.
If a resource tag { temperature }/{2016.05.10_09.10.00&2016.05.10_9.30.00}/{03}, that is, the environmental temperature data of terminal device number 03 from 9 o 10 to 9 o 30 minutes in 2016, month 5, 10, the resource tag includes a part of the target resource tag of { temperature }/{2016.05.10_09.00.00&2016.05.10_9.20.00}/{03 }.
If the resource tag { temperature }/{2016.05.10_09.10.00&2016.05.10_9.15.00}/{03} is stored in the resource tag library, that is, the environmental temperature data of 10 o 'clock 9 to 15 o' clock 9/10/2016 of terminal device No. 03, 2016, then the partial destination resource tag included in the resource tag is the resource tag { temperature }/{2016.05.10_09.10.00&2016.05.10_9.15.00}/{03 }.
If a resource tag { temperature }/{2016.05.10_09.15.00&2016.05.10_9.30.00}/{03}, that is, the environmental temperature data of terminal device No. 03 from 9 o 'clock 15 to 9 o' clock 30 minutes, No. 5/month, No. 10, 2016, then the part of the destination resource tag included in the resource tag is { temperature }/{2016.05.10_09.15.00&2016.05.10_9.20.00}/{03 }.
A fourth determining unit 703 is configured to determine, as the first resource label, a part of the destination resource labels included in the resource labels in the resource label library.
Still taking the above example as an example, if the resource tag repository stores resource tags { temperature }/{2016.05.10_09.10.00&2016.05.10_9.30.00}/{03}, the first resource tag is { temperature }/{2016.05.10_09.00.00&2016.05.10_9.20.00}/{03 }. If the resource tag repository stores the resource tags { temperature }/{2016.05.10_09.10.00&2016.05.10_9.15.00}/{03}, the first resource tag is { temperature }/{2016.05.10_09.10.00&2016.05.10_9.15.00}/{03 }. If the resource tag repository stores the resource tags { temperature }/{2016.05.10_09.15.00&2016.05.10_9.30.00}/{03}, the first resource tag is { temperature }/{2016.05.10_09.15.00&2016.05.10_9.20.00}/{03 }.
A fifth determining unit 704, configured to determine, as the second resource label, a part of the destination resource label that is not included in the resource label library.
Still taking the above example as an example, if the resource tag { temperature }/{2016.05.10_09.10.00&2016.05.10_9.30.00}/{03} is stored in the resource tag library, the second resource tag does not exist. If the resource tag { temperature }/{2016.05.10_09.10.00&2016.05.10_9.15.00}/{03} is stored in the resource tag library assembly, then the second resource tag is { temperature }/{2016.05.10_09.16.00&2016.05.10_9.20.00}/{03 }. If the resource tag repository has a resource tag { temperature }/{2016.05.10_09.15.00&2016.05.10_9.30.00}/{03}, stored therein, then the second resource tag is { temperature }/{2016.05.10_09.10.00&2016.05.10_9.14.00}/{03 }.
In the embodiment of the invention, if part of the resource tags in the target resource tag are the same as the first resource tag in the resource tag library, the web server can establish a communication channel between the target user terminal and the sending user terminal, so that the sending user terminal sends the first resource corresponding to the first resource tag to the target user terminal, and the second resource tag in the target resource tag is not the same as the resource tag in the resource tag library, the web server obtains the resource corresponding to the second resource tag from the native resource library and sends the resource to the target user terminal, thereby further reducing the times of obtaining the resource from the native resource library by the user terminal and greatly lightening the data transmission load of the web server.
Referring to fig. 8, a schematic structural diagram of an implementation manner of establishing a communication channel module in a data processing apparatus according to an embodiment of the present invention is shown, where the communication channel establishing module includes: a generating unit 801 and a transmitting unit 802, wherein:
a generating unit 801, configured to generate a symbiotic resource response object for the destination user terminal to acquire, from the sending user terminal, the first resource corresponding to the first resource tag.
The generation unit includes: a first generating subunit, configured to generate a resource signaling for acquiring, from the sending user terminal, a first resource corresponding to the first resource tag, where the resource signaling includes the sending user terminal identifier ID and the first resource tag information; the obtaining subunit is used for obtaining the access initiation time from the access request; and the second generation subunit is configured to generate the symbiotic resource response object according to the identifier ID of the destination user terminal, the access initiation time, and the resource signaling.
The message of the resource access request sent by the destination user terminal can include a timestamp, and the timestamp refers to the total seconds from the greenwich mean time 1970, 01, 00 min 00 s (01, 08, 00 s) 1970 to the present.
The sending user terminal and the target user terminal generate the time stamps in the mode, the time difference value comparison is carried out on the Web server, and the resource transmission time is generally considered to be normal within 5-10 s.
The access initiation time is obtained from the access request, and specifically, the access initiation time may be obtained from a timestamp in the resource access request.
The time stamp can avoid unnecessary occupation of network broadband caused by that the target user terminal initiates the same resource access request for many times in a short time.
And the Web server extracts a target resource label corresponding to the resource access request, and generates a resource signaling capable of acquiring the resource matched with the resource access request from the sending user terminal after the target resource label is successfully matched with the resource label in the resource label library. In the embodiment of the invention, the resource signaling is generated by the Web server and is sent to the target user terminal and the sending user terminal, and the resource transmission is carried out between the target user terminal and the sending user terminal through the resource signaling. Because the symbiotic resource response object adds the timestamp, the resource signaling has timeliness, and the target user terminal has to call the resource from the sending user terminal within the appointed response time, otherwise, the resource access is regarded as invalid access.
A sending unit 802, configured to send the symbiotic resource response object to the destination user terminal and the sending user terminal.
And after the Web server sends the symbiotic resource response object to the target user terminal and the sending user terminal, a communication channel between the target user terminal and the sending user terminal is established.
In order to reduce the redundancy of the resource tag library, the repeated resource tags in the resource tag library may be deleted, and only the corresponding relationship between the resource tag closest to the current time and the user terminal is reserved, for example, the corresponding relationship between the first resource tag and the sending user terminal is stored in the resource tag library, and the destination user terminal obtains the resource corresponding to the first resource tag from the sending user terminal, so the corresponding relationship between the first resource tag and the destination user terminal may be stored in the resource tag library, and the corresponding relationship between the first resource tag and the sending user terminal is deleted. Specifically, in any of the above embodiments of the data processing apparatus, the method may further include: a storage module, configured to store the destination resource tag and the corresponding relationship between the destination user terminal and the destination resource tag library; and the first deleting module is used for deleting the corresponding relation between the first resource label and the sending user terminal in the resource label library.
Since the target user terminal obtains the target resource corresponding to the target resource label, the corresponding relationship between the target user terminal and the target resource label can be stored in the resource label library. The sending user terminal may correspond to a plurality of resource tags, and since the corresponding relationship between the destination resource tag and the destination user terminal already includes the corresponding relationship between the first resource tag and the destination user terminal, the corresponding relationship between the first resource tag and the sending user terminal may be deleted.
It will be appreciated that although the device database in the user terminal may store resources that the user terminal obtains from the native repository of the web server or other user terminals, the user terminal may not always have such resources stored, and thus may be allowed to delete resources in the device database. After the user terminal deletes the resource in the device database, the web server deletes the corresponding relationship between the user terminal and the resource label corresponding to the resource. Specifically, in any of the above embodiments of the data processing apparatus, the method may further include: and the second deleting module is used for deleting the corresponding relation between the target user terminal and the target resource label in the resource label library when receiving a target resource instruction which is sent by the target user terminal and corresponds to the target resource label.
An embodiment of the present invention further provides a data processing system, where the data processing system includes the web server of the data processing apparatus described in any of the above data processing apparatus embodiments, and a plurality of user terminals. FIG. 9 is a block diagram of a data processing system.
Fig. 9 shows n ues, respectively USER (1), USER (2), USER (4), … …, USER (n), where each ue includes a device database, and the device databases corresponding to USER (1), USER (2), USER (4), … …, and USER (n) are: device database 1, device database 2, device database, 3, … …, device database n. The web server 9 includes a resource tag library 91 and a native resource library 92.
Assuming that n USER terminals all send resource access requests to the web server 9, the web server 9 generates n resource tags according to the n resource access requests, and the resource tags corresponding to USER (1), USER (2), USER (4), … …, USER (n) are resource tag 1, resource tag 2, resource tag 3, … …, and resource tag n, respectively. The communication channels can be established between the USER terminals through resource signaling, for example, USER (1) can respectively establish communication channels with USER (2), USER (4), … …, USER (n), and similarly, USER (2) can establish communication channels with USER (1), USER (4), … …, USER (n), and the communication channels are indicated by dashed lines in fig. 9, and so on, and are not described again.
The user terminal may be configured to: determining a resource access request to be sent; judging whether the equipment database comprises resources corresponding to the resource access request or not; when the equipment database comprises resources corresponding to the resource access request, acquiring the resources corresponding to the resource access request from the equipment database; and when the resource corresponding to the resource access request is not included in the equipment database, sending the resource access request.
In order to make the interaction between the web server and each user terminal more understood by those skilled in the art, a signaling diagram among the web server, the destination user terminal and the sending user terminal is described below.
As shown in fig. 10, a signaling diagram between a web server, a destination user terminal, and a sending user terminal in a data processing system.
The destination user terminal is represented by user (i), and the transmitting user terminal is represented by user (j). The APP interface 10 in fig. 10 is built in a destination user terminal, each user terminal is installed with an APP interface, and the APP interface is responsible for authority verification when the user terminal sends and receives a resource return by a Request instruction (the Request instruction corresponds to a resource access Request) when initiating a resource access Request.
Step S1001: user (i)8 initiates a resource access request.
Step S1002: after receiving the resource access request, the APP interface 10 in user (i)8 directly calls the data of the device database to respond to the application request if the device database of user (i)8 includes the resource; if the device database of user (i)8 does not include the resource, APP interface 10 sends a Request instruction to Web server 9 via TCP/IP protocol, or if part of the resource is included in the device database of user (i)8, the resource access Request is re-determined, i.e. only the part of the resource not included in the device database of user (i) is requested. The resource access Request may be sent to the web server 9 in the form of a Request instruction.
Step S1003: after receiving the Request instruction, the web server 9 acquires the destination resource tag from the Request instruction.
Step S1004: the web server 9 matches the destination resource tag with each resource tag in the resource tag library 91, and when determining a first resource tag matching with the destination resource tag, the step S1005 is performed, and when determining a second resource tag not matching with the resource tag in the resource tag library 91 in the destination resource tag, the step S1009 is performed.
Step S1005: the web server 9 obtains the user (j)7 corresponding to the first resource label.
Step S1006: the web server 9 generates a symbiotic resource response object.
The symbiotic resource response object comprises an identifier (1 is more than or equal to i and less than or equal to n) of a target user terminal USER (i) for initiating resource access, an identifier (1 is more than or equal to j and less than or equal to n) of USER (j), access initiation Time and resource signaling cmd (j) to (i).
Step S1007: the Web server 9 sends this symbiotic resource response object to user (j)7 and user (i)8 to establish a communication channel.
The symbiotic resource response object contains access initiating time, so that a timestamp is added in the resource transmission process of the user (j) and the user (i), and unnecessary occupation of network bandwidth resources caused by the fact that the user (i) initiates the same resource access request for multiple times in a short time is avoided.
Step S1008: user (j)7 sends the first resource corresponding to the first resource label to user (i)8 through the communication channel.
Step S1009: the web server 9 obtains a second resource corresponding to the second resource tag from the native resource library 92.
Step S1010: web server 9 sends the second resource in the form of a Response to user (i) 8.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (14)

1. A data processing method applied to a web server, wherein the web server includes a resource tag library and a native resource library, the resource tag library stores therein resource tags corresponding to resources that have been accessed by respective user terminals to the web server, and correspondence between the respective resource tags and the user terminals that have accessed the resource tags, and the native resource library stores therein various resources of a network system, the data processing method includes:
receiving a resource access request sent by a target user terminal;
acquiring a target resource label from the access request;
matching the resource label in the resource label library with the target resource label;
when a first resource label matched with the target resource label is determined, a sending user terminal corresponding to the first resource label is obtained;
establishing a communication channel between the destination user terminal and the sending user terminal, wherein the communication channel is a channel for the sending user terminal to send the first resource corresponding to the first resource label to the destination user terminal;
when a second resource label which is not matched with the resource label in the resource label library in the target resource label is determined, acquiring a second resource corresponding to the second resource label from the original resource library, and sending the second resource to the target user terminal;
further comprising:
storing the target resource label and the corresponding relation of the target user terminal to the resource label library;
and deleting the corresponding relation between the first resource label and the sending user terminal in the resource label library.
2. The data processing method of claim 1, wherein matching the resource tag in the resource tag library with the destination resource tag comprises:
judging whether the target resource label is included in the resource label library or not;
when the resource label library comprises the target resource label, determining that the target resource label is the first resource label;
and when the target resource label is not included in the resource label library, determining that the target resource label is the second resource label.
3. The data processing method of claim 1, wherein matching the resource tag in the resource tag library with the destination resource tag comprises:
judging whether the target resource label is included in the resource label library or not;
when the resource label library comprises the target resource label, determining that the target resource label is the first resource label;
when the target resource label is not included in the resource label library, judging whether the resource label in the resource label library includes a part of the target resource label;
determining a part of the target resource labels included in the resource labels in the resource label library as the first resource labels;
and determining a part of the target resource label which is not included by the resource labels in the resource label library as the second resource label.
4. The data processing method according to any of claims 1 to 3, wherein the establishing a communication channel between the destination ue and the sending ue comprises:
generating a symbiotic resource response object of the target user terminal for acquiring the first resource corresponding to the first resource label from the sending user terminal;
and sending the symbiotic resource response object to the target user terminal and the sending user terminal.
5. The data processing method according to claim 4, wherein the generating the symbiotic resource response object for the destination ue to obtain the first resource corresponding to the first resource tag from the sending ue comprises:
generating a resource signaling for acquiring a first resource corresponding to the first resource label from the sending user terminal, wherein the resource signaling comprises the sending user terminal identification ID and the first resource label information;
obtaining access initiation time from the access request;
and generating the symbiotic resource response object according to the identification ID of the target user terminal, the access initiation time and the resource signaling.
6. The data processing method of claim 1, further comprising:
and when a target resource instruction which is sent by the target user terminal and corresponds to the target resource label is received, deleting the corresponding relation between the target user terminal and the target resource label in the resource label library.
7. A data processing apparatus applied to a web server including a resource tag library and a native resource library, the resource tag library storing therein resource tags corresponding to resources that have been accessed by respective user terminals to the web server and correspondence between the respective resource tags and the user terminals that have accessed the resource tags, the native resource library storing therein various resources of a network system, the data processing apparatus comprising:
the receiving module is used for receiving a resource access request sent by a target user terminal;
the first acquisition module is used for acquiring a target resource label from the access request;
the matching module is used for matching the resource label in the resource label library with the target resource label;
the second acquisition module is used for acquiring a sending user terminal corresponding to the first resource label when the first resource label matched with the target resource label is determined;
a communication channel establishing module, configured to establish a communication channel between the destination user terminal and the sending user terminal, where the communication channel is a channel through which the sending user terminal sends the first resource corresponding to the first resource tag to the destination user terminal;
a first sending module, configured to, when a second resource tag that is not matched with a resource tag in the resource tag library is determined in the destination resource tag, obtain a second resource corresponding to the second resource tag from the native resource library, and send the second resource to the destination user terminal;
a storage module, configured to store the destination resource tag and the corresponding relationship between the destination user terminal and the destination resource tag library;
and the first deleting module is used for deleting the corresponding relation between the first resource label and the sending user terminal in the resource label library.
8. The data processing apparatus of claim 7, wherein the matching module comprises:
a first judging unit, configured to judge whether the resource tag library includes the target resource tag;
a first determining unit, configured to determine, when the resource tag library includes the destination resource tag, that the destination resource tag is the first resource tag;
a second determining unit, configured to determine that the destination resource tag is the second resource tag when the destination resource tag is not included in the resource tag library.
9. The data processing apparatus of claim 7, wherein the matching module comprises:
a second judging unit, configured to judge whether the resource tag library includes the target resource tag;
a third determining unit, configured to determine, when the resource tag library includes the destination resource tag, that the destination resource tag is the first resource tag;
a third judging unit, configured to, when the target resource tag is not included in the resource tag library, judge whether a resource tag in the resource tag library includes a part of the target resource tag;
a fourth determining unit, configured to determine, as the first resource label, a part of the destination resource labels included in the resource labels in the resource label library;
a fifth determining unit, configured to determine, as the second resource label, a part of the destination resource label that is not included in the resource labels in the resource label library.
10. The data processing apparatus according to any of claims 7 to 9, wherein the means for establishing a communication channel comprises:
a generating unit, configured to generate a symbiotic resource response object for the destination user terminal to acquire, from the sending user terminal, a first resource corresponding to the first resource tag;
a sending unit, configured to send the symbiotic resource response object to the destination user terminal and the sending user terminal.
11. The data processing apparatus of claim 10, wherein the generating unit comprises:
a first generating subunit, configured to generate a resource signaling for acquiring, from the sending user terminal, a first resource corresponding to the first resource tag, where the resource signaling includes the sending user terminal identifier ID and the first resource tag information;
the obtaining subunit is used for obtaining the access initiation time from the access request;
and the second generation subunit is configured to generate the symbiotic resource response object according to the identifier ID of the destination user terminal, the access initiation time, and the resource signaling.
12. The data processing apparatus of claim 7, further comprising:
and the second deleting module is used for deleting the corresponding relation between the target user terminal and the target resource label in the resource label library when receiving a target resource instruction which is sent by the target user terminal and corresponds to the target resource label.
13. A data processing system comprising a web server of the data processing apparatus of any of claims 7 to 12 and a plurality of user terminals, each of said user terminals comprising a device database.
14. The data processing system of claim 13, wherein the user terminal is further configured to:
determining a resource access request to be sent;
judging whether the equipment database comprises resources corresponding to the resource access request or not;
when the equipment database comprises resources corresponding to the resource access request, acquiring the resources corresponding to the resource access request from the equipment database;
and when the resource corresponding to the resource access request is not included in the equipment database, sending the resource access request.
CN201610447316.4A 2016-06-20 2016-06-20 Data processing method, device and system Active CN107528797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610447316.4A CN107528797B (en) 2016-06-20 2016-06-20 Data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610447316.4A CN107528797B (en) 2016-06-20 2016-06-20 Data processing method, device and system

Publications (2)

Publication Number Publication Date
CN107528797A CN107528797A (en) 2017-12-29
CN107528797B true CN107528797B (en) 2021-02-12

Family

ID=60734713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610447316.4A Active CN107528797B (en) 2016-06-20 2016-06-20 Data processing method, device and system

Country Status (1)

Country Link
CN (1) CN107528797B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737324B (en) * 2020-08-14 2021-02-09 支付宝(杭州)信息技术有限公司 Data analysis method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448020A (en) * 2008-12-29 2009-06-03 深圳市迅雷网络技术有限公司 Data source return method and device
CN102761623B (en) * 2012-07-26 2015-11-25 北京奇虎科技有限公司 Resource self-adaptive joins method for down loading, system, data storage server and communication system
CN104346374A (en) * 2013-07-31 2015-02-11 阿里巴巴集团控股有限公司 Data processing method and system
CN105338039A (en) * 2014-08-11 2016-02-17 无锡市嘉邦电力管道厂 IOT resource obtaining method and device
CN105653691B (en) * 2015-12-29 2019-05-10 广东城智科技有限公司 Management of information resources method and managing device

Also Published As

Publication number Publication date
CN107528797A (en) 2017-12-29

Similar Documents

Publication Publication Date Title
CN109949111B (en) Electronic bill identification distribution method, electronic bill generation method, device and system
US5227778A (en) Service name to network address translation in communications network
CN108512821B (en) Data transmission method, device and system, network gate and transaction data storage method
CN104125208B (en) Data transmission method and device
US8903972B2 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN102695167B (en) Mobile subscriber identity management method and apparatus thereof
US8352931B2 (en) Data push service method and system using data pull model
CN110413418B (en) Cache synchronization device and method, cache synchronization system and electronic equipment
CN116405461A (en) Data processing method, network element equipment and readable storage medium
CN101895520B (en) Widget system data sharing method, server and data sharing system
CN114338650A (en) File transmission method and device, electronic equipment and readable storage medium
CN101159757B (en) Dual-home synchronous data transmission method
CN111427613B (en) Application program interface API management method and device
CN114153626A (en) Method and device for abstracting service integration process and computer equipment
CN110392119B (en) Data transmission method and base station
CN114244654A (en) URL forwarding method, device, equipment and computer storage medium
CN107528797B (en) Data processing method, device and system
CN107241422B (en) Method for synchronizing external user and user group information into Apache Range in real time
CN111327680B (en) Authentication data synchronization method, device, system, computer equipment and storage medium
CN103034632A (en) Information transmitting method and a system
CN110784510A (en) Method for accessing target service node to bus and information interaction method of service node
CN113612811B (en) Method, system, equipment and medium for client mounting in multiple channels
CN111935316B (en) Method and device for acquiring front-end equipment catalog
US20060080396A1 (en) Electronic mail charging system and electronic mail charging method
WO2014177058A1 (en) Transmission method and device for file data

Legal Events

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