Data transmission processing method and device, storage medium and electronic equipment

By parsing and modifying task instructions to form independent instruction fragments, and deciding to send or queue according to the channel status, the problem of performance overhead and throughput reduction caused by the channel lock mechanism is solved, and efficient data transmission and gateway performance improvement are achieved.

CN118733301APending Publication Date: 2024-10-01ZHEJIANG FUTURE ELF ARTIFICIAL INTELLIGENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410874307.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the existing technology, channel locks are used to ensure the coherence and sequence of data transmission, which leads to performance overhead, reduced system throughput and waste of resources. Especially in high-concurrency scenarios, thread blocking and lock competition cause excessive CPU time to be spent on locks. contention and context switching.

Method used

By parsing and modifying task instructions to form multiple independent instruction fragmentation units, the instruction fragments are sent or queued for processing according to the status of the communication connection channel, ensuring the type and order of the instruction fragments, and realizing the integration of service threads and IO threads. Decoupling improves transmission processing capabilities in concurrent scenarios.

Benefits of technology

In complex task command scenarios, it maintains the orderliness of command fragmentation, improves the overall performance of the gateway, improves user experience, and reduces resource waste and transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733301A_ABST
    Figure CN118733301A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission processing method and device, a storage medium and electronic equipment. The data transmission processing method comprises the following steps: receiving a to-be-sent target instruction fragment; the target instruction fragment is an instruction fragment obtained by modifying an existing data fragment in a task instruction; determining whether the state of the instruction queue in the communication connection channel is empty or not; if yes, according to the fragment type in the attribute data of the target instruction fragment, determining whether the operation to be executed by the target instruction fragment is sending or queuing waiting; if not, according to the incidence relation between the target instruction fragment and the current task instruction in the instruction queue, whether the operation to be executed on the target instruction fragment is sending or queuing waiting is determined. According to the method, the existing data fragments are modified to form a plurality of independent instruction fragment units, so that the sending orderliness of the instruction fragments can still be kept in a relatively complex task instruction scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a network data transmission technology field, and more particularly to a data transmission processing method and device. The present application also relates to a computer storage medium and an electronic device. Background Art

[0002] The emergence of Internet of Things (IoT) technology is an inevitable product of the development of information technology to a certain stage. Its emergence has greatly promoted the development of intelligence, automation and networking. IoT technology has been widely used in smart homes, smart transportation, smart agriculture, industrial automation, smart cities, sports health, smart retail, energy management, smart medical care and other fields.

[0003] Gateway plays a vital role in the Internet of Things (IoT) system or in the scenario where artificial intelligence and IoT are combined, for example: transmitting data to the cloud or local server by wired or wireless means. This transmission capability enables the IoT system to transcend geographical restrictions and achieve remote monitoring and control. IoT systems usually contain a large number of devices, each of which may generate a large amount of data. The gateway can collect data from multiple devices, perform preliminary processing and integration, and then send the integrated data to the cloud or other central processing systems. In addition, with the development of IoT technology, more and more computing tasks are being transferred to the edge of the device, that is, edge computing. As an edge node of the IoT system, the gateway can undertake some computing tasks, such as data processing, analysis, decision-making, etc. In short, the gateway plays a vital role in the IoT system. It is not only a bridge between different protocols and devices, but also a key node for data aggregation, transmission, security and management.

[0004] Since the gateway is a key hub that can support tens of millions of devices connected, it processes a large amount of data in real time per second. This process involves huge resource consumption and complex system coordination. As the task scenarios become increasingly diverse, the data content that the server needs to transmit to the device becomes more complex. For the device gateway, it means that it has to manage and coordinate the transmission of many contents at the same time, which will lead to the congestion of the downlink channel, resulting in waste of system resources and reduced transmission efficiency. Summary of the invention

[0005] The present application provides a method for processing data transmission to solve the problem in the prior art that ensuring the consistency and sequentiality of data transmission through channel locks leads to performance overhead and reduces system throughput.

[0006] The present application provides a data transmission processing method, including:

[0007] Receive a target instruction slice to be sent; the target instruction slice is an instruction slice after modifying the existing data slice in the task instruction;

[0008] Determine whether the state of the instruction queue in the communication connection channel is empty;

[0009] If yes, determine, according to the slice type in the attribute data of the target instruction slice, whether the operation to be performed by the target instruction slice is sending or queuing;

[0010] If not, determine whether the operation to be performed on the target instruction slice is to send or queue and wait based on the association relationship between the target instruction slice and the current task instruction in the instruction queue; wherein the current task instruction is the task instruction that the communication connection channel is executing and sending.

[0011] Optionally, determining, according to the slice type in the attribute data of the target instruction slice, whether the operation to be performed by the target instruction slice is sending or queuing, includes:

[0012] When the instruction queue state is empty, determining the slice type of the target instruction slice according to the type identifier in the attribute data of the target instruction slice;

[0013] When the slice type is an instruction header slice, sending the instruction header slice;

[0014] When the segment type is an instruction attachment segment, determining whether an instruction header segment in a task instruction associated with the instruction attachment segment has been sent according to a segment instruction identifier in the attribute data;

[0015] If yes, send the instruction attachment fragment.

[0016] Optionally, when the slice type is an instruction header slice, sending the instruction header slice further includes:

[0017] Determining, according to the attachment fragment identifier in the attribute data, whether the task instruction associated with the instruction header fragment includes the instruction attachment fragment;

[0018] If so, the instruction header segment that has been executed and sent is marked.

[0019] Optionally, when the fragment type is an instruction attachment fragment, determining whether an instruction header fragment in a task instruction associated with the instruction attachment fragment has been sent according to a fragment instruction identifier in the attribute data, further includes:

[0020] If not, determining whether there is a queued task instruction queue associated with the instruction attachment segment in the instruction queue according to the segment instruction identifier;

[0021] If there is a queued task instruction queue, the instruction attachment fragment is put into the queued task instruction queue for the queue waiting.

[0022] Optionally, determining whether the operation to be performed on the target instruction slice is to send or to queue and wait according to the association relationship between the target instruction slice and the current task instruction in the instruction queue includes:

