CN111432357A - Information processing method and system and computing equipment - Google Patents

Information processing method and system and computing equipment Download PDF

Info

Publication number
CN111432357A
CN111432357A CN202010112780.4A CN202010112780A CN111432357A CN 111432357 A CN111432357 A CN 111432357A CN 202010112780 A CN202010112780 A CN 202010112780A CN 111432357 A CN111432357 A CN 111432357A
Authority
CN
China
Prior art keywords
information
transmission
transmitted
sent
queue
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.)
Granted
Application number
CN202010112780.4A
Other languages
Chinese (zh)
Other versions
CN111432357B (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.)
CHEZHI HULIAN (BEIJING) SCIENCE & TECHNOLOGY CO LTD
Original Assignee
CHEZHI HULIAN (BEIJING) SCIENCE & 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 CHEZHI HULIAN (BEIJING) SCIENCE & TECHNOLOGY CO LTD filed Critical CHEZHI HULIAN (BEIJING) SCIENCE & TECHNOLOGY CO LTD
Priority to CN202010112780.4A priority Critical patent/CN111432357B/en
Publication of CN111432357A publication Critical patent/CN111432357A/en
Application granted granted Critical
Publication of CN111432357B publication Critical patent/CN111432357B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an information processing method, which comprises the following steps: receiving a transmission request for a plurality of pieces of information to be transmitted; distributing information transmission equipment for sending each piece of information to be sent according to the weight value of the information transmission equipment; adding information to be sent, to which corresponding information transmission equipment is allocated, to an information queue, wherein the information queue comprises a plurality of pieces of information to be sent; and sequentially acquiring information to be transmitted one by one from the information queue, judging whether the acquired information to be transmitted exceeds the transmission timeliness, and if not, transmitting the information to be transmitted to the distributed information transmission equipment so as to transmit the information to be transmitted to a user through the information transmission equipment. The invention also discloses a corresponding information processing system and a corresponding computing device. The information processing method is beneficial to improving the whole information transmission quantity and ensuring the stable and orderly information transmission process.

Description

