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

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

Info

Publication number
CN116886677A
CN116886677A CN202310864074.9A CN202310864074A CN116886677A CN 116886677 A CN116886677 A CN 116886677A CN 202310864074 A CN202310864074 A CN 202310864074A CN 116886677 A CN116886677 A CN 116886677A
Authority
CN
China
Prior art keywords
module
communication
communication module
processed
communication modules
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.)
Pending
Application number
CN202310864074.9A
Other languages
Chinese (zh)
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.)
Xian Fibocom Wireless Software Inc
Original Assignee
Xian Fibocom Wireless Software Inc
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 Xian Fibocom Wireless Software Inc filed Critical Xian Fibocom Wireless Software Inc
Priority to CN202310864074.9A priority Critical patent/CN116886677A/en
Publication of CN116886677A publication Critical patent/CN116886677A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay

Abstract

The embodiment of the application provides a data processing method, a data processing device, electronic equipment and a storage medium. The method comprises the following steps: under the condition that the number of the idle states in the plurality of communication modules is greater than or equal to N, the data to be processed is subjected to subpackaging processing to obtain N first data packets to be processed, wherein N is a positive integer; determining N communication modules in an idle state in the plurality of communication modules based on a module management table, wherein the module management table comprises idle information of the plurality of communication modules; respectively transmitting N first data packets to be processed to N communication modules; and receiving N first processed data packets returned by the N communication modules, wherein the N first processed data packets are obtained by processing the N first data packets to be processed by the N communication modules. By adopting the embodiment of the application, the processing time of the data to be processed can be shortened, and the efficiency can be improved.

Description

