CN117395210B - Information transmission control method, equipment and storage medium based on rich media - Google Patents

Information transmission control method, equipment and storage medium based on rich media Download PDF

Info

Publication number
CN117395210B
CN117395210B CN202311685715.0A CN202311685715A CN117395210B CN 117395210 B CN117395210 B CN 117395210B CN 202311685715 A CN202311685715 A CN 202311685715A CN 117395210 B CN117395210 B CN 117395210B
Authority
CN
China
Prior art keywords
rich media
media data
priority
target
strategy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311685715.0A
Other languages
Chinese (zh)
Other versions
CN117395210A (en
Inventor
唐昶荣
唐益新
陈菊香
夏新生
黄玉峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Star Network Communication Technology Co ltd
Original Assignee
Shenzhen Star Network Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Star Network Communication Technology Co ltd filed Critical Shenzhen Star Network Communication Technology Co ltd
Priority to CN202311685715.0A priority Critical patent/CN117395210B/en
Publication of CN117395210A publication Critical patent/CN117395210A/en
Application granted granted Critical
Publication of CN117395210B publication Critical patent/CN117395210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria

Abstract

The application discloses a rich media-based information transmission control method, equipment and a storage medium, wherein the method comprises the following steps: when an access request of rich media data is detected, determining a target control strategy corresponding to the rich media data and a corresponding target server according to attribute information of the rich media data; determining the priority corresponding to the rich media data based on the target control strategy, and storing the rich media data into a cache queue according to the priority; and when the target server is in a preset state, sequentially transmitting the rich media data to the target server. The method solves the problem that the transmission process of the rich media data can not be flexibly adjusted according to the actual situation, and can be deeply controlled by fusing the service attribute.

Description

Information transmission control method, equipment and storage medium based on rich media
Technical Field
The present disclosure relates to the field of digital information transmission technologies, and in particular, to a rich media-based information transmission control method, apparatus, and storage medium.
Background
Rich Media (Rich Media) refers to information dissemination methods with animation, sound, video or interactivity, and Rich Media data refers to data in a variety of Media forms including text, pictures, audio, video, animation, etc., which can be presented alone or in any combination. When interacting with the server, the rich media data is generally cached in the client or the plug-in, and the client or the plug-in determines whether to interact with the server.
In the related scheme of rich media data transmission, a skill queue method is generally adopted, the client or the plug-in sequentially feeds back the rich media data to the server according to the sequence of accessing the rich media data, and finally the server processes the rich media data. In practical application, as the accessed rich media data are disordered and have different urgency, and the skill queue method is adopted, the processing process can only be orderly carried out, and the deep control of the rich media data transmission process by fusing the service attribute is difficult. This results in a failure to flexibly adjust the transmission process of the rich media data according to the actual situation.
Disclosure of Invention
The application provides a rich media-based information transmission control method, rich media-based information transmission control equipment and a storage medium, and aims to solve the problem that the transmission process of rich media data cannot be flexibly adjusted according to actual conditions.
In order to achieve the above object, the present application provides a rich media-based information transmission control method, which includes the following steps:
when an access request of rich media data is detected, determining a target control strategy corresponding to the rich media data and a corresponding target server according to attribute information of the rich media data;
Determining the priority corresponding to the rich media data based on the target control strategy, and storing the rich media data into a cache queue according to the priority;
and when the target server is in a preset state, sequentially transmitting the rich media data to the target server.
Optionally, when the access request of the rich media data is detected, the step of determining the target control policy and the corresponding target server corresponding to the rich media data according to the attribute information of the rich media data includes:
acquiring the rich media data, analyzing the rich media data based on a preset algorithm and generating the attribute information;
acquiring a pre-stored control strategy, and acquiring a corresponding target attribute from the control strategy, wherein the target attribute is generated by a single or combination of a channel attribute, an object attribute and a time attribute;
when the attribute information is matched with the target attribute, determining a control strategy corresponding to the target attribute as a target control strategy;
acquiring a service tag of a service end, wherein the service tag comprises attribute information of processable data of the service end so that the service end is matched with corresponding rich media data;
And searching whether a target service label matched with the attribute information exists in the service labels, and if so, determining a service end corresponding to the target service label as a target service end.
Optionally, the step of determining the priority corresponding to the rich media data based on the target control policy and storing the rich media data into a buffer queue according to the priority includes:
when at least two rich media data corresponding to the target server are detected, corresponding first rich media data and second rich media data are obtained, and corresponding first target control strategies and second target control strategies are determined;
acquiring a corresponding first priority from the first target control strategy and acquiring a corresponding second priority from the second target control strategy;
and when the first priority is higher than the second priority, storing the first rich media data and the second rich media data in a cache queue in a preset sequence according to the corresponding priority.
Optionally, before the step of determining the target control policy and the corresponding target server corresponding to the rich media data according to the attribute information of the rich media data when the access request of the rich media data is detected, the method further includes:
Outputting a control strategy configuration interface, wherein the control strategy configuration page comprises a strategy setting box and a confirmation completion control;
responding to the operation action of the strategy setting frame, and acquiring input initial attribute information;
generating and storing the control strategy based on a preset rule according to the initial attribute information;
and outputting a priority setting interface when the confirmation completion control is triggered.
Optionally, after the step of outputting the priority setting interface when the confirmation completion control is triggered, the method further includes:
outputting the priority setting interface, wherein the priority setting interface comprises a control strategy display frame and a priority setting frame;
responding to the operation action of the control strategy display frame, determining the control strategy selected by an administrator, and outputting a corresponding priority setting frame;
and responding to the operation action of the priority setting frame, determining the priority corresponding to the control strategy and storing the priority.
Optionally, the step of determining and saving the priority corresponding to the control policy in response to the operation action of the priority setting box includes:
after the priority of the first strategy is determined, acquiring a second strategy selected by an administrator based on a control strategy display frame;
Determining and storing the priority corresponding to the second strategy based on the operation action of the priority setting frame;
and when the priority of the second strategy is determined, skipping to execute the step of acquiring the third strategy selected by the administrator based on the control strategy display frame.
Optionally, after the step of determining the priority corresponding to the rich media data based on the target control policy and storing the rich media data into the buffer queue according to the priority, the method further includes:
acquiring rich media data to be processed in the cache queue;
acquiring the priority of the target control strategy, and determining the target priority of the rich media data to be processed;
and when the target priority is lower than the priority, storing the rich media data and the rich media data to be processed into a cache queue according to the comparison result.
Optionally, when the target server is in the preset state, the step of sequentially transmitting the rich media data to the target server includes:
acquiring the current service quantity of the target service end;
when the current service quantity reaches a preset threshold value, setting the state of the target service end to be a busy state, wherein the busy state indicates that the rich media data cannot be accessed;
When the current service quantity does not reach a preset threshold value, setting the state of the target service end to be an idle state;
and when the state of the target server is an idle state, executing the action of sequentially transmitting the rich media data to the target server.
In addition, to achieve the above object, the present application further provides a rich media-based information transmission control apparatus, including: the system program of the rich media-based information transmission control apparatus is executed by the processor to implement the steps of the rich media-based information transmission control method as described above.
In addition, in order to achieve the above object, the present application also provides a storage medium having stored thereon a system program of a rich media-based information transmission control method, the system program of the rich media-based information transmission control method being executed by a processor to implement the steps of the rich media-based information transmission control method as described above.
The application provides an information transmission control method, equipment and storage medium based on rich media, wherein when an access request of rich media data is detected, a target control strategy and a corresponding target server corresponding to the rich media data are determined according to attribute information of the rich media data; determining the priority corresponding to the rich media data based on the target control strategy, and storing the rich media data into a cache queue according to the priority; and when the target server is in a preset state, sequentially transmitting the rich media data to the target server. And determining the attribute information of the accessed rich media data, and determining a target control strategy and a target server according to the attribute information to control the transmission process of the rich media data, thereby realizing deep control of the rich media data transmission process by fusing the service attribute.
Drawings
FIG. 1 is a flow chart of a first embodiment of a rich media based information transmission control method of the present application;
fig. 2 is a flowchart of a second embodiment of a rich media-based information transmission control method according to the present application;
fig. 3 is a flowchart of a third embodiment of a rich media-based information transmission control method according to the present application;
fig. 4 is a schematic architecture diagram of a hardware running environment of the rich media-based information transmission control apparatus according to an embodiment of the present application;
the achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
According to the rich media-based information transmission control method, when an access request of rich media data is detected, a target control strategy and a corresponding target server corresponding to the rich media data are determined according to attribute information of the rich media data; determining the priority corresponding to the rich media data based on the target control strategy, and storing the rich media data into a cache queue according to the priority; and when the target server is in a preset state, sequentially transmitting the rich media data to the target server. The method solves the problem that the transmission process of the rich media data can not be flexibly adjusted according to actual conditions, and can be deeply controlled by fusing service attributes.
In order to better understand the above technical solution, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1
Referring to fig. 1, in a first embodiment, the rich media-based information transmission control method includes the following steps:
step S10: when an access request of rich media data is detected, determining a target control strategy and a corresponding target server corresponding to the rich media data according to attribute information of the rich media data.
In this embodiment, the rich media data may be data input by a user based on an input device of the terminal device, or may be data sent by various types of APPs (applications), web pages, and systems based on HTTP (Hypertext Transfer Protocol ) protocols, where the rich media data may be transmitted in various forms, and received by a client through an API (Application Programming Interface ) or other forms, and specific processes are not described herein. For processing the rich media data is a plug-in or a client on a web page or system interface, where the methods discussed in this embodiment may all be performed.
The attribute information of the rich media data comprises information on channel attribute, object attribute and time attribute, wherein the information on the channel attribute comprises whether a robot is connected, a channel label, an IP address when the robot is connected and a priority; the information on the object attribute comprises level, language, responsible channel, service classification and client area; the information on the time attribute comprises working day, non-working day and special date.
As an alternative implementation manner, when detecting the access request of the rich media data, whether the rich media data accords with a preset rule is judged first, and the preset rule may be to judge whether the rich media data is a specified channel, that is, whether the rich media data is a data source determined in advance by the system. And when the rich media data does not accord with the rule, the attribute information of the rich media data does not need to be determined, and the access request of the rich media data is directly refused. By setting up rules when accessing rich media data, some rich media data access with wrong sources or malicious data access requests can be removed, so that the use of memory is reduced and the rich media data access efficiency is improved.
Optionally, in this embodiment, the step S10 includes:
acquiring the rich media data, analyzing the rich media data based on a preset algorithm and generating the attribute information; acquiring a pre-stored control strategy, and acquiring a corresponding target attribute from the control strategy, wherein the target attribute is generated by a single or combination of a channel attribute, an object attribute and a time attribute; when the attribute information is matched with the target attribute, determining a control strategy corresponding to the target attribute as a target control strategy; acquiring a service tag of a service end, wherein the service tag comprises attribute information of processable data of the service end so that the service end is matched with corresponding rich media data; and searching whether a target service label matched with the attribute information exists in the service labels, and if so, determining a service end corresponding to the target service label as a target service end.
Specifically, the rich media data may be text data, image data, audio data, or a combination of the above data, and the parsing algorithm adopted by each type of data is correspondingly different, and taking audio data as an example, it is required to convert the received audio data into a processable format, then extract features, or convert the voice in the audio into text information, so that the text information is processed through a series of natural language processing (Natural Language Processing, NLP) algorithms, and the attribute information in the text information is extracted through a preset model. The control strategy is preset through a configuration page, consists of channel attributes, object attributes and time attributes, is subjected to multidimensional combination according to the attributes, and is set to meet various requirements, and at least one of the control strategies can be a character string or text information containing a plurality of instructions. Comparing the attribute information obtained by analyzing the rich media data with target attributes in a preset control strategy, storing the control strategy in a memory, searching the target attributes in the control strategy, thereby matching the corresponding target attributes according to the attribute information, and associating the control strategy of the target attributes matched with the attribute information with the rich media data. The priority of each control strategy is different, and the priority determines the sequence of processing the rich media data.
Among them, natural language processing algorithms are an important direction in the fields of computer science and artificial intelligence. Natural language processing is not a general study of natural language, but rather, is the development of computer systems, and in particular software systems therein, that can effectively implement natural language communications. The natural language processing algorithms mentioned in the present embodiment include various algorithms that can analyze a language, and algorithms that can extract attribute features, such as a deep learning algorithm, a feature extraction algorithm, and the like.
As an optional implementation manner, the method for matching the control strategies with the attribute information can also be that the corresponding control strategies are determined through the channel for acquiring the rich media data, and then the corresponding control strategies are searched with the attribute information, so that the matching efficiency is improved.
For example, assuming that the channel attribute of the rich media data to be accessed is a product from a certain company in Shenzhen city, the object attribute is handling member service, the time attribute is 2023, 11 and 16 days, the key features in the rich media data are extracted based on a pre-customized rule through a natural language processing algorithm, namely { channel: shenzhen city, certain company, service type: handling members, time: 2023.11.16}, and obtaining the control policy stored in the memory, extracting the target attribute of the control policy, and associating the control policy of Shenzhen and the handling member contained in the target attribute with the rich media data.
In this embodiment, the client corresponds to a plurality of background servers, and each background server can process different data, so that service tags are associated with each server and stored, and service tags matched with the attribute information in the memory can be queried through the attribute information.
For example, assuming that the language corresponding to the attribute information in the rich media data is english, a service tag having english service needs to be searched, so that the rich media data is allocated to a service end that can understand english.
Step S20: and determining the priority corresponding to the rich media data based on the target control strategy, and storing the rich media data into a cache queue according to the priority.
In this embodiment, the priority is obtained by acquiring the ranking number of the target control policy in the memory after the target control policy of the rich media data is determined in advance. The priority can be higher for important rich media data, so that the important rich media data has higher priority in network transmission, and timely transmission of key data is ensured. It should be appreciated that the higher the priority, the more front the rich media data is in the cache queue, and the data is transferred from the cache queue one by one according to the ranking.
Among them, cache (cache) is a computer technology for temporarily storing recently or frequently accessed data so that the data can be acquired more quickly at the time of a subsequent access without having to acquire from an original location every time. Caching is often used in network request, file reading, computation results, etc. scenarios to improve efficiency. In the data transmission process based on rich media, the buffer memory can reduce network flow and improve loading speed and user experience. When the user requests the same rich media content again, the browser can directly retrieve the content from the cache if it is already in the cache, without downloading it again from the server. The implementation of the cache varies from application scenario to application scenario. In the browser, the caching of the rich media content can be realized by setting an HTTP cache, using a browser caching mechanism and the like. At the server side, whether the browser can cache the rich media content can be controlled by setting a cache control policy in the response header. In addition, the caching can be realized by using intermediate devices such as a proxy server, a CDN and the like, so that the load of the server is reduced and the network efficiency is improved.
It should be noted that buffering is not always applicable to all situations. In some scenarios requiring real-time updating or real-time response, frequent updating of the cache may affect the accuracy and timeliness of the data. Therefore, when using the cache, the most suitable policy needs to be selected according to a specific application scenario, in this process, a connection may be established with the database, so that the queue may be stored in the database, or the queue may be temporarily stored in the memory, so as to solve the above problem.
The buffer queue is a data structure used for storing commands or messages waiting to be processed in the development of the singlechip software. The amount of data that a cache queue can hold is determined by the size of the cache area at the time of creation. The process of receiving the data queues the received buffered data according to a first in first out or priority order principle. In the case of queuing in priority order, the receiving processes of the same priority are queued in a first-in first-out principle.
As an alternative implementation, the priority may be an integer or fractional value, and may be set in the control policy, or may be associated with and stored in the control policy. When the action of matching the control strategy is triggered, the control strategy corresponding to the attribute information is automatically acquired, and the priority associated with the control strategy is called together, so that the priority of the rich media data is determined, and the transmission process of the rich media data can be automatically controlled.
Optionally, in this embodiment, the step S20 includes:
when at least two rich media data corresponding to the target server are detected, corresponding first rich media data and second rich media data are obtained, and corresponding first target control strategies and second target control strategies are determined; acquiring a corresponding first priority from the first target control strategy and acquiring a corresponding second priority from the second target control strategy; and when the first priority is higher than the second priority, storing the first rich media data and the second rich media data in a cache queue in a preset sequence according to the corresponding priority.
Specifically, there are at least two rich media data requests to be accessed simultaneously, that is, an access request with a plurality of rich media data is detected on behalf of a client. The rich media data represented by each request may be the same or different, so that the target control policy corresponding to the rich media data may be different, and accordingly, the priorities thereof may be different. And comparing the score values by acquiring the score values of the priorities corresponding to the rich media data, so as to determine the priority.
Alternatively, in the buffer queue, if there are multiple rich media data transmission processes and their priorities are the same, they can be processed in the order they entered the queue, i.e., in the order of the accessed data. That is, the process that enters the queue first is processed and then the process that enters the queue is processed, and this processing method follows the FIFO (first in, first out) principle.
As another alternative implementation manner, when the number of the accessed rich media data is large, a priority tree construction mode can be adopted to quickly determine the priority levels of all the rich media data, so that in a scene of more data access, the comparison speed can be increased, and the data transmission efficiency is improved.
Specifically, a priority tree is constructed, and priorities are classified according to a hierarchical relationship to form a tree structure. When the priority of each rich media data is obtained, only the corresponding rich media data is required to be placed at the corresponding position in the priority number, each level represents different priorities, and the higher the level is, the higher the priority is.
For example, assuming that the number of pieces of access rich media data is 3, and the access rich media data is from different channels, when the front end of the web page receives the data through the interface, the control policy of the piece of rich media data is determined first, so that the corresponding priorities are determined to be 6, 4 and 7 respectively. The rich media data corresponding to the priority 7 is correspondingly compared with the position in the buffer queue before the processing is needed.
Step S30: and when the target server is in a preset state, sequentially transmitting the rich media data to the target server.
In this embodiment, the client monitors the state of the target server through the monitor, or all the servers that establish connection with the client update and feed back the state of the client at any time, and the state is recorded and stored by the client. It should be understood that the process of detecting the status of all the servers and the process of determining the rich media data control policy may be performed simultaneously or sequentially, and there is no sequence of performing the two processes sequentially.
The target server is not limited to only one device, and may be a terminal corresponding to a plurality of service personnel for serving the same type of rich media data.
Optionally, in this embodiment, the step S30 includes:
acquiring the current service quantity of the target service end; when the current service quantity reaches a preset threshold value, setting the state of the target service end to be a busy state, wherein the busy state indicates that the rich media data cannot be accessed; when the current service quantity does not reach a preset threshold value, setting the state of the target service end to be an idle state; and when the state of the target server is an idle state, executing the action of sequentially transmitting the rich media data to the target server.
Specifically, the service number is set for all the service ends in advance, and one service end can be connected with a plurality of service personnel at the same time, so that the service number of the service end needs to be set according to the connected service personnel, when the process number of the service end at the moment reaches the service number, the service state is automatically updated to be busy and fed back to the client end at the same time, and the buffer queue in the client end stops transmitting corresponding service body data to the corresponding service end.
As an alternative implementation, the transmission from the cache queue to the target server may be transmitted through a data channel and based on the HTTP protocol. Wherein a data channel is a communication system that can transmit information having certain data properties to the other end so that a user can use it at the receiving end. The data channel may use any type of communication protocol such as single user single server (SUS), multi-user single server (MUS), streaming media protocol (smpp), single user multiple server (SIMS), and the like. The system can operate on a plurality of terminals, uses a wired network and a wireless network, and can protect data security by using a password or an encryption mode so as to prevent data from being tampered and improve data transmission efficiency. The data channel may also use reliable techniques to ensure that data is not corrupted or lost during transmission. In addition, video, image, voice and other multimedia forms are used for data transmission, and the data transmission in the form can bring better user experience. It should be understood that each server corresponds to a data channel and is connected to a client.
For example, assuming that the number of service persons corresponding to the target service end is 3, the number of simultaneously processable processes is 30, when the number of processing processes of the target service end is 25, it means that the data can be continuously accessed for processing, the client end issues an instruction to a corresponding buffer queue, the rich media data in the buffer queue is sequentially sent to the target service end, and when the number of processing processes reaches 30, the corresponding data channel is closed, so that the client end is prevented from continuously transmitting the data, and the service end cannot orderly process the data.
In the technical scheme provided by the embodiment, the attribute information of the rich media data is confirmed, so that the target control strategy and the target server are determined according to the attribute information, and the transmission process of the rich media and the data can be effectively controlled by fusing the attribute; by presetting the priority in the control strategy, the orderly processing of the processing process can be ensured, and the rich media data needing emergency processing can be processed with priority; by setting the processing quantity and the corresponding data channels for the corresponding service ends, the processing tasks of each service end can be efficiently arranged, and the transmission efficiency of the rich media data can be improved.
Example two
Referring to fig. 2, in the second embodiment, before the step S10, the method further includes the following steps:
step S11: and outputting a control strategy configuration interface, wherein the control strategy configuration page comprises a strategy setting box and a confirmation completion control.
In this embodiment, the control policy configuration interface is presented on the client, and the processing actions are performed by the client or a plug-in installed on the client. The user may operate on the control strategy configuration interface based on the input means of the device.
As an optional implementation manner, the client or plug-in of the control policy configuration interface described in this embodiment is implemented based on RIA (Rich Internet Applications, rich internet application), combines multimedia data with various functions, compiles the multimedia data into a client or plug-in program through a scripting language, and when a user interacts with the client or plug-in, does not directly send a request of the user to a background server, and is firstly determined by the client, and then determines whether to interact with the background server.
Illustratively, rich internet applications combine the advantages of both Rich user interface (Rich user interface) and World Wide Web (global Wide Web) technology, enabling software developers to develop more complex applications using a variety of Web technologies and rapid application development tools (RADs). These applications can be accessed anywhere with a variety of devices and feature desktop applications.
Step S12: and responding to the operation action of the strategy setting box, and acquiring the input initial attribute information.
In this embodiment, the administrator may input initial attribute information on the control policy configuration interface based on the input device of the terminal device, where the initial attribute information may be preset in the policy setting box and selected by the administrator through the selection device of the terminal device; the administrator may detect and match a preset model by the client based on the initial information input by the input device, thereby generating initial attribute information.
Step S13: generating and storing the control strategy based on a preset rule according to the initial attribute information;
in this embodiment, the preset rule may be a plurality of combinations and restriction rules for a plurality of attributes, and the administrator realizes the setting, so as to assist the user in setting the control policy conforming to the rule. The set control strategy is not required to be fed back to the server for storage, but is directly stored in the memory of the client or stored in a database connected with the client.
In the control policy configuration interface, an administrator inputs that the channel attribute is Taobao, the object attribute is after-sales service, and the time attribute is non-working day, the control policies are fused, and whether the control policies are reasonable or not is detected through rules, for example, when the channel attribute is a unknown webpage, such data is not received in preset rules, and the control policies are not required, so that configuration errors are prompted.
Step S14: and outputting a priority setting interface when the confirmation completion control is triggered.
In this embodiment, the confirmation completion control may be triggered after one control policy is set, or may be triggered after a plurality of control policies are set. The confirmation completion control is connected with an instruction, when the confirmation completion control is triggered, the corresponding instruction is triggered, and the client renders rendering information of the priority setting interface to the terminal equipment based on the instruction, so that the terminal equipment displays the priority setting interface. It should be understood that the control policy set and generated in the step S13 is shown in the priority setting interface.
Further, in this embodiment, after the step S14, the method further includes:
after the priority of the first strategy is determined, acquiring a second strategy selected by an administrator based on a control strategy display frame; determining and storing the priority corresponding to the second strategy based on the operation action of the priority setting frame; and when the priority of the second strategy is determined, skipping to execute the step of acquiring the third strategy selected by the administrator based on the control strategy display frame.
Specifically, the number of control policies set by the administrator depends on the number of control policies generated in step S13, and if missing or control policy setting errors are found, the control policy interface may be returned by triggering the return control, so as to modify or add a control policy again.
As an alternative implementation manner, the method for setting the priority of the control strategy may directly click on the corresponding control strategy and associate the corresponding numerical value with the corresponding control strategy; the control strategies can be sequenced through dragging by a selection device of the terminal equipment, so that the priority of the control strategies is automatically generated according to the sequencing number, and the efficiency of setting by an administrator is improved.
For example, if the object attribute of the first policy is a complaint type, the priority to be set is higher, and the complaint type policy further includes a channel attribute and a time attribute, if the channel attribute is a corresponding member user, the first policy is the complaint type policy, and if the channel attribute is a member user, the priority of the policy corresponding to the member user is required to be higher than that of the common user.
In the technical scheme provided by the embodiment, the control strategy is set in the control strategy configuration interface, the priority of the corresponding control strategy is set through the priority setting frame, the control strategy is stored in the memory of the client, and when the access request of the rich media data is received, the control strategy can be quickly called to match the rich media data, so that the control efficiency of the transmission process is improved.
Example III
Referring to fig. 3, in the third embodiment, after the step S20, the method further includes the following steps:
step S21: and acquiring the rich media data to be processed in the cache queue.
Step S22: and acquiring the priority of the target control strategy, and determining the target priority of the rich media data to be processed.
Step S23: and when the target priority is lower than the priority, storing the rich media data and the rich media data to be processed into a cache queue according to the comparison result.
In this embodiment, before new rich media data needs to enter the buffer queue, the process of the rich media data that needs to be processed is already ordered in the buffer queue in advance. The new incoming rich media data needs to be inserted in the buffer queue according to its priority.
As an optional implementation manner, the priority of the rich media data can be compared through a dichotomy, the priority of the rich media data to be processed in the middle position in the buffer queue is obtained, the priority and the priority are compared, and the interval in which the rich media data is located is determined, so that the comparison quantity is reduced, and the speed of determining the position of the rich media data in the buffer queue can be increased. It should be understood that the priority level for comparing the rich media data in this embodiment may be a method that can accelerate the comparison rate through various comparison algorithms, such as a hash table method.
Illustratively, when the determined rich media data needs to be stored in the buffer queue, if there are already 10 pieces of rich media data to be processed in the buffer queue, the 10 pieces of rich media data to be processed are already ordered according to the priority. The priority of the 5 th piece of to-be-processed rich media data is firstly obtained, and the priority of the newly accessed rich media data is compared with the priority of the 5 th piece of to-be-processed rich media data, if the priority is higher than the priority of the 5 th piece of to-be-processed rich media data, the priority is only compared with the first five pieces of to-be-processed rich media data, and otherwise, the priority is compared with the last five pieces of to-be-processed rich media data. After the comparison, the newly accessed rich media data are placed in the corresponding positions, and the rich media data are transmitted according to a preset sequence.
In the technical scheme provided by the embodiment, the priority of the rich media data to be processed in the buffer queue is obtained and compared with the priority of the newly accessed rich media data, so that the buffer queue is reordered, the rich media data with higher priority can be processed preferentially, and the problems that the rich media data accessed earlier but the priority is low and processed earlier are avoided.
Since the system described in the embodiments of the present application is a system for implementing the method of the embodiments of the present application, based on the method described in the embodiments of the present application, a person skilled in the art can understand the specific structure and the modification of the system, and therefore, the description thereof is omitted herein. All systems used in the methods of the embodiments of the present application are within the scope of the protection sought herein.
Fig. 4 is a schematic architecture diagram of a hardware operating environment of a rich media-based information transmission control device according to an embodiment of the present application.
As shown in fig. 4, the rich media-based information transmission control apparatus may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a network interface 1003, and a memory 1004. Wherein the communication bus 1002 is used to enable connected communication between these components. The network interface 1003 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1004 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable Non-Volatile Memory (NVM), such as a disk Memory. The memory 1004 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 4 does not constitute a limitation of the rich media-based information transmission control apparatus, and may include more or less components than those illustrated, or may combine certain components, or may be arranged in different components.
As shown in fig. 4, an operating system, a network communication module, and a rich media-based information transmission control program may be included in the memory 1004 as one storage medium. The operating system is a program for managing and controlling hardware and software resources of the rich media-based information transmission control apparatus, a rich media-based information transmission control method program, and operations of other software or programs.
In the rich media-based information transmission control apparatus shown in fig. 4, the network interface 1003 is mainly used for connecting a terminal, and performs data communication with the terminal; the processor 1001 may be used to invoke a rich media-based information transfer control program stored in the memory 1004.
In the present embodiment, the rich media-based information transmission control apparatus includes: a memory 1004, a processor 1001, and a rich media-based information transmission control program stored on the memory and executable on the processor, wherein:
when the processor 1001 calls the rich media-based information transmission control program stored in the memory 1004, the following operations are performed:
when an access request of rich media data is detected, determining a target control strategy corresponding to the rich media data and a corresponding target server according to attribute information of the rich media data;
Determining the priority corresponding to the rich media data based on the target control strategy, and storing the rich media data into a cache queue according to the priority;
and when the target server is in a preset state, sequentially transmitting the rich media data to the target server.
In one embodiment, when the processor 1001 invokes the rich media based information transfer control program stored in the memory 1004, the following operations are performed:
acquiring the rich media data, analyzing the rich media data based on a preset algorithm and generating the attribute information;
acquiring a pre-stored control strategy, and acquiring a corresponding target attribute from the control strategy, wherein the target attribute is generated by a single or combination of a channel attribute, an object attribute and a time attribute;
when the attribute information is matched with the target attribute, determining a control strategy corresponding to the target attribute as a target control strategy;
acquiring a service tag of a service end, wherein the service tag comprises attribute information of processable data of the service end so that the service end is matched with corresponding rich media data;
and searching whether a target service label matched with the attribute information exists in the service labels, and if so, determining a service end corresponding to the target service label as a target service end.
In one embodiment, when the processor 1001 invokes the rich media based information transfer control program stored in the memory 1004, the following operations are performed:
when at least two rich media data corresponding to the target server are detected, corresponding first rich media data and second rich media data are obtained, and corresponding first target control strategies and second target control strategies are determined;
acquiring a corresponding first priority from the first target control strategy and acquiring a corresponding second priority from the second target control strategy;
and when the first priority is higher than the second priority, storing the first rich media data and the second rich media data in a cache queue in a preset sequence according to the corresponding priority.
In one embodiment, when the processor 1001 invokes the rich media based information transfer control program stored in the memory 1004, the following operations are performed:
outputting a control strategy configuration interface, wherein the control strategy configuration page comprises a strategy setting box and a confirmation completion control;
responding to the operation action of the strategy setting frame, and acquiring input initial attribute information;
generating and storing the control strategy based on a preset rule according to the initial attribute information;
And outputting a priority setting interface when the confirmation completion control is triggered.
In one embodiment, when the processor 1001 invokes the rich media based information transfer control program stored in the memory 1004, the following operations are performed:
outputting the priority setting interface, wherein the priority setting interface comprises a control strategy display frame and a priority setting frame;
responding to the operation action of the control strategy display frame, determining the control strategy selected by an administrator, and outputting a corresponding priority setting frame;
and responding to the operation action of the priority setting frame, determining the priority corresponding to the control strategy and storing the priority.
In one embodiment, when the processor 1001 invokes the rich media based information transfer control program stored in the memory 1004, the following operations are performed:
after the priority of the first strategy is determined, acquiring a second strategy selected by an administrator based on a control strategy display frame;
determining and storing the priority corresponding to the second strategy based on the operation action of the priority setting frame;
and when the priority of the second strategy is determined, skipping to execute the step of acquiring the third strategy selected by the administrator based on the control strategy display frame.
In one embodiment, when the processor 1001 invokes the rich media based information transfer control program stored in the memory 1004, the following operations are performed:
acquiring rich media data to be processed in the cache queue;
acquiring the priority of the target control strategy, and determining the target priority of the rich media data to be processed;
and when the target priority is lower than the priority, storing the rich media data and the rich media data to be processed into a cache queue according to the comparison result.
In one embodiment, when the processor 1001 invokes the rich media based information transfer control program stored in the memory 1004, the following operations are performed:
acquiring the current service quantity of the target service end;
when the current service quantity reaches a preset threshold value, setting the state of the target service end to be a busy state, wherein the busy state indicates that the rich media data cannot be accessed;
when the current service quantity does not reach a preset threshold value, setting the state of the target service end to be an idle state;
and when the state of the target server is an idle state, executing the action of sequentially transmitting the rich media data to the target server.
Furthermore, it will be appreciated by those of ordinary skill in the art that implementing all or part of the processes in the methods of the above embodiments may be accomplished by computer programs to instruct related hardware. The computer program comprises program instructions, and the computer program may be stored in a storage medium, which is a computer readable storage medium. The program instructions are executed by at least one processor in the device to carry out the flow steps of the embodiments of the method described above.
Accordingly, the present application also provides a storage medium storing a rich media-based information transmission control program which, when executed by a processor, implements the steps of the rich media-based information transmission control method described in the above embodiments.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, etc. which may store the program code.
It should be noted that, because the storage medium provided in the embodiments of the present application is a storage medium used to implement the method in the embodiments of the present application, based on the method described in the embodiments of the present application, a person skilled in the art can understand the specific structure and the modification of the storage medium, and therefore, the description thereof is omitted herein. All storage media used in the methods of the embodiments of the present application are within the scope of protection intended in the present application.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (9)

1. The rich media-based information transmission control method is characterized by comprising the following steps of:
judging whether the rich media data accords with a preset rule when the client detects an access request of the rich media data, acquiring the rich media data, converting a data format of the rich media data, extracting corresponding characteristic information, analyzing the characteristic information based on a preset algorithm and generating attribute information when the rich media data accords with the preset rule;
Obtaining a pre-stored control strategy, and obtaining a corresponding target attribute from the control strategy, wherein the target attribute is generated by single or combination of channel attribute, object attribute and time attribute, and the control strategy meeting various requirements is set by performing multidimensional combination according to the attributes;
when the attribute information is matched with the target attribute, determining a control strategy corresponding to the target attribute as a target control strategy;
acquiring a service tag of a service end, wherein the service tag comprises attribute information of processing data of the service end so as to enable the service end to be matched with corresponding rich media data;
searching whether a target service label matched with the attribute information exists in the service labels, and if so, determining a service end corresponding to the target service label as a target service end;
determining the priority corresponding to the rich media data based on the target control strategy, and storing the rich media data into a cache queue according to the priority;
and when the target server is in a preset state, sequentially transmitting the rich media data to the target server.
2. The rich media based information transmission control method of claim 1, wherein the steps of determining a priority corresponding to the rich media data based on the target control policy, and storing the rich media data in a buffer queue according to the priority comprise:
When at least two rich media data corresponding to the target server are detected, corresponding first rich media data and second rich media data are obtained, and corresponding first target control strategies and second target control strategies are determined;
acquiring a corresponding first priority from the first target control strategy and acquiring a corresponding second priority from the second target control strategy;
and when the first priority is higher than the second priority, storing the first rich media data and the second rich media data in a cache queue in a preset sequence according to the corresponding priority.
3. The method for controlling rich media based information transmission according to claim 1, wherein when an access request of rich media data is detected, before the step of determining a target control policy and a corresponding target server corresponding to the rich media data according to attribute information of the rich media data, the method further comprises:
outputting a control strategy configuration interface, wherein the control strategy configuration page comprises a strategy setting box and a confirmation completion control;
responding to the operation action of the strategy setting frame, and acquiring input initial attribute information;
Generating and storing the control strategy based on a preset rule according to the initial attribute information;
and outputting a priority setting interface when the confirmation completion control is triggered.
4. The rich media based information transmission control method of claim 3, further comprising, after the step of outputting a priority setting interface when the confirmation completion control is triggered:
outputting the priority setting interface, wherein the priority setting interface comprises a control strategy display frame and a priority setting frame;
responding to the operation action of the control strategy display frame, determining the control strategy selected by an administrator, and outputting a corresponding priority setting frame;
and responding to the operation action of the priority setting frame, determining the priority corresponding to the control strategy and storing the priority.
5. The rich media based information transmission control method of claim 4, wherein the step of determining and saving the priority corresponding to the control policy in response to an operation action of the priority setting frame comprises:
after the priority of the first strategy is determined, acquiring a second strategy selected by an administrator based on a control strategy display frame;
Determining and storing the priority corresponding to the second strategy based on the operation action of the priority setting frame;
and when the priority of the second strategy is determined, skipping to execute the step of acquiring the third strategy selected by the administrator based on the control strategy display frame.
6. The rich media-based information transmission control method of claim 1, further comprising, after the step of determining a priority corresponding to the rich media data based on the target control policy and storing the rich media data in a buffer queue according to the priority:
acquiring rich media data to be processed in the cache queue;
acquiring the priority of the target control strategy, and determining the target priority of the rich media data to be processed;
and when the target priority is lower than the priority, storing the rich media data and the rich media data to be processed into a cache queue according to a comparison result.
7. The rich media-based information transmission control method as claimed in claim 1, wherein the step of sequentially transmitting the rich media data to the target server when the target server is in a preset state comprises:
Acquiring the current service quantity of the target service end;
when the current service quantity reaches a preset threshold value, setting the state of the target service end to be a busy state, wherein the busy state indicates that the rich media data cannot be accessed;
when the current service quantity does not reach a preset threshold value, setting the state of the target service end to be an idle state;
and when the state of the target server is an idle state, executing the action of sequentially transmitting the rich media data to the target server.
8. A rich media-based information transmission control apparatus, characterized by comprising: memory, a processor, and a system program of a rich media-based information transmission control method stored on the memory and executable on the processor, the system program of the rich media-based information transmission control apparatus being executed by the processor to implement the steps of the rich media-based information transmission control method according to any one of claims 1 to 7.
9. A storage medium, wherein a system program of a rich media-based information transmission control method is stored on the storage medium, and the system program of the rich media-based information transmission control method is executed by a processor to implement the steps of the rich media-based information transmission control method according to any one of claims 1 to 7.
CN202311685715.0A 2023-12-11 2023-12-11 Information transmission control method, equipment and storage medium based on rich media Active CN117395210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311685715.0A CN117395210B (en) 2023-12-11 2023-12-11 Information transmission control method, equipment and storage medium based on rich media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311685715.0A CN117395210B (en) 2023-12-11 2023-12-11 Information transmission control method, equipment and storage medium based on rich media

Publications (2)

Publication Number Publication Date
CN117395210A CN117395210A (en) 2024-01-12
CN117395210B true CN117395210B (en) 2024-03-19

Family

ID=89466970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311685715.0A Active CN117395210B (en) 2023-12-11 2023-12-11 Information transmission control method, equipment and storage medium based on rich media

Country Status (1)

Country Link
CN (1) CN117395210B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815995A (en) * 2007-11-15 2010-08-25 Sk电信有限公司 System and method for producing importance rate-based rich media, and server applied to the same
CN115729404A (en) * 2021-08-30 2023-03-03 华为技术有限公司 Notification message processing method and device
CN116016647A (en) * 2022-11-30 2023-04-25 国网雄安金融科技集团有限公司 Business service method, device and computer readable medium
CN116051184A (en) * 2023-01-10 2023-05-02 中国联合网络通信集团有限公司 Multimedia playing system, method, device and storage medium
WO2023221810A1 (en) * 2022-05-19 2023-11-23 北京字跳网络技术有限公司 Information presentation method and apparatus, and electronic device and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11601551B2 (en) * 2019-09-12 2023-03-07 Samsung Electronics Co., Ltd Methods and systems for providing rich interactive communication services on an electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815995A (en) * 2007-11-15 2010-08-25 Sk电信有限公司 System and method for producing importance rate-based rich media, and server applied to the same
CN115729404A (en) * 2021-08-30 2023-03-03 华为技术有限公司 Notification message processing method and device
WO2023030056A1 (en) * 2021-08-30 2023-03-09 华为技术有限公司 Notification message processing method and device
WO2023221810A1 (en) * 2022-05-19 2023-11-23 北京字跳网络技术有限公司 Information presentation method and apparatus, and electronic device and storage medium
CN116016647A (en) * 2022-11-30 2023-04-25 国网雄安金融科技集团有限公司 Business service method, device and computer readable medium
CN116051184A (en) * 2023-01-10 2023-05-02 中国联合网络通信集团有限公司 Multimedia playing system, method, device and storage medium

Also Published As

Publication number Publication date
CN117395210A (en) 2024-01-12

Similar Documents

Publication Publication Date Title
CN109690527B (en) Internet cloud hosted natural language interactive messaging system with virtual database
US7676581B2 (en) Web application resource management
US8818940B2 (en) Systems and methods for performing record actions in a multi-tenant database and application system
US8554855B1 (en) Push notification delivery system
US20190028548A1 (en) Transport of control data in proxy-based network communications
CN110221901A (en) Container asset creation method, apparatus, equipment and computer readable storage medium
KR20050004060A (en) Instant messaging object store
CN1625179B (en) Send by reference in a customizable, tag-based protocol
US20110131584A1 (en) The method and apparatus for the resource sharing between user devices in computer network
CN111817984B (en) Message sending method, device, equipment and storage medium
US20240020305A1 (en) Systems and methods for automatic archiving, sorting, and/or indexing of secondary message content
WO2014110929A1 (en) Method, device, and system for uploading data
CN109937566A (en) Method and apparatus for carrying out calculating unloading in networked environment
CN109376015A (en) Solution and system are blocked in log for task scheduling system
US8938522B2 (en) Tiered XML services in a content management system
CN117395210B (en) Information transmission control method, equipment and storage medium based on rich media
US9614900B1 (en) Multi-process architecture for a split browser
CN113556359A (en) Communication protocol conversion method, device, system and gateway device
US8539508B2 (en) Message ordering using dynamically updated selectors
US20140108420A1 (en) Index creation method and system
CN108667863B (en) WEB service adaptation system and method based on local agent
US20140201233A1 (en) Method, device, and system for uploading data
CN103597478B (en) The processing to multimedia object is controlled by software application
JP6004400B2 (en) Advertisement distribution system and advertisement distribution method
US20240004674A1 (en) Buffering and replaying user interaction event content received at a frontend application while asynchronously loading resources supporting a page from a backend application of a multiuser collaboration tool

Legal Events

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