Information processing method and system and computing equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an information processing method, an information processing system, and a computing device.
Background
Short Message Service (SMS) is a text Message or a digital Message that a user directly sends or receives through a mobile phone or other telecommunication terminals. Short messages, as a lightweight and fast communication method, can be used for fast identity (real name) verification, and the content of the short messages covers verification codes, notifications, promotion content and the like, and is widely used in business. The short message may be sent through a mobile terminal device (e.g., a mobile phone), or through a short message platform of a mobile network operator, or may be transmitted through an SP (Service Provider, e.g., a short message Service Provider cooperating with the mobile network operator) platform.
In the process of transmitting the short message through the SP platform, after receiving a request for transmitting the short message to a user, the short message to be transmitted needs to pass through the SP platform and a short message platform of a mobile network operator, and finally can be transmitted to a mobile phone of the user. In the process, the short message cannot be smoothly sent due to some subjective and objective factors, so that the user experience and the production efficiency of the short message initiator are influenced.
In view of the above problems, in the prior art, a short message initiator generally uses a plurality of SP platforms for backup and operates in a master-slave mechanism, that is, when a main channel is in a normal sending state, one or more backup channels are in a standby state. By adopting a mode of combining a plurality of SP platforms, when short messages cannot be normally sent due to the faults of the SP platforms, the faults of mobile network operators and the like, technical operation and maintenance personnel can manually switch to a backup channel.
However, in the manner of using the plurality of SP platforms together, when the main channel is in a normal state, the backup channel is always in a standby state, and the access channel requires a certain economic cost and labor cost, thereby causing a great waste of resources. Moreover, because the service capacities of the SP platforms and the channels are different, a problem of insufficient production capacity occurs when a large-flow channel is switched to a small-flow channel. In addition, in the above manner, the short message is directly pushed to the downstream channel, and the sending link lacks buffering of the short message, so that when the short message is sent in a failure, a breakpoint can be generated in the short message transmission process in a time period from the discovery of the short message sending failure to the switching to the backup channel, thereby affecting the operation of the whole short message transmission system. Moreover, the above method cannot control the overall speed of short message transmission.
For this reason, an information processing method is required to solve the problems in the above-described technical solutions.
Disclosure of Invention
To this end, the present invention provides an information processing method and an information processing system in an attempt to solve or at least alleviate the above-existing problems.
According to an aspect of the present invention, there is provided an information processing method executed in a computing device to which a plurality of information transmission devices adapted to transmit information to a user are connected, each information transmission device being assigned a corresponding weight value, the method comprising the steps of: receiving a transmission request for a plurality of pieces of information to be transmitted; distributing information transmission equipment for sending each piece of information to be sent according to the weight value of the information transmission equipment; adding information to be sent, to which corresponding information transmission equipment is allocated, to an information queue, wherein the information queue comprises a plurality of pieces of information to be sent; and sequentially acquiring information to be transmitted one by one from the information queue, judging whether the acquired information to be transmitted exceeds the transmission timeliness, and if not, transmitting the information to be transmitted to the distributed information transmission equipment so as to transmit the information to be transmitted to a user through the information transmission equipment.
Optionally, in the information processing method according to the present invention, the step of sequentially acquiring the information to be transmitted item by item from the information queue includes: determining a predetermined transmission speed of each information transmission apparatus; and acquiring the information to be transmitted from the information queue based on the preset transmission speed.
Optionally, in the information processing method according to the present invention, further comprising: determining a transmission speed limit value of the information transmission apparatus according to the predetermined transmission speed; monitoring the real-time transmission speed of each information transmission device; and if the real-time transmission speed of the information transmission equipment exceeds the limit value of the transmission speed, acquiring the information to be transmitted from the information queue after waiting for preset time.
Optionally, in the information processing method according to the present invention, the step of determining whether the obtained information to be transmitted exceeds the transmission time limit further includes: and if so, discarding the information to be sent.
Optionally, in the information processing method according to the present invention, further comprising: and storing the information to be sent to a data storage device while adding the information to be sent to the information queue.
Optionally, in the information processing method according to the present invention, after sending the information to be sent to the assigned information transmission device, the method further includes the steps of: and acquiring the transmission state of the information to be sent, and updating the transmission state of the information to be sent in the data storage device.
Optionally, in the information processing method according to the present invention, after receiving a transmission request for a plurality of pieces of information to be transmitted, the method further includes the steps of: and authenticating the information to be sent, if authentication fails, discarding the information to be sent, and if authentication succeeds, distributing information transmission equipment for the information to be sent.
Optionally, in the information processing method according to the present invention, before allocating an information transmission device for transmitting each piece of information to be transmitted, the method further includes the steps of: a weight value for each information transmission apparatus is determined.
According to an aspect of the present invention, there is provided an information processing system including: a plurality of information transmission devices adapted to transmit information to a user, each information transmission device being assigned a respective weight value; and an information processing apparatus including: a receiving module adapted to receive a transmission request for a plurality of pieces of information to be transmitted; the information distribution module is suitable for distributing information transmission equipment for sending each piece of information to be sent according to the weight value of the information transmission equipment; the information processing module is suitable for adding the information to be sent, which is distributed with the corresponding information transmission equipment, into an information queue, and the information queue comprises a plurality of pieces of information to be sent; and the information transmission module is connected with the plurality of information transmission devices and is suitable for sequentially acquiring information to be transmitted one by one from the information queue, judging whether the acquired information to be transmitted exceeds the transmission timeliness or not, and if not, transmitting the information to be transmitted to the distributed information transmission devices so as to transmit the information to be transmitted to users through the information transmission devices.
Optionally, in the information processing system according to the present invention, the information transmission module is further adapted to: determining a predetermined transmission speed of each information transmission apparatus; and acquiring the information to be transmitted from the information queue based on the preset transmission speed.
Optionally, in an information processing system according to the present invention, the information processing apparatus further includes: the flow rate control module is suitable for determining the limit value of the transmission speed of the information transmission equipment according to the preset transmission speed and monitoring the real-time transmission speed of each information transmission equipment; and is adapted to control the information transmission module to retrieve the information to be transmitted from the information queue after waiting for a predetermined time when the real-time transmission speed of the information transmission device exceeds the transmission speed limit value.
Optionally, in the information processing system according to the present invention, further comprising a data storage device, wherein the information processing device further comprises: and the information management module is connected with the data storage device and is suitable for storing the information to be sent to the data storage device while the information processing module adds the information to be sent to the information queue.
Optionally, in the information processing system according to the present invention, the information management module is further adapted to: after the information to be sent is sent to the distributed information transmission equipment, the transmission state of the information to be sent is obtained, and the transmission state of the information to be sent is updated in the data storage equipment.
According to an aspect of the present invention, there is provided a computing device comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, the program instructions comprising instructions for performing the information processing method as described above.
According to an aspect of the present invention, there is provided a readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method as described above.
According to the technical scheme of the invention, the information processing method is provided, and after an information transmission request of a client is received, information transmission equipment is distributed for a plurality of pieces of information to be sent according to the weight values of the information transmission equipment. And then, adding a plurality of pieces of information to be sent into the information queue, acquiring the information one by one from the information queue, and sending the information to the information transmission equipment so as to send the information to the user through the information transmission equipment. Therefore, the whole information transmission quantity can be improved, the quantity of information to be transmitted borne by each information transmission device in real time is ensured to be within the bearing range, the problem that the information transmission devices are broken down due to overlarge real-time flow is avoided, and the stability of the information transmission process is kept. In addition, the client can orderly transmit the requests of the plurality of pieces of information to be transmitted based on the information queue, and the response speed is high. When the information to be sent requested to be transmitted by the client is excessive, the information to be sent can be sent to the information transmission equipment at a constant speed and orderly through the information queue, a certain buffering effect can be achieved, and the problem of accumulation of a large amount of information to be sent is avoided.
Furthermore, according to the technical scheme of the invention, by monitoring the timeliness of the information to be sent and discarding the information exceeding the sending timeliness, on one hand, the information finally sent to the user can be guaranteed to have timeliness and cannot exceed the timeliness limit, namely, the information received by the user is valid information; on the other hand, by discarding invalid information which is too long to queue in the information queue and exceeds the timeliness, the stress of the information processing equipment can be relieved, and more valuable information with timeliness can be transmitted.
In addition, according to the technical scheme of the invention, the preset transmission speed and the corresponding transmission speed limit value of each information transmission device are determined, and the real-time transmission speed of the information transmission devices is monitored, so that the information is transmitted in the information transmission devices according to the preset transmission speed, the condition of information overload in the information transmission devices is avoided, and the stable transmission of the information in the information transmission devices is ensured.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of an information handling system 100 according to one embodiment of the invention;
FIG. 2 shows a schematic diagram of a computing device 200, according to one embodiment of the invention; and
FIG. 3 shows a flow diagram of an information processing method 300 according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure 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.
FIG. 1 shows a schematic diagram of an information handling system 100 according to one embodiment of the invention. As shown in fig. 1, the information processing system 100 includes a client 110, an information processing apparatus 400, and a plurality of information transmission apparatuses 150. Wherein the information processing apparatus 400 is communicatively connected to a plurality of information transmission apparatuses 150, the information transmission apparatuses 150 being configured to transmit information to a user. The client 110 and the information processing apparatus 400 are connected via a wired or wireless network, so that the information processing apparatus 400 can receive a transmission request for a plurality of pieces of information to be transmitted, which is sent by the client 110. Here, the transmission request is a request for transmitting a plurality of pieces of information to be transmitted to one or more users. The information processing device 400 allocates each piece of information to be transmitted to the corresponding information transmission device 150 according to the request of the client 110, so as to transmit the information to be transmitted to the user through the information transmission device 150.
The client 110 is a terminal device used by a user, and may specifically be a personal computer such as a desktop computer and a notebook computer, or may also be a mobile phone, a tablet computer, a multimedia device, an intelligent wearable device, and the like, but is not limited thereto.
The information processing apparatus 400 is used to provide the information processing service to the client 110, and may be implemented as any server capable of implementing information processing in the related art, and here, the present invention does not limit the specific kind of the information processing apparatus 400.
In the embodiment of the present invention, each information transmission device 150 is assigned with a corresponding weight value according to its transmission capability (traffic carrying capability). The information processing apparatus 400 assigns the information transmission apparatus 150 for transmitting each piece of information to be transmitted according to the weight value of the information transmission apparatus 150. That is, before transmitting the short message to be transmitted, the information processing apparatus 400 allocates one information transmission apparatus 150 for transmitting the short message to be transmitted to each short message to be transmitted based on the weight value corresponding to each information transmission apparatus 150. In other words, the information processing apparatus 400 allocates a corresponding amount of information to be transmitted to each information transmission apparatus 150 according to the weight value corresponding to each information transmission apparatus 150, so that each piece of information to be transmitted also corresponds to a certain information transmission apparatus 150, and thus, the information to be transmitted can be transmitted to the user through the corresponding information transmission apparatus 150.
In an embodiment of the present invention, the information processing apparatus 400 is adapted to execute the information processing method. The information processing method of the present invention will be described in detail below.
In one embodiment, the information processing apparatus 400 includes a receiving module 410 and an information distribution module 420. The receiving module 410 is connected to the client 110 through a wired or wireless network, and can receive a transmission request for multiple pieces of information to be transmitted, which is sent by the client 110. The information assigning module 420 assigns the information transmission apparatus 150 for transmitting each piece of information to be transmitted according to the weight value of the information transmission apparatus 150.
In one embodiment, information processing apparatus 400 further includes an information processing module 430 and an information transmission module 440. The information transmission module 440 is connected to the plurality of information transmission devices 150.
Wherein the information processing module 430 includes an information queue. The information processing module 430 adds the information to be transmitted, to which the corresponding information transmission device 150 is allocated, to the information queue, so as to control the plurality of pieces of information to be transmitted based on a predetermined sequence and speed through the information queue, that is, control the plurality of pieces of information to be transmitted to sequentially pass through the corresponding information transmission device 150 according to the sequence in the short message queue to perform information transmission. It should be understood that the information queue includes a plurality of pieces of information to be transmitted, and the plurality of pieces of information to be transmitted are arranged based on the addition time.
Further, the information to be transmitted is sequentially acquired from the information queue one by one through the information transmission module 440, so that each acquired information to be transmitted is transmitted to the user through the corresponding information transmission device 150 allocated.
It should be noted that, a plurality of pieces of information to be transmitted are added to the information queue, and are acquired from the information queue one by one, and then are sent to the information transmission device, and are sent to the user through the information transmission device 150. Therefore, the transmission requests of a plurality of pieces of information to be sent of the client 110 can be orderly carried out, and the response speed is high. Moreover, when the information to be transmitted requested to be transmitted by the client 110 is excessive, the information to be transmitted can be transmitted to the information transmission device 150 at a constant speed and orderly through the information queue, which can play a certain buffering role and avoid the problem of accumulation of a large amount of information to be transmitted.
In one embodiment, each time the information transmission module 440 acquires a piece of information to be sent from the information queue, it further determines whether the acquired information to be sent exceeds the sending timeliness. If not, the message to be sent is sent to the assigned message transmission device 150, so that the message to be sent is sent to the user through the message transmission device 150. And if the sending time limit is exceeded, discarding the acquired information to be sent. In the method, the information to be sent is subjected to timeliness monitoring, and the information exceeding the sending timeliness is discarded, so that on one hand, the information finally sent to the user can be guaranteed to have timeliness and cannot exceed the timeliness limit, namely, the information received by the user is valid information; on the other hand, by discarding invalid information that has been queued in the information queue for too long a time period exceeding the time limit, the stress on the information processing system 100 can be alleviated.
Further, when the information to be sent is sequentially obtained from the information queue one by one, the information transmission module 440 first determines the predetermined transmission speed of each information transmission device, and obtains the information to be sent from the information queue one by one based on the predetermined transmission speed of the information transmission device. Here, the predetermined transmission speed is determined based on the transmission capability of the information transmission device.
In one embodiment, the information processing apparatus 400 further includes a flow rate control module 460. The flow rate control module 460 determines a transmission speed limit value for the information transmission device based on a predetermined transmission speed of the information transmission device. And monitoring the real-time transmission speed of each information transmission device according to the transmission speed limit value. If the real-time transmission speed of the information transmission equipment exceeds the corresponding transmission speed limit value, the information to be sent is acquired from the information queue after waiting for the preset time.
It should be understood that by determining the predetermined transmission speed and the corresponding transmission speed limit value of each information transmission apparatus and monitoring the real-time transmission speed of the information transmission apparatus, information is transmitted in the information transmission apparatus at the predetermined transmission speed, thereby avoiding an overload condition of information in the information transmission apparatus and ensuring stable transmission of information in the information transmission apparatus. And, be favorable to controlling whole information transmission speed, be convenient for monitor and statistics to information flow.
For example, the data storage device 140 may be a relational database such as MySQ L, ACCESS, etc., a non-relational database such as NoSQ L, etc., a local database residing in the information processing apparatus 400, or a distributed database such as HBase, etc. disposed at a plurality of geographic locations.
In one embodiment, the information processing apparatus 400 is connected to the data storage apparatus 140 in order to store information to be transmitted into the data storage apparatus 140 and update and manage the status of the information to be transmitted. Here, the present invention does not limit the specific connection manner of the information processing apparatus 400 and the data storage apparatus 140. In one embodiment, the information processing apparatus 400 may access the internet through a wired or wireless manner and acquire data in the data storage apparatus 140 through a data interface. In addition, the data storage device 140 may also be a local database of the information processing device 400, so that the information processing device 400 can directly store the information data into the data storage device 140.
In one embodiment, the information processing apparatus 400 further includes an information management module 470, and the information management module 470 is connected to the data storage apparatus 140. The information to be sent is stored synchronously by the information management module 470 to the data storage device 480 while the information processing module 430 adds the information to be sent to the information queue.
After the information to be transmitted is transmitted to the assigned information transmission device 150, the transmission state of the information to be transmitted is acquired through the information management module 470, and is updated in the data storage device 140.
In one embodiment, the information processing apparatus 400 of the present invention may be implemented as a computing apparatus so that the information processing method of the present invention can be executed in the computing apparatus. FIG. 2 shows a block diagram of a computing device 200, according to one embodiment of the invention. As shown in FIG. 2, in a basic configuration 202, a computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing, including but not limited to a microprocessor (μ P), a microcontroller (μ C), a digital information processor (DSP), or any combination thereof the processor 204 may include one or more levels of cache, such as a level one cache 210 and a level two cache 212, a processor core 214, and registers 216 the example processor core 214 may include an arithmetic logic unit (A L U), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof the example memory controller 218 may be used with the processor 204 or, in some implementations, the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 106 may include an operating system 220, one or more applications 222, and program data 224. The application 222 is actually a plurality of program instructions that direct the processor 204 to perform corresponding operations. In some embodiments, application 222 may be arranged to cause processor 204 to operate with program data 224 on an operating system.
Computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to the basic configuration 202 via the bus/interface controller 230. The example output device 242 includes a graphics processing unit 248 and an audio processing unit 250. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 252. Example peripheral interfaces 244 can include a serial interface controller 254 and a parallel interface controller 256, which can be configured to facilitate communications with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 258. An example communication device 246 may include a network controller 260, which may be arranged to facilitate communications with one or more other computing devices 262 over a network communication link via one or more communication ports 264.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In computing device 200 according to the present invention, application 222 includes a plurality of program instructions that execute information processing method 300, which may instruct processor 204 to perform information processing method 300 of the present invention such that computing device 200 issues information to be sent by executing information processing method 300 of the present invention.
FIG. 3 shows a flow diagram of an information processing method 300 according to one embodiment of the invention. The method 300 is suitable for execution in a computing device, such as the computing device 200 described above.
It should be noted that the computing device is communicatively connected to a plurality of information transfer devices 150, which are used to send information to the user. And transmitting the short messages by distributing a plurality of short messages to be transmitted to a plurality of information transmission devices. Specifically, the traffic carrying capacity of each information transmission device is different, the computing device allocates a corresponding weight value to each information transmission device in advance according to the traffic carrying capacity of each information transmission device, and after the weight value of each information transmission device is determined, the computing device allocates corresponding information transmission devices to a plurality of short messages to be sent according to the weight value of each information transmission device, so that the short messages to be sent are sent to the user through the corresponding information transmission devices.
As shown in fig. 3, the information processing method 300 starts at step S310.
In step S310, a transmission request for a plurality of pieces of information to be transmitted sent is received, where the transmission request is sent by a client.
According to one embodiment, each piece of information to be transmitted is authenticated after receiving a transmission request for a plurality of pieces of information to be transmitted. If the authentication fails, the information to be sent is discarded, and if the authentication succeeds, information transmission equipment is distributed to the information to be sent.
Subsequently, in step S320, an information transmission apparatus for transmitting each piece of information to be transmitted for which authentication is successful is assigned according to the weight value of the information transmission apparatus. Here, before step S320, a corresponding weight value is assigned to each information transmission device according to the traffic carrying capacity of each information transmission device, and after the weight value of each information transmission device is determined, an information transmission device is assigned to each piece of information to be transmitted that is successfully authenticated according to the weight value of each information transmission device by using a smooth weighted polling algorithm. That is, the weight value of each information transmission apparatus determines the information transmission apparatus to which each piece of information to be transmitted is assigned. Therefore, the information to be sent can be sent to the user through the corresponding information transmission equipment.
For example, the plurality of information transmission apparatuses include an information transmission apparatus a, an information transmission apparatus B, and an information transmission apparatus C, wherein the weight values of the information transmission apparatus A, B, C are 6, 2, and 2, respectively. Assuming that the number of information to be transmitted is 10, the channels allocated to the 10 pieces of information to be transmitted are a, B, a, C, a, respectively.
It should be understood that, after determining the weight value of each information transmission apparatus, information transmission apparatuses are assigned to pieces of information to be transmitted according to the weight values of the information transmission apparatuses. Therefore, the whole information transmission capacity is improved by simultaneously using the plurality of information transmission devices, and the quantity of information to be transmitted borne by each information transmission device in real time can be ensured to be within the bearing range of the information transmission device, so that the problem that the information transmission device is broken down due to overlarge real-time flow is avoided, and the working stability of the information processing system is favorably maintained.
Subsequently, in step S330, the to-be-sent information allocated to the corresponding information transmission device is added to the information queue, so as to control the plurality of pieces of to-be-sent information to be transmitted sequentially at a predetermined speed through the information queue, where the plurality of pieces of to-be-sent information are controlled to be transmitted sequentially through the corresponding information transmission device according to the sequence in the short message queue. It should be understood that the information queue includes a plurality of pieces of information to be transmitted, and the plurality of pieces of information to be transmitted are arranged based on the time added to the information queue.
Subsequently, in step S340, the information to be transmitted is sequentially acquired one by one from the information queue, so that each piece of acquired information to be transmitted is transmitted to the user through the assigned corresponding information transmission apparatus 150.
It should be noted that, a plurality of pieces of information to be transmitted are added to the information queue, and are acquired from the information queue one by one, and then are transmitted to the information transmission device, and are transmitted to the user through the information transmission device. Therefore, the client can orderly transmit the request of the plurality of pieces of information to be transmitted, and the response speed is high. Moreover, when the information to be sent requested to be transmitted by the client is excessive, the information to be sent can be sent to the information transmission equipment at a constant speed and orderly through the information queue, a certain buffering effect can be achieved, and the problem of accumulation of a large amount of information to be sent is avoided.
Further, after the information to be sent is sequentially acquired from the information queue one by one, step S350 is executed. In step S350, it is determined whether the acquired information to be transmitted exceeds the transmission time limit. And if the sending time limit is not exceeded, sending the information to be sent to the distributed information transmission equipment so as to send the information to be sent to the user through the information transmission equipment. And if the sending time limit is exceeded, discarding the acquired information to be sent.
For example, the information to be sent that the client requests to transmit usually has a certain timeliness, such as the verification code information. When the verification code information exceeds the sending time limit, the verification function is lost, and the verification code information has no value even if being sent to a mobile phone of a user. The information which loses value after exceeding the time period is discarded before being sent to the information transmission equipment, so that unnecessary workload can be saved for the information transmission equipment, and more time-efficient valuable information can be transmitted.
It can be understood that by performing timeliness monitoring on information to be sent and discarding information exceeding the sending timeliness, on one hand, the information finally sent to the user can be guaranteed to have timeliness and not exceed the timeliness limit, that is, the information received by the user is valid information; on the other hand, by discarding invalid information which is too long to queue in the information queue and exceeds the timeliness, the stress of the information processing equipment can be relieved, and more valuable information with timeliness can be transmitted.
According to one embodiment, in step S340, when the information to be sent is sequentially obtained from the information queue one by one, the predetermined transmission speed of each information transmission device is determined, and the information to be sent is obtained from the information queue one by one based on the predetermined transmission speed of the information transmission device. Here, the predetermined transmission speed is determined based on the transmission capability of the information transmission device.
Further, the transmission speed limit value of the information transmission apparatus may be determined in accordance with a predetermined transmission speed of the information transmission apparatus. And monitoring the real-time transmission speed of each information transmission device according to the transmission speed limit value. If the real-time transmission speed of the information transmission equipment exceeds the corresponding transmission speed limit value, the information to be sent is acquired from the information queue after waiting for the preset time.
Here, the present invention does not specifically limit the predetermined transmission speed of each information transmission apparatus and the corresponding limit value of the transmission speed, and the specific speed value and the limit value of the speed may be set reasonably by those skilled in the art according to the transmission performance of the apparatus. And, the predetermined transmission speed, the transmission speed limit value can be adjusted according to the monitoring condition of the real-time transmission speed.
It should be understood that by determining the predetermined transmission speed and the corresponding transmission speed limit value of each information transmission apparatus and monitoring the real-time transmission speed of the information transmission apparatus, information is transmitted in the information transmission apparatus at the predetermined transmission speed, thereby avoiding an overload condition of information in the information transmission apparatus and ensuring stable transmission of information in the information transmission apparatus. And the method is favorable for controlling the whole information transmission speed and is convenient for monitoring and counting the total information flow.
In one embodiment, the computing device is also connected to a data storage device 140. The information to be transmitted is also stored to the data storage device 140 simultaneously as it is added to the information queue. In addition, after the information to be transmitted is transmitted to the assigned information transmission device 150, the transmission state of the information to be transmitted is also acquired, and the transmission state of the information to be transmitted is updated in the data storage device 140. The transmission status includes, for example, transmission success and transmission failure status.
The information to be sent is subjected to data storage before information transmission, and the successful or failed state of information transmission is subjected to data updating and recording after information transmission, so that the transmission progress and the result of a plurality of pieces of information to be sent can be fed back to the client conveniently.
A6, the information processing method as claimed in a5, wherein after sending the information to be sent to the assigned information transmission apparatus, further comprising the steps of: and acquiring the transmission state of the information to be sent, and updating the transmission state of the information to be sent in the data storage device.
A7, the information processing method according to any one of a1-a6, further comprising, after receiving a transmission request for a plurality of pieces of information to be transmitted, the steps of: and authenticating the information to be sent, if authentication fails, discarding the information to be sent, and if authentication succeeds, distributing information transmission equipment for the information to be sent.
A8, the information processing method according to any one of a1-a7, wherein before allocating an information transmission device for transmitting each piece of information to be transmitted, further comprising the steps of: a weight value for each information transmission apparatus is determined.
B12, the information processing system of any one of B9-B11, further comprising a data storage device, wherein the information processing device further comprises: and the information management module is connected with the data storage device and is suitable for storing the information to be sent to the data storage device while the information processing module adds the information to be sent to the information queue.
B13, the information processing system of B12, wherein the information management module is further adapted to: after the information to be sent is sent to the distributed information transmission equipment, the transmission state of the information to be sent is obtained, and the transmission state of the information to be sent is updated in the data storage equipment.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U.S. disks, floppy disks, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the multilingual spam-text recognition method of the present invention according to instructions in said program code stored in the memory.
By way of example, and not limitation, readable media may comprise readable storage media and communication media. Readable storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with examples of this invention. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense, and the scope of the present invention is defined by the appended claims.