Data processing method, device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method, a data processing device, an electronic device, and a storage medium.
Background
The module is to package the hardware such as chip, radio frequency, storage, power management, etc. The terminal customer directly uses the standard interface to connect with the module to realize network connection. The module may perform a codec process on data from the end customer or data generated by its own operation, for example, the module may perform a multimedia video codec.
However, under the circumstance that the multimedia data is continuously increased and the multimedia computing power demand is continuously increased, the module needs to encode and decode a large amount of multimedia data, which results in long time and low efficiency of processing the data by the module.
Disclosure of Invention
The embodiment of the application discloses a data processing method, a device, electronic equipment and a storage medium, which can shorten the processing time of data to be processed and improve the efficiency.
In a first aspect, an embodiment of the present application provides a data processing method, where the method is applied to a first communication module, where the first communication module is included in a local area network, the local area network includes a plurality of communication modules, and the plurality of communication modules are networked by using a 5G local area network LAN technology, and the method includes:
under the condition that the number of the idle states in the plurality of communication modules is greater than or equal to N, the data to be processed is subjected to subpackaging processing to obtain N first data packets to be processed, wherein N is a positive integer; determining N communication modules in an idle state in the plurality of communication modules based on a module management table, wherein the module management table comprises idle information of the plurality of communication modules; respectively transmitting the N first data packets to be processed to the N communication modules; and receiving N first processed data packets returned by the N communication modules, wherein the N first processed data packets are obtained by processing the N first data packets to be processed by the N communication modules.
In the embodiment of the application, a plurality of communication modules can be freely networked through a 5G LAN technology to form a local area network, and the information of the plurality of communication modules, such as basic information, address information, idle information and the like of the communication modules, is managed through the module management table. When the first communication module has data to be processed, the first communication module can inquire N communication modules in an idle state in the local area network through the module management table, packetize the data to be processed to obtain N data packets to be processed, and then send the N data packets to be processed to the N communication modules respectively, so that the N communication modules process the data for the first communication module, and therefore surplus resources of the communication modules in the local area network are utilized, resource sharing is achieved, the processing time of the data to be processed can be shortened, and efficiency is improved.
With reference to the first aspect, in one possible implementation manner, after the sending the N first packets to be processed to the N communication modules, the method further includes:
receiving first update information from a second communication module, wherein the first update information is used for updating idle information of the second communication module, and the second communication module is any one of the N modules; updating idle information of the second communication module in the module management table based on the first updating information; and sending the updated module management table to other communication modules in the local area network.
In the embodiment of the application, after the second communication module receives the data packet to be processed, the state information of the data packet can be updated, and the first update information indicates the idle information of the second communication module in the management of the first communication module update module. For example, the first communication module may update the idle information of the second communication module to a busy state. The first communication module can send the updated module management table to other modules in the local area network, so that the other modules can update the idle information of each communication module in the local area network in time, and the other modules can conveniently initiate data processing requests to the communication modules in the idle state in the local area network.
It can be understood that after the N communication modules receive the corresponding data packets to be processed, the corresponding update information may be sent to the first communication module. The first communication module may update the module management table after receiving the update information of the N communication modules.
With reference to the first aspect, in one possible implementation manner, before the packetizing the data to be processed to obtain N first data packets to be processed, the method further includes: and determining the number of the communication modules in the idle state in the plurality of communication modules based on the module management table.
In the embodiment of the application, the module management table comprises the idle information of a plurality of communication modules in the local area network, and the first communication module can determine the number of the communication modules in the idle state in the plurality of communication modules according to the idle information of the plurality of communication modules, so that the data to be processed can be more reasonably packetized according to the number of the communication modules in the idle state, and the number of the obtained data packets to be processed is smaller than the number of the communication modules in the idle state.
With reference to the first aspect, in one possible implementation manner, the first communication module is a master control module in the local area network, and the method further includes: creating a network matrix topology vector table for managing the plurality of communication modules in the local area network; creating the module management table, wherein the module management table comprises at least one of the following information of the communication modules: identification information, address information, and idle information.
In the embodiment of the application, the local area network can comprise a main control module, and the main control module can realize the management and the dispatch of a plurality of communication modules in the local area network through the network matrix topology vector table and the module management table. The first communication module may be, for example, a first joining local area network. After the first communication module joins the local area network, a network matrix topology vector table is created to manage the communication modules in the local area network. For example, the first communication module may add or delete communication modules from the local area network. The first communication module may also create a module management table through which identification information, address information, idle information, etc. of the plurality of communication modules in the local area network are recorded.
With reference to the first aspect, in a possible implementation manner, the method further includes:
receiving first request information of a third communication module, wherein the first request information is used for requesting to add or delete the third communication module from the local area network; adding or deleting the third communication module in the network matrix topology vector table to obtain an updated network matrix topology vector table; adding or deleting the information of the third communication module in the module management table to obtain an updated module management table; and sending the updated network matrix topology vector table and the updated module management table to other communication modules in the local area network.
In the embodiment of the application, the first communication module can update the network matrix topology vector table and the module management table through the request information of the third communication module, thereby realizing the management of the communication module in the local area network. The first communication module can also send the updated network matrix topology vector table and the module management table to other communication modules in the local area network, so that the other communication modules can timely acquire the change of the communication modules in the local area network. For example, in the case that the third communication module is not included in the lan, the third communication module may request the first communication module to join the lan through the first request information. After the first communication module receives the first request information, a third communication module is added in the network matrix topology vector table, and the information of the third communication module is added in the module management table. Or in the case that the third communication module is included in the local area network, the third communication module may request the first communication module to exit the local area network through the first request information. After the first communication module receives the first request information, deleting the third communication module from the network matrix topology vector table, and deleting the information of the third communication module from the module management table.
With reference to the first aspect, in a possible implementation manner, the method further includes: and deleting the third communication module from the network matrix vector table and the module management table under the condition that communication of the third communication module is blocked.
In the embodiment of the present application, the blocking of communication between the third communication module and the third communication module may mean that communication connection cannot be established between the third communication module and the third communication module, or the third communication module is in a busy state for a long time and does not initiate a data processing request to other communication modules in the local area network. Under the condition that the communication of the third communication module is blocked, the first communication module can separate the third communication module from the local area network, namely, the first communication module deletes the related information of the third communication module from the network matrix vector table and the module management table, so that the communication quality of each communication module in the local area network can be ensured.
With reference to the first aspect, in a possible implementation manner, in a case that the first communication module is in an idle state, the method further includes:
receiving a second data packet to be processed from a fourth communication module, wherein the fourth communication module is contained in the local area network;
transmitting second updating information to the fourth communication module, wherein the second updating information is used for updating the idle information of the first communication module; processing the second data packet to be processed to obtain a second data packet to be processed; and sending the second data packet to be processed to the fourth communication module.
In the embodiment of the application, each communication module in the local area network is stored with the network matrix topology vector table and the module management table, so that a non-master mode of the local area network can be realized, namely any communication module in the local area network can initiate a data processing request based on the module management table. For example, when the first communication module has data to be processed, the first communication module may initiate a data processing request to enable the other communication modules to process data for it. Under the condition that the first communication module is in an idle state, the data packet to be processed sent by other communication modules (such as a fourth communication module) can be received, and the data is processed for the other communication modules. It can be understood that any communication module in the local area network can initiate a data processing request to enable other communication modules in the local area network to process data for the communication module through the non-master mode, so that surplus resources in the local area network can be reasonably utilized, resource sharing is realized, and the overall operation capability of the local area network is improved.
In a second aspect, an embodiment of the present application provides a data processing apparatus, where the data processing apparatus is included in a first communication module, where the first communication module is included in a local area network, the local area network includes a plurality of communication modules, and the plurality of communication modules are networked by using a 5G local area network LAN technology, including:
The sub-packaging module is used for sub-packaging the data to be processed under the condition that the number of the idle states in the plurality of communication modules is greater than or equal to N, so as to obtain N first data packets to be processed, wherein N is a positive integer;
the first determining module is used for determining N communication modules in an idle state in the plurality of communication modules based on a module management table, wherein the module management table comprises idle information of the plurality of communication modules;
the sending module is used for respectively sending the N first data packets to be processed to the N communication modules;
the receiving module is used for receiving N first processed data packets returned by the N communication modules, wherein the N first processed data packets are obtained by processing the N first data packets to be processed by the N communication modules.
In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor, wherein the memory and the processor are communicatively connected to each other; wherein the memory stores program instructions; the program instructions, when executed by the processor, cause the processor to perform the method as described in the first aspect or any possible implementation of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having a computer program stored therein; the computer program, when run on one or more processors, performs the method as described in the first aspect or any possible implementation of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform a method as described in the first aspect of the embodiments or any possible implementation of the first aspect.
Drawings
The drawings to which embodiments of the present application relate are described below.
Fig. 1 is an example of a network topology provided by an embodiment of the present application;
fig. 2 is a flow chart of a method for updating a network matrix topology vector table and a module management table according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 4 is a flowchart of another data processing method according to an embodiment of the present application;
FIG. 5 is a flowchart of another data processing method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The terms first and second and the like in the description, the claims and the drawings of the present application are used for distinguishing between different objects and not for limiting the order, timing, priority or importance of a plurality of objects. In the embodiments of the present application, "a plurality" means two or more. Furthermore, the terms "comprising," "including," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion. Such as a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to the list of steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The character "/", unless otherwise specified, generally indicates that the associated object is an "or" relationship.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
Referring to fig. 1, fig. 1 is an example of a network topology of a local area network according to an embodiment of the present application. As shown in fig. 1, the lan includes a plurality of communication modules (modules), for example, the lan may include n×m communication modules, and node positions of the n×m communication modules in the lan may be as shown in fig. 1. The plurality of communication modules may be networked based on a fifth generation mobile communication technology (5th generation mobile communication technology,5G) local area network (local area network, LAN) network topology. Illustratively, the plurality of communication modules support a release 16 (R16) technology of the 16 th public version of 5G, and the plurality of communication modules can be networked by a 5G local area network (local area network, LAN) technology to form a 5G LAN, so as to realize flexible networking of the communication modules. The communication modules can run service programs and client programs which can communicate with each other so as to realize the mutual communication among the communication modules.
Illustratively, a plurality of communication modules in the local area network support data processing capability (such as multimedia codec, etc.), and provide corresponding computing power resources to process data for other communication modules in the local area network, so as to realize resource sharing of the local area network. The local area network may be in a non-master mode, i.e., any one of the plurality of communication modules may initiate a data processing request (or referred to as a computing request), and send the computing data and tasks to idle communication modules in the local area network in a distributed computing manner, so that other idle communication modules in the local area network can process the data for the idle communication modules. And the communication module which executes the task transmits the processed data back to the initiating equipment through the 5G LAN, thereby realizing the power calculation array without master-slave mode.
In an exemplary embodiment, the local area network may manage a plurality of communication modules through a master control module, for example, after the plurality of communication modules are networked through a 5G LAN technology and a 5G LAN network topology, one communication module is selected from the plurality of communication modules to be the master control module. Illustratively, the master module may be the first communication module to join the 5G LAN (e.g., communication module 1-1).
Illustratively, the master control module may manage the plurality of communication modules through a network matrix topology vector table and a module management table. The network matrix topology vector table is used for managing all communication modules in the current 5G LAN, for example, the network matrix topology vector table can comprise node positions of all communication modules in the local area network in a network matrix, and the master control module can manage the communication modules in the local area network through the node positions of all communication modules. For example, if the communication module n-m in the local area network requests to exit the local area network, the communication module n-m may initiate an exit request (or a vector table update request) to the master control module, and the master control module may delete the communication module n-m from the network matrix topology vector table based on the exit request, obtain an updated network matrix topology vector table, and send the updated network matrix topology vector table to other communication modules in the local area network. For another example, if a new communication module requests to join the local area network, the new communication module may initiate a joining request to the master control module, and after the master control module receives the joining request, the new communication module may be added to the network matrix topology vector table to obtain an updated network matrix topology vector table, and the updated network matrix topology vector table is sent to other communication modules in the local area network.
Illustratively, the master control module may update the network topology vector table according to the vector table rules. The vector table rules may include: after deleting the communication module from the network matrix topology vector table, the node positions of other communication modules are updated to cover the node positions of the deleted communication modules. Or the vector table rule may include: after deleting the communication module from the network matrix topology vector table, the node positions of other communication modules are not updated, and when a new communication module is added into the network, the node positions of the deleted communication modules are covered by the new communication module.
The module management table (module management table, MMT) is used for counting and managing information of each communication module in the 5G LAN network matrix, and for example, the module management table may include basic information, media access control (media access control, MAC) address information, idle information, and the like of each communication module.
In the embodiment of the application, each communication module in the local area network is stored with the network matrix topology vector table and the module management table, so that a non-master mode of the local area network can be realized, namely any communication module in the local area network can initiate a data processing request based on the module management table.
The flow of updating the network matrix topology vector table and the module management table by the master control module may be as shown in fig. 2. As shown in fig. 2, after a plurality of communication modules are networked by a 5G LAN technology to form a local area network, the first communication module added to the 5G LAN may be used as a master control module. The master control module creates a network matrix topology vector table, periodically updates the network matrix topology vector table in a 5G LAN broadcasting mode, and then sends the updated network matrix topology vector table to other communication modules in the local area network so that all the communication modules in the local area network store the network matrix topology vector table. When the network matrix topology vector table needs to be updated, the communication module can send corresponding update information to the main control module. After receiving the update information, the main control module checks and updates the network matrix topology vector table, and broadcasts the updated network matrix topology vector table to other communication modules in the local area network. And after the communication module in the local area network receives the updated network matrix topology vector table, updating the local network matrix topology vector table.
The master control module creates and maintains a module management table, periodically updates the module management table in a 5G LAN broadcasting mode, and then sends the updated module management table to other communication modules in the local area network so that all communication modules in the local area network store the module management table. When the module management table needs to be updated, the communication module can send corresponding update information to the main control module. After receiving the update information, the master control module checks and updates the module management table, and broadcasts the updated module management table to other communication modules in the local area network. And after the communication module in the local area network receives the updated module management table, updating the local module management table.
In the embodiment of the application, a plurality of communication modules can be networked by a 5G LAN technology to form a local area network (or called a module array), and when a large amount of data to be processed exist in the communication modules in the local area network, other communication modules in the local area network can process the data for the communication modules, so that the surplus resources of the communication modules in the local area network are utilized to realize resource sharing, the processing time of the data to be processed can be shortened, and the efficiency is improved. For example, for a live application scenario, because of more input sources and larger data volume, a stronger computing capability of a single communication module is required to support the live application scenario. A plurality of communication modules with weaker multimedia coding and decoding capabilities can be combined into a module array through the local area network, and the multimedia coding and decoding operation of large data volume can be performed without the communication modules with strong operation capabilities.
It can be understood that the "communication module" in the embodiment of the present application may be alternatively described as an "intelligent module", "module", and so on, and the "local area network" in the embodiment of the present application may be alternatively described as a "module array" and so on.
Referring to fig. 3, fig. 3 is a flow chart of a data processing method according to an embodiment of the application. The data processing method is applied to a first communication module, the first communication module is contained in a local area network, the local area network comprises a plurality of communication modules, and the plurality of communication modules are networked through a 5G local area network technology. The description of the lan can be found in the related description of fig. 1, and will not be repeated here. As shown in fig. 3, the data processing method includes, but is not limited to, the following steps.
And 301, under the condition that the number of the idle states in the plurality of communication modules is greater than or equal to N, packetizing the data to be processed to obtain N first data packets to be processed, wherein N is a positive integer.
The data to be processed may be data from an end customer or data generated by the operation of the first communication module itself, for example. The first communication module may send a data processing request (or referred to as a computing power request) to other communication modules in the local area network under the condition that the data size of the data to be processed is large or the computing power requirement of the data to be processed is large, so that the other communication modules in the local area network process the data for the data. In this case, the first communication module may perform packetizing processing on the data to be processed to obtain N first data packets to be processed, so that the N first data packets to be processed may be sent to other communication modules in the local area network respectively.
The data to be processed may be multimedia codec data, and when the data to be encoded and decoded, which needs to be encoded and decoded in the first communication module, is larger, the first communication module may perform packetizing processing on the data to be encoded and decoded, so as to send the data to be encoded and decoded to other communication modules.
The first communication module may also determine the number of communication modules in an idle state in the local area network before packetizing the data to be processed, and determine the number of packetizes according to the number of communication modules in an idle state in the local area network, that is, determine that N is less than or equal to the number of communication modules in an idle state.
For example, the first communication module may determine the number of idle states among the plurality of communication modules according to the module management table. The module management table includes idle information of a plurality of communication modules. The first communication module may query the module management table to obtain the number of idle states in the plurality of communication modules.
302, determining N communication modules in an idle state in the plurality of communication modules based on a module management table, wherein the module management table comprises idle information of the plurality of communication modules.
Illustratively, the module management table may include information of the plurality of modules, such as basic information, address information, and idle information of the modules, and the like. The first module can inquire N communication modules in an idle state in the local area network through a module management table.
It is understood that the description of the module management table may refer to the related description above, and will not be repeated here.
In one possible implementation manner, the first communication module may also determine, by the master control module, N communication modules in an idle state in the local area network for the first communication module by sending a data processing request to the master control module in the local area network.
303, respectively sending the N first data packets to be processed to N communication modules.
Illustratively, the first communication module sends a first to-be-processed data packet to a communication module, so that the N first to-be-processed data packets can be processed by the N communication modules, respectively.
In one possible implementation, the first communication module may traverse multiple communication modules in the local area network. For example, the first communication module may query the plurality of communication modules in sequence, and if the queried communication module is in an idle state, the first communication module may send a first data packet to be processed obtained by packetizing to the communication module. If the queried communication module is in a busy state, the first communication module continues to query the next data packet until the N first data packets to be processed are all sent.
304, receiving N first processed data packets returned by the N communication modules, where the N first processed data packets are obtained by processing N first data packets to be processed by the N communication modules.
In an exemplary embodiment, after any one of the N communication modules receives a first data packet to be processed, the first data packet to be processed is processed to obtain a first processed data packet, and the first processed data packet is returned to the first communication module. After the first communication module receives N first processed data packets returned by the N communication modules, checking and combining the data in the N first processed data packets to obtain processed data.
In the embodiment of the application, a plurality of communication modules can be freely networked through a 5G LAN technology to form a local area network, and the information of the plurality of communication modules, such as basic information, address information, idle information and the like of the communication modules, is managed through the module management table. When the first communication module has data to be processed, the first communication module can inquire N communication modules in an idle state in the local area network through the module management table, packetize the data to be processed to obtain N data packets to be processed, and then send the N data packets to be processed to the N communication modules respectively, so that the N communication modules process the data for the first communication module, and therefore surplus resources of the communication modules in the local area network are utilized, resource sharing is achieved, the processing time of the data to be processed can be shortened, and efficiency is improved.
In a possible implementation manner, after the step 301, the method shown in fig. 3 further includes the following steps: receiving first update information from a second communication module, wherein the first update information is used for updating idle information of the second communication module, and the second communication module is any one of N modules; updating idle information of a second communication module in the module management table based on the first updating information; and sending the updated module management table to other communication modules in the local area network.
For example, after the second communication module receives the data packet to be processed, the state information of the second communication module may be updated, and the first update information indicates the idle information of the second communication module in the management of the first communication module update module. For example, the first update information indicates that the status of the second communication module is busy, and the first communication module may update the idle information of the second communication module to the busy status.
It can be understood that after the N communication modules receive the corresponding data packets to be processed, the corresponding update information may be sent to the first communication module. For example, the first communication module may update the module management table after receiving the update information of the N communication modules. For another example, the first communication module may update the module management table when a first period of time elapses after the N first data packets to be processed are transmitted, wherein the first communication module updates the module management table based on the update information received in the first period of time after the N first data packets to be processed are transmitted.
In the embodiment of the application, the first communication module can update the module management table according to the update information of the N communication modules, and send the updated module management table to other modules in the local area network, so that the other modules can update the idle information of each communication module in the local area network in time, and the other modules can conveniently initiate data processing requests to the communication modules in the idle state in the local area network.
In one possible implementation, the first communication module is a master control module in a local area network, and the method shown in fig. 3 further includes the following steps: creating a network matrix topology vector table, wherein the network matrix topology vector table is used for managing a plurality of communication modules in a local area network; creating a module management table comprising at least one of the following information of the plurality of communication modules: identification information, address information, and idle information.
In the embodiment of the application, the local area network can comprise a main control module, and the main control module can realize the management and the dispatch of a plurality of communication modules in the local area network through the network matrix topology vector table and the module management table. The first communication module may be, for example, a first joining local area network. After the first communication module joins the local area network, a network matrix topology vector table is created to manage the communication modules in the local area network. For example, the first communication module may add or delete communication modules from the local area network. The first communication module may also create a module management table through which identification information, address information, idle information, etc. of the plurality of communication modules in the local area network are recorded.
It will be appreciated that, for a specific description of the network matrix topology vector table and the module management table, reference may be made to the above related description, and details thereof will not be repeated here.
The first communication module may also update the network matrix topology vector table and the module management table, for example, by the method shown in fig. 2.
In one possible implementation, the method shown in fig. 3 further includes the following steps: the first communication module receives first request information of a third communication module, wherein the first request information is used for requesting to add or delete the third communication module from the local area network; adding or deleting a third communication module in a network matrix topology vector table to obtain an updated network matrix topology vector table; adding or deleting information of the third communication module in the module management table to obtain an updated module management table; and sending the updated network matrix topology vector table and the updated module management table to other communication modules in the local area network.
In the embodiment of the application, the first communication module can update the network matrix topology vector table and the module management table through the request information of the third communication module, thereby realizing the management of the communication module in the local area network. The first communication module can also send the updated network matrix topology vector table and the module management table to other communication modules in the local area network, so that the other communication modules can timely acquire the change of the communication modules in the local area network.
The third communication module may or may not be included in the lan, for example. For example, in the case that the third communication module is not included in the lan, the third communication module may request the first communication module to join the lan through the first request information. After the first communication module receives the first request information, a third communication module is added in the network matrix topology vector table, and the information of the third communication module is added in the module management table. In another example, in the case that the third communication module is included in the lan, the third communication module may request the first communication module to exit the lan through the first request information. After the first communication module receives the first request information, deleting the third communication module from the network matrix topology vector table, and deleting the information of the third communication module from the module management table.
In another possible implementation, the method shown in fig. 3 further includes the following steps: and deleting the third communication module from the network matrix vector table and the module management table in the case that the communication of the third communication module is blocked.
In the embodiment of the present application, the blocking of communication between the third communication module and the third communication module may mean that communication connection cannot be established between the third communication module and the third communication module, or the third communication module is in a busy state for a long time and does not initiate a data processing request to other communication modules in the local area network. Under the condition that the communication of the third communication module is blocked, the first communication module can separate the third communication module from the local area network, namely, the first communication module deletes the related information of the third communication module from the network matrix vector table and the module management table, so that the communication quality of each communication module in the local area network can be ensured.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating another data processing method according to an embodiment of the application. The data processing method is applied to a first communication module, the first communication module is contained in a local area network, the local area network comprises a plurality of communication modules, and the plurality of communication modules are networked through a 5G local area network technology. The description of the lan can be found in the related description of fig. 1, and will not be repeated here. As shown in fig. 4, the data processing method includes, but is not limited to, the following steps.
401, the first communication module receives a second data packet to be processed from a fourth communication module, the fourth communication module is included in the lan, and the first communication module is in an idle state.
The second data packet to be processed is illustratively obtained by the fourth communication module performing a packetizing process on the data to be processed. When the data to be processed of the fourth communication module is large, the data to be processed can be packetized to obtain a second data packet to be processed, and the second data packet to be processed is sent to the first communication module, so that the first communication module processes the data for the fourth communication module.
It is understood that the first communication module may reject the second pending data packet when the first communication module is busy.
402, the first communication module sends second update information to the fourth communication module, where the second update information is used to update the idle information of the first communication module.
The first communication module may send the second update information to the fourth communication module after receiving the second data packet to be processed, so that the fourth communication module can update the idle information of the second communication module in the module management table based on the second update information. For example, the second update information may indicate that the first communication module is in a busy state, and the fourth communication module may update the idle information of the first communication module in the module management table to the busy state.
Illustratively, the first communication module may generate the second update information based on its remaining computing power resources. For example, the first communication module may evaluate the computational resources required by the second to-be-processed data packet after receiving the second to-be-processed data packet, so as to determine the computational resources remaining after processing the second to-be-processed data packet. If the remaining computing power resources (e.g., greater than a certain threshold) are sufficient, the first communication module may determine that it is still in an idle state, and thus the second update information indicates that the first communication module is in an idle state. If the remaining computing power resources are insufficient, the first communication module may determine that it is in a busy state, so the second update information indicates that the first communication module is in a busy state.
And 403, the first communication module processes the second data packet to be processed to obtain the second data packet to be processed.
404, the first communication module sends the second data packet to be processed to the fourth communication module.
In the embodiment of the application, when the first communication module is in the idle state, data can be processed for other communication modules (such as the fourth communication module) in the local area network, so that excessive resources in the local area network can be reasonably utilized, resource sharing is realized, and the overall computing capacity of the local area network is improved
It may be understood that the methods provided in the embodiments of the present application may be combined with each other, and the sequence of the combination may be determined according to a specific implementation, which is not listed in the embodiments of the present application. For example, the methods shown in fig. 3 and fig. 4 may be combined with each other, that is, when the first communication module has data to be processed, the first communication module may packetize the data to be processed, and send the data packets obtained after packetizing to other communication devices in an idle state in the lan, so that other communication modules can process the data for the communication devices. Under the condition that the first communication module is in an idle state, the data packet to be processed sent by other communication modules (such as a fourth communication module) can be received, and the data is processed for the other communication modules. In the embodiment of the application, any communication module in the local area network can initiate a data processing request to enable other communication modules in the local area network to process data for the communication module, so that surplus resources in the local area network can be reasonably utilized, resource sharing is realized, and the overall operation capability of the local area network is improved.
Referring to fig. 5, fig. 5 is a flowchart of another data processing method according to an embodiment of the application. The data processing method shown in fig. 5 can also be understood as being a complement or variation of the data processing method described above in fig. 3 or fig. 4. The method is applied to a plurality of communication modules in a local area network, and the plurality of communication modules are networked through a 5G Local Area Network (LAN) technology, as shown in fig. 5, and comprises the following steps but is not limited to the following steps.
And 501, the first communication module carries out packetization processing on data needing to be subjected to multimedia coding and decoding to obtain N first data packets to be processed. The first communication module is any one of a plurality of communication modules.
And 502, the first communication module determines N communication modules in an idle state by inquiring a module management table, and packetizes and sends N first data packets to be processed and encoding and decoding requests to the N communication modules.
503, the second communication module receives the first pending data packet and the codec request. The second communication module is any one of the N communication modules.
The second communication module sends the first update information to the first communication module, the first update information being used to update the idle information of the second communication module 504.
505, the first communication module updates the module management table based on the first update information, and sends the updated module management table to other communication modules in the local area network in a broadcast manner.
And 506, the second communication module performs multimedia coding and decoding operation on the first data packet to be processed to obtain a first processed data packet.
507, the second communication module returns the first processed data packet to the first communication module.
508, the first communication module receives the N first processed data packets returned by the N communication modules, and performs verification and combination on the N first processed data packets to obtain data after multimedia encoding and decoding.
In the embodiment of the application, when the first communication module has data to be processed, the first communication module can initiate a data processing request so that other communication modules can process the data for the first communication module, thereby reasonably utilizing the surplus resources in the local area network, realizing resource sharing and improving the overall operation capability of the local area network.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. The data processing device 60 is included in a first communication module, which is included in a local area network, the local area network including a plurality of communication modules, the plurality of communication modules being networked by a 5G local area network LAN technology. As shown in fig. 6, the data processing apparatus 60 includes a packetizing module 601, a first determining module 602, a transmitting module 603, and a receiving module 604.
The packetizing module 601 is configured to packetize the data to be processed to obtain N first data packets to be processed when the number of idle states in the plurality of communication modules is greater than or equal to N, where N is a positive integer.
The first determining module 602 is configured to determine N communication modules in an idle state among the plurality of communication modules based on a module management table, where the module management table includes idle information of the plurality of communication modules.
The sending module 603 is configured to send the N first data packets to be processed to the N communication modules respectively.
The receiving module 604 is configured to receive N first processed data packets returned by the N communication modules, where the N first processed data packets are obtained by processing N first data packets to be processed by the N communication modules.
In a possible implementation manner, the data processing apparatus 60 further includes an updating module 605, and the receiving module 604 is further configured to receive first update information from a second communication module, where the first update information is used to update idle information of the second communication module, and the second communication module is any one of the N modules. And the updating module 605 is configured to update the idle information of the second communication module in the module management table based on the first updating information. The sending module 603 is further configured to send the updated module management table to other communication modules in the lan.
In a possible implementation, the data processing apparatus 60 further includes a second determining module 606 for determining the number of communication modules in an idle state among the plurality of communication modules based on the module management table.
In a possible implementation manner, the first communication module is a master control module in the local area network, and the data processing apparatus 60 further includes a creating module 607 configured to create a network matrix topology vector table and a module management table, where the network matrix topology vector table is used to manage the plurality of communication modules in the local area network, and the module management table includes at least one of the following information of the plurality of communication modules: identification information, address information, and idle information.
In one possible implementation, the data processing apparatus 60 further includes an update module 605. The receiving module 604 is further configured to receive first request information of a third communication module, where the first request information is used to request addition or deletion of the third communication module from the local area network; the updating module 605 is configured to add or delete the third communication module to the network matrix topology vector table to obtain an updated network matrix topology vector table; the updating module 605 is further configured to add or delete information of the third communication module in the module management table, to obtain an updated module management table; the sending module 603 is further configured to send the updated network matrix topology vector table and the updated module management table to other communication modules in the lan.
In one possible implementation, the data processing apparatus 60 further includes an updating module 605 for deleting the third communication module from the network matrix vector table and the module management table in the event that communication of the third communication module is blocked.
In one possible implementation, the data processing apparatus 60 further includes a processing module 608. The receiving module 604 is further configured to receive a second data packet to be processed from a fourth communication module, where the fourth communication module is included in the lan; the sending module 603 is further configured to send second update information to the fourth communication module, where the second update information is used to update idle information of the first communication module; a processing module 608, configured to process the second to-be-processed data packet to obtain a second to-be-processed data packet; the sending module 603 is further configured to send the second data packet to be processed to the fourth communication module.
It should be understood that the division of the units in the above apparatus is merely a division of a logic function, and may be fully or partially integrated into one physical entity or may be physically separated when actually implemented. For example, the above units may be processing elements set up separately, may be implemented in a certain chip of the terminal, or may be stored in a memory element of the controller in the form of program codes, and the functions of the above units may be called and executed by a certain processing element of the processor. In addition, the units can be integrated together or can be independently realized. The processing element here may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method or each unit above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software. The processing element may be a general-purpose processor, such as a central processing unit (English: central processing unit; CPU for short), or one or more integrated circuits configured to implement the above methods, such as: one or more specific integrated circuits (English: application-specific integrated circuit; ASIC), or one or more microprocessors (English: digital signal processor; DSP), or one or more field programmable gate arrays (English: field-programmable gate array; FPGA), etc.
With respect to the data processing apparatus 60 in the above-described embodiment, the specific manner in which the respective units perform the operations has been described in detail in the embodiment concerning the method, and will not be explained in detail here.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the application, and as shown in fig. 7, the electronic device 70 includes a processor 701 and a memory 702. The processor 701 and the memory 702 may be connected to each other via a communication bus 703. The communication bus 703 may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The communication bus 703 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 7, but not only one bus or one type of bus. The memory 702 is used for storing a computer program comprising program instructions, the processor 701 being configured for invoking program instructions comprising instructions for performing part or all of the steps of the method shown in fig. 3 or fig. 4 or fig. 5.
The processor 701 may be a general purpose Central Processing Unit (CPU), microprocessor, application Specific Integrated Circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program schemes.
The memory 702 may be, but is not limited to, read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, but may also be electrically erasable programmable read-only memory (EEPROM), compact disc-read only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be stand alone and coupled to the processor via a bus. The memory may also be integrated with the processor.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, where the computer program may implement the method shown in fig. 3, 4, or 5 when the computer program runs on one or more processors.
Embodiments of the present application also provide a computer program product that, when run on a processor, can implement the method shown in fig. 3 or fig. 4 or fig. 5.
The present application also provides a system comprising at least one data processing device 60 or electronic apparatus 70 or chip as described above.
Those of ordinary skill in the art will appreciate that implementing all or part of the above-described embodiment methods may be accomplished by a computer program in hardware associated with the computer program, which may be stored on a computer readable storage medium, which when executed may comprise the above-described embodiment methods. And the aforementioned storage medium includes: various media capable of storing computer program code, such as ROM or random access memory RAM, magnetic or optical disk.

