CN114630178B - Message receiving system based on 5G NR broadcast and realizing method - Google Patents

Message receiving system based on 5G NR broadcast and realizing method Download PDF

Info

Publication number
CN114630178B
CN114630178B CN202210142694.7A CN202210142694A CN114630178B CN 114630178 B CN114630178 B CN 114630178B CN 202210142694 A CN202210142694 A CN 202210142694A CN 114630178 B CN114630178 B CN 114630178B
Authority
CN
China
Prior art keywords
data
program
message
frequency
program list
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
CN202210142694.7A
Other languages
Chinese (zh)
Other versions
CN114630178A (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.)
Shandong Inspur Ultra HD Video Industry Co Ltd
Original Assignee
Shandong Inspur Ultra HD Video Industry 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 Shandong Inspur Ultra HD Video Industry Co Ltd filed Critical Shandong Inspur Ultra HD Video Industry Co Ltd
Priority to CN202210142694.7A priority Critical patent/CN114630178B/en
Publication of CN114630178A publication Critical patent/CN114630178A/en
Application granted granted Critical
Publication of CN114630178B publication Critical patent/CN114630178B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4353Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving decryption of additional data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6131Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via a mobile phone network

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a message receiving system and a realization method based on 5G NR broadcasting, which belong to the technical field of broadcasting communication, and the invention aims to solve the technical problems of freely selecting favorite programs by a user and watching broadcast television at any time and any place, and has the advantages of no need of flow and supporting a SIM card-free mode, improving user experience and convenience, and adopting the following technical scheme: the system comprises a mobile terminal application program unit, a verification decryption unit, a sweep frequency unit, a display unit and an acquisition unit, wherein the mobile terminal application program unit is used for notifying a modem to read program list data in a current cell and starting receiving of the program list by calling a modem interface to set a channel and a frequency point; the verification decryption unit is used for carrying out data verification and decryption according to the message body structure after receiving the program list data, obtaining the original program list data and carrying out data analysis; the frequency sweep unit is used for closing the single data receiving of the program, starting the frequency sweep work and scanning the available frequency points.

Description