Claims (10)

1. An information processing method executed in a computing device to which a plurality of information transmission devices adapted to transmit information to a user are connected, each information transmission device being assigned a corresponding weight value, the method comprising the steps of:
receiving a transmission request for a plurality of pieces of information to be transmitted;
distributing information transmission equipment for sending each piece of information to be sent according to the weight value of the information transmission equipment;
adding information to be sent, to which corresponding information transmission equipment is allocated, to an information queue, wherein the information queue comprises a plurality of pieces of information to be sent;
sequentially acquiring information to be sent one by one from the information queue,
judging whether the acquired information to be transmitted exceeds the transmission timeliness or not,
and if the number of the messages to be sent exceeds the preset number, sending the messages to be sent to the distributed message transmission equipment so as to send the messages to be sent to the users through the message transmission equipment.
2. The information processing method of claim 1, wherein the step of sequentially acquiring the information to be transmitted item by item from the information queue comprises:
determining a predetermined transmission speed of each information transmission apparatus;
and acquiring the information to be transmitted from the information queue based on the preset transmission speed.
3. The information processing method according to claim 2, further comprising the steps of:
determining a transmission speed limit value of the information transmission apparatus according to the predetermined transmission speed;
monitoring the real-time transmission speed of each information transmission device;
and if the real-time transmission speed of the information transmission equipment exceeds the limit value of the transmission speed, acquiring the information to be transmitted from the information queue after waiting for preset time.
4. The information processing method according to any one of claims 1 to 3, wherein the step of determining whether the acquired information to be transmitted exceeds the transmission age further comprises: and if so, discarding the information to be sent.
5. The information processing method according to any one of claims 1 to 4, further comprising the steps of:
and storing the information to be sent to a data storage device while adding the information to be sent to the information queue.
6. An information processing system comprising:
a plurality of information transmission devices adapted to transmit information to a user, each information transmission device being assigned a respective weight value; and
an information processing apparatus includes:
a receiving module adapted to receive a transmission request for a plurality of pieces of information to be transmitted;
the information distribution module is suitable for distributing information transmission equipment for sending each piece of information to be sent according to the weight value of the information transmission equipment;
the information processing module is suitable for adding the information to be sent, which is distributed with the corresponding information transmission equipment, into an information queue, and the information queue comprises a plurality of pieces of information to be sent; and
and the information transmission module is connected with the plurality of information transmission devices and is suitable for sequentially acquiring information to be transmitted one by one from the information queue, judging whether the acquired information to be transmitted exceeds the transmission timeliness or not, and if not, transmitting the information to be transmitted to the distributed information transmission devices so as to transmit the information to be transmitted to users through the information transmission devices.
7. The information processing system of claim 6, wherein the information transmission module is further adapted to:
determining a predetermined transmission speed of each information transmission apparatus;
and acquiring the information to be transmitted from the information queue based on the preset transmission speed.
8. The information processing system of claim 7, wherein the information processing apparatus further comprises:
the flow rate control module is suitable for determining the limit value of the transmission speed of the information transmission equipment according to the preset transmission speed and monitoring the real-time transmission speed of each information transmission equipment;
and is adapted to control the information transmission module to retrieve the information to be transmitted from the information queue after waiting for a predetermined time when the real-time transmission speed of the information transmission device exceeds the transmission speed limit value.
9. A computing device, comprising:
at least one processor; and
a memory storing program instructions configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the information processing method of any of claims 1-5.
10. A readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-5.
CN202010112780.4A 2020-02-24 2020-02-24 Information processing method and system and computing equipment Active CN111432357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010112780.4A CN111432357B (en) 2020-02-24 2020-02-24 Information processing method and system and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010112780.4A CN111432357B (en) 2020-02-24 2020-02-24 Information processing method and system and computing equipment