[0023] When the instruction queue state is not empty, determining whether the task instruction to which the target instruction slice belongs is the current task instruction in the instruction queue according to the slice instruction identifier in the attribute data of the target instruction slice;

[0024] If yes, determining the slice type of the target instruction slice according to the type identifier in the attribute data of the current instruction slice;

[0025] When the slice type is the instruction header slice, sending the instruction header slice; and sending the instruction attachment slice in the instruction queue corresponding to the current task instruction, and marking the instruction header slice that has been executed and sent;

[0026] When the segment type is the instruction attachment segment, determining whether the instruction header segment in the current task instruction has been sent;

[0027] If yes, send the instruction attachment fragment.

[0028] Optionally, also include:

[0029] When the segment type is the instruction attachment segment, determine whether the instruction header segment in the current task instruction has been sent. If not, insert the instruction attachment segment into the corresponding position of the instruction queue for queue waiting according to the segment sorting identifier in the attribute data of the instruction attachment segment.

[0030] Optionally, also include:

[0031] When determining whether the task instruction to which the target instruction slice belongs is the current task instruction in the instruction queue, if it is no, determining whether the target instruction slice has a corresponding position in the instruction queue according to the slice sorting identifier and the slice instruction identifier in the attribute data of the target instruction slice;

[0032] If so, insert the target instruction slice into the corresponding position in the instruction queue.

[0033] Optionally, determining whether the target instruction fragment has a corresponding position in the instruction queue according to the fragment sorting identifier and the fragment instruction identifier in the target instruction fragment attribute data includes:

[0034] Determine, according to the slice instruction identifier in the target instruction slice attribute data, whether there is a queued task instruction queue associated with the target instruction slice in the instruction queue;

[0035] If so, the position of the target instruction slice in the queued task instruction queue is determined according to the slice sorting identifier of the target instruction slice attribute data.

[0036] Optionally, also include:

[0037] Determine, according to the slice sorting identifier in the target instruction slice attribute data, whether the target instruction slice is the last slice of the corresponding task instruction in the instruction queue;

[0038] If so, after the target instruction fragment is sent, a new target instruction fragment to be sent is received to continue to execute the step of determining whether the status of the instruction queue in the communication connection channel is empty until all task instructions are completed; or, the instruction fragment of the first task instruction is extracted from the instruction queue as the target instruction fragment, and the step of determining whether the operation to be performed on the target instruction fragment is to send or queue and wait based on the association relationship between the target instruction fragment and the current task instruction in the instruction queue is continued until the instruction queue is empty.

[0039] Optionally, also include:

[0040] Parsing the task instruction to determine the instruction header segment and the instruction attachment segment in the task instruction;

[0041] The attribute data is recorded in the instruction header slice and the instruction attachment slice respectively.

[0042] The present application also provides a data transmission processing device, including:

[0043] A receiving unit, used for receiving a target instruction fragment to be sent; the target instruction fragment is an instruction fragment modified from an existing instruction fragment in a task instruction;

[0044] A judgment unit, used to determine whether the state of the instruction queue in the long connection channel is empty;

[0045] A first determining unit, configured to determine, when the determination result of the determining unit is yes, whether the operation to be performed by the target instruction slice is sending or queuing and waiting according to the slice type in the attribute data of the target instruction slice;

[0046] The second determination unit is used to determine whether the operation to be performed on the target instruction slice is sending or queuing and waiting according to the association relationship between the target instruction slice and the current task instruction in the instruction queue when the judgment result of the judgment unit is no; wherein the current task instruction is the task instruction that the long connection channel is executing and sending.

[0047] The present application also provides an intelligent interconnected data transmission system, including: a server, a gateway and an electronic device;

[0048] The server performs data segment modification processing on the task instruction to be sent to the electronic device, and sends the modified target instruction segment to the gateway;

[0049] The gateway determines whether the status of the instruction queue in the communication connection channel is empty. If so, it determines whether the operation to be performed on the target instruction slice is to send or queue and wait based on the slice type in the attribute data of the received target instruction slice; if not, it determines whether the operation to be performed on the target instruction slice is to send or queue and wait based on the association between the target instruction slice and the current task instruction in the instruction queue; wherein the current task instruction is the task instruction that the communication connection channel is executing and sending.

[0050] The present application also provides a computer storage medium for storing data generated by a network platform, and a program for processing the data generated by the network platform;

[0051] When the program is read and executed by the processor, the data transmission processing method as described in the above technical solution is executed.

[0052] The present application also provides an electronic device, comprising:

[0053] processor;

[0054] The memory is used to store a program for processing data generated by a network platform. When the program is read and executed by the processor, it executes the data transmission processing method described in any of the above technical solutions.

[0055] Compared with the prior art, this application has the following advantages:

[0056] The present application provides a data transmission processing method that parses the task instruction and modifies the existing data slices to form multiple independent instruction slice units, and then sends or queues the received target instruction slices according to the status corresponding to the instruction in the communication connection channel. The attribute data of the target instruction slice can distinguish the type of instruction slice and ensure the order of sending the internal instruction slices in the same task instruction. The instruction slices waiting to be sent are stored in the instruction queue in the communication connection channel to achieve the decoupling of the service thread and the IO thread, improve the transmission processing capability in the concurrent scenario, and drive the sending execution by the type of instruction slice, and can also improve the sending efficiency of the instruction slices waiting in the queue in the instruction queue. In more complex task instruction scenarios, the orderliness of the instruction slice sending can still be maintained. In scenarios such as artificial intelligence or artificial intelligence + Internet of Things, the overall performance of the gateway can be improved, and the user experience can be improved without perception. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a flow chart of a data transmission processing method provided by this application;

[0058] Figure 2 It is a structural schematic diagram of an embodiment of instruction slicing processing in a data transmission processing method provided by the present application;

[0059] Figure 3 It is a schematic diagram of an embodiment of data transmission in a data transmission processing method provided by the present application;

