CN112351293B - Method, device and medium for detecting state signaling loss - Google Patents

Method, device and medium for detecting state signaling loss Download PDF

Info

Publication number
CN112351293B
CN112351293B CN202011158271.1A CN202011158271A CN112351293B CN 112351293 B CN112351293 B CN 112351293B CN 202011158271 A CN202011158271 A CN 202011158271A CN 112351293 B CN112351293 B CN 112351293B
Authority
CN
China
Prior art keywords
record
state signaling
signaling
state
storage area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011158271.1A
Other languages
Chinese (zh)
Other versions
CN112351293A (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202011158271.1A priority Critical patent/CN112351293B/en
Publication of CN112351293A publication Critical patent/CN112351293A/en
Application granted granted Critical
Publication of CN112351293B publication Critical patent/CN112351293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/41Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2404Monitoring of server processing errors or hardware failure

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present disclosure relates to multimedia technology, and in particular, to a method and an apparatus for detecting status signaling loss, for improving system service quality, the method comprising: after a first record is read from a first target storage area under a state signaling frame, if a corresponding second record is not read from a second target storage area under the state signaling frame based on a UUID contained in the first record, judging that a state signaling is lost under the state signaling frame; the first record is stored when the state signaling is written into the state signaling frame, and the second record is stored when the state signaling is read under the state signaling frame, so that the lost state signaling can be timely positioned through two different classified storage areas, the processing process of the state signaling is accurately monitored, the serious resource waste in a live broadcast system is avoided, and the service quality of the system is effectively ensured.

Description

Method, device and medium for detecting state signaling loss
Technical Field
The present disclosure relates to multimedia technologies, and in particular, to a method and an apparatus for detecting loss of status signaling.
Background
In a live broadcast system, there are usually a large number of live broadcast rooms (for example, 30 ten thousand) that are online at the same time, as shown in fig. 1, there are two roles in these live broadcast rooms, which are an anchor and a viewer, the anchor can push a multimedia data stream (for short, a push stream) to a Content Delivery system (CDN) through an anchor client, and the viewer can pull the multimedia data stream (for short, a pull stream) from the CDN through a viewer client, which is a media service provided by the live broadcast system. Besides the media service, the live broadcast system provides additional interactive services (livestream server) to each audience client through a status signaling (StateSignal) framework, such as the number of live broadcast rooms online, a live broadcast room online audience list, whether the live broadcast room has a red envelope, a list of recommended items on the live broadcast room, and the like. Referring to fig. 1 and fig. 2, in a StateSignal framework, a computing server may periodically obtain the latest interactive service content from each service server, encapsulate the latest interactive service content into a state signaling, and store the state signaling in a storage area, where state signaling corresponding to different types of service servers may occupy different channels for storage, where the channels may be called bizchannels, and the different channels are not affected by each other. For example, the latest viewer client list and the latest recommended item list may be stored in two different channels, respectively.
However, in the above flow, the frequency of the computing server writing the latest status signaling in each channel may not be consistent with the frequency of the interactive service server reading the latest status signaling from each channel, so that the loss condition of the status signaling cannot be monitored in time. The failure to monitor the loss of the state signaling in time results in a large amount of repeated operations being performed on the computation server and the interaction server, thereby increasing computation overhead and call overhead meaninglessly and further causing serious waste of resources.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for detecting state signaling loss, which are used for avoiding serious resource waste in a live broadcast system.
The specific technical scheme provided by the embodiment of the disclosure is as follows:
in a first aspect, a method for detecting loss of state signaling includes:
reading a first record from a first target storage area, wherein the first record is stored when a status signaling is written into a status signaling set, and the first record at least comprises an identifier corresponding to the status signaling;
reading a corresponding second record in a second target storage area based on the identification, if the second record is not read, judging that the state signaling is lost, and recording a judgment result; wherein the second record is saved when the state signaling is read in the state signaling set, and the second record at least contains the same identification as the first record.
Optionally, the first record is saved in the first target storage area by the computing server when the state signaling is written into the state signaling set by the computing server;
the second record is stored in the second target storage area by the interactive service server when the state signaling is read from the state signaling set by the interactive service server.
Optionally, before reading a first record from the first target storage area, the method further includes:
when the state signaling is written into the state signaling set by the computing server, saving the first record in the first target storage area; and
and when the interactive service server reads the state signaling from the state set, saving the second record in the second target storage area.
Optionally, the first record further includes a name and a write timestamp of the status signaling set;
the second record further includes a name and a read timestamp of the set of status signaling.
Optionally, reading a first record from the first target storage area includes:
reading a batch of first records from the first target storage area according to a set period, and screening out one first record which contains a writing time stamp and has the time length between the current time and the first set threshold value from the batch of records.
Optionally, determining that the state signaling is lost, and recording a determination result, including:
and adding 1 to the total loss times corresponding to the state signaling set in which the state signaling is written, wherein one state signaling set corresponds to one interactive service type, and the state signaling contains interactive service content generated corresponding to the interactive service type.
Optionally, further comprising:
and when the total loss times corresponding to the state signaling set in a set time length reach a second set threshold value, sending alarm information aiming at the state signaling set.
In a second aspect, an apparatus for detecting loss of state signaling, includes:
a first processing unit, configured to read a first record from a first target storage area, where the first record is stored when a status signaling is written in a status signaling set, and the first record at least includes an identifier corresponding to the status signaling;
a second processing unit, configured to read a corresponding second record in a second target storage area based on the identifier, determine that the state signaling is lost if the second record is not read, and record a determination result; wherein the second record is saved when the state signaling is read in the state signaling set, and the second record at least contains the same identification as the first record.
Optionally, the first record is saved in the first target storage area by the computing server when the state signaling is written into the state signaling set by the computing server;
the second record is stored in the second target storage area by the interactive service server when the state signaling is read from the state signaling set by the interactive service server.
Optionally, before reading a first record from the first target storage area,
the first processing unit is further to:
when the state signaling is written into the state signaling set by the computing server, saving the first record in the first target storage area; and
the second processing unit is further to:
and when the interactive service server reads the state signaling from the state set, saving the second record in the second target storage area.
Optionally, the first record further includes a name and a write timestamp of the status signaling set;
the second record further includes a name and a read timestamp of the set of status signaling.
Optionally, a first record is read from the first target storage area, and the first processing unit is configured to:
reading a batch of first records from the first target storage area according to a set period, and screening out one first record which contains a writing time stamp and has the time length between the current time and the first set threshold value from the batch of records.
Optionally, the second processing unit is configured to determine that the state signaling is lost, and record a determination result, where the second processing unit is configured to:
and adding 1 to the total loss times corresponding to the state signaling set in which the state signaling is written, wherein one state signaling set corresponds to one interactive service type, and the state signaling contains interactive service content generated corresponding to the interactive service type.
Optionally, the second processing unit is further configured to:
and when the total loss times corresponding to the state signaling set in a set time length reach a second set threshold value, sending alarm information aiming at the state signaling set.
In a third aspect, a detection service server includes at least a memory and a processor, wherein,
the processor is configured to read a program in the memory and execute the method according to any one of the first aspect.
In a fourth aspect, a computer-readable storage medium, instructions in which, when executed by a processor, enable the processor to perform the method of any of the first aspects.
In a fifth aspect, a computer program product comprising executable instructions capable of implementing the method according to any one of the first aspect when executed by a processor.
In the embodiment of the disclosure, after a first record is read from a first target storage area under a state signaling framework, if a corresponding second record is not read from a second target storage area under the state signaling framework based on a UUID included in the first record, it is determined that a state signaling is lost under the state signaling framework; the first record is stored when the state signaling is written into the state signaling frame, and the second record is stored when the state signaling is read under the state signaling frame, so that the lost state signaling can be timely positioned through two different classified storage areas, the processing process of the state signaling is accurately monitored, the serious resource waste in a live broadcast system is avoided, and the service quality of the system is effectively ensured.
Drawings
FIG. 1 is a schematic diagram illustrating the operation principle of media service and interactive service in the prior art;
FIG. 2 is a diagram illustrating a state signaling framework in the prior art;
fig. 3 is a schematic diagram of a working principle of a status signaling framework in an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating a signaling flow of writing and reading status under a status signaling framework according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating a flow of detecting status signaling loss in an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a detection service server logic architecture in an embodiment of the present disclosure;
fig. 7 is a schematic diagram of an entity architecture of a detection service server in an embodiment of the disclosure.
Detailed Description
In the prior art, the loss condition of the state signaling cannot be monitored in time in a StateSignal framework.
For example, referring to fig. 2, in the StateSignal framework, status signaling corresponding to different types of service servers may occupy different channels for storage, for example, the latest viewer client list and the latest recommended item list may be stored in two different channels respectively.
And aiming at different types of interactive services, the interactive service server periodically performs synchronous updating on each audience client through a StateSignal framework. After the viewer enters the live broadcast room through the viewer client (e.g., a smart phone, a tablet computer, etc.), the viewer simultaneously connects the media service server and the interactive service server, obtains the multimedia video stream from the media service server, and obtains the latest mutual service content from the interactive service server.
Suppose that the channel 1 currently stores the "live broadcast room online audience list x + version number 13" of the live broadcast room 1, and the calculation server a recalculates the number of live broadcast room online audiences corresponding to the live broadcast room 1 to obtain the "live broadcast room online audience list x + version number 14", packages the live broadcast room online audience list x + version number 14 into a status signaling, and writes the status signaling into the channel 1 through the StateSignal framework.
In the same time period, the calculation server B recalculates the number of the online audiences of the live broadcast room corresponding to the live broadcast room 1 to obtain an online audience list x + version number 15 of the live broadcast room, packages the online audience list into a state signaling and writes the state signaling into the channel 1 through a StateSinal framework.
And, assuming that the interactive service server reads the latest status signaling from the channel 1 after the calculation of the calculation server B is completed, the interactive service server can only obtain the "live broadcast room online audience list x + version number 15", and the "live broadcast room online audience list x + version number 14" cannot be read, thereby causing the loss of the status signaling.
In order to solve the above problems and avoid causing serious resource waste in a live broadcast system, in the embodiment of the present disclosure, a globally Unique ID (UUID) is used to uniquely distinguish each status signaling, and when a new status signaling is recorded in a channel, a first record is saved in a first target storage area corresponding to the UUID, and when the new status signaling is read from the channel, a second record is saved in a second target storage area corresponding to the UUID, so that by detecting timestamp information associated with "UUID + first record + second record", it can be detected whether the corresponding status signaling is correctly processed,
wherein, one channel can be regarded as a status signaling set corresponding to one interactive service type.
Preferred embodiments of the present disclosure will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 3, in the embodiment of the present disclosure, in the StateSignal framework, two new storage areas are introduced, which are respectively referred to as: the first target storage area (denoted as SignalTraceWrite) is used for writing tracking of the status signaling, and the second target storage area (denoted as SignalTraceBroadcast) is used for broadcasting tracking of the status signaling.
The first target storage area and the second target storage area are each a Sorted Set (Sorted Set), each holds a Set of some character strings, and each character string corresponds to an evaluation value, which will be described later in detail.
As shown in fig. 3, in the embodiment of the present disclosure, a new detection service server is further introduced in the StateSignal framework, and is used to detect the contents in the two new storage areas.
Based on the above system architecture, referring to fig. 4, in the StateSignal framework, the detailed flow of writing and reading of status signaling is as follows:
step 400: the method comprises the steps that a computing server generates a state signaling every time according to interactive service content provided by a service server, the state signaling is written into a corresponding channel, a first record is stored in a first target storage area corresponding to the state signaling, and the first record at least comprises a writing time stamp and a UUID.
Under the StateSignal framework, the key processing steps of status signaling include writing and reading, and the loss of status signaling means that some status signaling is written but not read.
In order to avoid this, in the embodiment of the present disclosure, after the computing server generates a state signaling according to the interactive service content updated by the service server, when the state signaling is written into the corresponding channel, and a first record is stored in the SignalTraceWrite corresponding to the state signaling, where the first record includes a channel name, a UUID, and a write timestamp (corresponding to the current time of writing), and may be referred to as WriteTrace, where the channel name may be used as an optional item, because the UUID can uniquely distinguish the state signaling, and the channel name is added, so as to store the state signaling of different service types in a classified manner.
On the other hand, in the embodiment of the present disclosure, the UUID generated for each status signaling is a random character string, and the generated UUIDs are different each time, so that different status signaling can be distinguished through the UUID.
Of course, the operation related to the above step 400 may also be completed by the detection service server after the computation server completes writing of the status signaling in the channel and notifies the detection service server, that is, the detection server completes the recording process of the first record, so as to reduce the operation load of the computation server.
Step 410: and the interactive service server stores a second record in a second target storage area corresponding to a strip-state signaling when reading the strip-state signaling from each channel, wherein the second record at least comprises a reading time stamp and a UUID.
Corresponding to step 400, the interactive service server stores a second record in the SignalTraceBroadcast corresponding to one status signaling every time one status signaling is read from the channel, where the second record includes a channel name, a UUID, and a read timestamp (corresponding to the current time of reading), and may be referred to as BroadcastTrace, where the channel name may be used as a selectable item, because the status signaling can be uniquely distinguished by the UUID, and the channel name is added, so as to classify and store status signaling of different service types.
Of course, the operation related to the step 410 may also be completed by the detection service server after the interactive service server completes reading the status signaling in the channel and notifies the detection service server, that is, the detection server completes the recording process of the second record, so as to reduce the operation load of the interactive service server.
Based on the above embodiment, in a specific implementation, the detection service server periodically reads each first record from the first target storage area (i.e. SignalTraceWrite), and performs the following operations each time one first record is read: and reading a corresponding second record in a second target storage area (namely, SignalTraceBroadcast) based on the UUID contained in the obtained first record, and if the reading fails, determining that the state signaling corresponding to the UUIID is lost.
For convenience of description, the following embodiments take one status signaling as an example for illustration.
Referring to fig. 5, in the embodiment of the present disclosure, a detailed flow of detecting status signaling loss is as follows:
step 500: the detection server reads a first record from a first target storage area, wherein the first record is stored when a state signaling is written into a channel, and the first record at least comprises a UUID corresponding to the state signaling.
As described above, a channel can be regarded as a status signaling set corresponding to an interactive service type, and a status signaling includes interactive service content generated corresponding to the interactive service type.
In a specific implementation, the detection service server may read each saved first record from the first target storage area according to a set period (e.g., half a minute), and screen out the first records that meet the requirement, e.g., screen out the first records that include a write timestamp and a current time, where a duration between the write timestamp and the current time is lower than a first set threshold (e.g., half a minute), so that if the set period and the set threshold are reasonably set, each saved first record may be read in batches without omission.
For convenience of description, a first record is taken as an example, it is assumed that a first record X is saved in a write operation corresponding to the status signaling X, a channel X + UUID X + write timestamp X is recorded in the first record X, and if a second record X is saved in a read operation corresponding to the status signaling X, a channel X + UUID X + read timestamp X is recorded in the second record X.
Then, when the detection service server searches for the first record to be read (i.e. WriteTrace) in the SignalTraceWrite, since the time length between the write timestamp X corresponding to the first record X and the current time is 15 seconds, the set threshold value is not reached: half a minute, then the test service server reads the first record X from SignalTraceWrite.
Step 510: the detection server reads a corresponding second record in a second target storage area based on the UUID, if the second record is not read, the detection server judges that the state signaling is lost, and records a judgment result; wherein the second record is saved when the status signaling is read in the channel, and the second record at least comprises the same UUID as the first record.
In the embodiment, assuming that the status signaling X is taken as an example, the detection service server will look up whether a corresponding second record (i.e., BroadcastTrace) exists in the SignalTraceBroadcast based on UUID X.
If the second record X is found, the state signaling X is successfully written and successfully read, and no abnormal condition exists.
If the second record X is not found, it indicates that the status signaling X is successfully written but not successfully acquired, i.e. the status signaling X is lost.
In the embodiment of the present disclosure, each status signaling is written into the corresponding channel according to the interactive service type, that is, each status signaling is classified and stored to the corresponding channel according to the interactive service type of the interactive service content carried, and if one status signaling is lost, the corresponding channel may be abnormal and needs to be continuously monitored. Further, if a certain channel is continuously lost in the continuous monitoring process, an alarm needs to be given.
Therefore, after determining that the status signaling X is lost, when recording the determination result, the detection service server will lose +1 of the total number of times corresponding to the channel X.
Further, if the total number of times of loss corresponding to the channel X is within a set time length and reaches a second set threshold (e.g., 10 times of loss occurs within 1 hour), the detection service server may send alarm information to the management platform (e.g., a background server) for the channel X.
Because one channel corresponds to one interactive service type, the detection service server can easily judge which interactive service type has a problem based on the total loss times corresponding to each channel, so that alarm information is sent to the management platform, and related managers are informed to timely maintain the related service servers, so that the overall service performance of the system is guaranteed.
Based on the same inventive concept, referring to fig. 6, the present disclosure provides an apparatus for detecting status signaling loss (e.g., detecting a service server), comprising at least a first processing unit 51 and a second processing unit 52, wherein,
a first processing unit 51, configured to read a first record from a first target storage area, where the first record is stored when a status signaling is written in a status signaling set, and the first record at least includes an identifier corresponding to the status signaling;
a second processing unit 52, configured to read a corresponding second record in a second target storage area based on the identifier, determine that the status signaling is lost if the second record is not read, and record a determination result; wherein the second record is saved when the state signaling is read in the state signaling set, and the second record at least contains the same identification as the first record.
Optionally, the first record is saved in the first target storage area by the computing server when the state signaling is written into the state signaling set by the computing server;
the second record is stored in the second target storage area by the interactive service server when the state signaling is read from the state signaling set by the interactive service server.
Optionally, before reading a first record from the first target storage area,
the first processing unit 51 is further configured to:
when the state signaling is written into the state signaling set by the computing server, saving the first record in the first target storage area; and
the second processing unit 52 is further configured to:
and when the interactive service server reads the state signaling from the state set, saving the second record in the second target storage area.
Optionally, the first record further includes a name and a write timestamp of the status signaling set;
the second record further includes a name and a read timestamp of the set of status signaling.
Optionally, a first record is read from the first target storage area, and the first processing unit 51 is configured to:
reading a batch of first records from the first target storage area according to a set period, and screening out one first record which contains a writing time stamp and has the time length between the current time and the first set threshold value from the batch of records.
Optionally, the second processing unit 52 is configured to determine that the status signaling is lost, and record a determination result, where:
and adding 1 to the total loss times corresponding to the state signaling set in which the state signaling is written, wherein one state signaling set corresponds to one interactive service type, and the state signaling contains interactive service content generated corresponding to the interactive service type.
Optionally, the second processing unit 52 is further configured to:
and when the total loss times corresponding to the state signaling set in a set time length reach a second set threshold value, sending alarm information aiming at the state signaling set.
Based on the same inventive concept, referring to fig. 7, an embodiment of the present disclosure provides a network device 700, including: a memory 701 for storing executable instructions; a processor 702 configured to read and execute executable instructions stored in a memory, and perform any one of the methods of the first aspect. The processor 702 generally controls overall operation of the network device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Memory 701 is configured to store various types of data to support operations on network device 700. Examples of such data include instructions for any application or method operating on network device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 701 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Based on the same inventive concept, the disclosed embodiments provide a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor, can perform any one of the methods performed by the detection service server in the above embodiments.
Based on the same inventive concept, the disclosed embodiments provide a computer program product comprising executable instructions, which when executed by a processor, can implement any one of the methods performed by the detection service server as in the above embodiments.
In the embodiment of the disclosure, after a first record is read from a first target storage area under a state signaling framework, if a corresponding second record is not read from a second target storage area under the state signaling framework based on a UUID included in the first record, it is determined that a state signaling is lost under the state signaling framework; the first record is stored when the state signaling is written into the state signaling frame, and the second record is stored when the state signaling is read under the state signaling frame, so that the lost state signaling can be timely positioned through two different classified storage areas, the processing process of the state signaling is accurately monitored, the serious resource waste in a live broadcast system is avoided, and the service quality of the system is effectively ensured.
Further, by adopting the technical scheme provided by the embodiment of the disclosure, the state signaling loss rates of different channels can be monitored, and the alarm information is sent in time for the channel with the state signaling loss rate reaching the second set threshold, so that the service quality of the system is further improved.
Those skilled in the art will appreciate that embodiments of the present disclosure may be provided as a method, system, or computer program product such that the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present disclosure have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the disclosure.
It will be apparent to those skilled in the art that various changes and modifications may be made to the disclosed embodiments without departing from the spirit and scope of the disclosed embodiments. Thus, if such modifications and variations of the embodiments of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to encompass such modifications and variations.

Claims (16)

1. A method for detecting loss of state signaling, comprising:
the method comprises the steps that a detection server reads a first record from a first target storage area, wherein the first record is stored when a state signaling is written into a state signaling set by a computation server, and the first record at least comprises a globally unique identifier and a write time stamp corresponding to the state signaling;
the detection server reads a corresponding second record in a second target storage area based on the global unique identifier, if the second record is not read, the detection server judges that the state signaling is lost, and records a judgment result; the second record is saved when the interactive service server reads the state signaling in the state signaling set, and the second record at least includes a globally unique identifier and a read timestamp corresponding to the state information.
2. The method of claim 1, wherein the first record is maintained by the compute server in the first target storage area when the one state signaling is written to the set of state signaling by the compute server;
the second record is stored in the second target storage area by the interactive service server when the state signaling is read from the state signaling set by the interactive service server.
3. The method of claim 1, wherein prior to reading a first record from the first target storage area, further comprising:
when the state signaling is written into the state signaling set by the computing server, saving the first record in the first target storage area; and
and when the interactive service server reads the state signaling from the state set, saving the second record in the second target storage area.
4. The method of claim 1, 2 or 3, wherein the first record further contains a name of the set of status signaling;
the second record further includes a name of the set of status signaling.
5. The method of claim 4, wherein reading a first record from a first target storage area comprises:
reading a batch of first records from the first target storage area according to a set period, and screening out one first record which contains a writing time stamp and has the time length between the current time and the first set threshold value from the batch of records.
6. A method as claimed in claim 1, 2 or 3, wherein determining that said one state signalling is lost and recording the result of the determination comprises:
and adding 1 to the total loss times corresponding to the state signaling set in which the state signaling is written, wherein one state signaling set corresponds to one interactive service type, and the state signaling contains interactive service content generated corresponding to the interactive service type.
7. The method of claim 6, further comprising:
and when the total loss times corresponding to the state signaling set in a set time length reach a second set threshold value, sending alarm information aiming at the state signaling set.
8. An apparatus for detecting loss of state signaling, comprising:
a first processing unit, configured to read a first record from a first target storage area, where the first record is stored when a state signaling is written into a state signaling set by a computing server, and the first record at least includes a globally unique identifier and a write timestamp corresponding to the state signaling;
the second processing unit is used for reading a corresponding second record in a second target storage area based on the global unique identifier, judging that the state signaling is lost if the second record is not read, and recording a judgment result; the second record is saved when the interactive service server reads the state signaling in the state signaling set, and the second record at least includes a globally unique identifier and a read timestamp corresponding to the state information.
9. The apparatus of claim 8, wherein the first record is maintained by the compute server in the first target storage area when the one state signaling is written to the set of state signaling by the compute server;
the second record is stored in the second target storage area by the interactive service server when the state signaling is read from the state signaling set by the interactive service server.
10. The apparatus of claim 8, wherein prior to reading a first record from the first target storage area,
the first processing unit is further to:
when the state signaling is written into the state signaling set by the computing server, saving the first record in the first target storage area; and
the second processing unit is further to:
and when the interactive service server reads the state signaling from the state set, saving the second record in the second target storage area.
11. The apparatus of claim 8, 9 or 10, wherein the first record further comprises a name of the set of status signaling;
the second record further includes a name of the set of status signaling.
12. The apparatus as recited in claim 11, wherein a first record is read from a first target storage area, said first processing unit to:
reading a batch of first records from the first target storage area according to a set period, and screening out one first record which contains a writing time stamp and has the time length between the current time and the first set threshold value from the batch of records.
13. The apparatus as claimed in claim 8, 9 or 10, wherein said one status signaling is determined to be lost and the determination result is recorded, said second processing unit is configured to:
and adding 1 to the total loss times corresponding to the state signaling set in which the state signaling is written, wherein one state signaling set corresponds to one interactive service type, and the state signaling contains interactive service content generated corresponding to the interactive service type.
14. The apparatus as recited in claim 13, said second processing unit to further:
and when the total loss times corresponding to the state signaling set in a set time length reach a second set threshold value, sending alarm information aiming at the state signaling set.
15. A test service server comprising at least a memory and a processor, wherein,
the processor, reading a program in a memory, performing the method of any one of claims 1-7.
16. A computer-readable storage medium, wherein instructions in the computer storage medium, when executed by a processor, enable the processor to perform the method of any of claims 1-7.
CN202011158271.1A 2020-10-26 2020-10-26 Method, device and medium for detecting state signaling loss Active CN112351293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011158271.1A CN112351293B (en) 2020-10-26 2020-10-26 Method, device and medium for detecting state signaling loss

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011158271.1A CN112351293B (en) 2020-10-26 2020-10-26 Method, device and medium for detecting state signaling loss

Publications (2)

Publication Number Publication Date
CN112351293A CN112351293A (en) 2021-02-09
CN112351293B true CN112351293B (en) 2021-09-21

Family

ID=74358868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011158271.1A Active CN112351293B (en) 2020-10-26 2020-10-26 Method, device and medium for detecting state signaling loss

Country Status (1)

Country Link
CN (1) CN112351293B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902524A (en) * 2010-07-13 2010-12-01 上海未来宽带技术及应用工程研究中心有限公司 Mobile phone capable of being taken as video source of live video system and audio-video transmission method
CN102325275A (en) * 2011-10-17 2012-01-18 深圳市融创天下科技股份有限公司 Packet discarding method, device and server for playing of streaming media
JP2015049917A (en) * 2013-09-02 2015-03-16 アルプス電気株式会社 Memory devices
CN107948051A (en) * 2017-11-14 2018-04-20 北京知行锐景科技有限公司 A kind of real-time messages method for pushing and system based on Socket technologies
CN110058805A (en) * 2018-01-19 2019-07-26 三星电子株式会社 Data de-duplication cache and its method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902524A (en) * 2010-07-13 2010-12-01 上海未来宽带技术及应用工程研究中心有限公司 Mobile phone capable of being taken as video source of live video system and audio-video transmission method
CN102325275A (en) * 2011-10-17 2012-01-18 深圳市融创天下科技股份有限公司 Packet discarding method, device and server for playing of streaming media
JP2015049917A (en) * 2013-09-02 2015-03-16 アルプス電気株式会社 Memory devices
CN107948051A (en) * 2017-11-14 2018-04-20 北京知行锐景科技有限公司 A kind of real-time messages method for pushing and system based on Socket technologies
CN110058805A (en) * 2018-01-19 2019-07-26 三星电子株式会社 Data de-duplication cache and its method

Also Published As

Publication number Publication date
CN112351293A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
US8839282B2 (en) Multimedia test systems
CN106817295B (en) Message processing device and method
CN105743730B (en) The method and its system of real time monitoring are provided for the web service of mobile terminal
JP2014526763A (en) Disaster recovery system and method
CN113242443B (en) Data stream transmission abnormity detection method and device
CN110826799A (en) Service prediction method, device, server and readable storage medium
US11122309B2 (en) Systems and methods for deactivating problematic content
CN109714214B (en) Server exception handling method and management equipment
CN103618786A (en) Playing error processing method and server
CN111949511A (en) Application program pause processing method and device, terminal and storage medium
CN111339357A (en) Recommendation method and device based on live user behaviors
CN112351293B (en) Method, device and medium for detecting state signaling loss
EP3889874A1 (en) Systems and methods for pulsing content
CN111935497B (en) Video stream management method and data server for traffic police system
CN112702198A (en) Abnormal root cause positioning method and device, electronic equipment and storage medium
CN105516746A (en) Video pre-downloading system and method
US9594622B2 (en) Contacting remote support (call home) and reporting a catastrophic event with supporting documentation
CN114756455A (en) Business abnormity positioning method and device, electronic equipment and storage medium
CA2830429C (en) Multimedia test systems
US11398091B1 (en) Repairing missing frames in recorded video with machine learning
CN115659045A (en) User operation identification method and device, storage medium and electronic equipment
US20200286120A1 (en) Advertising monitoring method, system, apparatus, and electronic equipment
CN109218780B (en) Method and device for updating play list of play server
CN112948020A (en) Configuration file processing method and device
CN113111196A (en) Multimedia resource recommendation method and related 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