Publications (2)

Publication Number Publication Date
CN111432357A true CN111432357A (en) 2020-07-17
CN111432357B CN111432357B (en) 2022-07-08

Family

ID=71547784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010112780.4A Active CN111432357B (en) 2020-02-24 2020-02-24 Information processing method and system and computing equipment

Country Status (1)

Country Link
CN (1) CN111432357B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117880767A (en) * 2024-03-13 2024-04-12 深圳市诚立业科技发展有限公司 Short message data transmission method with low delay
CN117880767B (en) * 2024-03-13 2024-05-28 深圳市诚立业科技发展有限公司 Short message data transmission method with low delay

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977359A (en) * 2010-09-26 2011-02-16 北京握奇数据系统有限公司 Method and device for processing mobile data service
CN102487494A (en) * 2009-10-26 2012-06-06 中国电信股份有限公司 Short message flow control method and system
CN103024699A (en) * 2011-09-22 2013-04-03 北京神州泰岳软件股份有限公司 Short message sending method and information resource station entity
CN103237296A (en) * 2013-04-19 2013-08-07 中国建设银行股份有限公司 Message sending method and message sending system
CN103906021A (en) * 2014-03-04 2014-07-02 南京杰宗源华软件科技有限公司 Implementation method and system for short message sending platform
CN106028299A (en) * 2016-06-30 2016-10-12 上海斐讯数据通信技术有限公司 Method and system for selecting short message transmitting channel
CN106973368A (en) * 2016-01-14 2017-07-21 阿里巴巴集团控股有限公司 Method and device for business processing
CN107347182A (en) * 2016-05-04 2017-11-14 北京京东尚科信息技术有限公司 Short message distribution method and system
CN108200544A (en) * 2018-03-02 2018-06-22 北京国电通网络技术有限公司 Short message delivery method and SMS platform
CN108307331A (en) * 2018-01-17 2018-07-20 深圳市和讯华谷信息技术有限公司 Note transmission method, terminal and computer readable storage medium
CN110267217A (en) * 2019-06-17 2019-09-20 浙江百应科技有限公司 A kind of note transmission method that multichannel is changeable

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102487494A (en) * 2009-10-26 2012-06-06 中国电信股份有限公司 Short message flow control method and system
CN101977359A (en) * 2010-09-26 2011-02-16 北京握奇数据系统有限公司 Method and device for processing mobile data service
CN103024699A (en) * 2011-09-22 2013-04-03 北京神州泰岳软件股份有限公司 Short message sending method and information resource station entity
CN103237296A (en) * 2013-04-19 2013-08-07 中国建设银行股份有限公司 Message sending method and message sending system
CN103906021A (en) * 2014-03-04 2014-07-02 南京杰宗源华软件科技有限公司 Implementation method and system for short message sending platform
CN106973368A (en) * 2016-01-14 2017-07-21 阿里巴巴集团控股有限公司 Method and device for business processing
CN107347182A (en) * 2016-05-04 2017-11-14 北京京东尚科信息技术有限公司 Short message distribution method and system
CN106028299A (en) * 2016-06-30 2016-10-12 上海斐讯数据通信技术有限公司 Method and system for selecting short message transmitting channel
CN108307331A (en) * 2018-01-17 2018-07-20 深圳市和讯华谷信息技术有限公司 Note transmission method, terminal and computer readable storage medium
CN108200544A (en) * 2018-03-02 2018-06-22 北京国电通网络技术有限公司 Short message delivery method and SMS platform
CN110267217A (en) * 2019-06-17 2019-09-20 浙江百应科技有限公司 A kind of note transmission method that multichannel is changeable

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蔡奕群: "谈谈SP短信接口网关开发", 《河南科技》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117880767A (en) * 2024-03-13 2024-04-12 深圳市诚立业科技发展有限公司 Short message data transmission method with low delay
CN117880767B (en) * 2024-03-13 2024-05-28 深圳市诚立业科技发展有限公司 Short message data transmission method with low delay