[0060] Figure 4 It is a structural schematic diagram of a data transmission processing device provided by the present application;

[0061] Figure 5 It is a structural diagram of an intelligent interconnected data transmission system provided by the present application;

[0062] Figure 6 It is a structural schematic diagram of an electronic device provided by this application. DETAILED DESCRIPTION

[0063] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0064] The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The descriptions used in this application and the appended claims, such as "a", "first", and "second", are not limitations on quantity or sequence, but are used to distinguish the same type of information from each other.

[0065] Based on the above background technology, it can be known that in the process of data transmission through the device gateway, the congestion problem of the downlink channel will cause waste of system resources and reduce transmission efficiency. In the communication process between the server and the device, in order to meet the requirements of network transmission, the server usually divides the complete and large message content into multiple data fragments for serial transmission. Taking the voice response system as an example, a complete voice response instruction will be divided into a text frame and multiple continuous voice frames. These frames constitute a composite message, which integrates multiple data types and is finally integrated and parsed into a complete semantic instruction on the device side. In the process of processing requests, the server often uses asynchronous multithreading to improve processing efficiency. However, these asynchronous operations may cause timing confusion between text frames and subsequent voice frames. The device consumes data according to the order in which the message is received. If the correct order between the frames cannot be guaranteed, for example: when the protocol requires that continuous voice frames must be combined into a complete semantic instruction, it will cause semantic parsing errors on the device side, and even serious consequences such as system crashes. Therefore, ensuring the accurate timing arrangement of message frames is crucial to maintaining system stability and ensuring the correct delivery of content.

[0066] In order to ensure the order in which the server issues instructions, a channel lock mechanism is provided in the prior art to control the order in which data frames are sent. For example, thread A and thread B are jointly responsible for sending a complete instruction content; thread C independently sends a complete instruction content; and thread D and thread E are responsible for sending another complete instruction content. Before sending each complete instruction, the thread must obtain the device's long connection channel lock to obtain permission to send data. Once the sending permission is obtained, the thread can push data frames to the channel, and while the channel lock is occupied by the current thread, no other instructions can be sent, and it is necessary to wait for the current instruction to be sent before it can proceed. In addition, when facing the sending of data with timing requirements, it is also necessary to ensure the order of each data fragment within the instruction to ensure the continuity and order of sending instructions. The problems with this prior art are as follows:

[0067] 1. For all threads that need to push data into the channel, they must first obtain the channel lock through competition, and the lock mechanism usually needs to be operated in the kernel space, which may cause performance overhead and reduce system throughput. Especially in high-concurrency scenarios, frequent acquisition and release of locks will cause the CPU time to be spent too much on lock competition and context switching;

[0068] 2. In the scenario of sending multiple instructions, when multiple threads compete for the same lock, the thread that fails to acquire the lock will be blocked, which will cause thread task delays, increase system response time, and waste thread resources;

[0069] 3. When processing instructions consisting of multiple data frames (such as voice commands), in order to ensure that the data frames are transmitted in order and maintain the integrity of the instructions, it is necessary to maintain control of the channel lock until the entire instruction is sent. During this process, the thread must wait for all related asynchronous threads or tasks to be executed before releasing the lock resources. Although the consistency of the transmission order can be guaranteed, it will lead to the continuous occupation of thread resources, resulting in ineffective use of processor resources. In addition, there will be problems with timeouts and exception handling, which will lead to the complexity of system development and maintenance.

[0070] Based on the above-mentioned prior art that causes thread blocking due to the channel lock mechanism, thereby leading to system performance bottlenecks and thread switching overhead, the present application provides a data transmission processing method that allows the server thread to directly initiate message push to the channel without relying on blocking synchronization or lock competition mechanism. Further, it can also ensure that the order of task execution is maintained during the process of pushing messages to the channel. A data transmission processing method provided by the present application is described in detail below.

[0071] like Figure 1 As shown, Figure 1 This is a flowchart of a data transmission processing method provided by the present application, the method comprising:

[0072] Step S101: receiving a target instruction fragment to be sent; the target instruction fragment is an instruction fragment that is modified from an existing instruction fragment in a task instruction;

[0073] Step S102: Determine whether the status of the instruction queue in the long connection channel is empty;

[0074] Step S103: If yes, determine whether the operation to be performed by the target instruction slice is sending or queuing according to the slice type in the attribute data of the target instruction slice;

[0075] Step S104: If not, determine whether the operation to be performed on the target instruction slice is sending or queuing based on the association relationship between the target instruction slice and the current task instruction in the instruction queue; wherein the current task instruction is the task instruction that the long connection channel is executing and sending.

[0076] Before describing the above steps S101 to S104 in detail, the technical terms involved in the subsequent description of this embodiment are explained to better understand the technical solution content to be protected by this application.

[0077] Long connection: a network communication mechanism, specifically refers to a persistent connection state established between the client and the server in network communication, allowing continuous two-way data exchange without frequent establishment and disconnection, which can reduce the overhead of frequent establishment and disconnection of connections and improve the efficiency of data transmission.

[0078] Short connection: refers to a short connection state established between the client and the server in network communication. Unlike long connection, short connection will close the connection immediately after each data transmission is completed and will not maintain the connection state for a long time.

[0079] Task instruction: generally refers to the message sent by the server to the device in long connection communication.

[0080] Frame: The basic transmission unit defined in the network transmission protocol, which includes the data header, data content and data tail.

[0081] Thread blocking: During program execution, a thread suspends execution because it is waiting for certain conditions (such as completion of I / O operations, availability of resources, or release of synchronization locks) and cannot continue until the conditions are met.

[0082] Regarding step S101: receiving a target instruction slice to be sent; the target instruction slice is an instruction slice that is modified from an existing instruction slice in the task instruction.

[0083] The target instruction fragment to be sent in step S101 is an instruction fragment obtained by modifying the existing instruction fragment in the task instruction. That is to say, in this embodiment, the task instruction needs to be modified into an instruction fragment to form a target instruction fragment. The target instruction fragment will be sent to the communication connection channel as the instruction fragment to be sent. Therefore, it also includes:

