CN111031090B - Data processing method and device, electronic equipment and readable storage medium - Google Patents

Data processing method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111031090B
CN111031090B CN201911002679.7A CN201911002679A CN111031090B CN 111031090 B CN111031090 B CN 111031090B CN 201911002679 A CN201911002679 A CN 201911002679A CN 111031090 B CN111031090 B CN 111031090B
Authority
CN
China
Prior art keywords
data
channel
client
identifier
server
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
CN201911002679.7A
Other languages
Chinese (zh)
Other versions
CN111031090A (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201911002679.7A priority Critical patent/CN111031090B/en
Publication of CN111031090A publication Critical patent/CN111031090A/en
Application granted granted Critical
Publication of CN111031090B publication Critical patent/CN111031090B/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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a data processing method and device, electronic equipment and a readable storage medium, and relates to the technical field of data processing. The method comprises the following steps: receiving integrated data sent by a server, wherein the integrated data carries a first data identifier, the integrated data is first channel data of a first client from different channels integrated by the server, the first channel data carries a channel identifier, and the first data identifier is a unique identifier which is added by the server and is different from the channel identifier; finding the corresponding first channel data in the integrated data according to the first data identification; and rendering and displaying the first channel data. According to the data processing method provided by the invention, the channel data is managed by adding the unique data identifier to the channel data, so that the management mode of the channel data is optimized, and the corresponding channel data can be accurately searched through the first data identifier.

Description

Data processing method and device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data processing method, an apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of information technology, the data interaction process is more and more, and the data of a plurality of channels are collected to the same channel to be processed more and more. In order to determine from which channel the received data originates, it is known in the art to identify the source of the data by adding a channel identification to the data from the channel.
However, in the course of implementing the present invention, the inventors found that at least the following problems exist in the related art: when data from a plurality of channels is used, more channel identifiers exist, the data is used more disorderly, and no clear representation effect exists.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a data processing method, apparatus, electronic device, and computer-readable storage medium that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention discloses a data processing method, which is applied to a second client, and the method includes:
receiving integrated data sent by a server, wherein the integrated data carries a first data identifier, the integrated data is first channel data of first clients from different channels integrated by the server, the first channel data carries a channel identifier, and the first data identifier is a unique identifier which is added by the server and is different from the channel identifier; searching the corresponding first channel data in the integrated data according to the first data identification; and rendering and displaying the first channel data.
Optionally, the method further comprises: when change operation which is triggered by a user and aims at a data value is detected, a data change instruction is generated, and the data change instruction carries a second data identifier and a data change condition; searching the corresponding first channel data from the integrated data according to the second data identification; and changing the data value of the searched first channel data according to the data change condition.
Optionally, after the data value of the searched first channel data is changed according to the data change condition, the method further includes: generating a data change request according to the second data identification and the data change condition; and sending the data change request to the server so that the server sends the data change request to a first client according to the second data identifier, wherein the data change request is used for the first client to change the data value of the local first channel data according to the data change condition.
Optionally, the method further comprises: generating a data acquisition request when detecting a page change operation triggered by a user, wherein the data acquisition request carries a third data identifier and a page change condition; sending the data acquisition request to the server so that the server sends the data acquisition request to the corresponding first client according to the third data identifier, wherein the data acquisition request is used for the first client to return second channel data according to the page change condition; and rendering and displaying the second channel data.
Optionally, sending the data obtaining request to the server includes: judging whether the integrated data has corresponding first channel data or not according to the third data identification; and sending the data acquisition request to the server under the condition that the corresponding first channel data is not contained in the integrated data.
In a second aspect, an embodiment of the present invention discloses a data processing method, which is applied to a server, and the method includes: integrating first channel data of a first client from different channels, wherein the first channel data carries a channel identifier; storing the first channel data as integrated data, and adding a first data identifier to the first channel data from different channels in the integrated data, wherein the first data identifier is a unique identifier different from the channel identifier; and sending the integrated data to a second client so that the second client finds the corresponding first channel data in the integrated data according to the first data identifier to perform rendering display.
Optionally, the method further comprises: receiving a data change request sent by the second client, wherein the data change request is generated when the second client detects a change operation for a data value triggered by a user, and the data change request carries a second data identifier and a data change condition; inquiring corresponding first channel data according to the second data identification; determining a corresponding first client according to the channel identification of the first channel data; and sending the data change request to the corresponding first client so that the first client changes the data value of the local first channel data according to the data change condition.
Optionally, the method further comprises: receiving a data acquisition request sent by the second client, wherein the data acquisition request is generated by the second client when detecting a page change operation triggered by a user, and the data acquisition request carries a third data identifier and a page change condition; inquiring the corresponding first channel data according to the third data identification; determining a corresponding first client according to the channel identification of the first channel data; sending the data acquisition request to the corresponding first client so that the first client responds to the data acquisition request and returns second channel data according to the page change condition; and adding the third data identifier to the second channel data, and sending the second channel data added with the third data identifier to the second client, so that the second client renders and displays the second channel data.
In a third aspect, an embodiment of the present invention discloses a data processing apparatus, which is applied to a second client, and the apparatus includes: the system comprises a receiving module and a processing module, wherein the receiving module is used for receiving integrated data sent by a server, the integrated data carries a first data identifier, the integrated data is first channel data of first clients from different channels integrated by the server, the first channel data carries a channel identifier, and the first data identifier is a unique identifier which is added by the server and is different from the channel identifier; the searching module is used for searching the corresponding first channel data in the integrated data according to the first data identifier; and the rendering and displaying module is used for rendering and displaying the first channel data.
Optionally, the apparatus further comprises: the first generation module is used for generating a data change instruction when a change operation which is triggered by a user and aims at a data value is detected, wherein the data change instruction carries a second data identifier and a data change condition; the searching sub-module is used for searching the corresponding first channel data from the integrated data according to the second data identification; and the changing module is used for changing the searched data value of the first channel data according to the data change condition.
Optionally, the apparatus further comprises: a second generating module, configured to generate a data change request according to the second data identifier and the data change condition; a first sending module, configured to send the data change request to the server, so that the server sends the data change request to a first client according to the second data identifier, where the data change request is used by the first client to change a data value of the local first channel data according to the data change condition.
Optionally, the apparatus further comprises: the third generation module is used for generating a data acquisition request when detecting page change operation triggered by a user, wherein the data acquisition request carries a third data identifier and a page change condition; a second sending module, configured to send the data obtaining request to the server, so that the server sends the data obtaining request to the corresponding first client according to the third data identifier, where the data obtaining request is used for the first client to return second channel data according to the page change condition; and the rendering and displaying submodule is used for rendering and displaying the second channel data.
Optionally, the apparatus further comprises: the judging module is used for judging whether the integrated data has corresponding first channel data according to the third data identification; a third sending module, configured to send the data obtaining request to the server when the integrated data does not have the corresponding first channel data.
In a fourth aspect, an embodiment of the present invention discloses a data processing apparatus, which is applied to a server, and the apparatus includes:
the system comprises an integration module, a channel identification module and a channel identification module, wherein the integration module is used for integrating first channel data of first clients from different channels, and the first channel data carries channel identification; the storage adding module is used for storing the first channel data as integrated data and adding a first data identifier to the first channel data from different channels in the integrated data, wherein the first data identifier is a unique identifier different from the channel identifier; and the sending module is used for sending the integrated data to a second client so that the second client finds the corresponding first channel data in the integrated data according to the first data identifier to perform rendering display.
Optionally, the apparatus further comprises: a first receiving module, configured to receive a data change request sent by the second client, where the data change request is generated by the second client when a change operation for a data value triggered by a user is detected, and the data change request carries a second data identifier and a data change condition; the first query module is used for querying corresponding first channel data according to the second data identification; the first determining module is used for determining a corresponding first client according to the channel identifier of the first channel data; and the first sending submodule is used for sending the data change request to the corresponding first client so that the first client can change the data value of the local first channel data according to the data change condition.
Optionally, the apparatus further comprises: a second receiving module, configured to receive a data acquisition request sent by the second client, where the data acquisition request is generated by the second client when detecting a page change operation triggered by a user, and the data acquisition request carries a third data identifier and a page change condition; the second query module is used for querying the corresponding first channel data according to the third data identifier; the second determining module is used for determining a corresponding first client according to the channel identifier of the first channel data; the second sending submodule is used for sending the data obtaining request to the corresponding first client so that the first client can respond to the data obtaining request and return second channel data according to the page changing condition; and the adding module is used for adding the third data identifier to the second channel data and sending the second channel data added with the third data identifier to the second client so that the second client renders and displays the second channel data.
In a fifth aspect, an embodiment of the present invention discloses an electronic device, including:
one or more processors; and
one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform a data processing method as described in the first or second aspect.
In a sixth aspect, an embodiment of the present invention discloses a computer-readable storage medium storing a computer program for causing a processor to execute the data processing method according to the first aspect or the second aspect.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, a second client receives integrated data sent by a server, wherein the integrated data is first channel data of a first client from different channels acquired by the server; the second client can accurately find the corresponding first channel data according to the first data identification in the integrated data, and then the first channel data is rendered and displayed, so that the resource content of the first client from different channels is displayed on the second client. The first data identification is added through the server, and the channel identification is carried in the first channel data. Because the first data identification is the unique identification which is added by the server after the channel data is integrated and is different from the channel identification, the second client can not manage the data through different types of channel identifications carried by the channel data any more, but index the channel data by using the first data identification which is different from the channel data and has a clear identification effect, and the management of the integrated data is optimized.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a schematic diagram of an application environment of a data processing method according to an embodiment of the present invention;
FIG. 6 is a flow diagram illustrating a method of data processing in accordance with an exemplary embodiment;
FIG. 7 is a flow chart illustrating a method of data processing in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating the structure of a data processing apparatus according to an exemplary embodiment;
fig. 9 is a block diagram of a data processing apparatus according to an example embodiment.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To enable those skilled in the art to better understand the embodiments of the present invention, the following description is given of the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, and realizes the seamless connection of a whole network switching type virtual circuit and a data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video network and the unified video platform is different from the traditional server, the streaming media transmission of the video network and the unified video platform is established on the basis of connection orientation, the data processing capability of the video network and the unified video platform is irrelevant to flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by over one hundred times compared with that of the traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eradicates the network security problem disturbing the Internet from the structure by the modes of independent admission control of each service, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, stops the attack of hackers and viruses and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once, but also connected with a single user, a private network user or the sum of one network. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type matching table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch and can also be directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may interconnect and interwork via metropolitan and wide area video networks.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the packets coming from the network interface module 201, the cpu module 203 and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) The port send buffer is not full; 2) The queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues and may include two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) The port send buffer is not full; 2) The queued packet counter is greater than zero; 3) Obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) The port send buffer is not full; 2) The queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switch engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2 byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Vission networking data packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), source Address (SA), reserved byte, payload (PDU), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
reserved bytes consist of 2 bytes;
the payload part has different lengths according to the types of different datagrams, 64 bytes if various protocol packets, 32+1024=1056 bytes if single-multicast data packets, and certainly not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 packet definition for metropolitan area networks
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is divided into an in label and an out label, and assuming that the label (in label) of the data packet entering the device a is 0x0000, the label (out label) of the data packet leaving the device a may become 0x0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), source Address (SA), reserved byte (Reserved), tag, payload (PDU), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Referring to fig. 5, a schematic diagram of an application environment of the data processing method according to the embodiment of the present invention is shown. The invention can be applied to the video network, the server can be in communication connection with a plurality of terminals, and the plurality of terminals can respectively operate different types of first clients. The server can integrate channel data generated by first clients running on different first terminals, arrange the channel data into integrated data and send the integrated data to a second client running on a second terminal, and display resources of at least one first client from different channels to a user in the second client, so that the user can browse the resources from more channels.
For example, in practice, channel data from a console, a visual union, a micro-visual union and other clients can be integrated through a visual networking server, and then the integrated channel data is stored as integrated data and sent to a visual union APP, so that the content of the console, the visual union and the micro-visual union is displayed on the visual union APP.
Referring to FIG. 6, a flow diagram of a method of data processing is shown in conjunction with the application environment described above, according to an exemplary embodiment. The data processing method is applied to a second client, and specifically comprises the following steps:
step S601, receiving integrated data sent by a server, wherein the integrated data carries a first data identifier, the integrated data is first channel data of first clients from different channels integrated by the server, the first channel data carries a channel identifier, and the first data identifier is a unique identifier which is added by the server and is different from the channel identifier.
When the first client sends the first channel data, a channel identifier is carried in the first channel data, and the channel identifier is used for identifying the source of the data, that is, which client the data originates from is tracked according to the channel identifier.
After receiving first channel data from a first client, the server adds first data identifiers to the received first channel data respectively, and then stores the received first channel data as a whole as integrated data. The first channel data are arranged and stored as the integrated data, so that the definition of the channel data can be improved, and the data can be managed conveniently. Meanwhile, adding a first data identifier different from the channel identifier for the first channel data can also be used for identifying the first channel data. Wherein the first data identification is a uniform identification which is different from the channel identification, the data identification can be characters, numbers, characters, figures and the like,
it should be noted that, after the server adds the first data identifier to the channel data, the channel identifier carried by the channel data still exists, that is, the channel identifier and the first data identifier may exist in the integrated data at the same time.
Step S602, finding the corresponding first channel data in the integrated data according to the first data identifier.
Step S603, performing rendering display on the first channel data.
When the second client side renders and displays the resources from the first client side, the first channel data in the integrated data can be indexed through the first data identification, the needed data can be accurately found, then the found first channel data is extracted to be rendered and displayed, and the resources are displayed to the user.
The channel data are managed by using the unique first data identification different from the channel identification, so that the first channel data in the integrated data can be accurately judged, the phenomenon that channel identifications of a plurality of different types are used in a chaotic manner can be avoided, and a clear identification effect is brought.
In the embodiment, the second client receives integrated data sent by the server, wherein the integrated data is first channel data of the first client from different channels acquired by the server; the second client can accurately find the corresponding first channel data according to the first data identification in the integrated data, and then the first channel data is rendered and displayed, so that the resource content of the first client from different channels is displayed on the second client. The first data identification is added through the server, and the channel identification is carried in the first channel data. Because the first data identification is the unique identification which is added by the server after integrating the channel data and is different from the channel identification, the second client can not manage the data through different types of channel identifications carried by the channel data any more, but index the channel data by using the first data identification which is different from the channel data and has a uniform form, so that the method has a clear identification effect and optimizes the management of the integrated data.
After the integration data are sent to the second client side through the server, the second client side can operate the first channel data in the integration data through the first data identification.
In combination with the above embodiments, in one implementation, the method further includes:
and when the change operation which is triggered by a user and aims at the data value is detected, generating a data change instruction, wherein the data change instruction carries a second data identifier and a data change condition.
One way to operate with the first data identity is to: a change to a value of the first channel data. When the user uses the second client, the value of the displayed page data may be changed, and at this time, when the second client detects the change operation of the user, the second client generates a data change instruction, and the data change instruction carries the second data identifier and the data change instruction. The second data identification is used for searching the corresponding first channel identification, and the data change condition is used for indicating the content of the change of the first channel data. For example, the data value corresponding to the current display page in the first channel data is 1, and the second client is instructed to change the data value of the current display page to 2 in the data change condition.
And finding the corresponding first channel data from the integrated data according to the second data identification.
The second data identifier generated by the second client may be matched with the first data identifier of the first channel data, and if the second data identifier matches the corresponding first data identifier, the first channel data identified by the corresponding first data identifier may be considered as the first channel data to be searched. For example, the data identifier for identifying each first channel data is in the form of S, the first data identifier may specifically be S11, S12, and S13, and the generated second data identifier is S12, so that the first channel data corresponding to the first data identifier S12 may be considered to be the channel data whose data value needs to be changed.
And changing the data value of the searched first channel data according to the data change condition.
And after the first channel data needing to be changed is found, changing the data value according to the data change condition in the data change instruction. For example, if the value of the original first channel data is 1 and the data change condition is that 2 is added to the original data value, the value of the first channel data is changed to 3; the original data value may also be changed to a specified data value for the root data change condition, such as changing the original data from 1 to 10.
Through the mode, the user can change the data value of the channel data in the integrated data on the second client, so that the user is more convenient to use the resources from the first client on the second client, and the use experience of the user is improved.
With reference to the foregoing embodiment, in an implementation manner, after the data value of the first channel data that is found is changed according to the data change condition, the method may further include:
generating a data change request according to the second data identification and the data change condition;
accordingly, after the data value of the first channel data is changed at the second client, the data value at the position before the integration of the first channel data needs to be changed, that is, the data value of the first channel data at the first client is changed, and the data values at the first client and the second client are synchronized. According to the conditions carried by the data change instruction: and generating a data change request by the second data identifier and the data change condition, wherein the data change request is used for enabling the first client to carry out corresponding data value change on the first channel data.
And sending the data change request to the server so that the server sends the data change request to a first client according to the second data identifier, wherein the data change request is used for the first client to change the data value of the local first channel data according to the data change condition.
After receiving the data change request, the server firstly analyzes the data change request to obtain a second data identifier in the data change request, and then searches the corresponding first data identifier according to the second data identifier; then, searching corresponding first channel data according to the first data identification, acquiring a channel identification corresponding to the first channel data, and identifying a first client of a source of the first channel data according to the channel identification; and finally, sending the data change request to the determined first client.
After receiving the data change request, the first client analyzes the data change request to obtain a data change condition, and accordingly changes the data value of the local first channel data according to the data change condition.
By the above method, the resource data of the display content of the second client and the resource data of the first client can be synchronized. It can be understood that when the channel resource data at the first client changes, the channel data may continue to be integrated by the server, and then an identifier is added as integrated data and sent to the second client, and the second client obtains the channel data corresponding to the change to perform rendering display, thereby implementing synchronization between the resource data at the first client and the second client.
With reference to the foregoing embodiment, in another implementation manner, after the integrated data is sent to the second client through the server, the second client may further request new data from the first client through the first data identifier. The method further comprises the following steps:
and when detecting page change operation triggered by a user, generating a data acquisition request, wherein the data acquisition request carries a third data identifier and a page change condition.
When the user switches the page displayed by the second client, the switching may be realized only by the switched page data. Therefore, when the page change operation triggered by the user is detected, a data acquisition request carrying the third data identifier and the page change condition can be generated so as to acquire the source channel data from the first client side for rendering and displaying.
The third data identifier is also a data identifier in the same form as the first data identifier, so that the second client, the first client and the server can accurately find the corresponding first data identifier according to the third data identifier. The page change condition is used for requesting data from the first client, and the first client returns corresponding channel data through the indication of the page change condition.
And sending the data acquisition request to the server so that the server sends the data acquisition request to the corresponding first client according to the third data identifier, wherein the data acquisition request is used for the first client to return second channel data according to the page change condition.
After receiving the data acquisition request, the server obtains a third data identifier in the data acquisition request through analysis, finds a corresponding first data identifier according to the third data identifier, determines first channel data represented by the first data identifier, and determines a corresponding first client according to the channel identifier of the first channel data; and finally, sending a data acquisition request to the first client.
And the first client returns the corresponding second channel data to the second client according to the data change condition.
And rendering and displaying the second channel data.
It should be noted that the second channel data received by the second client is also sent to the second client after the first data identifier is added by the server, and the second client stores the second channel data in the local integrated data of the second client after receiving the second channel data. And finally, extracting the second channel data according to the first data identification corresponding to the second channel data to render and display.
In the above embodiment, when the page of the displayed integrated resource changes by the second client, the page switching may be implemented by requesting resource data from the first client, so as to display richer resource contents from multiple channels for the user.
With reference to the foregoing embodiment, in an implementation manner, sending the data obtaining request to the server includes:
and judging whether the integrated data has corresponding first channel data or not according to the third data identification.
For resources required for the change of the presentation page in the second client, the first channel data of the corresponding change requirement may or may not be in the integrated data. Therefore, before sending the data acquisition request to the server, it can be determined whether the integrated data has the first channel data corresponding to the change demand.
And sending the data acquisition request to the server under the condition that the integrated data does not have the corresponding first channel data.
It can be understood that, in the case that the integrated data has corresponding first channel data, sending the data acquisition request may be abandoned, and the corresponding first channel data is found in the integrated data directly according to the third data identifier in the data acquisition request, and is rendered and displayed after being extracted. By judging whether the first channel data corresponding to the page change exists in the integrated data in advance, the times of requesting data from the first client side can be effectively reduced, so that the page switching efficiency is improved, and the use experience of a user is improved.
In the embodiment, the second client receives integrated data sent by the server, wherein the integrated data is first channel data of the first client from different channels acquired by the server; the second client can accurately find the corresponding first channel data according to the first data identification in the integrated data, and then the first channel data is rendered and displayed, so that the resource content of the first client from different channels is displayed on the second client. The first data identification is added through the server, and the channel identification is carried in the first channel data. Because the first data identification is the unique identification which is added by the server after integrating the channel data and is different from the channel identification, the second client can not manage the data through different types of channel identifications carried by the channel data any more, but index the channel data by using the first data identification which is different from the channel data and has a uniform form, so that the method has a clear identification effect and optimizes the management of the integrated data.
Based on the same inventive concept, referring to fig. 7, a flow chart of a data processing method according to an exemplary embodiment is shown. The method is applied to a server and comprises the following steps:
step S701, integrating first channel data from first clients of different channels, wherein the first channel data carries channel identifiers.
The server can obtain first channel data by sending a request to first clients of different channels, wherein channel identifiers carried by the first channel data are used for identifying source channels of the first channel data.
Step S702, storing the first channel data as integrated data, and adding a first data identifier to first channel data from different channels in the integrated data, where the first data identifier is a unique identifier different from the channel identifier.
The server stores the first channel data as integrated data, so that unified management of the multi-channel data is facilitated, the processing mode of traditional data is optimized, and a first data identifier which is different from the channel identifier and has a unified form is added to the first channel data. When the integrated data is managed, the corresponding first channel data can be found through the first data identifier.
Step S703, sending the integrated data to a second client, so that the second client finds the corresponding first channel data in the integrated data according to the first data identifier, and performs rendering display.
And after storing the first channel data from the multiple channels as integrated data, packaging and sending the integrated data to a second client, and acquiring the corresponding first channel data from the integrated data by the second client according to the first data identifier to render and display.
The method has the advantages that the identifiers of different channel data are subjected to unified integrated processing, the traditional mode of managing by using the channel identifiers carried by the channel data is changed, the corresponding channel data can be found more clearly and quickly when the method is used, scattered channel data are arranged into integrated data, a data source is optimized, and therefore resource contents from a plurality of first clients are better displayed on a second client.
In combination with the above embodiments, in one implementation, the method further includes:
and receiving a data change request sent by the second client, wherein the data change request is generated when the second client detects a change operation for a data value triggered by a user, and the data change request carries a second data identifier and a data change condition.
When the data value of the first channel data is changed at the integration end, the value of the channel data at the integrated end needs to be correspondingly changed, so that the data change request is firstly sent to the server and is forwarded to the first client by the server. In this embodiment, the integration end is the second client, and the integrated end is the first client.
And querying corresponding first channel data according to the second data identification.
Before sending the data change request to the first client, the server queries corresponding first channel data according to the second data identifier, and then determines the first channel data according to the first data identifier.
And determining a corresponding first client according to the channel identifier of the first channel data.
Further, the server determines a corresponding first client according to a channel identifier carried by the first channel data and used for identifying a data source.
And sending the data change request to the corresponding first client so that the first client changes the data value of the local first channel data according to the data change condition.
After the first client side of the source of the first channel data for performing the data value change on the second client side is determined, the server sends the data change request to the first client side, and the change of the data value at the position before the first channel data integration is completed.
In combination with the above embodiments, in one implementation, the method further includes:
and receiving a data acquisition request sent by the second client, wherein the data acquisition request is generated when the second client detects a page change operation triggered by a user, and the data acquisition request carries a third data identifier and a page change condition.
When a second client needs to request new page data from a first client, the second client sends a generated data acquisition request to the corresponding first client through the server.
And querying the corresponding first channel data according to the third data identification.
The server searches the corresponding first data identifier according to the third data identifier, and then determines the corresponding first channel data according to the first data identifier.
And determining a corresponding first client according to the channel identification of the first channel data.
And finally, the server determines a corresponding first client according to a channel identifier carried by the first channel data and used for identifying a data source.
And sending the data acquisition request to the corresponding first client so that the first client responds to the data acquisition request and returns second channel data according to the page change condition.
And after the first client is determined, sending the data acquisition request to the corresponding client, analyzing the data acquisition request by the first client to obtain a page change condition, and returning the second channel data according to the page change condition.
And adding the third data identifier to the second channel data, and sending the second channel data added with the third data identifier to the second client, so that the second client renders and displays the second channel data.
After receiving the second channel data returned by the first client, the server adds a third data identifier for identifying the channel where the first client is located to the second channel data, and similarly, the third data identifier is used for the server and the second client to track the second channel data. And after the second channel data are sent to the second client, the second client extracts the second channel data according to the third data identification for rendering display.
In the embodiment, the second client receives integrated data sent by the server, wherein the integrated data is first channel data of the first client from different channels acquired by the server; the second client can accurately find the corresponding first channel data according to the first data identification in the integrated data, and then the first channel data is rendered and displayed, so that the resource content of the first client from different channels is displayed on the second client. The first data identification is added through the server, and the channel identification is carried in the first channel data. Because the first data identification is the unique identification which is added by the server after integrating the channel data and is different from the channel identification, the second client can not manage the data through different types of channel identifications carried by the channel data any more, but index the channel data by using the first data identification which is different from the channel data and has a uniform form, so that the method has a clear identification effect and optimizes the management of the integrated data.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 8, which is a block diagram illustrating a data processing apparatus according to an exemplary embodiment, applied to a second client, the apparatus may include the following modules:
a receiving module 801, configured to receive integrated data sent by a server, where the integrated data carries a first data identifier, where the integrated data is first channel data from first clients in different channels integrated by the server, and the first channel data carries a channel identifier, and the first data identifier is a unique identifier that is added by the server and is different from the channel identifier;
a searching module 802, configured to search the corresponding first channel data in the integrated data according to the first data identifier;
and the rendering and displaying module 803 is configured to render and display the first channel data.
Optionally, the apparatus further comprises:
the first generation module is used for generating a data change instruction when a change operation which is triggered by a user and aims at a data value is detected, wherein the data change instruction carries a second data identifier and a data change condition;
the searching submodule is used for searching the corresponding first channel data from the integrated data according to the second data identification;
and the changing module is used for changing the searched data value of the first channel data according to the data change condition.
Optionally, the apparatus further comprises:
the second generation module is used for generating a data change request according to the second data identifier and the data change condition;
and a first sending module, configured to send the data change request to the server, so that the server sends the data change request to a first client according to the second data identifier, where the data change request is used by the first client to change a data value of the local first channel data according to the data change condition.
Optionally, the apparatus further comprises:
the third generation module is used for generating a data acquisition request when detecting page change operation triggered by a user, wherein the data acquisition request carries a third data identifier and a page change condition;
a second sending module, configured to send the data obtaining request to the server, so that the server sends the data obtaining request to the corresponding first client according to the third data identifier, where the data obtaining request is used for the first client to return second channel data according to the page change condition;
and the rendering and displaying submodule is used for rendering and displaying the second channel data.
Optionally, the apparatus further comprises:
the judging module is used for judging whether the integrated data has corresponding first channel data or not according to the third data identification;
a third sending module, configured to send the data obtaining request to the server when the integrated data does not have the corresponding first channel data.
Referring to fig. 9, a block diagram of a data processing apparatus according to an exemplary embodiment is provided, where the apparatus is applied to a server, and the apparatus includes:
an integrating module 901, configured to integrate first channel data from first clients in different channels, where the first channel data carries a channel identifier;
a storage adding module 902, configured to store the first channel data as integrated data, and add a first data identifier to first channel data from different channels in the integrated data, where the first data identifier is a unique identifier different from the channel identifier;
a sending module 903, configured to send the integrated data to a second client, so that the second client finds the corresponding first channel data in the integrated data according to the first data identifier and performs rendering display.
Optionally, the apparatus further comprises:
a first receiving module, configured to receive a data change request sent by the second client, where the data change request is generated by the second client when a change operation for a data value triggered by a user is detected, and the data change request carries a second data identifier and a data change condition;
the first query module is used for querying corresponding first channel data according to the second data identification;
the first determining module is used for determining a corresponding first client according to the channel identifier of the first channel data;
and the first sending submodule is used for sending the data change request to the corresponding first client so that the first client can change the data value of the local first channel data according to the data change condition.
Optionally, the apparatus further comprises:
a second receiving module, configured to receive a data acquisition request sent by the second client, where the data acquisition request is generated by the second client when detecting a page change operation triggered by a user, and the data acquisition request carries a third data identifier and a page change condition;
the second query module is used for querying the corresponding first channel data according to the third data identifier;
the second determining module is used for determining a corresponding first client according to the channel identifier of the first channel data;
the second sending submodule is used for sending the data obtaining request to the corresponding first client so that the first client can respond to the data obtaining request and return second channel data according to the page changing condition;
and the adding module is used for adding the third data identifier to the second channel data and sending the second channel data added with the third data identifier to the second client so as to enable the second client to render and display the second channel data.
For the embodiment of the data processing device, since it is basically similar to the embodiment of the data processing method, the description is relatively simple, and for relevant points, reference may be made to part of the description of the embodiment of the data processing method.
An embodiment of the present invention further provides an electronic device, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform a data processing method according to any one of the embodiments of the present invention.
Embodiments of the present invention further provide a computer-readable storage medium, which stores a computer program to enable a processor to execute the data processing method according to the embodiments of the present invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present invention.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrases "comprising one of \ 8230; \8230;" does not exclude the presence of additional like elements in a process, method, article, or terminal device that comprises the element.
The data processing method, the data processing apparatus, the electronic device, and the computer-readable storage medium according to the present invention are described in detail, and specific examples are applied herein to illustrate the principles and implementations of the present invention, and the descriptions of the above examples are only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A data processing method applied to a second client, the method comprising:
receiving integrated data sent by a server, wherein the integrated data are obtained by adding first data identifiers for received first channel data of first clients of different channels by the server respectively and storing the first channel data as a whole; the first channel data carries a channel identifier, and the first data identifier is a unique identifier different from the channel identifier; the channel identification is used for identifying the source of the data;
searching the corresponding first channel data in the integrated data according to the first data identification;
and rendering and displaying the first channel data.
2. The method of claim 1, further comprising:
when a change operation which is triggered by a user and aims at a data value is detected, a data change instruction is generated, and the data change instruction carries a second data identifier and a data change condition;
searching the corresponding first channel data from the integrated data according to the second data identification;
and changing the data value of the searched first channel data according to the data change condition.
3. The method as claimed in claim 2, wherein after the data value of the first channel data found is changed according to the data change condition, the method further comprises:
generating a data change request according to the second data identification and the data change condition;
and sending the data change request to the server so that the server sends the data change request to a first client according to the second data identifier, wherein the data change request is used for the first client to change the data value of the local first channel data according to the data change condition.
4. The method of claim 1, further comprising:
generating a data acquisition request when detecting a page change operation triggered by a user, wherein the data acquisition request carries a third data identifier and a page change condition;
sending the data acquisition request to the server so that the server sends the data acquisition request to the corresponding first client according to the third data identifier, wherein the data acquisition request is used for the first client to return second channel data according to the page change condition;
and rendering and displaying the second channel data.
5. The method of claim 4, wherein sending the data acquisition request to the server comprises:
judging whether the integrated data has corresponding first channel data or not according to the third data identification;
and sending the data acquisition request to the server under the condition that the integrated data does not have the corresponding first channel data.
6. A data processing method is applied to a server, and the method comprises the following steps:
receiving first channel data from a first client of different channels, wherein the first channel data carries a channel identifier;
adding first data identifications to the first channel data from different channels respectively, and storing the first channel data of the different channels as a whole as integrated data, wherein the first data identifications are unique identifications different from the channel identifications; the channel identification is used for identifying the source of the data;
and sending the integrated data to a second client so that the second client finds the corresponding first channel data in the integrated data according to the first data identifier to perform rendering display.
7. The method of claim 6, further comprising:
receiving a data change request sent by the second client, wherein the data change request is generated when the second client detects a change operation for a data value triggered by a user, and the data change request carries a second data identifier and a data change condition;
querying corresponding first channel data according to the second data identification;
determining a corresponding first client according to the channel identification of the first channel data;
and sending the data change request to the corresponding first client so that the first client changes the data value of the local first channel data according to the data change condition.
8. The method of claim 6, further comprising:
receiving a data acquisition request sent by the second client, wherein the data acquisition request is generated by the second client when detecting a page change operation triggered by a user, and the data acquisition request carries a third data identifier and a page change condition;
inquiring the corresponding first channel data according to the third data identification;
determining a corresponding first client according to the channel identification of the first channel data;
sending the data acquisition request to the corresponding first client, so that the first client responds to the data acquisition request and returns second channel data according to the page change condition;
and adding the third data identifier to the second channel data, and sending the second channel data added with the third data identifier to the second client so that the second client renders and displays the second channel data.
9. A data processing apparatus, applied to a second client, the apparatus comprising:
the receiving module is used for receiving integrated data sent by a server, wherein the integrated data are obtained by adding first data identifiers to first channel data of first clients of different channels respectively and storing the first channel data as a whole by the server; the integrated data carries a first data identifier, the first channel data carries a channel identifier, and the first data identifier is a unique identifier which is added by the server and is different from the channel identifier; the channel identification is used for identifying the source of the data;
the searching module is used for searching the corresponding first channel data in the integrated data according to the first data identifier;
and the rendering and displaying module is used for rendering and displaying the first channel data.
10. A data processing apparatus, applied to a server, the apparatus comprising:
the integrated module is used for receiving first channel data from first clients of different channels, wherein the first channel data carries channel identifiers;
the storage adding module is used for respectively adding first data identifications to the first channel data from different channels and storing the first channel data as integrated data, wherein the first data identifications are unique identifications different from the channel identifications; the channel identification is used for identifying the source of the data;
and the sending module is used for sending the integrated data to a second client so that the second client finds the corresponding first channel data in the integrated data according to the first data identifier to perform rendering display.
11. An electronic device, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform the data processing method of any of claims 1-5 or 6-8.
12. A computer-readable storage medium storing a computer program for causing a processor to perform the data processing method according to any one of claims 1 to 5 or 6 to 8.
CN201911002679.7A 2019-10-21 2019-10-21 Data processing method and device, electronic equipment and readable storage medium Active CN111031090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911002679.7A CN111031090B (en) 2019-10-21 2019-10-21 Data processing method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911002679.7A CN111031090B (en) 2019-10-21 2019-10-21 Data processing method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111031090A CN111031090A (en) 2020-04-17
CN111031090B true CN111031090B (en) 2023-02-28