Also Published As

Publication number Publication date
CN111432357B (en) 2022-07-08

Similar Documents

Publication Publication Date Title
WO2021244211A1 (en) Blockchain message processing method and apparatus, computer and readable storage medium
CN109246229B (en) Method and device for distributing resource acquisition request
CN112165691B (en) Content delivery network scheduling method, device, server and medium
US11030001B2 (en) Scheduling requests based on resource information
CN108513271B (en) Short message distribution method and device based on multiple short message channels
CN110602156A (en) Load balancing scheduling method and device
US10949129B2 (en) Adjusting data ingest based on compaction rate in a dispersed storage network
CN112346871A (en) Request processing method and micro-service system
CN109120548B (en) Flow control method and device
CN113411404A (en) File downloading method, device, server and storage medium
US20140359182A1 (en) Methods and apparatus facilitating access to storage among multiple computers
CN109428926B (en) Method and device for scheduling task nodes
CN113268329B (en) Request scheduling method, device and storage medium
US10713279B2 (en) Enhanced replication
CN112104753B (en) Service request processing system and method and computing device
CN112910987A (en) Message pushing method, system, device, equipment and storage medium
CN105656794B (en) Data distributing method, device and computer readable storage medium
CN111432357B (en) Information processing method and system and computing equipment
CN108289041A (en) A kind of processing method and relevant apparatus of server info
CN105917694B (en) Service in telecommunication network provides and activation
CN111831503B (en) Monitoring method based on monitoring agent and monitoring agent device
WO2013086867A1 (en) Information processing method and equipment
US8589605B2 (en) Inbound message rate limit based on maximum queue times
CN114328731A (en) Information processing method, device, electronic equipment and storage medium
CN113300895A (en) Cable processing method and system and computing device

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