Message receiving system based on 5G NR broadcast and realizing method
Technical Field
The invention relates to the technical field of broadcast communication, in particular to a message receiving system based on 5G NR broadcasting and an implementation method thereof.
Background
Under the 5G NR broadcasting service, the 5G universal terminal can receive the 5G broadcasting signals transmitted under the same wireless resource, the number of users is not limited, and compared with unicast, the frequency spectrum resource is greatly saved; the terminal is flexible, and the 5G NR broadcasting can be widely applied to various 5G universal terminals such as televisions, mobile phones, flat panels, wearable equipment, automobile center consoles and the like. In terms of coverage, future 5G NR broadcasting can realize signal coverage in remote areas and can also meet the depth coverage of hot spot areas indoors and outdoors and in a mobile state.
In a typical broadcast reception scenario, only audio can be listened to and no program listings functionality is available. Therefore, how to realize that users freely select favorite programs and watch broadcast television at any time and any place without flow and support a mode without SIM card is a technical problem to be solved urgently at present.
Disclosure of Invention
The technical task of the invention is to provide a message receiving system and an implementation method based on 5G NR broadcasting, so as to solve the problems of how to realize free selection of favorite programs by users, watching of broadcasting television at any time and any place, no need of flow and support of SIM card-free mode, and improvement of user experience and convenience.
The technical task of the present invention is achieved in a message receiving system based on 5G NR broadcasting, the system comprising,
The mobile terminal application program unit is used for notifying the modem to read the program list data in the current cell and starting the receiving of the program list by calling the modem interface to set a channel and a frequency point;
The verification decryption unit is used for carrying out data verification and decryption according to the message body structure after receiving the program list data, obtaining the original program list data and carrying out data analysis;
the frequency sweep unit is used for closing program data receiving, starting frequency sweep work and scanning available frequency points: the mobile terminal application program unit calls a sweep frequency interface provided by the modem to sweep frequency and acquire a sweep frequency result;
The display unit is used for filtering the program data of the invalid frequency points in the program list according to the frequency sweep result and displaying the program list with the valid frequency points;
The acquisition unit is used for clicking the programs in the program list, giving the channel id and the frequency point of the current program to the modem, opening the corresponding program data receiving channel, and acquiring the audio and video data for playing.
Preferably, the mobile terminal application program unit interacts with the modem through a related method of qoesphere.reportappquality (bundle) provided for App-WIRELIST KIT interface documents;
and storing the channel and the frequency point into a bundle data type, and reporting through qoeservervice.
More preferably, the mobile terminal application unit comprises,
The channel list acquisition module is used for displaying a channel program list after analyzing the acquired program data and realizing program switching by selecting specific programs in the channel program list;
The video information display module is used for analyzing the video stream in playing and displaying specific information of the average code rate, the video codec, the video resolution, the video frame rate and the audio codec;
The full screen playing module is used for realizing the rendering display of the video through surfaceview controls and realizing the full screen display of the video playing through adjusting surfaceview control parameters;
and the emergency broadcast playing module is used for detecting whether emergency broadcast is sent or not in the program playing process, and once the emergency broadcast message is received, the video playing module pauses the video playing process and plays the emergency broadcast audio message.
More preferably, the implementation method of the channel list acquisition module specifically comprises the following steps:
Receiving udp data using DatagramSocket;
Acquiring udp data to verify the initial identification of the first 4 bytes;
verification is achieved by decrypting data in the message body structure;
combining the decrypted available data with a display list control RECYCLERVIEW through an android Adapter control to display a channel program list;
And adding a click callback interface in the android Adapter control, calling when specific program contents in the channel program list are clicked, stopping the current playing program, and opening a new program.
More preferably, the implementation method of the video information display module specifically comprises the following steps:
acquiring a video track stream by using a player universal interface;
invoking formats, codes to acquire a video codec, and acquiring video resolution through formats, width and formats, height;
acquiring an audio codec by acquiring an audio track stream, and acquiring an audio sampling rate by format.
The implementation method of the emergency broadcast playing module specifically comprises the following steps:
Starting a Thread sub-Thread, and continuously receiving emergency broadcast data through DatagramSocket;
After receiving the emergency broadcast data, calling a stop method of the player to pause current playing;
And calling playAudio method of the player to play the emergency broadcast audio message.
More preferably, the verification and decryption unit is specifically as follows:
Removing the data of the message type and the spare field from the data in the message body structure, and decrypting the rest encrypted data into a json format plaintext through a secret key;
after the real program list data is obtained, the json data structure type is converted into a bean file through Gson, and the data is stored, so that the data is convenient to call and use;
the mobile terminal application program unit receives the message data format through NR broadcast, wherein, the two ends of the message data format are respectively a start mark and an end mark, the middle is a message body structure, and the message body structure is as follows:
① . A complete message body structure has a fixed 4-byte start identifier and a 4-byte end identifier;
② . Removing the starting mark and the ending mark, wherein the rest content is a message body;
③ . The first byte of the message body is the type of message, 0x01 is the channel list;
④ . The message body starts from the 2 nd (subscript 1) to the 33 rd byte (subscript 32), is 32 bytes, is currently all 0x00, and is subsequently extended;
⑤ . The message body starts from the 34 th byte (subscript 33), removes the last 32 bytes and is the encrypted ciphertext of the data message;
⑥ . The last 32 bytes of the message body, MD5 for all the previous data (message type +32 byte extension + ciphertext) is used for data verification.
⑦ . And after the ciphertext is decrypted, converting the ciphertext into a character string, namely the plaintext of the data message.
More preferably, the distinguishing between the effective frequency point and the ineffective frequency point is specifically as follows:
The mobile terminal application program unit calls registerNetQoeCallBack to register a callback function to WIRELESS KIT, the mobile terminal application program unit issues a query frequency point instruction, and a data frequency point returned by the callback function is an effective frequency point.
A message receiving implementation method based on 5G NR broadcasting, the method is based on DatagramSo cket timeout mechanism and obtains the program list data through decryption, realize the mode without flow and support SIM card; the method comprises the following steps:
s1, a mobile terminal application program unit sets a channel and a frequency point by calling a modem interface, informs the modem to read program list data in a current cell, and starts receiving a program list;
S2, after receiving the program list data, carrying out data verification and decryption according to the message body structure of the program list data, obtaining original program list data, and carrying out data analysis;
S3, closing program data receiving, starting frequency sweeping work, and scanning available frequency points: the mobile terminal application program unit calls a sweep frequency interface provided by the modem to sweep frequency and acquire a sweep frequency result;
S4, filtering program data of invalid frequency points in the program list according to the frequency sweep result, and displaying a program list with valid frequency points;
s5, clicking the program in the program list, giving the channel id and the frequency point of the current program to the modem, opening the program data receiving channel, and obtaining the audio and video data for playing.
An electronic device, comprising: a memory and at least one processor;
wherein the memory has a computer program stored thereon;
the at least one processor executes the computer program stored by the memory, so that the at least one processor performs the message reception implementation method based on 5G NR broadcasting as described above.
A computer-readable storage medium having stored therein a computer program executable by a processor to implement a message reception implementation method based on 5G NR broadcasting as described above.
The message receiving system and the realization method based on 5G NR broadcasting have the following advantages:
Firstly, program list data can be obtained through decryption based on DatagramSocket timeout mechanism, a user can select favorite programs to watch broadcast television anytime and anywhere, no flow is needed, a SIM card-free mode is supported, and user experience and convenience are improved;
Secondly, for a content party, the CDN audiovisual distribution pressure is greatly reduced, meanwhile, the cost of live stream data flow is greatly reduced, and higher code rate content can be provided;
Thirdly, the invention supports a full platform full terminal;
fourth, the received information of the invention must be decrypted first to obtain the real data;
Fifthly, the invention opens the relevant channel rights by interacting with the modem;
the invention does not need to use the mobile phone flow to realize the receiving and playing of the audio and video data;
seventhly, the invention realizes the data receiving through DatagramSocket timeout mechanism;
(eight) the message data format of the NR broadcast reception of the present invention has start and end identifications;
and (nine) the invention performs MD5 verification on the message body data, thereby greatly improving the safety.
Drawings
The invention is further described below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a message receiving system based on 5G NR broadcasting;
FIG. 2 is a flow chart diagram of a message receiving implementation method based on 5G NR broadcasting;
fig. 3 is a schematic diagram of a message body structure.
Detailed Description
The message receiving system based on 5G NR broadcasting and the implementation method of the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Example 1:
as shown in fig. 1, the 5G NR broadcast based message receiving system of the present invention, the system includes,
The mobile terminal application program unit is used for notifying the modem to read the program list data in the current cell and starting the receiving of the program list by calling the modem interface to set a channel and a frequency point; the mobile terminal application program unit adopts a mobile phone app.
The verification decryption unit is used for carrying out data verification and decryption according to the message body structure after receiving the program list data, obtaining the original program list data and carrying out data analysis;
the frequency sweep unit is used for closing program data receiving, starting frequency sweep work and scanning available frequency points: the mobile terminal application program unit calls a sweep frequency interface provided by the modem to sweep frequency and acquire a sweep frequency result;
The display unit is used for filtering the program data of the invalid frequency points in the program list according to the frequency sweep result and displaying the program list with the valid frequency points;
The acquisition unit is used for clicking the programs in the program list, giving the channel id and the frequency point of the current program to the modem, opening the corresponding program data receiving channel, and acquiring the audio and video data for playing.
The mobile terminal application program unit in the embodiment interacts with the modem through a related method of qoesphere.reportappquality (bundle) provided for App-WIRELIST KIT interface documents;
and storing the channel and the frequency point into a bundle data type, and reporting through qoeservervice.
The mobile terminal application unit in this embodiment includes,
The channel list acquisition module is used for displaying a channel program list after analyzing the acquired program data and realizing program switching by selecting specific programs in the channel program list;
The video information display module is used for analyzing the video stream in playing and displaying specific information of the average code rate, the video codec, the video resolution, the video frame rate and the audio codec;
The full screen playing module is used for realizing the rendering display of the video through surfaceview controls and realizing the full screen display of the video playing through adjusting surfaceview control parameters;
and the emergency broadcast playing module is used for detecting whether emergency broadcast is sent or not in the program playing process, and once the emergency broadcast message is received, the video playing module pauses the video playing process and plays the emergency broadcast audio message.
The implementation method of the channel list acquisition module in this embodiment specifically includes the following steps:
(1) Receiving udp data using DatagramSocket;
(2) Acquiring the udp data and checking the initial identification of the first 4 bytes;
(3) The verification is carried out by decrypting the data in the message body structure;
(4) Combining the decrypted available data with a display list control RECYCLERVIEW through an android Adapter control to display a channel program list;
(5) And adding a click callback interface in the android Adapter control, calling when specific program contents in the channel program list are clicked, stopping the current playing program, and opening a new program.
The implementation method of the video information display module in this embodiment specifically includes the following steps:
(1) Acquiring a video track stream by using a player universal interface;
(2) Invoking formats, codes to obtain video codec, and obtaining video resolution through formats, width and formats, height;
(3) Acquiring an audio codec by acquiring an audio track stream, and acquiring an audio sampling rate by format.
The implementation method of the emergency broadcast playing module in this embodiment specifically includes the following steps:
(1) Starting a Thread sub-Thread, and continuously receiving emergency broadcast data through DatagramSocket;
(2) After receiving the emergency broadcast data, calling a stop method of the player to pause current playing;
(3) And invoking playAudio method of the player to play the emergency broadcast audio message.
The verification and decryption unit in this embodiment is specifically as follows:
(1) Removing the data of the message type and the spare field from the data in the message body structure, and decrypting the rest encrypted data into a json format plaintext through a secret key;
(2) After the real program list data is obtained, the json data structure type is converted into a bean file through Gson, and the data is stored, so that the data is convenient to call and use;
The two ends of the message data format received by the mobile terminal application program unit through the NR broadcast are respectively a start identifier and an end identifier, and the middle part is a message body structure, as shown in fig. 3, the message body structure is specifically as follows:
① . A complete message body structure has a fixed 4-byte start identifier and a 4-byte end identifier;
② . Removing the starting mark and the ending mark, wherein the rest content is a message body;
③ . The first byte of the message body is the type of message, 0x01 is the channel list;
④ . The message body starts from the 2 nd (subscript 1) to the 33 rd byte (subscript 32), is 32 bytes, is currently all 0x00, and is subsequently extended;
⑤ . The message body starts from the 34 th byte (subscript 33), removes the last 32 bytes and is the encrypted ciphertext of the data message;
⑥ . The last 32 bytes of the message body, MD5 for all the previous data (message type +32 byte extension + ciphertext) is used for data verification.
⑦ . And after the ciphertext is decrypted, converting the ciphertext into a character string, namely the plaintext of the data message.
The distinction between the effective frequency point and the ineffective frequency point in this embodiment is specifically as follows:
The mobile terminal application program unit calls registerNetQoeCallBack to register a callback function to WIRELESS KIT, the mobile terminal application program unit issues a query frequency point instruction, and a data frequency point returned by the callback function is an effective frequency point.
Example 2:
As shown in figure 2, the message receiving implementation method based on 5G NR broadcasting of the invention is realized without flow and supporting a SIM card-free mode by obtaining program list data based on DatagramSocket timeout mechanism and through decryption; the method comprises the following steps:
S1, a mobile phone app sets a channel and a frequency point by calling a modem interface, informs the modem of reading program list data in a current cell, and starts receiving the program list;
S2, after receiving the program list data, carrying out data verification and decryption according to the message body structure of the program list data, obtaining original program list data, and carrying out data analysis;
s3, closing program data receiving, starting frequency sweeping work, and scanning available frequency points: the mobile phone app calls a sweep frequency interface provided by the modem to sweep frequency and obtain a sweep frequency result;
S4, filtering program data of invalid frequency points in the program list according to the frequency sweep result, and displaying a program list with valid frequency points;
s5, clicking the program in the program list, giving the channel id and the frequency point of the current program to the modem, opening the program data receiving channel, and obtaining the audio and video data for playing.
Example, 3:
the embodiment of the invention also provides electronic equipment, which comprises: a memory and a processor;
wherein the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory, so that the processor executes the message receiving implementation method based on 5G NR broadcasting in any embodiment of the present invention.
The processor may be a Central Processing Unit (CPU), but may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may be used to store computer programs and/or modules, and the processor implements various functions of the electronic device by running or executing the computer programs and/or modules stored in the memory, and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the terminal, etc. The memory may also include high-speed random access memory, but may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, memory card only (SMC), secure Digital (SD) card, flash memory card, at least one disk storage period, flash memory device, or other volatile solid state memory device.
Example 4:
The embodiment of the invention also provides a computer readable storage medium, wherein a plurality of instructions are stored, and the instructions are loaded by a processor, so that the processor executes the message receiving implementation method based on 5G NR broadcasting in any embodiment of the invention. Specifically, a system or apparatus provided with a storage medium on which a software program code realizing the functions of any of the above embodiments is stored, and a computer (or CPU or MPU) of the system or apparatus may be caused to read out and execute the program code stored in the storage medium.
In this case, the program code itself read from the storage medium may realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code form part of the present invention.
Examples of storage media for providing program code include floppy disks, hard disks, magneto-optical disks, optical disks (e.g., CD-ROMs, CD-R, CD-RW, DVD-ROMs, DVD-RYM, DVD-RW, DVD+RW), magnetic tapes, nonvolatile memory cards, and ROMs. Alternatively, the program code may be downloaded from a server computer by a communication network.
Further, it should be apparent that the functions of any of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform part or all of the actual operations based on the instructions of the program code.
Further, it is understood that the program code read out by the storage medium is written into a memory provided in an expansion board inserted into a computer or into a memory provided in an expansion unit connected to the computer, and then a CPU or the like mounted on the expansion board or the expansion unit is caused to perform part and all of actual operations based on instructions of the program code, thereby realizing the functions of any of the above embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (4)