[0084] Step S101 - 1 : Parse the task instruction to determine the instruction header segment and instruction attachment segment in the task instruction.

[0085] Step S101 - 2 : Record the attribute data in the instruction header slice and the instruction attachment slice respectively.

[0086] like Figure 2 As shown, Figure 2This is a structural diagram of an embodiment of instruction fragmentation processing in a data transmission processing method provided by the present application. Among them, the task instruction may include different types of data frames according to the different types of data carried, such as text frames (Text-Frame), voice frames, binary frames (Binary-Frame) and continuation frames (Continuation-Frame). In this embodiment, the instruction fragmentation can be modified according to the number and type of data frames in the task instruction, such as Figure 3 The task instructions shown in are voice task instructions and non-voice task instructions. It can be understood that there is a sequence between the data segments included in the voice task instructions. For example, the voice task instructions may include text frame 1-voice frame 2-voice frame 3, and text frame 5-voice frame 6. The non-voice task instructions include text frame 4. Depending on the application scenario, there may or may not be a sequence between the task instructions. For example, the server receives two voice task instructions at the same time.

[0087] In this embodiment, when only a single data frame is included in the task instruction, it means that there is only one data frame in the task instruction to represent the complete instruction meaning. For example, for the application scenario of artificial intelligence or artificial intelligence + Internet of Things scenario, the task instruction may include voice instructions and / or non-voice instructions (such as text frames). If it is a non-voice instruction, it includes the complete instruction meaning, and can be used as an instruction header segment. When the task instruction includes voice instructions and non-voice instructions, the non-voice instruction is an instruction header segment, and the voice instruction is an instruction attachment segment. If the voice instruction includes multiple, each voice instruction can be defined as an instruction attachment segment. In this embodiment, for the same task instruction, a text frame and a voice frame may be included, wherein the text frame, that is, the non-voice frame is an instruction header segment, and the voice frame is an instruction attachment segment. Different types of data frames may be included for different task instructions, for example: task instruction 1 may include non-voice frame 1 (text frame), voice frame 2 and voice frame 3; task instruction 2 may include non-voice frame 4; task instruction 3 may include non-voice frame 5 and voice frame 6. Specifically combined with the application scenario of data transmission, here only takes artificial intelligence or artificial intelligence + Internet of Things scenario as an example, the task instructions involved in the data transmission process are voice instructions and / or non-voice instructions, and are not limited to this scenario. For example: it can be used in other scenarios where data transmission needs to be completed through data sharding.

[0088] In this embodiment, for the same task instruction, the instruction attachment fragment (parts) is located after the instruction header fragment (head), that is, the same task instruction may include fragment types of different types and / or the same type, including instruction header fragment types and instruction attachment fragment types in this embodiment. Each instruction fragment includes corresponding data content and attribute data, and the attribute data may include: a fragment instruction identifier (id), which has uniqueness under the same connection, used to distinguish different task instructions and / or determine the task instruction to which the instruction fragment belongs, that is, the association relationship between the instruction fragment and the task instruction. The attribute data of the instruction fragment includes: whether the instruction fragment is an instruction attachment part fragment (isParts). The attribute data of the instruction fragment includes: a fragment sorting identifier, that is, the number of fragments of the task instruction to which the instruction fragment belongs (numberOfCommand); and / or whether the instruction fragment is the last fragment of the task instruction to which it belongs (finalFragment). The instruction header fragment attribute data may also include: whether it includes an identifier of the instruction attachment part.

[0089] In this embodiment, the complete task instruction after the slicing transformation may include an instruction header slicing, and attribute data and data content corresponding to the instruction header slicing, or may be an instruction header slicing and an instruction attachment slicing, and the instruction attachment slicing may be one or more, and the instruction header slicing and the instruction attachment slicing respectively include corresponding attribute data and data content. The complete task instruction after the slicing transformation will be sent to the connection channel in the form of instruction slicing, and forwarded to the corresponding electronic device through the connection channel. That is to say, in this embodiment, in the application scenario of artificial intelligence or artificial intelligence + Internet of Things, the task instruction of the server is sent to the connection channel in the form of instruction slicing after being transformed as an instruction that the gateway can respond to.

[0090] In this embodiment, the same type of instruction fragments in each modified task instruction are sent to the long connection channel through the same thread, and different types of instruction fragments are sent to the long connection channel by different threads. The modification of the task instruction can be completed by a thread or on the server, without limitation.

[0091] From the above description of the sharding transformation in the task instruction, it can be understood that in different application scenarios, the sharding transformation can be performed in combination with the specific data content and / or transmission protocol to be transmitted, and is not limited to the above content.

[0092] Through the above-mentioned transformation of the existing slices in the task instruction, it is possible to establish an association relationship between each slice in the task instruction and the task instruction to which it belongs, realize the division and sorting between the instruction slices, and the division between the task instructions, so that the instruction attachment slice can follow the instruction header slice, thereby ensuring the order of messages within the same task instruction.

[0093] Regarding step S102: determining whether the state of the instruction queue in the communication connection channel is empty.

[0094] The communication connection channel in step S102 is a channel for sending and transmitting instructions, such as a gateway channel. Long connection channels, short connection channels, etc. can be used according to the communication requirements of data transmission. In this embodiment, the long connection channel is mainly used as an example, that is, whether the state of the instruction queue in the long connection channel is empty, and there are no instruction fragments waiting to be sent in the instruction queue. It is necessary to maintain the orderliness of the order of task instructions and / or data streams under the same device and the same session while distinguishing different devices and different requests, usually by queues or other means to ensure the sequential transmission of instructions. In this embodiment, the sequential transmission of data is realized through two queue states, that is, the instruction queue is in an empty state and a non-empty state. In this embodiment, the instruction fragment transmission processing in the instruction queue is executed by the I / O thread in the long connection channel, so as to achieve decoupling from the task instruction service thread, and effectively improve the transmission processing capability in the service data concurrency scenario. The following describes the two states of the instruction queue being empty and non-empty, namely step S103 and step S104.