Claims (10)

1. The data processing method is characterized in that the method is applied to a first communication module, the first communication module is contained in a local area network, the local area network comprises a plurality of communication modules, and the plurality of communication modules are networked through a 5G local area network technology, and the method comprises the following steps:
under the condition that the number of the idle states in the plurality of communication modules is greater than or equal to N, the data to be processed is subjected to subpackaging processing to obtain N first data packets to be processed, wherein N is a positive integer;
Determining N communication modules in an idle state in the plurality of communication modules based on a module management table, wherein the module management table comprises idle information of the plurality of communication modules;
respectively transmitting the N first data packets to be processed to the N communication modules;
and receiving N first processed data packets returned by the N communication modules, wherein the N first processed data packets are obtained by processing the N first data packets to be processed by the N communication modules.
2. The method of claim 1, wherein after the N first packets to be processed are sent to the N communication modules, the method further comprises:
receiving first update information from a second communication module, wherein the first update information is used for updating idle information of the second communication module, and the second communication module is any one of the N modules;
updating idle information of the second communication module in the module management table based on the first updating information;
and sending the updated module management table to other communication modules in the local area network.
3. The method of claim 1, wherein the packetizing the data to be processed is performed before obtaining N first packets to be processed, the method further comprising:
And determining the number of the communication modules in the idle state in the plurality of communication modules based on the module management table.
4. A method according to any of claims 1-3, wherein the first communication module is a master control module in the local area network, the method further comprising:
creating a network matrix topology vector table for managing the plurality of communication modules in the local area network;
creating the module management table, wherein the module management table comprises at least one of the following information of the communication modules: identification information, address information, and idle information.
5. The method according to claim 4, wherein the method further comprises:
receiving first request information of a third communication module, wherein the first request information is used for requesting to add or delete the third communication module from the local area network;
adding or deleting the third communication module in the network matrix topology vector table to obtain an updated network matrix topology vector table;
adding or deleting the information of the third communication module in the module management table to obtain an updated module management table;
And sending the updated network matrix topology vector table and the updated module management table to other communication modules in the local area network.
6. The method according to claim 4, wherein the method further comprises:
and deleting the third communication module from the network matrix vector table and the module management table under the condition that communication of the third communication module is blocked.
7. The method of claim 1, wherein in the case where the first communication module is in an idle state, the method further comprises:
receiving a second data packet to be processed from a fourth communication module, wherein the fourth communication module is contained in the local area network;
transmitting second updating information to the fourth communication module, wherein the second updating information is used for updating the idle information of the first communication module;
processing the second data packet to be processed to obtain a second data packet to be processed;
and sending the second data packet to be processed to the fourth communication module.
8. The utility model provides a data processing apparatus, its characterized in that, data processing apparatus contains in first communication module, first communication module contains in the LAN, the LAN includes a plurality of communication module, a plurality of communication module is through 5G LAN technique networking, includes:
The sub-packaging module is used for sub-packaging the data to be processed under the condition that the number of the idle states in the plurality of communication modules is greater than or equal to N, so as to obtain N first data packets to be processed, wherein N is a positive integer;
the first determining module is used for determining N communication modules in an idle state in the plurality of communication modules based on a module management table, wherein the module management table comprises idle information of the plurality of communication modules;
the sending module is used for respectively sending the N first data packets to be processed to the N communication modules;
the receiving module is used for receiving N first processed data packets returned by the N communication modules, wherein the N first processed data packets are obtained by processing the N first data packets to be processed by the N communication modules.
9. An electronic device comprising a processor and a memory for storing one or more programs configured to be executed by the processor, the programs comprising instructions for performing the method of any of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1-7.
CN202310864074.9A 2023-07-13 2023-07-13 Data processing method, device, electronic equipment and storage medium Pending CN116886677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310864074.9A CN116886677A (en) 2023-07-13 2023-07-13 Data processing method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310864074.9A CN116886677A (en) 2023-07-13 2023-07-13 Data processing method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116886677A true CN116886677A (en) 2023-10-13