1. A message receiving system based on 5G NR broadcasting, characterized in that the system comprises,
The mobile terminal application program unit is used for notifying the modem to read the program list data in the current cell and starting the receiving of the program list by calling the modem interface to set a channel and a frequency point;
The verification decryption unit is used for carrying out data verification and decryption according to the message body structure after receiving the program list data, obtaining the original program list data and carrying out data analysis;
the frequency sweep unit is used for closing program data receiving, starting frequency sweep work and scanning available frequency points: the mobile terminal application program unit calls a sweep frequency interface provided by the modem to sweep frequency and acquire a sweep frequency result;
The display unit is used for filtering the program data of the invalid frequency points in the program list according to the frequency sweep result and displaying the program list with the valid frequency points;
The acquisition unit is used for clicking the programs in the program list, giving the channel id and the frequency point of the current program to the modem, opening the corresponding program data receiving channel, and acquiring audio and video data for playing;
the mobile terminal application program unit interacts with the modem through a related method of qoeserdevice.reportappquality (bundle) provided for an App-WIRELIST KIT interface document;
the channel and the frequency point are stored in a bundle data type and reported through qoeservervice.reportappquality (bundle);
The mobile terminal application unit comprises a mobile terminal,
The channel list acquisition module is used for displaying a channel program list after analyzing the acquired program data and realizing program switching by selecting specific programs in the channel program list;
The video information display module is used for analyzing the video stream in playing and displaying specific information of the average code rate, the video codec, the video resolution, the video frame rate and the audio codec;
The full screen playing module is used for realizing the rendering display of the video through surfaceview controls and realizing the full screen display of the video playing through adjusting surfaceview control parameters;
the emergency broadcast playing module is used for detecting whether emergency broadcast is sent or not in the program playing process, and once the emergency broadcast message is received, the emergency broadcast playing module pauses the video playing process and plays the emergency broadcast audio message;
the channel list acquisition module is specifically as follows:
Receiving udp data using DatagramSocket;
Acquiring udp data to verify the initial identification of the first 4 bytes;
verification is achieved by decrypting data in the message body structure;
combining the decrypted available data with a display list control RECYCLERVIEW through an android Adapter control to display a channel program list;
Adding a click callback interface in the android Adapter control, calling when specific program contents in a channel program list are clicked, stopping currently playing programs, and opening new programs;
the video information display module is specifically as follows:
acquiring a video track stream by using a player universal interface;
invoking formats, codes to acquire a video codec, and acquiring video resolution through formats, width and formats, height;
acquiring an audio codec by acquiring an audio track stream, and acquiring an audio sampling rate by format.
The emergency broadcast playing module is specifically as follows:
Starting a Thread sub-Thread, and continuously receiving emergency broadcast data through DatagramSocket;
After receiving the emergency broadcast data, calling a stop method of the player to pause current playing;
Invoking playAudio method of the player to play the emergency broadcast audio message;
The verification decryption unit is specifically as follows:
Removing the data of the message type and the spare field from the data in the message body structure, and decrypting the rest encrypted data into a json format plaintext through a secret key;
after the real program list data is obtained, the json data structure type is converted into a bean file through Gson, and the data is stored, so that the data is convenient to call and use;
the mobile terminal application program unit receives the message data format through NR broadcast, wherein, the two ends of the message data format are respectively a start mark and an end mark, the middle is a message body structure, and the message body structure is as follows:
① . A complete message body structure has a fixed 4-byte start identifier and a 4-byte end identifier;
② . Removing the starting mark and the ending mark, wherein the rest content is a message body;
③ . The first byte of the message body is the type of message, 0x01 is the channel list;
④ . The message body starts from byte 2 to byte 33, is 32 bytes, is currently all 0x00, and is subsequently expanded;
⑤ . The message body is from the 34 th byte, the last 32 bytes are removed, and the message body is the ciphertext after the data message is encrypted;
⑥ . The last 32 bytes of the message body is MD5 of all the previous data and is used for data verification;
⑦ . After the ciphertext is decrypted, the ciphertext is converted into a character string, namely the plaintext of the data message;
the effective frequency point and the ineffective frequency point are distinguished as follows:
The mobile terminal application program unit calls registerNetQoeCallBack to register a callback function to WIRELESS KIT, the mobile terminal application program unit issues a query frequency point instruction, and a data frequency point returned by the callback function is an effective frequency point.
2. The method for realizing message receiving based on the system of claim 1, which is characterized in that the method is realized without flow and supporting a SIM card-free mode by obtaining program list data based on DatagramSocket timeout mechanism and through decryption; the method comprises the following steps:
s1, a mobile terminal application program unit sets a channel and a frequency point by calling a modem interface, informs the modem to read program list data in a current cell, and starts receiving a program list;
S2, after receiving the program list data, carrying out data verification and decryption according to the message body structure of the program list data, obtaining original program list data, and carrying out data analysis;
S3, closing program data receiving, starting frequency sweeping work, and scanning available frequency points: the mobile terminal application program unit calls a sweep frequency interface provided by the modem to sweep frequency and acquire a sweep frequency result;
S4, filtering program data of invalid frequency points in the program list according to the frequency sweep result, and displaying a program list with valid frequency points;
s5, clicking the program in the program list, giving the channel id and the frequency point of the current program to the modem, opening the program data receiving channel, and obtaining the audio and video data for playing.
3. An electronic device, comprising: a memory and at least one processor;
wherein the memory has a computer program stored thereon;
the at least one processor executing the computer program stored by the memory causes the at least one processor to perform the message reception implementation method of claim 2.
4. A computer readable storage medium having stored therein a computer program executable by a processor to implement the message reception implementation method of claim 2.
CN202210142694.7A 2022-02-16 2022-02-16 Message receiving system based on 5G NR broadcast and realizing method Active CN114630178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210142694.7A CN114630178B (en) 2022-02-16 2022-02-16 Message receiving system based on 5G NR broadcast and realizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210142694.7A CN114630178B (en) 2022-02-16 2022-02-16 Message receiving system based on 5G NR broadcast and realizing method