[0095] Regarding step S103: If yes, determine, based on the slice type in the attribute data of the target instruction slice, whether the operation to be performed by the target instruction slice is to send or queue.

[0096] like Figure 3 As shown, Figure 3 It is a schematic diagram of a data transmission embodiment in a data transmission processing method provided by the present application. The step S103 is a processing process in which the state of the instruction queue in step S102 is empty. The instruction queue is empty, indicating that there are no instruction fragments waiting to be sent in the instruction queue of the long connection channel. Therefore, the specific implementation process of the step S103 may include:

[0097] Step S103-1: When the instruction queue status is empty, determine the slice type of the current instruction slice according to the type identifier in the attribute data of the target instruction slice; for example: according to the type identifier (isParts) of whether the current slice recorded in the attribute data is an instruction attachment partial slice, if isParts: false, it means that the slice type of the target instruction slice is an instruction header slice; if isParts: true, it means that the slice type of the target instruction slice is an instruction attachment slice.

[0098] Step S103-2: When the slice type is an instruction header slice, send the instruction header slice; that is, when isParts: false indicates that the target instruction slice is an instruction header slice, it can be sent directly.

[0099] Step S103-3: When the slice type is an instruction attachment slice, determine whether the instruction header slice in the task instruction associated with the instruction attachment slice has been sent according to the slice instruction identifier in the attribute data; that is, when isParts: true indicates that the target instruction slice is an instruction attachment slice, it is necessary to first determine whether the instruction header slice in the task instruction to which the target instruction slice belongs has been sent, which can be determined based on the mark of the sent instruction header slice.

[0100] Step S103-4: If yes, send the instruction attachment fragment.

[0101] Also includes:

[0102] Step S103-51: If the result of step S103-3 is no, determine whether there is a queued task instruction queue associated with the instruction attachment shard in the instruction queue based on the shard instruction identifier; the instruction queue in the long connection channel may include multiple queued task instruction queues that have not yet been sent.

[0103] Step S103-52: If yes, then put the instruction attachment fragment into the queued task instruction queue for the queue waiting; that is, put the instruction attachment fragment into the queued task instruction queue for caching; when the received target instruction fragment is the instruction header fragment belonging to the same task instruction as the instruction attachment fragment, after executing the sending, the instruction attachment is also sent, that is, executing step S103-3, until all instruction fragments under the task instruction are sent, and then the queued task instruction queue is deleted. Alternatively, each instruction fragment is deleted from the queued task instruction queue after it is sent.

[0104] Step S103-53: If not, then a queued task instruction queue with which the instruction attachment fragment is associated is established in the instruction queue, and the instruction attachment fragment is placed in the queued task instruction queue for caching.

[0105] To ensure the order of sending the instruction fragments, the step S103-2 may further include:

[0106] Step S103-21: determining, according to the attachment fragment identifier in the attribute data, whether the task instruction associated with the instruction header fragment includes the instruction attachment fragment;

[0107] Step S103-22: If yes, mark the instruction header fragment that has been executed and sent. If no, it means that the task instruction only includes the instruction header fragment, and it can be sent directly without marking.

[0108] Regarding step S104: If not, determine whether the operation to be performed on the target instruction slice is to send or queue up based on the association relationship between the target instruction slice and the current task instruction in the instruction queue; wherein the current task instruction is the task instruction that the long connection channel is executing and sending.

[0109] like Figure 3 As shown, Figure 3 It is a schematic diagram of a data transmission embodiment in a data transmission processing method provided by the present application. The step S104 is a processing process in which the state of the instruction queue in step S102 is non-empty. The instruction queue is non-empty, indicating that there are instruction fragments waiting to be sent in the instruction queue of the long connection channel. Therefore, the specific implementation process of the step S104 may include:

[0110] Step S104-11: When the instruction queue state is not empty, determine whether the task instruction to which the target instruction slice belongs is the current task instruction in the instruction queue according to the slice instruction identifier in the attribute data of the target instruction slice; specifically, when the target instruction slice is received, obtain the current task instruction being executed and sent in the long connection channel from the instruction queue, and determine whether the slice instruction identifier recorded in the attribute data of the target instruction slice is the same as the current task instruction identifier. If they are the same, it means that the target instruction slice belongs to the slice in the current task instruction; if they are not the same, it means that there is no association between the target instruction slice and the current task instruction.

[0111] Step S104-12: If yes, determining the slice type of the target instruction slice according to the type identifier in the attribute data of the current instruction slice;

[0112] Step S104-13: When the slice type is the instruction header slice, send the instruction header slice; and send the instruction attachment slice of the current task instruction in the instruction queue, and mark the instruction header slice that has been executed and sent;

[0113] Step S104-14: when the segment type is the instruction attachment segment, determining whether the instruction header segment in the current task instruction has been sent;

[0114] Step S104-15: If yes, send the instruction attachment fragment. If not, insert the instruction attachment fragment into the corresponding position of the instruction queue for queuing and waiting according to the fragment sorting identifier in the attribute data of the instruction attachment fragment. For example: if the fragment sorting identifier of the instruction attachment fragment is the second fragment in the current task instruction, insert the instruction attachment fragment into the second position in the queued task instruction queue where the current task instruction is located. That is, put the instruction attachment fragment into the queued task instruction queue for caching; when the received target instruction fragment is the instruction header fragment, and belongs to the same task instruction as the instruction attachment fragment, after executing the sending of the instruction header fragment, the instruction attachment is also sent, that is, execute step S104-13, until all instruction fragments under the task instruction are sent, and then delete the queued task instruction queue. Alternatively, each time an instruction fragment is sent, it is deleted from the queued task instruction queue in the long connection channel.

[0115] The above is the transmission processing process of the instruction slice when the task instruction to which the target instruction slice belongs is the current task instruction in the instruction queue.

[0116] To ensure the orderliness of the data transmission process, when the task instruction to which the target instruction slice belongs is not the current task instruction in the instruction queue, the following may also be included:

