CN107608858A - Information processing system, method and apparatus - Google Patents
Information processing system, method and apparatus Download PDFInfo
- Publication number
- CN107608858A CN107608858A CN201710899499.8A CN201710899499A CN107608858A CN 107608858 A CN107608858 A CN 107608858A CN 201710899499 A CN201710899499 A CN 201710899499A CN 107608858 A CN107608858 A CN 107608858A
- Authority
- CN
- China
- Prior art keywords
- pending
- information
- value
- message queue
- pending information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present application discloses information processing system, method and apparatus, and an embodiment of the system includes:The system includes monitoring client, information loading end and actuating station;Monitoring client, for monitoring whether default pending message queue is empty, if so, then sending the instruction for loading pending information to information loading end;Information loading end, for in response to receiving the instruction, then determine whether the quantity of the pending information in default pending information list is less than the first preset number, if not, the second pending information of preset number bar then is extracted from pending information list, and the pending information extracted is loaded onto pending message queue;Actuating station, for determining whether pending message queue is empty, if it is not, then extracting pending information from pending message queue, and perform the pending information extracted.This embodiment improves information processing efficiency.
Description
Technical field
The application is related to field of computer technology, and in particular to Internet technical field, more particularly to information processing system,
Method and apparatus.
Background technology
Existing information processing system is typically to periodically scan for pending information list, from the pending information list
Middle selection needs the pending information performed and performed.When the pending information list includes substantial amounts of pending information, sweep
Longer time would generally be expended by retouching the pending information list, so as to reduce the information processing efficiency of information processing system.
Here, pending information for example can be code file or code segment etc..Different pending information can carry
For different functions, such as the function such as software test, information deletion, information addition, information transfer, Information Statistics.
The content of the invention
The purpose of the embodiment of the present application is to propose a kind of improved information processing system, method and apparatus, come solve with
The technical problem that upper background section is mentioned.
In a first aspect, the embodiment of the present application provides a kind of information processing system, the system includes:Monitoring client, information add
Carry end and actuating station;Monitoring client, for monitoring whether default pending message queue is empty, if so, then to information loading end
Send the instruction for loading pending information;Information loading end, in response to receiving the instruction, it is determined that default pending
Whether the quantity of the pending information in information list is less than the first preset number, if it is not, then being extracted from pending information list
The second pending information of preset number bar, and the pending information extracted is loaded onto pending message queue;Actuating station, use
In it is determined that whether pending message queue is empty, if it is not, then extracting pending information from pending message queue, and performs and carried
The pending information taken.
In certain embodiments, pending information list has a corresponding data markers, and the values of the data markers includes the
One value and second value, this first is worth and be less than the first preset number for characterizing above-mentioned quantity, and the second value is for characterizing above-mentioned number
Amount is not less than the first preset number;And information loading end is additionally operable to:Detect the current value of the data markers whether be this second
Value, if, it is determined that above-mentioned quantity is not less than the first preset number.
In certain embodiments, pending message queue has corresponding state tag, the label value bag of the state tag
The 3rd value and the 4th value are included, the 3rd is worth for characterizing pending message queue as sky, and the 4th is worth for characterizing pending letter
It is not sky to cease queue.
In certain embodiments, information loading end is additionally operable to:The pending information extracted is being loaded onto pending letter
After ceasing queue, the current label value of above-mentioned state tag is set to above-mentioned 4th value.
In certain embodiments, actuating station is additionally operable to:In response to determining pending message queue as sky, then by above-mentioned state
The current label value of label is set to above-mentioned 3rd value.
In certain embodiments, monitoring client is additionally operable to:Detect whether the current label value of above-mentioned state tag is above-mentioned
Three values, if, it is determined that above-mentioned pending message queue is sky.
In certain embodiments, said system also includes setting end, and the first preset number and the second preset number are that this sets
Put what end group was set in the capacity of pending message queue.
In certain embodiments, information loading end is additionally operable to:In response to determining that above-mentioned quantity is less than the first preset number, then
Whole pending information is extracted from pending information list.
Second aspect, the embodiment of the present application provide a kind of information processing method for information loading end, this method bag
Include:In response to the instruction for the pending information of loading for receiving monitoring client transmission, it is determined that in default pending information list
The quantity of pending information whether be less than the first preset number, wherein, the instruction, which is monitoring client, default to be waited to hold monitoring
Row information queue is what space-time was sent;If the quantity is not less than the first preset number, from pending information list extraction second
The pending information of preset number bar;The pending information extracted is loaded onto pending message queue, so that actuating station is true
Fixed pending message queue is not space-time, extracts pending information from pending message queue, and perform the pending information.
In certain embodiments, pending information list has a corresponding data markers, and the values of the data markers includes the
One value and second value, this first is worth and be less than the first preset number for characterizing above-mentioned quantity, and the second value is for characterizing above-mentioned number
Amount is not less than the first preset number;And the quantity of the pending information in the above-mentioned default pending information list of determination whether
Less than the first preset number, including:Detect whether the current value of the data markers is the second value, if, it is determined that above-mentioned number
Amount is not less than the first preset number.
In certain embodiments, pending message queue has corresponding state tag, the label value bag of the state tag
The 3rd value and the 4th value are included, the 3rd is worth for characterizing pending message queue as sky, and the 4th is worth for characterizing pending letter
It is not sky to cease queue.
In certain embodiments, it is above-mentioned the pending information extracted is loaded onto pending message queue after, on
Stating method also includes:The current label value of above-mentioned state tag is set to above-mentioned 4th value.
In certain embodiments, actuating station is additionally operable to it is determined that pending message queue is space-time, by above-mentioned state tag
Current label value is set to above-mentioned 3rd value.
In certain embodiments, monitoring client is additionally operable to detect whether the current label value of above-mentioned state tag is the above-mentioned 3rd
Value, and when it is above-mentioned three value to detect the current label value of above-mentioned state tag, determine pending message queue for sky.
In certain embodiments, the first preset number and the second preset number are to set end group in pending message queue
What capacity was set.
In certain embodiments, the above method also includes:In response to determining that above-mentioned quantity is less than the first preset number, then from
Pending information list extracts whole pending information.
The third aspect, the embodiment of the present application provide a kind of information processor for information loading end, the device bag
Include:Determining unit, it is configured to the instruction of the pending information of loading in response to receiving monitoring client transmission, it is determined that default
Whether the quantity of the pending information in pending information list is less than the first preset number, wherein, the instruction is that monitoring client exists
Monitor what default pending message queue sent for space-time;Extraction unit, if it is pre- not less than first to be configured to the quantity
Number is put, then extracts the second pending information of preset number bar from pending information list;Loading unit, it is configured to extract
The pending information gone out is loaded onto pending message queue, so that actuating station is not it is determined that pending message queue is space-time, from
Pending information is extracted in pending message queue, and performs the pending information.
In certain embodiments, pending information list has a corresponding data markers, and the values of the data markers includes the
One value and second value, this first is worth and be less than the first preset number for characterizing above-mentioned quantity, and the second value is for characterizing above-mentioned number
Amount is not less than the first preset number;And above-mentioned determining unit includes:Determination subelement, it is configured to detect the data markers and works as
Whether preceding value is the second value, if, it is determined that above-mentioned quantity is not less than the first preset number.
In certain embodiments, pending message queue has corresponding state tag, the label value bag of the state tag
The 3rd value and the 4th value are included, the 3rd is worth for characterizing pending message queue as sky, and the 4th is worth for characterizing pending letter
It is not sky to cease queue.
In certain embodiments, said apparatus also includes:Setting unit, it is configured to the current mark of above-mentioned state tag
Label value is set to above-mentioned 4th value.
In certain embodiments, actuating station is additionally operable to it is determined that pending message queue is space-time, by above-mentioned state tag
Current label value is set to above-mentioned 3rd value.
In certain embodiments, monitoring client is additionally operable to detect whether the current label value of above-mentioned state tag is the above-mentioned 3rd
Value, and when it is above-mentioned three value to detect the current label value of above-mentioned state tag, determine pending message queue for sky.
In certain embodiments, the first preset number and the second preset number are to set end group in pending message queue
What capacity was set.
In certain embodiments, said apparatus also includes:First extraction unit, it is configured in response to determining above-mentioned quantity
Less than the first preset number, then whole pending information is extracted from pending information list.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, and the electronic equipment includes:One or more processing
Device;Storage device, for storing one or more programs;When said one or multiple programs are by said one or multiple processors
Perform so that the method for said one or the realization of multiple processors as described in any implementation in second aspect.
5th aspect, the embodiment of the present application provide a kind of computer-readable recording medium, are stored thereon with computer journey
Sequence, the method as described in any implementation in second aspect is realized when said procedure is executed by processor.
Whether the information processing system that the embodiment of the present application provides, default pending message queue is monitored by monitoring client
For sky, to be that space-time sends to information loading end and loads the instruction of pending information in pending message queue.Pass through information
Whether loading end determines the quantity of pending information in default pending information list less than the after the instruction is received
One preset number, so as to which when it is determined that the quantity is not less than the first preset number, it is preset to extract second from pending information list
The pending information of number bar, and the pending information extracted is loaded onto pending message queue.Determine to treat by actuating station
Whether execution information queue is empty, so as to it is determined that pending message queue is not extracted for space-time from pending message queue waits to hold
Row information, and perform the pending information.The said system that the embodiment of the present application provides is effectively utilized pending message queue,
Avoid actuating station and scan pending information list, required pending information is extracted from pending information list, save
Time cost, so as to improve information processing efficiency.
The information processing method and device for information loading end that the embodiment of the present application provides, by receiving monitoring
During the instruction for the pending information of loading that end is sent, determining the quantity of the pending information in default pending information list is
It is no to be less than the first preset number, when it is determined that the quantity is not less than the first preset number, to be extracted from pending information list
The second pending information of preset number bar, and the pending information extracted is loaded onto pending message queue, so as to perform
End is not it is determined that pending message queue is space-time, and from the pending information of pending message queue extraction, and it is pending to perform this
Information.The reception of the instruction of the pending information of loading sent to monitoring client is effectively utilized, can be in time toward pending letter
Cease queue and load pending information.Avoid when pending information be present in pending information list, pending message queue
Long-term is the situation of empty queue.So as to improve information processing efficiency, such as information loading efficiency.
Moreover, by loading pending information toward pending message queue in time, actuating station can be made to shorten wait and carried
The time of pending information is taken, the information processing efficiency of actuating station can be improved.In addition, make actuating station from pending message queue
Pending information is extracted, actuating station can be avoided to scan pending information list, from pending information list needed for extraction
Pending information, has saved time cost.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the information processing system of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the information processing system of the application;
Fig. 4 is the flow chart according to one embodiment of the information processing method for information loading end of the application;
Fig. 5 is the structural representation according to one embodiment of the information processor for information loading end of the application
Figure;
Fig. 6 is adapted for the structural representation of the computer system of the electronic equipment for realizing the embodiment of the present application.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Be easy to describe, illustrate only in accompanying drawing to about the related part of invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 show can apply the information processing system of the application, the information processing method for information loading end or
Exemplary system architecture 100 for the embodiment of the information processor of information loading end.
As shown in figure 1, system architecture 100 can include monitoring client 101, network 102,104 and is held information loading end 103
Row end 105.Network 102 between monitoring client 101 and information loading end 103 provide communication link medium.Network 104 is used
To provide the medium of communication link between information loading end 103 and actuating station 105.Network 102,104 can include various companies
Connect type, such as wired, wireless communication link or fiber optic cables etc..
Monitoring client 101 can be to provide the server of monitoring service or possess thread of software and hardware resources etc..Monitoring client 101
Default pending message queue can be monitored, and can be based on the information obtained by monitoring to information loading end
103 send corresponding instruction.
Information loading end 103 can be to provide the server of information loading service or possess thread of software and hardware resources etc..
Information loading end 103 can respond after the instruction (such as loading the instruction of pending information) of the transmission of monitoring client 101 is received
The instruction, such as toward loading pending information in above-mentioned pending message queue.
The server for the pending information that actuating station 105 can be performed in above-mentioned pending message queue possesses
Thread of soft or hard resource etc..
It should be noted that the information processing method for information loading end that the embodiment of the present application is provided is typically by believing
Breath loading end 103 is performed, and correspondingly, the information processor for information loading end is generally positioned in information loading end 103.
It should be understood that the number of the monitoring client, network, information loading end and actuating station in Fig. 1 is only schematical.Root
Factually now need, can have any number of monitoring client, network, information loading end and actuating station.
It is pointed out that when monitoring client, information loading end and actuating station are server, monitoring client, information loading
End and actuating station can be same server or different servers;When monitoring client, information loading end and actuating station
When being the thread for possessing software and hardware resources, monitoring client, information loading end and actuating station can be deployed on same server,
It can also dispose on a different server, the present embodiment does not do any restriction to content in this respect.
With continued reference to Fig. 2, the timing diagram of one embodiment of information processing system according to the application is shown.
The information processing system of the present embodiment can include:Monitoring client, information loading end and actuating station;Monitoring client, it is used for
Monitor whether default pending message queue is empty, if so, then sending the instruction for loading pending information to information loading end;
Information loading end, in response to receiving the instruction, it is determined that pending information in default pending information list
Whether quantity is less than the first preset number, if it is not, the second pending information of preset number bar then is extracted from pending information list,
And the pending information extracted is loaded onto pending message queue;Actuating station, for whether determining pending message queue
For sky, if it is not, then extracting pending information from pending message queue, and the pending information extracted is performed.
As shown in Fig. 2 in step 201, monitoring client monitors whether default pending message queue is empty.
In the present embodiment, monitoring client (such as monitoring client 101 shown in Fig. 1) can monitor default pending letter in real time
Whether breath queue is empty.As an example, pending message queue can have corresponding number parameter, the number parameter can be used
In the quantity for counting the current included pending information of the pending message queue.If monitoring client determines the value of the number parameter
It is zero, then monitoring client can determine pending message queue for sky.Here, if monitoring client determines pending message queue as sky,
Then monitoring client can perform step 202.
It should be noted that pending information for example can be code file or code segment etc..Different pending letters
Breath can provide different functions, such as the function such as software test, information deletion, information addition, information transfer, Information Statistics.
In some optional implementations of the present embodiment, pending message queue can have corresponding state mark
Label, the label value of the state tag can include the 3rd value and the 4th value.3rd value can be used for characterizing pending information team
It is classified as sky.It is not sky that 4th value, which can be used for characterizing pending message queue,.It is current that monitoring client can detect the state tag
Label value whether be the 3rd value, if so, then monitoring client can determine pending message queue for sky.Here, the 3rd value
With the 4th value such as can the character with letter or number be indicated.By taking numeral as an example, the 3rd value can for example use number
Word " 0 " represents that the 4th value can for example use digital " 1 " to represent.
In step 202, monitoring client sends the instruction for loading pending information to information loading end.
In the present embodiment, pending message queue is determined as sky in response to monitoring client, monitoring client for example can be by having
Line connected mode or radio connection send the instruction for loading pending information to information loading end.
In step 203, information loading end determines that the quantity of the pending information in default pending information list is
It is no to be less than the first preset number.
In the present embodiment, if information loading end receives above-mentioned instruction, information loading end can determine default treat
Whether the quantity of the pending information in execution information list is less than the first preset number.As an example, information loading end can be with
The quantity of the pending information in pending information list is counted, and by the quantity compared with the first preset number, with true
Whether the fixed quantity is less than the first preset number.If information loading end determines the number of the pending information in pending information list
Amount is not less than the first preset number, then information loading end can perform step 204.
It should be noted that the first preset number can artificially be set, and first preset number be can basis
It is actually needed what is modified, the present embodiment to not doing any restriction in this respect.
In some optional implementations of the present embodiment, pending information list can have corresponding data mark
Note, the value of the data markers can include the first value and second value.First value can be used for characterizing in pending information list
The quantity of pending information be less than the first preset number.The second value, which can be used for characterizing the quantity, is not less than the first preset number
Mesh.Information loading end can detect whether the current value of the data markers is the second value, if so, then information loading end can be true
The quantity of pending information in fixed pending information list is not less than the first preset number.If information loading end detects the number
According to current value is marked, for first value, then information loading end can determine the number of the pending information in pending information list
Amount is less than the first preset number.Here, first value and the second value such as can the character with letter or number be indicated.
By taking numeral as an example, first value can for example be represented with digital " 0 ", and the second value can for example use digital " 1 " to represent.
In some optional implementations of the present embodiment, pending information list can have corresponding quantity to join
Number, the quantity for the pending information that the number parameter can be used in the current pending information list of statistics.Information loading end can
To obtain the parameter value of the number parameter, by by the parameter value compared with the first preset number, to determine pending letter
Whether the quantity of the pending information in breath list is less than the first preset number.
In some optional implementations of the present embodiment, if information loading end determines to treat in pending information list
The quantity of execution information is less than the first preset number, then information loading end can extract whole from pending information list
Pending information.
In step 204, information loading end extracts the second pending information of preset number bar from pending information list.
In the present embodiment, the quantity of the pending information in pending information list is determined in response to information loading end not
Less than the first preset number, then information loading end can be from pending information list the second pending letter of preset number bar of extraction
Breath.For example, the sequencing for the time that information loading end can be written into according to pending information, is carried from pending information list
Take the second pending information of preset number bar.
It should be noted that the second preset number is not less than the first preset number.Second preset number can artificially be set
Put, and the second preset number can modify according to being actually needed, the present embodiment does not do any to content in this respect
Limit.
In some optional implementations of the present embodiment, said system can also include setting end, the first preset number
Mesh and the second preset number can set end group to be set in the capacity of pending message queue.Wherein, the first preset number
The positive integer of the capacity can be no more than;Second preset number can be no less than the first preset number and be not more than the capacity
Positive integer.Here, end is set such as can be server or possess the thread of software and hardware resources.
In step 205, the pending information extracted is loaded onto pending message queue by information loading end.
In the present embodiment, information loading end is after pending information list extracts pending information, information loading end
The pending information extracted can be loaded onto actuating station.For example, the sequencing being extracted according to pending information, by institute
The pending information of extraction is loaded onto the tail of the queue of pending message queue successively.
In some optional implementations of the present embodiment, the pending information extracted is loaded onto by information loading end
After pending message queue, the current label value of above-mentioned state tag can be set to above-mentioned 4th value by information loading end.
In step 206, actuating station determines whether pending message queue is empty.
In the present embodiment, actuating station (such as actuating station 105 shown in Fig. 1) can determine pending message queue in real time
Whether it is empty.For example, actuating station can by detect the number parameter corresponding to pending message queue parameter value whether be
Zero, to determine whether pending message queue is empty.Here, if it is not sky that actuating station, which determines pending message queue, perform
End can perform step 207.
In some optional implementations of the present embodiment, if actuating station determines that pending message queue for sky, is held
The current label value of above-mentioned state tag can be set to above-mentioned 3rd value by row end.
In step 207, actuating station extracts pending information from pending message queue, and perform extracted it is pending
Information.
In the present embodiment, it is not sky to determine pending message queue in response to actuating station, and actuating station can be from pending
Pending information is extracted in message queue, and performs the pending information extracted.As an example, actuating station can be from pending letter
Breath queue extracts the pending information positioned at head of the queue.
With continued reference to Fig. 3, Fig. 3 is a timing diagram according to the application scenarios of the information processing system of the present embodiment.
In Fig. 3 application scenarios, pending message queue can have corresponding number parameter, when the parameter value of the number parameter is 0
Pending message queue can be represented for sky.In addition, the first preset number and the second preset number are 700.Such as the institute of label 301
Show, whether the parameter value that monitoring client can monitor above-mentioned number parameter in real time is 0, with determine pending message queue whether be
It is empty.It is 0 in response to the parameter value for monitoring above-mentioned number parameter, monitoring client can determine pending information as shown in label 302
Queue is sky, and monitoring client can send the instruction for loading pending information to information loading end.As shown in label 303, in response to
Information loading end receives above-mentioned instruction, and information loading end can count the pending information in default pending information list
Quantity, by the quantity compared with 700, with determine the quantity whether be less than 700.As shown in label 304, in response to information
Loading end determines that the quantity is not less than 700, and information loading end can extract 700 pending information from pending information list.
As shown in label 305, extract 700 pending information can be loaded onto pending message queue by information loading end.Such as
Shown in label 306, actuating station can check whether the current parameter value of above-mentioned number parameter is 0, to determine pending information team
Whether row are empty.As shown in label 307, determine that the parameter value of above-mentioned number parameter is not 0 in response to actuating station, actuating station can be with
The pending letter positioned at head of the queue in pending message queue can not extracted for sky, actuating station by determining pending message queue
Breath, and perform the pending information.
The said system that the embodiment of the present application provides is effectively utilized pending message queue, avoids actuating station scanning and treats
Execution information list, required pending information is extracted from pending information list, has saved time cost, so as to improve
Information processing efficiency.
With further reference to Fig. 4, it illustrates the flow of one embodiment of the information processing method for information loading end
400, this is used for the flow 400 of the information processing method of information loading end, comprises the following steps:
Step 401, in response to the instruction for the pending information of loading for receiving monitoring client transmission, it is determined that default to wait to hold
Whether the quantity of the pending information in row information list is less than the first preset number.
Step 402, if above-mentioned quantity is not less than the first preset number, the second preset number is extracted from pending information list
The pending information of mesh bar.
Step 403, the pending information extracted is loaded onto pending message queue, so that actuating station is it is determined that wait to hold
Row information queue is not space-time, extracts pending information from pending message queue, and perform the pending information.
In the present embodiment, the explanation for step 401 can be referring to the step 201 in embodiment illustrated in fig. 2 to step
Related description in rapid 203;Explanation for step 402 can be referring to the correlation in the step 204 in embodiment illustrated in fig. 2
Explanation;Explanation for step 403 can be referring to mutually speaking on somebody's behalf in the step 205 in embodiment illustrated in fig. 2 to step 207
It is bright, it will not be repeated here.
In some optional implementations of the present embodiment, pending information list can have corresponding data mark
Note, the value of the data markers can include the first value and second value, and first value can be used for characterizing above-mentioned quantity less than first
Preset number, the second value, which can be used for characterizing above-mentioned quantity, is not less than the first preset number;And determine default pending
Whether the quantity of the pending information in information list is less than the first preset number, can include:It is current to detect the data markers
Value whether be the second value, if, it is determined that above-mentioned quantity is not less than the first preset number.
In some optional implementations of the present embodiment, pending message queue can have corresponding state mark
Label, the label value of the state tag can include the 3rd value and the 4th value, and the 3rd value can be used for characterizing pending information team
Sky is classified as, it is not sky that the 4th value, which can be used for characterizing pending message queue,.
In some optional implementations of the present embodiment, information loading end loads by the pending information extracted
After to pending message queue, the current label value of above-mentioned state tag can be set to above-mentioned 4th value by information loading end.
In some optional implementations of the present embodiment, actuating station can be also used for it is determined that pending message queue
For space-time, the current label value of above-mentioned state tag is set to above-mentioned 3rd value.
In some optional implementations of the present embodiment, monitoring client can be also used for detecting above-mentioned state tag current
Label value whether be above-mentioned 3rd value, and when it is above-mentioned three value to detect the current label value of above-mentioned state tag, really
Fixed pending message queue is sky.
In some optional implementations of the present embodiment, the first preset number and the second preset number can be set
End group is set in the capacity of pending message queue.
In some optional implementations of the present embodiment, in response to determining that above-mentioned quantity is less than the first preset number,
Then information loading end can extract whole pending information from pending information list.
Method shown in above-described embodiment of the application is effectively utilized to the pending information of loading of monitoring client transmission
The reception of instruction, pending information can be loaded toward pending message queue in time.Avoid in pending information list
When pending information be present, pending message queue is the situation of empty queue for a long time.So as to improve information processing efficiency, example
Such as information loading efficiency.
Moreover, by loading pending information toward pending message queue in time, actuating station can be made to shorten wait and carried
The time of pending information is taken, the information processing efficiency of actuating station can be improved.In addition, make actuating station from pending message queue
Pending information is extracted, actuating station can be avoided to scan pending information list, from pending information list needed for extraction
Pending information, has saved time cost.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, add this application provides one kind for information
One embodiment of the information processor at end is carried, the device embodiment is corresponding with the embodiment of the method shown in Fig. 4, the device
Specifically it can apply in various electronic equipments.
As shown in figure 5, the information processor 500 for information loading end shown in the present embodiment includes:Determining unit
501st, extraction unit 502 and loading unit 503.Wherein it is determined that unit 501 is configured in response to receiving monitoring client transmission
Load the instruction of pending information, it is determined that whether the quantity of the pending information in default pending information list is less than the
One preset number, wherein, the instruction, which is monitoring client, to be sent for space-time monitoring default pending message queue;Extraction is single
If member 502 is configured to above-mentioned quantity and is not less than the first preset number, the second preset number is extracted from pending information list
The pending information of bar;And the pending information that loading unit 503 is configured to extract is loaded onto pending message queue, with
Making actuating station, from the pending information of pending message queue extraction, and execution should it is determined that pending message queue is not space-time
Pending information.
In the present embodiment, in the information processor 500 of information loading end:Determining unit 501, extraction unit
502 and the specific processing of loading unit 503 and its caused technique effect can be respectively with reference to the step in the corresponding embodiment of figure 4
401st, the related description of step 402 and step 403, will not be repeated here.
In some optional implementations of the present embodiment, pending information list can have corresponding data mark
Note, the value of the data markers can include the first value and second value, and first value can be used for characterizing above-mentioned quantity less than first
Preset number, the second value, which can be used for characterizing above-mentioned quantity, is not less than the first preset number;And determining unit 501 can wrap
Include:Determination subelement (not shown), it is configured to detect whether the current value of the data markers is the second value, if so,
Then determine that above-mentioned quantity is not less than the first preset number.
In some optional implementations of the present embodiment, pending message queue can have corresponding state mark
Label, the label value of the state tag can include the 3rd value and the 4th value, and the 3rd value can be used for characterizing pending information team
Sky is classified as, it is not sky that the 4th value, which can be used for characterizing pending message queue,.
In some optional implementations of the present embodiment, said apparatus 500 can also include:Setting unit is (in figure
It is not shown), it is configured to the current label value of above-mentioned state tag being set to above-mentioned 4th value.
In some optional implementations of the present embodiment, actuating station can be also used for it is determined that pending message queue
For space-time, the current label value of above-mentioned state tag is set to above-mentioned 3rd value.
In some optional implementations of the present embodiment, monitoring client can be also used for detecting above-mentioned state tag current
Label value whether be above-mentioned 3rd value, and when it is above-mentioned three value to detect the current label value of above-mentioned state tag, really
Fixed pending message queue is sky.
In some optional implementations of the present embodiment, the first preset number and the second preset number can be set
End group is set in the capacity of pending message queue.
In some optional implementations of the present embodiment, said apparatus 500 can also include:First extraction unit
(not shown), it is configured in response to determining that above-mentioned quantity is less than the first preset number, then carry from pending information list
Take out whole pending information.
Device shown in above-described embodiment of the application is effectively utilized to the pending information of loading of monitoring client transmission
The reception of instruction, pending information can be loaded toward pending message queue in time.Avoid in pending information list
When pending information be present, pending message queue is the situation of empty queue for a long time.So as to improve information processing efficiency, example
Such as information loading efficiency.
Moreover, by loading pending information toward pending message queue in time, actuating station can be made to shorten wait and carried
The time of pending information is taken, the information processing efficiency of actuating station can be improved.In addition, make actuating station from pending message queue
Pending information is extracted, actuating station can be avoided to scan pending information list, from pending information list needed for extraction
Pending information, has saved time cost.
Below with reference to Fig. 6, it illustrates suitable for for realizing the computer system 600 of the electronic equipment of the embodiment of the present application
Structural representation.Electronic equipment shown in Fig. 6 is only an example, to the function of the embodiment of the present application and should not use model
Shroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes CPU (CPU) 601, it can be read-only according to being stored in
Program in memory (ROM) 602 or be loaded into program in random access storage device (RAM) 603 from storage part 608 and
Perform various appropriate actions and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.
CPU 601, ROM 502 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always
Line 604.
I/O interfaces 605 are connected to lower component:Importation 606 including keyboard, mouse etc.;Penetrated including such as negative electrode
The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 608 including hard disk etc.;
And the communications portion 609 of the NIC including LAN card, modem etc..Communications portion 609 via such as because
The network of spy's net performs communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc., it is arranged on as needed on driver 610, in order to read from it
Computer program be mounted into as needed storage part 608.
Especially, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being carried on computer-readable medium
On computer program, the computer program include be used for execution flow chart shown in method program code.In such reality
To apply in example, the computer program can be downloaded and installed by communications portion 609 from network, and/or from detachable media
611 are mounted.When the computer program is performed by CPU (CPU) 601, perform what is limited in the system of the application
Above-mentioned function.
It should be noted that the computer-readable medium shown in the application can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer-readable recording medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.Meter
The more specifically example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more wires, just
Take formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this application, computer-readable recording medium can any include or store journey
The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.And at this
In application, computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for
By instruction execution system, device either device use or program in connection.Included on computer-readable medium
Program code can be transmitted with any appropriate medium, be included but is not limited to:Wirelessly, electric wire, optical cable, RF etc., or it is above-mentioned
Any appropriate combination.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey
Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation
The part of one module of table, program segment or code, a part for above-mentioned module, program segment or code include one or more
For realizing the executable instruction of defined logic function.It should also be noted that some as replace realization in, institute in square frame
The function of mark can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actual
On can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also
It is noted that the combination of each square frame and block diagram in block diagram or flow chart or the square frame in flow chart, can use and perform rule
Fixed function or the special hardware based system of operation are realized, or can use the group of specialized hardware and computer instruction
Close to realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit can also be set within a processor, for example, can be described as:A kind of processor bag
Include determining unit, extraction unit and loading unit.Wherein, the title of these units is not formed to the unit under certain conditions
The restriction of itself, for example, determining unit is also described as " determining the pending information in default pending information list
Quantity whether be less than the first preset number unit ".
As on the other hand, present invention also provides a kind of computer-readable medium, the computer-readable medium can be
Included in electronic equipment described in above-described embodiment;Can also be individualism, and without be incorporated the electronic equipment in.
Above computer computer-readable recording medium carries one or more program, and when said one or multiple programs, by one, the electronics is set
During standby execution so that the electronic equipment includes:The instruction for loading pending information in response to receiving monitoring client transmission, then really
Whether the quantity of the pending information in fixed default pending information list is less than the first preset number, wherein, the instruction is
Monitoring client is monitoring what default pending message queue sent for space-time;If the quantity is not less than the first preset number,
The second pending information of preset number bar is extracted from pending information list;The pending information extracted is loaded onto pending
Message queue, so that actuating station is not it is determined that pending message queue is space-time, from the pending letter of pending message queue extraction
Breath, and perform the pending information.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art
Member should be appreciated that invention scope involved in the application, however it is not limited to the technology that the particular combination of above-mentioned technical characteristic forms
Scheme, while should also cover in the case where not departing from foregoing invention design, carried out by above-mentioned technical characteristic or its equivalent feature
The other technical schemes for being combined and being formed.Such as features described above has similar work(with (but not limited to) disclosed herein
The technical scheme that the technical characteristic of energy is replaced mutually and formed.
Claims (18)
1. a kind of information processing system, it is characterised in that the system includes monitoring client, information loading end and actuating station;
The monitoring client, for monitoring whether default pending message queue is empty, if so, then being sent out to described information loading end
Send the instruction for loading pending information;
Described information loading end, in response to receiving the instruction, it is determined that treated in default pending information list
Whether the quantity of execution information is less than the first preset number, if it is not, then extracting the second preset number from the pending information list
The pending information of mesh bar, and the pending information extracted is loaded onto the pending message queue;
The actuating station, for determining whether the pending message queue is empty, if it is not, then from the pending message queue
Pending information is extracted, and performs the pending information extracted.
2. system according to claim 1, it is characterised in that the pending information list has corresponding data mark
Note, the value of the data markers include the first value and second value, and described first is worth for characterizing the quantity less than described first
Preset number, the second value are not less than first preset number for characterizing the quantity;And
Described information loading end is additionally operable to:
Detect whether the current value of the data markers is the second value, if, it is determined that the quantity is not less than described the
One preset number.
3. system according to claim 1, it is characterised in that the pending message queue has corresponding state mark
Label, the label value of the state tag include the 3rd value and the 4th value, and the described 3rd is worth for characterizing the pending information team
Sky is classified as, the described 4th is worth for characterizing the pending message queue not to be empty.
4. system according to claim 3, it is characterised in that described information loading end is additionally operable to:
After the pending information extracted is loaded onto into the pending message queue, by the current label of the state tag
Value is set to the 4th value.
5. system according to claim 3, it is characterised in that the actuating station is additionally operable to:
In response to determining that the current label value of the state tag for sky, is then set to the described 3rd by the pending message queue
Value.
6. system according to claim 3, it is characterised in that the monitoring client is additionally operable to:
Detect whether the current label value of the state tag is the 3rd value, if, it is determined that the pending information team
It is classified as sky.
7. system according to claim 1, it is characterised in that the system also includes setting end, first preset number
Mesh and second preset number are that the setting end group is set in the capacity of the pending message queue.
8. system according to claim 1, it is characterised in that described information loading end is additionally operable to:
In response to determining that the quantity is less than first preset number, then extracted from the pending information list whole
Pending information.
9. a kind of information processing method for information loading end, it is characterised in that methods described includes:
In response to the instruction for the pending information of loading for receiving monitoring client transmission, it is determined that in default pending information list
The quantity of pending information whether be less than the first preset number, wherein, the instruction be the monitoring client monitor it is default
Pending message queue sent for space-time;
If the quantity is not less than first preset number, the second preset number bar is extracted from the pending information list
Pending information;
The pending information extracted is loaded onto the pending message queue, so that the actuating station is it is determined that described wait to hold
Row information queue is not space-time, extracts pending information from the pending message queue, and perform the pending information.
10. according to the method for claim 9, it is characterised in that the pending information list has corresponding data mark
Note, the value of the data markers include the first value and second value, and described first is worth for characterizing the quantity less than described first
Preset number, the second value are not less than first preset number for characterizing the quantity;And
Whether the quantity for determining the pending information in default pending information list is less than the first preset number, wraps
Include:
Detect whether the current value of the data markers is the second value, if, it is determined that the quantity is not less than described the
One preset number.
11. according to the method for claim 9, it is characterised in that the pending message queue has corresponding state mark
Label, the label value of the state tag include the 3rd value and the 4th value, and the described 3rd is worth for characterizing the pending information team
Sky is classified as, the described 4th is worth for characterizing the pending message queue not to be empty.
12. according to the method for claim 11, it is characterised in that the pending information extracted is loaded onto institute described
After stating pending message queue, methods described also includes:
The current label value of the state tag is set to the 4th value.
13. a kind of information processor for information loading end, it is characterised in that described device includes:
Determining unit, it is configured to the instruction of the pending information of loading in response to receiving monitoring client transmission, it is determined that default
Pending information list in the quantity of pending information whether be less than the first preset number, wherein, the instruction is described
Monitoring client is monitoring what default pending message queue sent for space-time;
Extraction unit, if being configured to the quantity is not less than first preset number, from the pending information list
Extract the second pending information of preset number bar;
Loading unit, the pending information for being configured to extract is loaded onto the pending message queue, so that described hold
Pending information is extracted from the pending message queue, and hold it is determined that the pending message queue is not space-time in row end
The row pending information.
14. device according to claim 13, it is characterised in that the pending information list has corresponding data mark
Note, the value of the data markers include the first value and second value, and described first is worth for characterizing the quantity less than described first
Preset number, the second value are not less than first preset number for characterizing the quantity;And
The determining unit includes:
Determination subelement, it is configured to detect whether the current value of the data markers is the second value, if, it is determined that institute
State quantity and be not less than first preset number.
15. device according to claim 13, it is characterised in that the pending message queue has corresponding state mark
Label, the label value of the state tag include the 3rd value and the 4th value, and the described 3rd is worth for characterizing the pending information team
Sky is classified as, the described 4th is worth for characterizing the pending message queue not to be empty.
16. device according to claim 15, it is characterised in that described device also includes:
Setting unit, it is configured to the current label value of the state tag being set to the 4th value.
17. a kind of electronic equipment, it is characterised in that including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processors are real
The now method as described in any in claim 9-12.
18. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that described program is processed
The method as described in any in claim 9-12 is realized when device performs.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710899499.8A CN107608858A (en) | 2017-09-28 | 2017-09-28 | Information processing system, method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710899499.8A CN107608858A (en) | 2017-09-28 | 2017-09-28 | Information processing system, method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107608858A true CN107608858A (en) | 2018-01-19 |
Family
ID=61057809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710899499.8A Pending CN107608858A (en) | 2017-09-28 | 2017-09-28 | Information processing system, method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107608858A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177369A (en) * | 2019-11-19 | 2020-05-19 | 厦门二五八网络科技集团股份有限公司 | Method and device for automatically classifying labels of articles |
CN112631781A (en) * | 2020-12-29 | 2021-04-09 | 上海商汤智能科技有限公司 | Operator execution method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070276973A1 (en) * | 2004-09-30 | 2007-11-29 | Intel Corporation | Managing queues |
CN103390049A (en) * | 2013-07-23 | 2013-11-13 | 南京联创科技集团股份有限公司 | Method for processing high-speed message queue overflow based on memory database cache |
CN103838547A (en) * | 2012-11-27 | 2014-06-04 | 中国电信股份有限公司 | Queue management method and device |
CN106371824A (en) * | 2016-08-23 | 2017-02-01 | 广州优视网络科技有限公司 | Portable device and application popup message display control method and apparatus |
CN106484522A (en) * | 2016-10-21 | 2017-03-08 | 贵阳朗玛信息技术股份有限公司 | Queue processing method and device |
US20170185435A1 (en) * | 2015-12-24 | 2017-06-29 | Prashant Dewan | Fast switching between virtual machines without interrupt virtualization for high-performance, secure trusted-execution enviornment |
-
2017
- 2017-09-28 CN CN201710899499.8A patent/CN107608858A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070276973A1 (en) * | 2004-09-30 | 2007-11-29 | Intel Corporation | Managing queues |
CN103838547A (en) * | 2012-11-27 | 2014-06-04 | 中国电信股份有限公司 | Queue management method and device |
CN103390049A (en) * | 2013-07-23 | 2013-11-13 | 南京联创科技集团股份有限公司 | Method for processing high-speed message queue overflow based on memory database cache |
US20170185435A1 (en) * | 2015-12-24 | 2017-06-29 | Prashant Dewan | Fast switching between virtual machines without interrupt virtualization for high-performance, secure trusted-execution enviornment |
CN106371824A (en) * | 2016-08-23 | 2017-02-01 | 广州优视网络科技有限公司 | Portable device and application popup message display control method and apparatus |
CN106484522A (en) * | 2016-10-21 | 2017-03-08 | 贵阳朗玛信息技术股份有限公司 | Queue processing method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111177369A (en) * | 2019-11-19 | 2020-05-19 | 厦门二五八网络科技集团股份有限公司 | Method and device for automatically classifying labels of articles |
CN112631781A (en) * | 2020-12-29 | 2021-04-09 | 上海商汤智能科技有限公司 | Operator execution method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107256195B (en) | Webpage front-end test method and device | |
CN107179697A (en) | A kind of intelligent home equipment control method, apparatus and system | |
CN107066609A (en) | Image display method and device | |
CN107329861A (en) | A kind of multiplex roles method of testing and device | |
CN105281981A (en) | Data traffic monitoring method and device for network service | |
CN103581133B (en) | Web server sends the method and system of response to access request | |
CN109976995B (en) | Method and apparatus for testing | |
CN108228463A (en) | For detecting the method and apparatus of initial screen time | |
CN107357914A (en) | Information processing method and device | |
CN107634947A (en) | Limitation malice logs in or the method and apparatus of registration | |
CN109684188A (en) | Test method and device | |
CN107305579A (en) | The method of testing and device of intelligent Answer System | |
CN107179951A (en) | Remote procedure calling (PRC) method and device | |
CN107045475A (en) | Method of testing and device | |
CN107644075A (en) | The method and apparatus for collecting page info | |
CN107704388A (en) | For the method and apparatus for the startup time for determining application | |
CN107608795A (en) | cloud computing method and device | |
CN106649342A (en) | Data processing method and apparatus in data acquisition platform | |
CN106886594A (en) | For the method and apparatus of exhibition information | |
CN107608858A (en) | Information processing system, method and apparatus | |
CN108234441A (en) | Determine method, apparatus, electronic equipment and the storage medium of forgery access request | |
CN109818994A (en) | Information processing method and device for agent side | |
CN108280228A (en) | A kind of processing method and relevant device of webpage | |
CN101770511B (en) | Browse system for accelerating backspace operation of mobile communication equipment terminal and application method thereof | |
CN107403112A (en) | Data verification method and its equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180119 |