Family

ID=88260022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310864074.9A Pending CN116886677A (en) 2023-07-13 2023-07-13 Data processing method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116886677A (en)

Similar Documents

Publication Publication Date Title
CN110661849A (en) Request processing method and device, electronic equipment and storage medium
US20200167186A1 (en) Container isolation method and apparatus for netlink resource
CN105141603A (en) Communication data transmission method and system
CN110912814A (en) Interface data distribution method and device
CN111541662B (en) Communication method based on binary communication protocol, electronic equipment and storage medium
CN104506330A (en) Message synchronizing method and system
US10740161B2 (en) Broadcast message sending method and apparatus, and mobile terminal
CN112714146B (en) Resource scheduling method, device, equipment and computer readable storage medium
CN110708293B (en) Method and device for distributing multimedia service
CN109582242B (en) Address determination method and device for cascade memory array system and electronic equipment
CN116886677A (en) Data processing method, device, electronic equipment and storage medium
CN116405547A (en) Message pushing method and device, processor, electronic equipment and storage medium
US10951732B2 (en) Service processing method and device
CN113691466A (en) Data transmission method, intelligent network card, computing device and storage medium
CN104065684A (en) Information processing method, electronic device and terminal device
CN115794317A (en) Processing method, device, equipment and medium based on virtual machine
US8429138B2 (en) Method and apparatus for data exchange in a distributed system
CN112188562B (en) Multicast scheduling method and device for relay base station, storage medium and electronic device
CN114598662A (en) Message queue cluster federal management system and method
CN108718285B (en) Flow control method and device of cloud computing cluster and server
JP2007221522A (en) Polling device, terminal device, polling method and program
CN111679918B (en) Message transmission method and device
CN112422613B (en) Data processing method, data processing platform and computer readable storage medium
CN101909283B (en) M2M (Machine-to-Machine) platform and method for sharing load downloaded with in high capacity
WO2023093200A1 (en) Method and apparatus for asynchronously processing tasks, and storage medium and electronic apparatus

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