Publications (2)

Publication Number Publication Date
CN114630178A CN114630178A (en) 2022-06-14
CN114630178B true CN114630178B (en) 2024-05-14

Family

ID=81899065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210142694.7A Active CN114630178B (en) 2022-02-16 2022-02-16 Message receiving system based on 5G NR broadcast and realizing method

Country Status (1)

Country Link
CN (1) CN114630178B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278552B (en) * 2022-07-05 2023-11-28 东方明珠新媒体股份有限公司 Method and system for realizing video broadcasting based on 5G

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003046984A (en) * 2001-07-30 2003-02-14 Nippon Telegr & Teleph Corp <Ntt> METHOD AND SYSTEM FOR PROVIDING VoD SERVICE, VoD SERVICE PROVIDING PROGRAM, AND RECORDING MEDIUM WITH VoD SERVICE PROVIDING PROGRAM STORED THEREIN
CN1913617A (en) * 2005-08-11 2007-02-14 华为技术有限公司 System for implementing mobile terminal TV service and program transmitting watching method
KR20070024370A (en) * 2005-08-25 2007-03-02 삼성전자주식회사 Mobile communication terminal for playing digital broadcasting and a method thereof
CN109302398A (en) * 2018-10-15 2019-02-01 天津大学 Reception parsing and storage method for IPv6 network UDP message packet
CN109982053A (en) * 2019-04-02 2019-07-05 珠海全志科技股份有限公司 Audio and video playing method, computer installation and computer readable storage medium
CN110324222A (en) * 2019-07-05 2019-10-11 厦门金龙联合汽车工业有限公司 A kind of vehicle CAN bus data interactive system and its exchange method
CN111526433A (en) * 2020-07-02 2020-08-11 南京凯瑞得信息科技有限公司 Satellite communication end station roll call method
CN112804324A (en) * 2021-01-12 2021-05-14 中国广播电视网络有限公司 Information interaction method and device
CN113747183A (en) * 2021-07-30 2021-12-03 深圳市九洲电器有限公司 Live video sharing method and system and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5678480B2 (en) * 2010-05-31 2015-03-04 ソニー株式会社 Receiving device, receiving method, and program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003046984A (en) * 2001-07-30 2003-02-14 Nippon Telegr & Teleph Corp <Ntt> METHOD AND SYSTEM FOR PROVIDING VoD SERVICE, VoD SERVICE PROVIDING PROGRAM, AND RECORDING MEDIUM WITH VoD SERVICE PROVIDING PROGRAM STORED THEREIN
CN1913617A (en) * 2005-08-11 2007-02-14 华为技术有限公司 System for implementing mobile terminal TV service and program transmitting watching method
KR20070024370A (en) * 2005-08-25 2007-03-02 삼성전자주식회사 Mobile communication terminal for playing digital broadcasting and a method thereof
CN109302398A (en) * 2018-10-15 2019-02-01 天津大学 Reception parsing and storage method for IPv6 network UDP message packet
CN109982053A (en) * 2019-04-02 2019-07-05 珠海全志科技股份有限公司 Audio and video playing method, computer installation and computer readable storage medium
CN110324222A (en) * 2019-07-05 2019-10-11 厦门金龙联合汽车工业有限公司 A kind of vehicle CAN bus data interactive system and its exchange method
CN111526433A (en) * 2020-07-02 2020-08-11 南京凯瑞得信息科技有限公司 Satellite communication end station roll call method
CN112804324A (en) * 2021-01-12 2021-05-14 中国广播电视网络有限公司 Information interaction method and device
CN113747183A (en) * 2021-07-30 2021-12-03 深圳市九洲电器有限公司 Live video sharing method and system and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于数字电视的城市预警系统建设概要;潘晓军;中国有线电视;20121231;全文 *