[0117] Step S104-21: When it is determined whether the task instruction to which the target instruction slice belongs is the current task instruction in the instruction queue and the answer is no, determine whether the target instruction slice has a corresponding position in the instruction queue according to the slice sorting identifier and the slice instruction identifier in the attribute data of the target instruction slice; for example: the slice sorting identifier of the target instruction slice indicates that it is the last slice in the task instruction to which it belongs, or the second slice, etc., or the target instruction slice does not have a position of the task instruction to which it belongs in the instruction queue, that is, the target instruction slice received by the long connection channel is the first slice in the task instruction to which it belongs, and therefore there is no task instruction queue in the instruction queue, that is, there is no corresponding position.

[0118] Step S104-22: If yes, insert the target instruction fragment into the corresponding position in the instruction queue. If no, determine the tail of the instruction queue as the position of the target instruction fragment in the instruction queue, and insert the target instruction fragment into the tail.

[0119] The specific implementation process of step S104-21 may include:

[0120] Step S104-211: determining whether there is a queued task instruction queue associated with the target instruction slice in the instruction queue according to the slice instruction identifier in the target instruction slice attribute data;

[0121] Step S104-212: If yes, determine the position of the target instruction slice in the queued task instruction queue according to the slice sorting identifier of the target instruction slice attribute data. If there is no queued task instruction queue associated with the target instruction slice in the instruction queue, insert the target instruction slice into the end of the instruction queue.

[0122] Regardless of whether the above instruction queue is empty or not, it also includes:

[0123] Determining whether the target instruction fragment is the last fragment in the corresponding task instruction according to the fragment sorting identifier in the target instruction fragment attribute data;

[0124] If so, after the target instruction fragment is sent, step S103 or step S104 is continued to be executed until the instruction queue is empty.

[0125] It can be understood that, when the instruction queue is empty, the content of the above step S103 can be executed. When step S103-51, step S103-52 and step S103-53 are executed, it means that the instruction queue changes from an empty state to a non-empty state, and the subsequent execution can be performed according to the content of step S104. When the instruction queue is not empty, all instruction fragments in the instruction queue need to be transmitted in sequence, and the execution process can loop step S104-11 to step S104-22 in the above step S104 until all queued task instruction queues in the instruction queue are completely sent, that is, the instruction queue is empty. That is to say, when the target instruction fragment is the last fragment of the corresponding task instruction in the instruction queue and has been sent completely, it is necessary to obtain the next new target instruction fragment to continue to perform the above-mentioned corresponding sending operation, that is: receive the new target instruction fragment to be sent, and continue to execute the step of determining whether the status of the instruction queue in the communication connection channel is empty until all task instructions are completed; or, extract the instruction fragment of the first task instruction from the instruction queue as the target instruction fragment, and continue to execute the step of determining whether the operation to be performed on the target instruction fragment is to send or queue and wait based on the association relationship between the target instruction fragment and the current task instruction in the instruction queue, until the instruction queue is empty.

[0126] It can be understood that in order to avoid the modified instruction slice from being blocked in the communication connection channel due to problems such as network or downstream bottlenecks, thereby causing the sending of subsequent instruction slices in the instruction queue to be blocked, the attribute data of the instruction slice can also include a sending time range for the instruction slice. If the instruction slice is not sent within the sending time range, it will jump to the next instruction slice in the instruction queue for transmission processing.

[0127] The above is a description of a data transmission processing method provided by the present application. The processing method parses the task instructions and modifies the existing data slices to form multiple independent instruction slice units, and then sends or queues the received target instruction slices according to the status corresponding to the instructions in the communication connection channel. The attribute data of the target instruction slice can distinguish the type of instruction slice and ensure the order of sending the internal instruction slices in the same task instruction. The instruction slices waiting to be sent are stored in the instruction queue in the communication connection channel to achieve decoupling of the service thread and the IO operation thread, improve the transmission processing capability in the concurrent scenario, and drive the sending execution by the type of instruction slice, and can also improve the sending efficiency of the instruction slices waiting in the instruction queue. In more complex task instruction scenarios, the orderliness of the instruction slice sending can still be maintained. In scenarios such as artificial intelligence or artificial intelligence + Internet of Things, the overall performance of the gateway can be improved, which is imperceptible to the user and thus improves the user experience.

[0128] The above is a specific description of an embodiment of a method for processing data transmission provided by the present application. Corresponding to the embodiment of a method for processing data transmission provided above, the present application also discloses an embodiment of a device for processing data transmission. Figure 4 Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described below is only illustrative.

[0129] like Figure 4 As shown, Figure 4 : is a structural diagram of a data transmission processing device provided by the present application, the device comprising:

[0130] The receiving unit 401 is used to receive a target instruction fragment to be sent; the target instruction fragment is an instruction fragment that is modified from an existing instruction fragment in a task instruction;

[0131] A determination unit 402 is used to determine whether the state of the instruction queue in the long connection channel is empty;

[0132] A first determining unit 403 is used to determine whether the operation to be performed by the target instruction slice is sending or queuing according to the slice type in the attribute data of the target instruction slice when the judgment result of the judging unit is yes;

[0133] The second determination unit 404 is used to determine whether the operation to be performed on the target instruction slice is sending or queuing when the judgment result of the judgment unit is no, according to the association relationship between the target instruction slice and the current task instruction in the instruction queue; wherein the current task instruction is the task instruction that the long connection channel is executing and sending.

[0134] The system further comprises: a parsing unit and a recording unit, wherein the parsing unit is used to parse the task instruction to determine the instruction header segment and the instruction attachment segment in the task instruction. The recording unit is used to record the attribute data in the instruction header segment and the instruction attachment segment respectively.

[0135] Method 1:

[0136] The determination unit 402 includes: a first determination subunit, a first sending subunit, a second determination subunit, and a second sending subunit;

[0137] The first determining subunit is used to determine the slice type of the target instruction slice according to the type identifier in the attribute data of the target instruction slice when the instruction queue state is empty.

[0138] The first sending subunit is used to send the instruction header slice when the slice type is an instruction header slice.