Family

ID=70201289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911002679.7A Active CN111031090B (en) 2019-10-21 2019-10-21 Data processing method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111031090B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114728B (en) * 2020-09-18 2022-02-15 北京搜狗科技发展有限公司 Input method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109525663A (en) * 2018-11-15 2019-03-26 视联动力信息技术股份有限公司 A kind of methods of exhibiting and system of video data
CN110062259A (en) * 2019-04-19 2019-07-26 视联动力信息技术股份有限公司 Video acquiring method, system, equipment and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8527527B2 (en) * 2009-05-29 2013-09-03 Clear Channel Management Services, Inc. Content enrichment using unified system of unique identifiers
US10575055B2 (en) * 2016-07-11 2020-02-25 Sony Corporation Using automatic content recognition (ACR) to weight search results for audio video display device (AVDD)

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109525663A (en) * 2018-11-15 2019-03-26 视联动力信息技术股份有限公司 A kind of methods of exhibiting and system of video data
CN110062259A (en) * 2019-04-19 2019-07-26 视联动力信息技术股份有限公司 Video acquiring method, system, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111031090A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN110647698B (en) Page loading method and device, electronic equipment and readable storage medium
CN108965224B (en) Video-on-demand method and device
CN109617956B (en) Data processing method and device
CN110190973B (en) Online state detection method and device
CN109309806B (en) Video conference management method and system
CN109474715B (en) Resource configuration method and device based on video network
CN109547731B (en) Video conference display method and system
CN110475131B (en) Terminal connection method, server and terminal
CN110224988B (en) Image data processing method, system and device and storage medium
CN110839142B (en) Monitoring directory sharing method and device
CN110650313A (en) Catalog display method and device for monitoring resources and storage medium
CN110289974B (en) Data stream processing method, system and device and storage medium
CN110446058B (en) Video acquisition method, system, device and computer readable storage medium
CN110022500B (en) Packet loss processing method and device
CN110134892B (en) Loading method and system of monitoring resource list
CN111031090B (en) Data processing method and device, electronic equipment and readable storage medium
CN109743585B (en) Method and device for collecting monitoring videos and cloning favorites
CN110418169B (en) Monitoring data carousel method and device
CN108574655B (en) Conference monitoring and broadcasting method and device
CN110557411A (en) video stream processing method and device based on video network
CN110516141B (en) Data query method and device, electronic equipment and readable storage medium
CN109756476B (en) User-defined nickname setting method and system based on video network
CN110062259B (en) Video acquisition method, system, device and computer readable storage medium
CN110557372B (en) Data acquisition method and system
CN110266768B (en) Data transmission method and system

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