Also Published As

Publication number Publication date
CN114630178A (en) 2022-06-14

Similar Documents

Publication Publication Date Title
CN101873467B (en) Multimedia terminal and method for processing information of mobile television by using same
WO2015096648A1 (en) Video sharing method and system in smart tv
US20060271971A1 (en) Interactive television system
KR20090011149A (en) A method of purchasing a digital broadcast service in a portable terminal which is equipped a smart card and an apparatus thereof
CN114630178B (en) Message receiving system based on 5G NR broadcast and realizing method
JP2003339041A (en) Contents providing system, server apparatus, and terminal equipment
US20110010743A1 (en) Method for Re-establishment of Multimedia Content
EP2453630A1 (en) Data card, data card system and multi-media service implementation method
CN102036113A (en) Control method of digital television programs, television data card and digital televiewing system
CN107529075B (en) Cross-screen continuous playing method, system, server, equipment and cross-screen continuous playing equipment
CN101242484A (en) Processing method, system, server, and STB for electronic program guide information
KR20080000950A (en) Decryption method of encryption broadcasting using ic chip performed by mobile and the mobile thereof
CN100589553C (en) Method for playing the interference-added TV program at the mobile phone TV terminal
CN102006502A (en) Method and device for receiving interaction service based on broadcast mobile multimedia service
US9049492B2 (en) Portable terminal, video data repair method and program
JP2004236136A (en) Mobile communication terminal, communication system, and method for supplying decoding key
CN108289240A (en) Method, terminal and the computer-readable medium of DTV fast channel switching
CN105635850B (en) A kind of method that IP terminal obtains DVB standard digital television on-demand resource from gateway
KR100735429B1 (en) Method and system for playing a digital multimedia broadcasting using a personal computer
CN103002322A (en) Method and device for providing relevant information of non-authorized content for subscribers
US20130104163A1 (en) Encryption method for television service of mobile terminal, mobile terminal and server
KR20100010098A (en) Digital television system and multimedia data distribution method of it
CN101345839A (en) TV program guide implementing method
KR100712066B1 (en) System for Transmitting Data through DMB Network and Method for Error Correction of Transmitted Data
CN111385605A (en) Control method, system and related equipment for digital television signal encryption transmission

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