[0139] The second determining subunit is used to determine whether the instruction header segment in the task instruction associated with the instruction attachment segment has been sent according to the segment instruction identifier in the attribute data when the segment type is an instruction attachment segment;

[0140] The second sending subunit is used to send the instruction attachment fragment when the determination result of the second determining subunit is yes.

[0141] The first sending sub-unit includes: an attachment fragment determination sub-unit, which is used to determine whether the task instruction associated with the instruction header fragment includes the instruction attachment fragment based on the attachment fragment identifier in the attribute data; and a marking sub-unit, which is used to mark the instruction header fragment that has been executed and sent when the determination result of the attachment fragment determination sub-unit is yes.

[0142] The second determination subunit also includes: a queue determination subunit, which is used to determine whether there is a queued task instruction queue associated with the instruction attachment fragment in the instruction queue according to the fragment instruction identifier if the determination result of the second determination subunit is no; and a placement subunit, which is used to place the instruction attachment fragment into the queued task instruction queue for the queue waiting if there is a queued task instruction queue.

[0143] Method 2:

[0144] The judgment unit 402 includes: a first determination subunit, which is used to determine whether the task instruction to which the target instruction slice belongs is the current task instruction in the instruction queue according to the slice instruction identifier in the attribute data of the target instruction slice when the instruction queue state is not empty; a second determination subunit, which is used to determine the slice type of the target instruction slice according to the type identifier in the attribute data of the current instruction slice based on the determination result of the first determination subunit being yes; a first sending subunit, which is used to send the instruction header slice when the slice type is the instruction header slice; and send the instruction attachment slice in the instruction queue with the current task instruction, and mark the instruction header slice that has been executed and sent; a third determination subunit, which is used to determine whether the instruction header slice in the current task instruction has been sent when the slice type is the instruction attachment slice; and a second sending subunit, which is used to send the instruction attachment slice when the determination result of the third determination subunit is yes.

[0145] It also includes: an inserting subunit, which is used to insert the instruction attachment fragment into the corresponding position of the instruction queue for queuing and waiting according to the fragment sorting identifier in the attribute data of the instruction attachment fragment when the determination result of the third determination subunit is no.

[0146] When the determination result of the first determination subunit is no, it includes: a first position determination subunit, which is used to determine whether the target instruction fragment has a corresponding position in the instruction queue according to the fragment sorting identifier and the fragment instruction identifier in the attribute data of the target instruction fragment, specifically: according to the fragment instruction identifier in the attribute data of the target instruction fragment, determine whether there is a queued task instruction queue associated with the target instruction fragment in the instruction queue; if so, determine the position of the target instruction fragment in the queued task instruction queue according to the fragment sorting identifier of the attribute data of the target instruction fragment. The insertion subunit is used to insert the target instruction fragment into the corresponding position in the instruction queue.

[0147] The method further includes: if there is no queued task instruction queue associated with the target instruction slice in the instruction queue, determining the tail of the instruction queue as the position of the target instruction slice in the instruction queue.

[0148] It also includes: determining whether the target instruction slice is the last slice of the corresponding task instruction in the instruction queue according to the slice sorting identifier in the target instruction slice attribute data; if so, after the target instruction slice is sent, receiving a new target instruction slice to be sent and continuing to execute the step of determining whether the state of the instruction queue in the communication connection channel is empty until all task instructions are completed; or, extracting the instruction slice of the first task instruction from the instruction queue as the target instruction slice, and continuing to execute the step of determining whether the operation to be performed on the target instruction slice is to send or queue and wait according to the association relationship between the target instruction slice and the current task instruction in the instruction queue, until the instruction queue is empty.

[0149] The above is a description of an embodiment of a data transmission processing device provided in the present application. The specific implementation process of the device can refer to the specific implementation process of the above-mentioned processing method, which will not be described in detail here.

[0150] Based on the above, the present application also provides an intelligent interconnected data transmission system, such as Figure 5 As shown, Figure 5 Yes, including: a server 501, a gateway 502 and an electronic device 503;

[0151] The server 501 performs data slicing modification processing on the task instruction to be sent to the electronic device 503, and sends the modified target instruction slices to the gateway 502;

[0152] The gateway 502 determines whether the status of the instruction queue in the communication connection channel is empty. If so, it determines whether the operation to be performed by the target instruction slice is to send or queue and wait based on the slice type in the attribute data of the received target instruction slice; if not, it determines whether the operation to be performed on the target instruction slice is to send or queue and wait based on the association between the target instruction slice and the current task instruction in the instruction queue; wherein the current task instruction is the task instruction that the communication connection channel is executing and sending.

[0153] In this embodiment, the electronic device 503 may be one or more.

[0154] For the specific content of the above-mentioned intelligent interconnected data transmission system, please refer to the description of the above-mentioned data transmission processing method embodiment, which will not be described in detail here.

[0155] Based on the above content, the present application also provides a computer storage medium for storing data generated by a network platform, and a program for processing the data generated by the network platform;

[0156] When the program is read and executed by the processor, the program executes the steps in the above-mentioned data transmission processing method.

[0157] Based on the above content, the present application also provides an electronic device, such as Figure 6 As shown, including:

[0158] Processor 601;

[0159] The memory 602 is used to store a program for processing data generated by the network platform. When the program is read and executed by the processor, the program executes the steps of the above-mentioned data transmission processing method.

[0160] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0161] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0162] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0163] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0164] 2. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0165] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

Claims

1. A method for processing data transmission, characterized in that: include: Receive the target instruction fragment to be sent; The target instruction slice is an instruction slice obtained by modifying the existing data slice in the task instruction; Determine whether the state of the instruction queue in the communication connection channel is empty; If yes, determine, according to the slice type in the attribute data of the target instruction slice, whether the operation to be performed by the target instruction slice is sending or queuing; If not, determine whether the operation to be performed on the target instruction slice is to send or queue and wait based on the association relationship between the target instruction slice and the current task instruction in the instruction queue; wherein the current task instruction is the task instruction that the communication connection channel is executing and sending.

2. The data transmission processing method according to claim 1, characterized in that: The step of determining, according to the slice type in the attribute data of the target instruction slice, whether the operation to be performed by the target instruction slice is sending or queuing, comprises: When the instruction queue state is empty, determining the slice type of the target instruction slice according to the type identifier in the attribute data of the target instruction slice; When the slice type is an instruction header slice, sending the instruction header slice; When the segment type is an instruction attachment segment, determining whether an instruction header segment in a task instruction associated with the instruction attachment segment has been sent according to a segment instruction identifier in the attribute data; If yes, send the instruction attachment fragment.

3. The data transmission processing method according to claim 2, characterized in that: When the slice type is an instruction header slice, sending the instruction header slice also includes: Determining, according to the attachment fragment identifier in the attribute data, whether the task instruction associated with the instruction header fragment includes the instruction attachment fragment; If so, the instruction header segment that has been executed and sent is marked.

4. The data transmission processing method according to claim 2, characterized in that: When the segment type is an instruction attachment segment, determining whether an instruction header segment in a task instruction associated with the instruction attachment segment has been sent according to a segment instruction identifier in the attribute data, further comprising: If not, determining whether there is a queued task instruction queue associated with the instruction attachment segment in the instruction queue according to the segment instruction identifier; If there is a queued task instruction queue, the instruction attachment fragment is put into the queued task instruction queue for the queue waiting.

5. The data transmission processing method according to claim 1, characterized in that: The step of determining, according to the association relationship between the target instruction slice and the current task instruction in the instruction queue, whether the operation to be performed on the target instruction slice is to send or to queue and wait, comprises: When the instruction queue state is not empty, determining whether the task instruction to which the target instruction slice belongs is the current task instruction in the instruction queue according to the slice instruction identifier in the attribute data of the target instruction slice; If yes, determining the slice type of the target instruction slice according to the type identifier in the attribute data of the current instruction slice; When the slice type is the instruction header slice, sending the instruction header slice; and sending the instruction attachment slice in the instruction queue corresponding to the current task instruction, and marking the instruction header slice that has been executed and sent; When the segment type is the instruction attachment segment, determining whether the instruction header segment in the current task instruction has been sent; If yes, send the instruction attachment fragment.

6. The data transmission processing method according to claim 5, characterized in that: Also includes: When the segment type is the instruction attachment segment, determine whether the instruction header segment in the current task instruction has been sent. If not, insert the instruction attachment segment into the corresponding position of the instruction queue for queue waiting according to the segment sorting identifier in the attribute data of the instruction attachment segment.

7. The method for processing data transmission according to claim 5, characterized in that: Also includes: When determining whether the task instruction to which the target instruction slice belongs is the current task instruction in the instruction queue, if it is no, determining whether the target instruction slice has a corresponding position in the instruction queue according to the slice sorting identifier and the slice instruction identifier in the attribute data of the target instruction slice; If so, insert the target instruction slice into the corresponding position in the instruction queue.

8. The method for processing data transmission according to claim 7, characterized in that: The determining, according to the slice sorting identifier and the slice instruction identifier in the target instruction slice attribute data, whether the target instruction slice has a corresponding position in the instruction queue comprises: Determine, according to the slice instruction identifier in the target instruction slice attribute data, whether there is a queued task instruction queue associated with the target instruction slice in the instruction queue; If so, the position of the target instruction slice in the queued task instruction queue is determined according to the slice sorting identifier of the target instruction slice attribute data.

9. The data transmission processing method according to claim 1, characterized in that: Also includes: Determine, according to the slice sorting identifier in the target instruction slice attribute data, whether the target instruction slice is the last slice of the corresponding task instruction in the instruction queue; If so, after the target instruction fragment is sent, a new target instruction fragment to be sent is received to continue to execute the step of determining whether the status of the instruction queue in the communication connection channel is empty until all task instructions are completed; or, the instruction fragment of the first task instruction is extracted from the instruction queue as the target instruction fragment, and the step of determining whether the operation to be performed on the target instruction fragment is to send or queue and wait based on the association relationship between the target instruction fragment and the current task instruction in the instruction queue is continued until the instruction queue is empty.

10. The data transmission processing method according to claim 1, characterized in that: Also includes: Parsing the task instruction to determine the instruction header segment and the instruction attachment segment in the task instruction; The attribute data is recorded in the instruction header slice and the instruction attachment slice respectively.

11. A data transmission processing device, characterized in that: include: A receiving unit, used for receiving a target instruction fragment to be sent; The target instruction slice is an instruction slice that is modified from the existing instruction slice in the task instruction; A judgment unit, used to determine whether the state of the instruction queue in the long connection channel is empty; A first determining unit, configured to determine, when the determination result of the determining unit is yes, whether the operation to be performed by the target instruction slice is sending or queuing and waiting according to the slice type in the attribute data of the target instruction slice; The second determination unit is used to determine whether the operation to be performed on the target instruction slice is sending or queuing and waiting according to the association relationship between the target instruction slice and the current task instruction in the instruction queue when the judgment result of the judgment unit is no; wherein the current task instruction is the task instruction that the long connection channel is executing and sending.

12. An intelligent interconnected data transmission system, characterized in that: include: Servers, gateways and electronic devices; The server performs data segment modification processing on the task instruction to be sent to the electronic device, and sends the modified target instruction segment to the gateway; The gateway determines whether the state of the instruction queue in the communication connection channel is empty, and if so, determines whether the operation to be performed by the target instruction slice is sending or queuing according to the slice type in the attribute data of the received target instruction slice; If not, then determine whether the operation to be performed on the target instruction slice is to send or queue based on the association between the target instruction slice and the current task instruction in the instruction queue; wherein the current task instruction is the task instruction that the communication connection channel is executing and sending.

13. A computer storage medium for storing data generated by a network platform and a program for processing the data generated by the network platform; When the program is read and executed by a processor, the program executes the data transmission processing method as described in any one of claims 1 to 11.

14. An electronic device comprising: processor; A memory for storing a program for processing data generated by a network platform, wherein when the program is read and executed by the processor, the program executes the data transmission processing method as described in any one of claims 1 to 11 above.